Struct aws_sdk_lexmodelsv2::client::fluent_builders::UpdateBotAlias
source · [−]pub struct UpdateBotAlias<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateBotAlias.
Updates the configuration of an existing bot alias.
Implementations
impl<C, M, R> UpdateBotAlias<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateBotAlias<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateBotAliasOutput, SdkError<UpdateBotAliasError>> where
R::Policy: SmithyRetryPolicy<UpdateBotAliasInputOperationOutputAlias, UpdateBotAliasOutput, UpdateBotAliasError, UpdateBotAliasInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateBotAliasOutput, SdkError<UpdateBotAliasError>> where
R::Policy: SmithyRetryPolicy<UpdateBotAliasInputOperationOutputAlias, UpdateBotAliasOutput, UpdateBotAliasError, UpdateBotAliasInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The unique identifier of the bot alias.
The unique identifier of the bot alias.
The new name to assign to the bot alias.
The new name to assign to the bot alias.
The new description to assign to the bot alias.
The new description to assign to the bot alias.
The new bot version to assign to the bot alias.
The new bot version to assign to the bot alias.
pub fn bot_alias_locale_settings(
self,
k: impl Into<String>,
v: BotAliasLocaleSettings
) -> Self
pub fn bot_alias_locale_settings(
self,
k: impl Into<String>,
v: BotAliasLocaleSettings
) -> Self
Adds a key-value pair to botAliasLocaleSettings.
To override the contents of this collection use set_bot_alias_locale_settings.
The new Lambda functions to use in each locale for the bot alias.
pub fn set_bot_alias_locale_settings(
self,
input: Option<HashMap<String, BotAliasLocaleSettings>>
) -> Self
pub fn set_bot_alias_locale_settings(
self,
input: Option<HashMap<String, BotAliasLocaleSettings>>
) -> Self
The new Lambda functions to use in each locale for the bot alias.
The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
pub fn set_sentiment_analysis_settings(
self,
input: Option<SentimentAnalysisSettings>
) -> Self
pub fn set_sentiment_analysis_settings(
self,
input: Option<SentimentAnalysisSettings>
) -> Self
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
The identifier of the bot with the updated alias.
The identifier of the bot with the updated alias.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateBotAlias<C, M, R>
impl<C, M, R> Send for UpdateBotAlias<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateBotAlias<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateBotAlias<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateBotAlias<C, M, R>
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