Module Values.UpdateBotLocaleResponseSource

Updates the settings that a bot has for a specific locale.

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

    The identifier of the bot that contains the updated locale.

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

    The version of the bot that contains the updated locale.

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

    The language and locale of the updated bot locale.

    *)
  4. localeName : LocaleName.t option;
    (*

    The updated locale name for the locale.

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

    The updated description of the locale.

    *)
  6. nluIntentConfidenceThreshold : ConfidenceThreshold.t option;
    (*

    The updated confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.

    *)
  7. voiceSettings : VoiceSettings.t option;
    (*

    The updated Amazon Polly voice to use for voice interaction with the user.

    *)
  8. unifiedSpeechSettings : UnifiedSpeechSettings.t option;
    (*

    The updated unified speech settings for the bot locale.

    *)
  9. audioFillerSettings : AudioFillerSettings.t option;
    (*

    The updated audio filler settings for the bot locale.

    *)
  10. speechRecognitionSettings : SpeechRecognitionSettings.t option;
    (*

    The updated speech-to-text settings for the bot locale.

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

    The current status of the locale. When the bot status is Built the locale is ready for use.

    *)
  12. failureReasons : FailureReasons.t option;
    (*

    If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.

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

    A timestamp of the date and time that the locale was created.

    *)
  14. lastUpdatedDateTime : Timestamp.t option;
    (*

    A timestamp of the date and time that the locale was last updated.

    *)
  15. recommendedActions : RecommendedActions.t option;
    (*

    Recommended actions to take to resolve an error in the failureReasons field.

    *)
  16. generativeAISettings : GenerativeAISettings.t option;
    (*

    Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.

    *)
  17. speechDetectionSensitivity : SpeechDetectionSensitivity.t option;
    (*

    The updated sensitivity level for voice activity detection (VAD) in the bot 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:??? -> ?localeName:??? -> ?description:??? -> ?nluIntentConfidenceThreshold:??? -> ?voiceSettings:??? -> ?unifiedSpeechSettings:??? -> ?audioFillerSettings:??? -> ?speechRecognitionSettings:??? -> ?botLocaleStatus:??? -> ?failureReasons:??? -> ?creationDateTime:??? -> ?lastUpdatedDateTime:??? -> ?recommendedActions:??? -> ?generativeAISettings:??? -> ?speechDetectionSensitivity:??? -> 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 * [> `Double of ConfidenceThreshold.t | `Enum of string | `List of [> `String of FailureReason.t ] 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 ]
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