class Aws::RDS::Types::ModifyDBSnapshotAttributeMessage
@note When making an API call, you may pass ModifyDBSnapshotAttributeMessage
data as a hash: { db_snapshot_identifier: "String", # required attribute_name: "String", # required values_to_add: ["String"], values_to_remove: ["String"], }
@!attribute [rw] db_snapshot_identifier
The identifier for the DB snapshot to modify the attributes for. @return [String]
@!attribute [rw] attribute_name
The name of the DB snapshot attribute to modify. To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this value to `restore`. <note markdown="1"> To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API action. </note> @return [String]
@!attribute [rw] values_to_add
A list of DB snapshot attributes to add to the attribute specified by `AttributeName`. To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account IDs, or `all` to make the manual DB snapshot restorable by any Amazon Web Services account. Do not add the `all` value for any manual DB snapshots that contain private information that you don't want available to all Amazon Web Services accounts. @return [Array<String>]
@!attribute [rw] values_to_remove
A list of DB snapshot attributes to remove from the attribute specified by `AttributeName`. To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account identifiers, or `all` to remove authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specify `all`, an Amazon Web Services account whose account ID is explicitly added to the `restore` attribute can still copy or restore the manual DB snapshot. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeMessage AWS API Documentation
Constants
- SENSITIVE