#[non_exhaustive]pub struct EnableEbsEncryptionByDefaultInput { /* private fields */ }
Implementations§
source§impl EnableEbsEncryptionByDefaultInput
impl EnableEbsEncryptionByDefaultInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableEbsEncryptionByDefault, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableEbsEncryptionByDefault, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<EnableEbsEncryptionByDefault
>
Examples found in repository?
src/client.rs (line 55620)
55606 55607 55608 55609 55610 55611 55612 55613 55614 55615 55616 55617 55618 55619 55620 55621 55622 55623 55624 55625 55626 55627 55628 55629 55630 55631 55632 55633 55634 55635 55636 55637 55638 55639 55640 55641 55642 55643 55644 55645 55646 55647 55648
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::EnableEbsEncryptionByDefault,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::EnableEbsEncryptionByDefaultError>,
> {
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::EnableEbsEncryptionByDefaultOutput,
aws_smithy_http::result::SdkError<crate::error::EnableEbsEncryptionByDefaultError>,
> {
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 EnableEbsEncryptionByDefaultInput
.
Trait Implementations§
source§impl Clone for EnableEbsEncryptionByDefaultInput
impl Clone for EnableEbsEncryptionByDefaultInput
source§fn clone(&self) -> EnableEbsEncryptionByDefaultInput
fn clone(&self) -> EnableEbsEncryptionByDefaultInput
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