Class: Aws::RDS::Types::ModifyDBSnapshotAttributeMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDS::Types::ModifyDBSnapshotAttributeMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rds/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
The name of the DB snapshot attribute to modify.
-
#db_snapshot_identifier ⇒ String
The identifier for the DB snapshot to modify the attributes for.
-
#values_to_add ⇒ Array<String>
A list of DB snapshot attributes to add to the attribute specified by ‘AttributeName`.
-
#values_to_remove ⇒ Array<String>
A list of DB snapshot attributes to remove from the attribute specified by ‘AttributeName`.
Instance Attribute Details
#attribute_name ⇒ String
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 operation.
</note>
19759 19760 19761 19762 19763 19764 19765 19766 |
# File 'lib/aws-sdk-rds/types.rb', line 19759 class ModifyDBSnapshotAttributeMessage < Struct.new( :db_snapshot_identifier, :attribute_name, :values_to_add, :values_to_remove) SENSITIVE = [] include Aws::Structure end |
#db_snapshot_identifier ⇒ String
The identifier for the DB snapshot to modify the attributes for.
19759 19760 19761 19762 19763 19764 19765 19766 |
# File 'lib/aws-sdk-rds/types.rb', line 19759 class ModifyDBSnapshotAttributeMessage < Struct.new( :db_snapshot_identifier, :attribute_name, :values_to_add, :values_to_remove) SENSITIVE = [] include Aws::Structure end |
#values_to_add ⇒ Array<String>
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.
19759 19760 19761 19762 19763 19764 19765 19766 |
# File 'lib/aws-sdk-rds/types.rb', line 19759 class ModifyDBSnapshotAttributeMessage < Struct.new( :db_snapshot_identifier, :attribute_name, :values_to_add, :values_to_remove) SENSITIVE = [] include Aws::Structure end |
#values_to_remove ⇒ Array<String>
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.
19759 19760 19761 19762 19763 19764 19765 19766 |
# File 'lib/aws-sdk-rds/types.rb', line 19759 class ModifyDBSnapshotAttributeMessage < Struct.new( :db_snapshot_identifier, :attribute_name, :values_to_add, :values_to_remove) SENSITIVE = [] include Aws::Structure end |