Struct aws_sdk_lexmodelsv2::input::CreateBotAliasInput
source · [−]#[non_exhaustive]pub struct CreateBotAliasInput {
pub bot_alias_name: Option<String>,
pub description: Option<String>,
pub bot_version: Option<String>,
pub bot_alias_locale_settings: Option<HashMap<String, BotAliasLocaleSettings>>,
pub conversation_log_settings: Option<ConversationLogSettings>,
pub sentiment_analysis_settings: Option<SentimentAnalysisSettings>,
pub bot_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
}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_alias_name: Option<String>The alias to create. The name must be unique for the bot.
description: Option<String>A description of the alias. Use this description to help identify the alias.
bot_version: Option<String>The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
bot_alias_locale_settings: Option<HashMap<String, BotAliasLocaleSettings>>Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
conversation_log_settings: Option<ConversationLogSettings>Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
sentiment_analysis_settings: Option<SentimentAnalysisSettings>Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
bot_id: Option<String>The unique identifier of the bot that the alias applies to.
A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the UpdateBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.
Implementations
sourceimpl CreateBotAliasInput
impl CreateBotAliasInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBotAlias, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBotAlias, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateBotAlias>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBotAliasInput
sourceimpl CreateBotAliasInput
impl CreateBotAliasInput
sourcepub fn bot_alias_name(&self) -> Option<&str>
pub fn bot_alias_name(&self) -> Option<&str>
The alias to create. The name must be unique for the bot.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the alias. Use this description to help identify the alias.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
sourcepub fn bot_alias_locale_settings(
&self
) -> Option<&HashMap<String, BotAliasLocaleSettings>>
pub fn bot_alias_locale_settings(
&self
) -> Option<&HashMap<String, BotAliasLocaleSettings>>
Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
sourcepub fn conversation_log_settings(&self) -> Option<&ConversationLogSettings>
pub fn conversation_log_settings(&self) -> Option<&ConversationLogSettings>
Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
sourcepub fn sentiment_analysis_settings(&self) -> Option<&SentimentAnalysisSettings>
pub fn sentiment_analysis_settings(&self) -> Option<&SentimentAnalysisSettings>
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot that the alias applies to.
A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the UpdateBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.
Trait Implementations
sourceimpl Clone for CreateBotAliasInput
impl Clone for CreateBotAliasInput
sourcefn clone(&self) -> CreateBotAliasInput
fn clone(&self) -> CreateBotAliasInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateBotAliasInput
impl Debug for CreateBotAliasInput
sourceimpl PartialEq<CreateBotAliasInput> for CreateBotAliasInput
impl PartialEq<CreateBotAliasInput> for CreateBotAliasInput
sourcefn eq(&self, other: &CreateBotAliasInput) -> bool
fn eq(&self, other: &CreateBotAliasInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateBotAliasInput) -> bool
fn ne(&self, other: &CreateBotAliasInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateBotAliasInput
Auto Trait Implementations
impl RefUnwindSafe for CreateBotAliasInput
impl Send for CreateBotAliasInput
impl Sync for CreateBotAliasInput
impl Unpin for CreateBotAliasInput
impl UnwindSafe for CreateBotAliasInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more