ModifyDBSnapshotAttributeMessage
public struct ModifyDBSnapshotAttributeMessage : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the DB snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value to restore. To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API action.
Declaration
Swift
public let attributeName: String
-
The identifier for the DB snapshot to modify the attributes for.
Declaration
Swift
public let dBSnapshotIdentifier: String
-
A list of DB snapshot attributes to add to the attribute specified by AttributeName. To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS account IDs, or all to make the manual DB snapshot restorable by any AWS account. Do not add the all value for any manual DB snapshots that contain private information that you don’t want available to all AWS accounts.
Declaration
Swift
public let valuesToAdd: [String]?
-
A list of DB snapshot attributes to remove from the attribute specified by AttributeName. To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS account identifiers, or all to remove authorization for any AWS account to copy or restore the DB snapshot. If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore the manual DB snapshot.
Declaration
Swift
public let valuesToRemove: [String]?
-
Undocumented
Declaration
Swift
public init(attributeName: String, dBSnapshotIdentifier: String, valuesToAdd: [String]? = nil, valuesToRemove: [String]? = nil)