#[non_exhaustive]pub struct EnableFastSnapshotRestoresInput { /* private fields */ }
Implementations§
source§impl EnableFastSnapshotRestoresInput
impl EnableFastSnapshotRestoresInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableFastSnapshotRestores, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableFastSnapshotRestores, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<EnableFastSnapshotRestores
>
Examples found in repository?
src/client.rs (line 55835)
55821 55822 55823 55824 55825 55826 55827 55828 55829 55830 55831 55832 55833 55834 55835 55836 55837 55838 55839 55840 55841 55842 55843 55844 55845 55846 55847 55848 55849 55850 55851 55852 55853 55854 55855 55856 55857 55858 55859 55860 55861 55862 55863
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::EnableFastSnapshotRestores,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::EnableFastSnapshotRestoresError>,
> {
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::EnableFastSnapshotRestoresOutput,
aws_smithy_http::result::SdkError<crate::error::EnableFastSnapshotRestoresError>,
> {
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 EnableFastSnapshotRestoresInput
.
source§impl EnableFastSnapshotRestoresInput
impl EnableFastSnapshotRestoresInput
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
. You can specify a snapshot that was shared with you from another Amazon Web Services account.
Trait Implementations§
source§impl Clone for EnableFastSnapshotRestoresInput
impl Clone for EnableFastSnapshotRestoresInput
source§fn clone(&self) -> EnableFastSnapshotRestoresInput
fn clone(&self) -> EnableFastSnapshotRestoresInput
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