{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lex/json-schema/amazon-lex-get-bot-aliases-response-schema.json",
  "title": "GetBotAliasesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lex-aliases-api-openapi.yml#/components/schemas/GetBotAliasesResponse",
  "type": "object",
  "properties": {
    "BotAliases": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BotAliasMetadata"
      },
      "description": "An array of BotAliasMetadata objects, each describing a bot alias."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request."
    }
  },
  "$defs": {
    "BotAliasMetadata": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the bot alias."
        },
        "description": {
          "type": "string",
          "description": "A description of the bot alias."
        },
        "botVersion": {
          "type": "string",
          "description": "The version of the Amazon Lex bot to which the alias points."
        },
        "botName": {
          "type": "string",
          "description": "The name of the bot to which the alias points."
        },
        "lastUpdatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date that the bot alias was updated. When you create a resource, the creation date and last updated date are the same."
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date that the bot alias was created."
        },
        "checksum": {
          "type": "string",
          "description": "Checksum of the bot alias."
        },
        "conversationLogs": {
          "$ref": "#/$defs/ConversationLogsResponse"
        }
      }
    },
    "ConversationLogsResponse": {
      "type": "object",
      "properties": {
        "logSettings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LogSettingsResponse"
          },
          "description": "The settings for your conversation logs. You can log text, audio, or both."
        },
        "iamRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket."
        }
      }
    },
    "LogSettingsResponse": {
      "type": "object",
      "properties": {
        "logType": {
          "type": "string",
          "enum": [
            "AUDIO",
            "TEXT"
          ],
          "description": "The type of logging that is enabled."
        },
        "destination": {
          "type": "string",
          "enum": [
            "CLOUDWATCH_LOGS",
            "S3"
          ],
          "description": "The destination where logs are delivered."
        },
        "kmsKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket."
        },
        "resourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered."
        },
        "resourcePrefix": {
          "type": "string",
          "description": "The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified."
        }
      }
    }
  }
}