{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-get-application-response-schema.json",
  "title": "GetApplicationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-applications-api-openapi.yml#/components/schemas/GetApplicationResponse",
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "description": "The name of the Amazon Q Business application."
    },
    "applicationId": {
      "type": "string",
      "description": "The identifier of the Amazon Q Business application."
    },
    "applicationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Amazon Q Business application."
    },
    "identityType": {
      "type": "string",
      "enum": [
        "AWS_IAM_IDP_SAML",
        "AWS_IAM_IDP_OIDC",
        "AWS_IAM_IDC",
        "AWS_QUICKSIGHT_IDP",
        "ANONYMOUS"
      ],
      "description": "The authentication type being used by a Amazon Q Business application."
    },
    "iamIdentityProviderArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application."
    },
    "identityCenterApplicationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business application."
    },
    "roleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "ACTIVE",
        "DELETING",
        "FAILED",
        "UPDATING"
      ],
      "description": "The status of the Amazon Q Business application."
    },
    "description": {
      "type": "string",
      "description": "A description for the Amazon Q Business application."
    },
    "encryptionConfiguration": {
      "$ref": "#/$defs/EncryptionConfiguration"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The Unix timestamp when the Amazon Q Business application was last updated."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The Unix timestamp when the Amazon Q Business application was last updated."
    },
    "error": {
      "$ref": "#/$defs/ErrorDetail"
    },
    "attachmentsConfiguration": {
      "$ref": "#/$defs/AppliedAttachmentsConfiguration"
    },
    "qAppsConfiguration": {
      "$ref": "#/$defs/QAppsConfiguration"
    },
    "personalizationConfiguration": {
      "$ref": "#/$defs/PersonalizationConfiguration"
    },
    "autoSubscriptionConfiguration": {
      "$ref": "#/$defs/AutoSubscriptionConfiguration"
    },
    "clientIdsForOIDC": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The OIDC client ID for a Amazon Q Business application."
    },
    "quickSightConfiguration": {
      "$ref": "#/$defs/QuickSightConfiguration"
    }
  },
  "$defs": {
    "AppliedAttachmentsConfiguration": {
      "type": "object",
      "properties": {
        "attachmentsControlMode": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Information about whether file upload during chat functionality is activated for your application."
        }
      }
    },
    "AutoSubscriptionConfiguration": {
      "type": "object",
      "properties": {
        "autoSubscribe": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Describes whether automatic subscriptions are enabled for an Amazon Q Business application using IAM identity federation for user management."
        },
        "defaultSubscriptionType": {
          "type": "string",
          "enum": [
            "Q_LITE",
            "Q_BUSINESS"
          ],
          "description": "Describes the default subscription type assigned to an Amazon Q Business application using IAM identity federation for user management. If the value for autoSubscribe is set to ENABLED you must select a value for this field."
        }
      },
      "required": [
        "autoSubscribe"
      ]
    },
    "EncryptionConfiguration": {
      "type": "object",
      "properties": {
        "kmsKeyId": {
          "type": "string",
          "description": "The identifier of the KMS key. Amazon Q Business doesn't support asymmetric keys."
        }
      }
    },
    "ErrorDetail": {
      "type": "object",
      "properties": {
        "errorMessage": {
          "type": "string",
          "description": "The message explaining the Amazon Q Business request error."
        },
        "errorCode": {
          "type": "string",
          "enum": [
            "InternalError",
            "InvalidRequest",
            "ResourceInactive",
            "ResourceNotFound"
          ],
          "description": "The code associated with the Amazon Q Business request error."
        }
      }
    },
    "PersonalizationConfiguration": {
      "type": "object",
      "properties": {
        "personalizationControlMode": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "An option to allow Amazon Q Business to customize chat responses using user specific metadata—specifically, location and job information—in your IAM Identity Center instance."
        }
      },
      "required": [
        "personalizationControlMode"
      ]
    },
    "QAppsConfiguration": {
      "type": "object",
      "properties": {
        "qAppsControlMode": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Status information about whether end users can create and use Amazon Q Apps in the web experience."
        }
      },
      "required": [
        "qAppsControlMode"
      ]
    },
    "QuickSightConfiguration": {
      "type": "object",
      "properties": {
        "clientNamespace": {
          "type": "string",
          "description": "The Amazon Quick Suite namespace that is used as the identity provider. For more information about Quick Suite namespaces, see Namespace operations."
        }
      },
      "required": [
        "clientNamespace"
      ]
    }
  }
}