Module Values.GetBotChannelAssociationResponseSource

Returns information about the association between an Amazon Lex bot and a messaging platform. This operation requires permissions for the lex:GetBotChannelAssociation action.

Sourcetype nonrec t = {
  1. name : BotChannelName.t option;
    (*

    The name of the association between the bot and the channel.

    *)
  2. description : Description.t option;
    (*

    A description of the association between the bot and the channel.

    *)
  3. botAlias : AliasName.t option;
    (*

    An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

    *)
  4. botName : BotName.t option;
    (*

    The name of the Amazon Lex bot.

    *)
  5. createdDate : Timestamp.t option;
    (*

    The date that the association between the bot and the channel was created.

    *)
  6. type_ : ChannelType.t option;
    (*

    The type of the messaging platform.

    *)
  7. botConfiguration : ChannelConfigurationMap.t option;
    (*

    Provides information that the messaging platform needs to communicate with the Amazon Lex bot.

    *)
  8. status : ChannelStatus.t option;
    (*

    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.

    *)
  9. failureReason : String_.t option;
    (*

    If status is FAILED, Amazon Lex provides the reason that it failed to create the association.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?description:??? -> ?botAlias:??? -> ?botName:??? -> ?createdDate:??? -> ?type_:??? -> ?botConfiguration:??? -> ?status:??? -> ?failureReason:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of BotChannelName.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t