#[non_exhaustive]pub struct DisableFastSnapshotRestoresInput { /* private fields */ }
Implementations§
source§impl DisableFastSnapshotRestoresInput
impl DisableFastSnapshotRestoresInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableFastSnapshotRestores, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableFastSnapshotRestores, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableFastSnapshotRestores
>
Examples found in repository?
src/client.rs (line 53704)
53690 53691 53692 53693 53694 53695 53696 53697 53698 53699 53700 53701 53702 53703 53704 53705 53706 53707 53708 53709 53710 53711 53712 53713 53714 53715 53716 53717 53718 53719 53720 53721 53722 53723 53724 53725 53726 53727 53728 53729 53730 53731 53732
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisableFastSnapshotRestores,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisableFastSnapshotRestoresError>,
> {
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::DisableFastSnapshotRestoresOutput,
aws_smithy_http::result::SdkError<crate::error::DisableFastSnapshotRestoresError>,
> {
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 DisableFastSnapshotRestoresInput
.
source§impl DisableFastSnapshotRestoresInput
impl DisableFastSnapshotRestoresInput
sourcepub fn availability_zones(&self) -> Option<&[String]>
pub fn availability_zones(&self) -> Option<&[String]>
One or more Availability Zones. For example, us-east-2a
.
sourcepub fn source_snapshot_ids(&self) -> Option<&[String]>
pub fn source_snapshot_ids(&self) -> Option<&[String]>
The IDs of one or more snapshots. For example, snap-1234567890abcdef0
.
Trait Implementations§
source§impl Clone for DisableFastSnapshotRestoresInput
impl Clone for DisableFastSnapshotRestoresInput
source§fn clone(&self) -> DisableFastSnapshotRestoresInput
fn clone(&self) -> DisableFastSnapshotRestoresInput
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