NAME
Paws::DocDB::ModifyDBClusterSnapshotAttribute - Arguments for method ModifyDBClusterSnapshotAttribute on Paws::DocDB
DESCRIPTION
This class represents the parameters used for calling the method ModifyDBClusterSnapshotAttribute on the Amazon DocumentDB with MongoDB compatibility service. Use the attributes of this class as arguments to method ModifyDBClusterSnapshotAttribute.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyDBClusterSnapshotAttribute.
SYNOPSIS
my $rds = Paws->service('DocDB');
my $ModifyDBClusterSnapshotAttributeResult =
$rds->ModifyDBClusterSnapshotAttribute(
AttributeName => 'MyString',
DBClusterSnapshotIdentifier => 'MyString',
ValuesToAdd => [ 'MyString', ... ], # OPTIONAL
ValuesToRemove => [ 'MyString', ... ], # OPTIONAL
);
# Results:
my $DBClusterSnapshotAttributesResult =
$ModifyDBClusterSnapshotAttributeResult
->DBClusterSnapshotAttributesResult;
# Returns a L<Paws::DocDB::ModifyDBClusterSnapshotAttributeResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/ModifyDBClusterSnapshotAttribute
ATTRIBUTES
REQUIRED AttributeName => Str
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
.
REQUIRED DBClusterSnapshotIdentifier => Str
The identifier for the cluster snapshot to modify the attributes for.
ValuesToAdd => ArrayRef[Str|Undef]
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.
ValuesToRemove => ArrayRef[Str|Undef]
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.
SEE ALSO
This class forms part of Paws, documenting arguments for method ModifyDBClusterSnapshotAttribute in Paws::DocDB
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues