{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lex/json-schema/amazon-lex-put-bot-alias-response-schema.json",
  "title": "PutBotAliasResponse",
  "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/PutBotAliasResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the alias."
    },
    "description": {
      "type": "string",
      "description": "A description of the alias."
    },
    "botVersion": {
      "type": "string",
      "description": "The version of the bot that the alias points to."
    },
    "botName": {
      "type": "string",
      "description": "The name of the bot that the alias points to."
    },
    "lastUpdatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date that the bot alias was updated. When you create a resource, the creation date and the 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": "The checksum for the current version of the alias."
    },
    "conversationLogs": {
      "$ref": "#/$defs/ConversationLogsResponse"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags associated with a bot."
    }
  },
  "$defs": {
    "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."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key for the tag. Keys are not case-sensitive and must be unique."
        },
        "value": {
          "type": "string",
          "description": "The value associated with a key. The value may be an empty string but it can't be null."
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}