Module Values.BuildBotLocaleRequestSource

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

    The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation.

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

    The version of the bot to build. This can only be the draft version of the bot.

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

    The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.

    *)
}
Sourceval context_ : string
Sourceval make : botId:Id.t -> botVersion:DraftBotVersion.t -> localeId:LocaleId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Id.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