Struct aws_sdk_storagegateway::client::fluent_builders::DeleteSnapshotSchedule [−][src]
pub struct DeleteSnapshotSchedule<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteSnapshotSchedule
.
Deletes a snapshot of a volume.
You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API
action enables you to delete a snapshot schedule for a volume. For more information, see
Backing up your
volumes. In the DeleteSnapshotSchedule
request, you identify the
volume by providing its Amazon Resource Name (ARN). This operation is only supported in
stored and cached volume gateway types.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
Implementations
impl<C, M, R> DeleteSnapshotSchedule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteSnapshotSchedule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteSnapshotScheduleOutput, SdkError<DeleteSnapshotScheduleError>> where
R::Policy: SmithyRetryPolicy<DeleteSnapshotScheduleInputOperationOutputAlias, DeleteSnapshotScheduleOutput, DeleteSnapshotScheduleError, DeleteSnapshotScheduleInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteSnapshotScheduleOutput, SdkError<DeleteSnapshotScheduleError>> where
R::Policy: SmithyRetryPolicy<DeleteSnapshotScheduleInputOperationOutputAlias, DeleteSnapshotScheduleOutput, DeleteSnapshotScheduleError, DeleteSnapshotScheduleInputOperationRetryAlias>,
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, which can be set when configuring the client.
The volume which snapshot schedule to delete.
The volume which snapshot schedule to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteSnapshotSchedule<C, M, R>
impl<C, M, R> Send for DeleteSnapshotSchedule<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteSnapshotSchedule<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteSnapshotSchedule<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteSnapshotSchedule<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more