Struct aws_sdk_redshift::client::fluent_builders::BatchModifyClusterSnapshots [−][src]
pub struct BatchModifyClusterSnapshots<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to BatchModifyClusterSnapshots
.
Modifies the settings for a set of cluster snapshots.
Implementations
impl<C, M, R> BatchModifyClusterSnapshots<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchModifyClusterSnapshots<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchModifyClusterSnapshotsOutput, SdkError<BatchModifyClusterSnapshotsError>> where
R::Policy: SmithyRetryPolicy<BatchModifyClusterSnapshotsInputOperationOutputAlias, BatchModifyClusterSnapshotsOutput, BatchModifyClusterSnapshotsError, BatchModifyClusterSnapshotsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchModifyClusterSnapshotsOutput, SdkError<BatchModifyClusterSnapshotsError>> where
R::Policy: SmithyRetryPolicy<BatchModifyClusterSnapshotsInputOperationOutputAlias, BatchModifyClusterSnapshotsOutput, BatchModifyClusterSnapshotsError, BatchModifyClusterSnapshotsInputOperationRetryAlias>,
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.
Appends an item to SnapshotIdentifierList
.
To override the contents of this collection use set_snapshot_identifier_list
.
A list of snapshot identifiers you want to modify.
A list of snapshot identifiers you want to modify.
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
A boolean value indicating whether to override an exception if the retention period has passed.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for BatchModifyClusterSnapshots<C, M, R>
impl<C, M, R> Send for BatchModifyClusterSnapshots<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchModifyClusterSnapshots<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchModifyClusterSnapshots<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for BatchModifyClusterSnapshots<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