{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-workmail/json-schema/amazon-workmail-describe-identity-provider-configuration-response-schema.json",
  "title": "DescribeIdentityProviderConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-workmail-identity-provider-configuration-api-openapi.yml#/components/schemas/DescribeIdentityProviderConfigurationResponse",
  "type": "object",
  "properties": {
    "AuthenticationMode": {
      "type": "string",
      "enum": [
        "IDENTITY_PROVIDER_ONLY",
        "IDENTITY_PROVIDER_AND_DIRECTORY"
      ],
      "description": "The authentication mode used in WorkMail."
    },
    "IdentityCenterConfiguration": {
      "$ref": "#/$defs/IdentityCenterConfiguration"
    },
    "PersonalAccessTokenConfiguration": {
      "$ref": "#/$defs/PersonalAccessTokenConfiguration"
    }
  },
  "$defs": {
    "IdentityCenterConfiguration": {
      "type": "object",
      "properties": {
        "InstanceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the of IAM Identity Center instance. Must be in the same AWS account and region as WorkMail organization."
        },
        "ApplicationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of IAMIdentity Center Application for WorkMail. Must be created by the WorkMail API, see CreateIdentityCenterApplication."
        }
      },
      "required": [
        "InstanceArn",
        "ApplicationArn"
      ]
    },
    "PersonalAccessTokenConfiguration": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ],
          "description": "The status of the Personal Access Token allowed for the organization. Active - Mailbox users can login to the web application and choose Settings to see the new Personal Access Tokens page to create and delete the Personal Access Tokens. Mailbox users can use the Personal Access Tokens to set up mailbox connection from desktop or mobile email clients. Inactive - Personal Access Tokens are disabled for your organization. Mailbox users can’t create, list, or delete Personal Access Tokens and can’t use them to connect to their mailboxes from desktop or mobile email clients."
        },
        "LifetimeInDays": {
          "type": "integer",
          "description": "The validity of the Personal Access Token status in days."
        }
      },
      "required": [
        "Status"
      ]
    }
  }
}