pub struct ModifyDBClusterSnapshotAttributeMessage {
pub attribute_name: String,
pub db_cluster_snapshot_identifier: String,
pub values_to_add: Option<Vec<String>>,
pub values_to_remove: Option<Vec<String>>,
}
Expand description
Represents the input to ModifyDBClusterSnapshotAttribute.
Fields§
§attribute_name: String
The name of the cluster snapshot attribute to modify.
To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to restore
.
db_cluster_snapshot_identifier: String
The identifier for the cluster snapshot to modify the attributes for.
values_to_add: Option<Vec<String>>
A list of cluster snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS 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 AWS accounts.
values_to_remove: Option<Vec<String>>
A list of cluster snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the cluster snapshot, set it to all
. If you specify all
, an AWS account whose account ID is explicitly added to the restore
attribute can still copy or restore a manual cluster snapshot.
Trait Implementations§
Source§impl Clone for ModifyDBClusterSnapshotAttributeMessage
impl Clone for ModifyDBClusterSnapshotAttributeMessage
Source§fn clone(&self) -> ModifyDBClusterSnapshotAttributeMessage
fn clone(&self) -> ModifyDBClusterSnapshotAttributeMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ModifyDBClusterSnapshotAttributeMessage
impl Default for ModifyDBClusterSnapshotAttributeMessage
Source§fn default() -> ModifyDBClusterSnapshotAttributeMessage
fn default() -> ModifyDBClusterSnapshotAttributeMessage
Source§impl PartialEq for ModifyDBClusterSnapshotAttributeMessage
impl PartialEq for ModifyDBClusterSnapshotAttributeMessage
Source§fn eq(&self, other: &ModifyDBClusterSnapshotAttributeMessage) -> bool
fn eq(&self, other: &ModifyDBClusterSnapshotAttributeMessage) -> bool
self
and other
values to be equal, and is used by ==
.