#[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§
source§impl 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.
source§impl CreateBotAliasInput
impl CreateBotAliasInput
sourcepub fn builder() -> CreateBotAliasInputBuilder
pub fn builder() -> CreateBotAliasInputBuilder
Creates a new builder-style object to manufacture CreateBotAliasInput
.
Trait Implementations§
source§impl Clone for CreateBotAliasInput
impl Clone for CreateBotAliasInput
source§fn clone(&self) -> CreateBotAliasInput
fn clone(&self) -> CreateBotAliasInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBotAliasInput
impl Debug for CreateBotAliasInput
source§impl PartialEq for CreateBotAliasInput
impl PartialEq for CreateBotAliasInput
source§fn eq(&self, other: &CreateBotAliasInput) -> bool
fn eq(&self, other: &CreateBotAliasInput) -> bool
self
and other
values to be equal, and is used
by ==
.