#[non_exhaustive]pub struct DescribeBotRecommendationInput { /* private fields */ }Implementations§
source§impl DescribeBotRecommendationInput
impl DescribeBotRecommendationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeBotRecommendation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeBotRecommendation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeBotRecommendation>
Examples found in repository?
src/client.rs (line 4738)
4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeBotRecommendation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeBotRecommendationError>,
> {
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::DescribeBotRecommendationOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeBotRecommendationError>,
> {
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 DescribeBotRecommendationInput.
source§impl DescribeBotRecommendationInput
impl DescribeBotRecommendationInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot associated with the bot recommendation.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot associated with the bot recommendation.
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 describe. 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 identifier of the bot recommendation to describe.
Trait Implementations§
source§impl Clone for DescribeBotRecommendationInput
impl Clone for DescribeBotRecommendationInput
source§fn clone(&self) -> DescribeBotRecommendationInput
fn clone(&self) -> DescribeBotRecommendationInput
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