Module Values.BotChannelAssociationSource

Represents an association between an Amazon Lex bot and an external messaging platform.

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 text description of the association you are creating.

    *)
  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 to which this association is being made. Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.

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

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

    *)
  6. 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.

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

    Provides information necessary to communicate with the messaging platform.

    *)
  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.

    *)
}
Sourceval make : ?name:??? -> ?description:??? -> ?botAlias:??? -> ?botName:??? -> ?createdDate:??? -> ?type_:??? -> ?botConfiguration:??? -> ?status:??? -> ?failureReason:??? -> unit -> 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