#[non_exhaustive]pub struct StartBotRecommendationInput { /* private fields */ }Implementations§
source§impl StartBotRecommendationInput
impl StartBotRecommendationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartBotRecommendation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartBotRecommendation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartBotRecommendation>
Examples found in repository?
src/client.rs (line 7675)
7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StartBotRecommendation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::StartBotRecommendationError>,
> {
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::StartBotRecommendationOutput,
aws_smithy_http::result::SdkError<crate::error::StartBotRecommendationError>,
> {
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 StartBotRecommendationInput.
source§impl StartBotRecommendationInput
impl StartBotRecommendationInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot containing the bot recommendation.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot containing 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 start. The string must match one of the supported locales. For more information, see Supported languages
sourcepub fn transcript_source_setting(&self) -> Option<&TranscriptSourceSetting>
pub fn transcript_source_setting(&self) -> Option<&TranscriptSourceSetting>
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
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 StartBotRecommendationInput
impl Clone for StartBotRecommendationInput
source§fn clone(&self) -> StartBotRecommendationInput
fn clone(&self) -> StartBotRecommendationInput
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