{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lex/json-schema/amazon-lex-get-bot-channel-association-response-schema.json",
  "title": "GetBotChannelAssociationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lex-channels-api-openapi.yml#/components/schemas/GetBotChannelAssociationResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the association between the bot and the channel."
    },
    "description": {
      "type": "string",
      "description": "A description of the association between the bot and the channel."
    },
    "botAlias": {
      "type": "string",
      "description": "An alias pointing to the specific version of the Amazon Lex bot to which this association is being made."
    },
    "botName": {
      "type": "string",
      "description": "The name of the Amazon Lex bot."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date that the association between the bot and the channel was created."
    },
    "type": {
      "type": "string",
      "enum": [
        "Facebook",
        "Slack",
        "Twilio-Sms",
        "Kik"
      ],
      "description": "The type of the messaging platform."
    },
    "botConfiguration": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Provides information that the messaging platform needs to communicate with the Amazon Lex bot."
    },
    "status": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "CREATED",
        "FAILED"
      ],
      "description": "The status of the bot channel. CREATED - The channel has been created and is ready for use. IN_PROGRESS - Channel creation is in progress. FAILED - There was an error creating the channel. For information about the reason for the failure, see the failureReason field."
    },
    "failureReason": {
      "type": "string",
      "description": "If status is FAILED, Amazon Lex provides the reason that it failed to create the association."
    }
  }
}