Struct aws_sdk_lexmodelsv2::input::UpdateBotLocaleInput
source · [−]#[non_exhaustive]pub struct UpdateBotLocaleInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub description: Option<String>,
pub nlu_intent_confidence_threshold: Option<f64>,
pub voice_settings: Option<VoiceSettings>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bot_id: Option<String>The unique identifier of the bot that contains the locale.
bot_version: Option<String>The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.
locale_id: Option<String>The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
description: Option<String>The new description of the locale.
nlu_intent_confidence_threshold: Option<f64>The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
voice_settings: Option<VoiceSettings>The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBotLocale, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBotLocale, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateBotLocale>
Creates a new builder-style object to manufacture UpdateBotLocaleInput
The unique identifier of the bot that contains the locale.
The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.
The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
The new description of the locale.
The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for UpdateBotLocaleInput
impl Send for UpdateBotLocaleInput
impl Sync for UpdateBotLocaleInput
impl Unpin for UpdateBotLocaleInput
impl UnwindSafe for UpdateBotLocaleInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more