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
pub 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>
Creates a new builder-style object to manufacture CreateBotAliasInput
The alias to create. The name must be unique for the bot.
A description of the alias. Use this description to help identify the alias.
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.
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.
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.
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
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
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 CreateBotAliasInput
impl Send for CreateBotAliasInput
impl Sync for CreateBotAliasInput
impl Unpin for CreateBotAliasInput
impl UnwindSafe for CreateBotAliasInput
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