Values.BotChannelAssociationSourceRepresents an association between an Amazon Lex bot and an external messaging platform.
type nonrec t = {name : BotChannelName.t option;The name of the association between the bot and the channel.
*)description : Description.t option;A text description of the association you are creating.
*)botAlias : AliasName.t option;An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
*)botName : BotName.t option;The name of the Amazon Lex bot to which this association is being made. Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
*)createdDate : Timestamp.t option;The date that the association between the Amazon Lex bot and the channel was created.
*)type_ : ChannelType.t option;Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
*)botConfiguration : ChannelConfigurationMap.t option;Provides information necessary to communicate with the messaging platform.
*)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.
*)failureReason : String_.t option;If status is FAILED, Amazon Lex provides the reason that it failed to create the association.
*)}val 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 ]