Struct aws_sdk_redshift::client::fluent_builders::DeleteClusterSnapshot [−][src]
pub struct DeleteClusterSnapshot<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteClusterSnapshot
.
Deletes the specified manual snapshot. The snapshot must be in the
available
state, with no other users authorized to access the snapshot.
Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.
Implementations
impl<C, M, R> DeleteClusterSnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteClusterSnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteClusterSnapshotOutput, SdkError<DeleteClusterSnapshotError>> where
R::Policy: SmithyRetryPolicy<DeleteClusterSnapshotInputOperationOutputAlias, DeleteClusterSnapshotOutput, DeleteClusterSnapshotError, DeleteClusterSnapshotInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteClusterSnapshotOutput, SdkError<DeleteClusterSnapshotError>> where
R::Policy: SmithyRetryPolicy<DeleteClusterSnapshotInputOperationOutputAlias, DeleteClusterSnapshotOutput, DeleteClusterSnapshotError, DeleteClusterSnapshotInputOperationRetryAlias>,
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 unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the
available
, failed
, or cancelled
state.
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the
available
, failed
, or cancelled
state.
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteClusterSnapshot<C, M, R>
impl<C, M, R> Send for DeleteClusterSnapshot<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteClusterSnapshot<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteClusterSnapshot<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteClusterSnapshot<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