#[non_exhaustive]pub struct UpdateBotRecommendationInput { /* private fields */ }Implementations§
source§impl UpdateBotRecommendationInput
impl UpdateBotRecommendationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBotRecommendation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBotRecommendation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateBotRecommendation>
Examples found in repository?
src/client.rs (line 8637)
8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateBotRecommendation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateBotRecommendationError>,
> {
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::UpdateBotRecommendationOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateBotRecommendationError>,
> {
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 UpdateBotRecommendationInput.
source§impl UpdateBotRecommendationInput
impl UpdateBotRecommendationInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot containing the bot recommendation to be updated.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot containing the bot recommendation to be updated.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages
sourcepub fn bot_recommendation_id(&self) -> Option<&str>
pub fn bot_recommendation_id(&self) -> Option<&str>
The unique identifier of the bot recommendation to be updated.
sourcepub fn encryption_setting(&self) -> Option<&EncryptionSetting>
pub fn encryption_setting(&self) -> Option<&EncryptionSetting>
The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
Trait Implementations§
source§impl Clone for UpdateBotRecommendationInput
impl Clone for UpdateBotRecommendationInput
source§fn clone(&self) -> UpdateBotRecommendationInput
fn clone(&self) -> UpdateBotRecommendationInput
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