{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-identity-center/json-schema/amazon-iam-identity-center-update-application-request-schema.json",
  "title": "UpdateApplicationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-identity-center-application-api-openapi.yml#/components/schemas/UpdateApplicationRequest",
  "type": "object",
  "properties": {
    "ApplicationArn": {
      "type": "string",
      "description": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference."
    },
    "Name": {
      "type": "string",
      "description": "Specifies the updated name for the application."
    },
    "Description": {
      "type": "string",
      "description": "The description of the ."
    },
    "Status": {
      "type": "string",
      "enum": [
        "ENABLED",
        "DISABLED"
      ],
      "description": "Specifies whether the application is enabled or disabled."
    },
    "PortalOptions": {
      "$ref": "#/$defs/UpdateApplicationPortalOptions"
    }
  },
  "required": [
    "ApplicationArn"
  ],
  "$defs": {
    "SignInOptions": {
      "type": "object",
      "properties": {
        "Origin": {
          "type": "string",
          "enum": [
            "IDENTITY_CENTER",
            "APPLICATION"
          ],
          "description": "This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values: APPLICATION: IAM Identity Center redirects the customer to the configured ApplicationUrl. IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application."
        },
        "ApplicationUrl": {
          "type": "string",
          "description": "The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION."
        }
      },
      "required": [
        "Origin"
      ]
    },
    "UpdateApplicationPortalOptions": {
      "type": "object",
      "properties": {
        "SignInOptions": {
          "$ref": "#/$defs/SignInOptions"
        }
      }
    }
  }
}