Values.DescribeBotLocaleResponseSourceDescribes the settings that a bot has for a specific locale.
type nonrec t = {botId : Id.t option;The identifier of the bot associated with the locale.
*)botVersion : BotVersion.t option;The version of the bot associated with the locale.
*)localeId : LocaleId.t option;The unique identifier of the described locale.
*)localeName : LocaleName.t option;The name of the locale.
*)description : Description.t option;The description of the locale.
*)nluIntentConfidenceThreshold : ConfidenceThreshold.t option;The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
*)voiceSettings : VoiceSettings.t option;The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
*)unifiedSpeechSettings : UnifiedSpeechSettings.t option;The unified speech settings configured for the bot locale.
*)audioFillerSettings : AudioFillerSettings.t option;The audio filler settings configured for the bot locale.
*)speechRecognitionSettings : SpeechRecognitionSettings.t option;The speech-to-text settings configured for the bot locale.
*)intentsCount : ResourceCount.t option;The number of intents defined for the locale.
*)slotTypesCount : ResourceCount.t option;The number of slot types defined for the locale.
*)botLocaleStatus : BotLocaleStatus.t option;The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.
*)failureReasons : FailureReasons.t option;if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.
*)creationDateTime : Timestamp.t option;The date and time that the locale was created.
*)lastUpdatedDateTime : Timestamp.t option;The date and time that the locale was last updated.
*)lastBuildSubmittedDateTime : Timestamp.t option;The date and time that the locale was last submitted for building.
*)botLocaleHistoryEvents : BotLocaleHistoryEventsList.t option;History of changes, such as when a locale is used in an alias, that have taken place for the locale.
*)recommendedActions : RecommendedActions.t option;Recommended actions to take to resolve an error in the failureReasons field.
*)generativeAISettings : GenerativeAISettings.t option;Contains settings for Amazon Bedrock's generative AI features for your bot locale.
*)speechDetectionSensitivity : SpeechDetectionSensitivity.t option;The sensitivity level for voice activity detection (VAD) configured for the bot locale.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?botId:??? ->
?botVersion:??? ->
?localeId:??? ->
?localeName:??? ->
?description:??? ->
?nluIntentConfidenceThreshold:??? ->
?voiceSettings:??? ->
?unifiedSpeechSettings:??? ->
?audioFillerSettings:??? ->
?speechRecognitionSettings:??? ->
?intentsCount:??? ->
?slotTypesCount:??? ->
?botLocaleStatus:??? ->
?failureReasons:??? ->
?creationDateTime:??? ->
?lastUpdatedDateTime:??? ->
?lastBuildSubmittedDateTime:??? ->
?botLocaleHistoryEvents:??? ->
?recommendedActions:??? ->
?generativeAISettings:??? ->
?speechDetectionSensitivity:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.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 ->
[> `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.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
| `Integer of ResourceCount.t
| `List of
[> `String of FailureReason.t
| `Structure of
(string
* [> `String of BotLocaleHistoryEventDescription.t
| `Timestamp of Timestamp.t ])
list ]
list
| `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 ]