#[non_exhaustive]pub struct GetBucketIntelligentTieringConfigurationInput { /* private fields */ }
Implementations§
source§impl GetBucketIntelligentTieringConfigurationInput
impl GetBucketIntelligentTieringConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetBucketIntelligentTieringConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetBucketIntelligentTieringConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetBucketIntelligentTieringConfiguration
>
Examples found in repository?
src/client.rs (line 6056)
6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetBucketIntelligentTieringConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::GetBucketIntelligentTieringConfigurationError,
>,
> {
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::GetBucketIntelligentTieringConfigurationOutput,
aws_smithy_http::result::SdkError<
crate::error::GetBucketIntelligentTieringConfigurationError,
>,
> {
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 GetBucketIntelligentTieringConfigurationInput
.
Trait Implementations§
source§impl Clone for GetBucketIntelligentTieringConfigurationInput
impl Clone for GetBucketIntelligentTieringConfigurationInput
source§fn clone(&self) -> GetBucketIntelligentTieringConfigurationInput
fn clone(&self) -> GetBucketIntelligentTieringConfigurationInput
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