#[non_exhaustive]pub struct UpdateBotLocaleOutput {Show 13 fields
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub locale_name: Option<String>,
pub description: Option<String>,
pub nlu_intent_confidence_threshold: Option<f64>,
pub voice_settings: Option<VoiceSettings>,
pub bot_locale_status: Option<BotLocaleStatus>,
pub failure_reasons: Option<Vec<String>>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub recommended_actions: Option<Vec<String>>,
pub generative_ai_settings: Option<GenerativeAiSettings>,
/* private fields */
}
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 identifier of the bot that contains the updated locale.
bot_version: Option<String>
The version of the bot that contains the updated locale.
locale_id: Option<String>
The language and locale of the updated bot locale.
locale_name: Option<String>
The updated locale name for the locale.
description: Option<String>
The updated description of the locale.
nlu_intent_confidence_threshold: Option<f64>
The updated confidence threshold for inserting the AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
voice_settings: Option<VoiceSettings>
The updated Amazon Polly voice to use for voice interaction with the user.
bot_locale_status: Option<BotLocaleStatus>
The current status of the locale. When the bot status is Built
the locale is ready for use.
failure_reasons: Option<Vec<String>>
If the botLocaleStatus
is Failed
, the failureReasons
field lists the errors that occurred while building the bot.
creation_date_time: Option<DateTime>
A timestamp of the date and time that the locale was created.
last_updated_date_time: Option<DateTime>
A timestamp of the date and time that the locale was last updated.
recommended_actions: Option<Vec<String>>
Recommended actions to take to resolve an error in the failureReasons
field.
generative_ai_settings: Option<GenerativeAiSettings>
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
Implementations§
source§impl UpdateBotLocaleOutput
impl UpdateBotLocaleOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier of the bot that contains the updated locale.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot that contains the updated locale.
sourcepub fn locale_name(&self) -> Option<&str>
pub fn locale_name(&self) -> Option<&str>
The updated locale name for the locale.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The updated description of the locale.
sourcepub fn nlu_intent_confidence_threshold(&self) -> Option<f64>
pub fn nlu_intent_confidence_threshold(&self) -> Option<f64>
The updated confidence threshold for inserting the AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
sourcepub fn voice_settings(&self) -> Option<&VoiceSettings>
pub fn voice_settings(&self) -> Option<&VoiceSettings>
The updated Amazon Polly voice to use for voice interaction with the user.
sourcepub fn bot_locale_status(&self) -> Option<&BotLocaleStatus>
pub fn bot_locale_status(&self) -> Option<&BotLocaleStatus>
The current status of the locale. When the bot status is Built
the locale is ready for use.
sourcepub fn failure_reasons(&self) -> &[String]
pub fn failure_reasons(&self) -> &[String]
If the botLocaleStatus
is Failed
, the failureReasons
field lists the errors that occurred while building the bot.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reasons.is_none()
.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
A timestamp of the date and time that the locale was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
A timestamp of the date and time that the locale was last updated.
sourcepub fn recommended_actions(&self) -> &[String]
pub fn recommended_actions(&self) -> &[String]
Recommended actions to take to resolve an error in the failureReasons
field.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recommended_actions.is_none()
.
sourcepub fn generative_ai_settings(&self) -> Option<&GenerativeAiSettings>
pub fn generative_ai_settings(&self) -> Option<&GenerativeAiSettings>
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
source§impl UpdateBotLocaleOutput
impl UpdateBotLocaleOutput
sourcepub fn builder() -> UpdateBotLocaleOutputBuilder
pub fn builder() -> UpdateBotLocaleOutputBuilder
Creates a new builder-style object to manufacture UpdateBotLocaleOutput
.
Trait Implementations§
source§impl Clone for UpdateBotLocaleOutput
impl Clone for UpdateBotLocaleOutput
source§fn clone(&self) -> UpdateBotLocaleOutput
fn clone(&self) -> UpdateBotLocaleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateBotLocaleOutput
impl Debug for UpdateBotLocaleOutput
source§impl PartialEq for UpdateBotLocaleOutput
impl PartialEq for UpdateBotLocaleOutput
source§fn eq(&self, other: &UpdateBotLocaleOutput) -> bool
fn eq(&self, other: &UpdateBotLocaleOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateBotLocaleOutput
impl RequestId for UpdateBotLocaleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.