Module Values.CreateBotAliasResponseSource

Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot. For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.

Sourcetype nonrec t = {
  1. botAliasId : BotAliasId.t option;
    (*

    The unique identifier of the bot alias.

    *)
  2. botAliasName : Name.t option;
    (*

    The name specified for the bot alias.

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

    The description specified for the bot alias.

    *)
  4. botVersion : NumericalBotVersion.t option;
    (*

    The version of the bot associated with this alias.

    *)
  5. botAliasLocaleSettings : BotAliasLocaleSettingsMap.t option;
    (*

    Configuration information for a specific locale.

    *)
  6. conversationLogSettings : ConversationLogSettings.t option;
    (*

    The conversation log settings specified for the alias.

    *)
  7. sentimentAnalysisSettings : SentimentAnalysisSettings.t option;
  8. botAliasStatus : BotAliasStatus.t option;
    (*

    The current status of the alias. The alias is first put into the Creating state. When the alias is ready to be used, it is put into the Available state. You can use the DescribeBotAlias operation to get the current state of an alias.

    *)
  9. botId : Id.t option;
    (*

    The unique identifier of the bot that this alias applies to.

    *)
  10. creationDateTime : Timestamp.t option;
    (*

    A Unix timestamp indicating the date and time that the bot alias was created.

    *)
  11. tags : TagMap.t option;
    (*

    A list of tags associated with the bot alias.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `PreconditionFailedException of PreconditionFailedException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?botAliasId:??? -> ?botAliasName:??? -> ?description:??? -> ?botVersion:??? -> ?botAliasLocaleSettings:??? -> ?conversationLogSettings:??? -> ?sentimentAnalysisSettings:??? -> ?botAliasStatus:??? -> ?botId:??? -> ?creationDateTime:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PreconditionFailedException of PreconditionFailedException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PreconditionFailedException of PreconditionFailedException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of LocaleId.t ] * [> `String of TagValue.t | `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `Structure of (string * [> `String of LambdaARN.t ]) list ]) list ]) list ]) list | `String of BotAliasId.t | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `Structure of (string * [> `String of CloudWatchLogGroupArn.t ]) list ]) list ]) list ] list ]) 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