Paws::DocDB::ModifyDBClusterSnapshotAttribute - Arguments for method ModifyDBClusterSnapshotAttribute on Paws::DocDB
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.
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
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.
restore
The identifier for the cluster snapshot to modify the attributes for.
A list of cluster snapshot attributes to add to the attribute specified by AttributeName.
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.
all
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.
This class forms part of Paws, documenting arguments for method ModifyDBClusterSnapshotAttribute in Paws::DocDB
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.