Module Values.PutBotAliasResponseSource

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 option;
    (*

    The name of the alias.

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

    A description of the alias.

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

    The version of the bot that the alias points to.

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

    The name of the bot that the alias points to.

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

    The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.

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

    The date that the bot alias was created.

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

    The checksum for the current version of the alias.

    *)
  8. conversationLogs : ConversationLogsResponse.t option;
    (*

    The settings that determine how Amazon Lex uses conversation logs for the alias.

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

    A list of tags associated with a bot.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalFailureException of InternalFailureException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `PreconditionFailedException of PreconditionFailedException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?description:??? -> ?botVersion:??? -> ?botName:??? -> ?lastUpdatedDate:??? -> ?createdDate:??? -> ?checksum:??? -> ?conversationLogs:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `PreconditionFailedException of PreconditionFailedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `PreconditionFailedException of PreconditionFailedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.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 | `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