Module Values.DeleteBotAliasRequestSource

Deletes an alias for the specified bot. You can't delete an alias that is used in the association between a bot and a messaging channel. If an alias is used in a channel association, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the channel association that refers to the bot. You can remove the reference to the alias by deleting the channel association. If you get the same exception again, delete the referring association until the DeleteBotAlias operation is successful.

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

    The name of the alias to delete. The name is case sensitive.

    *)
  2. botName : BotName.t;
    (*

    The name of the bot that the alias points to.

    *)
}
Sourceval context_ : string
Sourceval make : name:AliasName.t -> botName:BotName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AliasName.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