Module Values.BuildBotLocaleResponseSource

Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.

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

    The identifier of the specified bot.

    *)
  2. botVersion : DraftBotVersion.t option;
    (*

    The version of the bot that was built. This is only the draft version of the bot.

    *)
  3. localeId : LocaleId.t option;
    (*

    The language and locale specified of where the bot can be used.

    *)
  4. botLocaleStatus : BotLocaleStatus.t option;
    (*

    The bot's build status. When the status is ReadyExpressTesting you can test the bot using the utterances defined for the intents and slot types. When the status is Built, the bot is ready for use and can be tested using any utterance.

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

    A timestamp indicating the date and time that the bot was last built for this locale.

    *)
}
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:??? -> ?botVersion:??? -> ?localeId:??? -> ?botLocaleStatus:??? -> ?lastBuildSubmittedDateTime:??? -> 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 | `String of Id.t | `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