Struct aws_sdk_docdb::client::fluent_builders::ModifyDBClusterSnapshotAttribute [−][src]
pub struct ModifyDBClusterSnapshotAttribute<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ModifyDBClusterSnapshotAttribute.
Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.
To share a manual cluster snapshot with other accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the accounts that are authorized to restore the manual cluster snapshot. Use the value all to make the manual cluster snapshot public, which means that it can be copied or restored by all accounts. Do not add the all value for any manual cluster snapshots that contain private information that you don't want available to all accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.
Implementations
impl<C, M, R> ModifyDBClusterSnapshotAttribute<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyDBClusterSnapshotAttribute<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ModifyDbClusterSnapshotAttributeOutput, SdkError<ModifyDBClusterSnapshotAttributeError>> where
R::Policy: SmithyRetryPolicy<ModifyDbClusterSnapshotAttributeInputOperationOutputAlias, ModifyDbClusterSnapshotAttributeOutput, ModifyDBClusterSnapshotAttributeError, ModifyDbClusterSnapshotAttributeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ModifyDbClusterSnapshotAttributeOutput, SdkError<ModifyDBClusterSnapshotAttributeError>> where
R::Policy: SmithyRetryPolicy<ModifyDbClusterSnapshotAttributeInputOperationOutputAlias, ModifyDbClusterSnapshotAttributeOutput, ModifyDBClusterSnapshotAttributeError, ModifyDbClusterSnapshotAttributeInputOperationRetryAlias>,
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 identifier for the cluster snapshot to modify the attributes for.
The identifier for the cluster snapshot to modify the attributes for.
The name of the cluster snapshot attribute to modify.
To manage authorization for other accounts to copy or restore a manual cluster snapshot, set this value to restore.
The name of the cluster snapshot attribute to modify.
To manage authorization for other accounts to copy or restore a manual cluster snapshot, set this value to restore.
Appends an item to ValuesToAdd.
To override the contents of this collection use set_values_to_add.
A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
To authorize other accounts to copy or restore a manual cluster snapshot, set this list to include one or more account IDs. To make the manual cluster snapshot restorable by any account, set it to all. Do not add the all value for any manual cluster snapshots that contain private information that you don't want to be available to all accounts.
A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
To authorize other accounts to copy or restore a manual cluster snapshot, set this list to include one or more account IDs. To make the manual cluster snapshot restorable by any account, set it to all. Do not add the all value for any manual cluster snapshots that contain private information that you don't want to be available to all accounts.
Appends an item to ValuesToRemove.
To override the contents of this collection use set_values_to_remove.
A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.
To remove authorization for other accounts to copy or restore a manual cluster snapshot, set this list to include one or more account identifiers. To remove authorization for any account to copy or restore the cluster snapshot, set it to all . If you specify all, an account whose account ID is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.
A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.
To remove authorization for other accounts to copy or restore a manual cluster snapshot, set this list to include one or more account identifiers. To remove authorization for any account to copy or restore the cluster snapshot, set it to all . If you specify all, an account whose account ID is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ModifyDBClusterSnapshotAttribute<C, M, R>
impl<C, M, R> Send for ModifyDBClusterSnapshotAttribute<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ModifyDBClusterSnapshotAttribute<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ModifyDBClusterSnapshotAttribute<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ModifyDBClusterSnapshotAttribute<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
