Struct aws_sdk_lexmodelsv2::input::UpdateBotAliasInput
source · #[non_exhaustive]pub struct UpdateBotAliasInput { /* private fields */ }Implementations§
source§impl UpdateBotAliasInput
impl UpdateBotAliasInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBotAlias, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBotAlias, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateBotAlias>
Examples found in repository?
src/client.rs (line 8334)
8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateBotAlias,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateBotAliasError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateBotAliasOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateBotAliasError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateBotAliasInput.
source§impl UpdateBotAliasInput
impl UpdateBotAliasInput
sourcepub fn bot_alias_id(&self) -> Option<&str>
pub fn bot_alias_id(&self) -> Option<&str>
The unique identifier of the bot alias.
sourcepub fn bot_alias_name(&self) -> Option<&str>
pub fn bot_alias_name(&self) -> Option<&str>
The new name to assign to the bot alias.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The new description to assign to the bot alias.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The new bot version to assign to the bot alias.
sourcepub fn bot_alias_locale_settings(
&self
) -> Option<&HashMap<String, BotAliasLocaleSettings>>
pub fn bot_alias_locale_settings(
&self
) -> Option<&HashMap<String, BotAliasLocaleSettings>>
The new Lambda functions to use in each locale for the bot alias.
sourcepub fn conversation_log_settings(&self) -> Option<&ConversationLogSettings>
pub fn conversation_log_settings(&self) -> Option<&ConversationLogSettings>
The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
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.
Trait Implementations§
source§impl Clone for UpdateBotAliasInput
impl Clone for UpdateBotAliasInput
source§fn clone(&self) -> UpdateBotAliasInput
fn clone(&self) -> UpdateBotAliasInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more