Module Values.PutBotAliasRequestSource

Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the lex:PutBotAlias action.

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

    The name of the alias. The name is not case sensitive.

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

    A description of the alias.

    *)
  3. botVersion : Version.t;
    (*

    The version of the bot.

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

    The name of the bot.

    *)
  5. checksum : String_.t option;
    (*

    Identifies a specific revision of the $LATEST version. When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a bot alias, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception.

    *)
  6. conversationLogs : ConversationLogsRequest.t option;
    (*

    Settings for conversation logs for the alias.

    *)
  7. tags : TagList.t option;
    (*

    A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the PutBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?checksum:??? -> ?conversationLogs:??? -> ?tags:??? -> name:AliasName.t -> botVersion:Version.t -> botName:BotName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of AliasName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of KmsKeyArn.t ]) list ] list | `String of IamRoleArn.t ]) list ]) 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