Module Values.CreateBotResponseSource

Creates an Amazon Lex conversational bot.

Sourcetype nonrec t = {
  1. botId : Id.t option;
    (*

    A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.

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

    The name specified for the bot.

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

    The description specified for the bot.

    *)
  4. roleArn : RoleArn.t option;
    (*

    The IAM role specified for the bot.

    *)
  5. dataPrivacy : DataPrivacy.t option;
    (*

    The data privacy settings specified for the bot.

    *)
  6. idleSessionTTLInSeconds : SessionTTL.t option;
    (*

    The session idle time specified for the bot.

    *)
  7. botStatus : BotStatus.t option;
    (*

    Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the DRAFT version of the bot.

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

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

    *)
  9. botTags : TagMap.t option;
    (*

    A list of tags associated with the bot.

    *)
  10. testBotAliasTags : TagMap.t option;
    (*

    A list of tags associated with the test alias for the bot.

    *)
  11. botType : BotType.t option;
    (*

    The type of a bot that was created.

    *)
  12. botMembers : BotMembers.t option;
    (*

    The list of bots in a network that was created.

    *)
  13. errorLogSettings : ErrorLogSettings.t option;
    (*

    Specifies configuration settings for delivering error logs to Cloudwatch Logs in an Amazon Lex bot response.

    *)
}
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 : ?botId:??? -> ?botName:??? -> ?description:??? -> ?roleArn:??? -> ?dataPrivacy:??? -> ?idleSessionTTLInSeconds:??? -> ?botStatus:??? -> ?creationDateTime:??? -> ?botTags:??? -> ?testBotAliasTags:??? -> ?botType:??? -> ?botMembers:??? -> ?errorLogSettings:??? -> 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 | `Integer of SessionTTL.t | `List of [> `Structure of (string * [> `String of Id.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Id.t | `Structure of (string * [> `Boolean of ChildDirected.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