Values.CreateBotLocaleResponseSourceCreates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
type nonrec t = {botId : Id.t option;The specified bot identifier.
*)botVersion : DraftBotVersion.t option;The specified bot version.
*)localeName : LocaleName.t option;The specified locale name.
*)localeId : LocaleId.t option;The specified locale identifier.
*)description : Description.t option;The specified description of the bot locale.
*)nluIntentConfidenceThreshold : ConfidenceThreshold.t option;The specified confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents.
*)voiceSettings : VoiceSettings.t option;The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
*)unifiedSpeechSettings : UnifiedSpeechSettings.t option;The unified speech settings configured for the created bot locale.
*)audioFillerSettings : AudioFillerSettings.t option;The audio filler settings configured for the created bot locale.
*)speechRecognitionSettings : SpeechRecognitionSettings.t option;The speech-to-text settings configured for the created bot locale.
*)botLocaleStatus : BotLocaleStatus.t option;The status of the bot. When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use. If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built. If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.
*)creationDateTime : Timestamp.t option;A timestamp specifying the date and time that the bot locale was created.
*)generativeAISettings : GenerativeAISettings.t option;speechDetectionSensitivity : SpeechDetectionSensitivity.t option;The sensitivity level for voice activity detection (VAD) that was specified for the bot locale.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `PreconditionFailedException of PreconditionFailedException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?botId:??? ->
?botVersion:??? ->
?localeName:??? ->
?localeId:??? ->
?description:??? ->
?nluIntentConfidenceThreshold:??? ->
?voiceSettings:??? ->
?unifiedSpeechSettings:??? ->
?audioFillerSettings:??? ->
?speechRecognitionSettings:??? ->
?botLocaleStatus:??? ->
?creationDateTime:??? ->
?generativeAISettings:??? ->
?speechDetectionSensitivity:??? ->
unit ->
tval 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 ]val 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 ]val to_value :
t ->
[> `Structure of
(string
* [> `Double of ConfidenceThreshold.t
| `Enum of string
| `String of Id.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of AudioFillerDelayInMilliseconds.t
| `String of VoiceId.t
| `Structure of
(string
* [> `String of BedrockModelArn.t
| `Structure of
(string
* [> `Boolean of Enabled.t
| `Enum of string
| `String of SecretsManagerSecretArn.t
| `Structure of
(string
* [> `Boolean of Enabled.t
| `Enum of string
| `Integer of MaxDisambiguationIntents.t
| `String of BedrockModelArn.t
| `Structure of
(string
* [> `String of BedrockGuardrailIdentifier.t ])
list ])
list ])
list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]