The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::RDS::ModifyDBClusterSnapshotAttribute - Arguments for method ModifyDBClusterSnapshotAttribute on Paws::RDS

DESCRIPTION

This class represents the parameters used for calling the method ModifyDBClusterSnapshotAttribute on the Amazon Relational Database Service 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('RDS');
    # To add or remove access to a manual DB cluster snapshot
    # The following example gives two AWS accounts access to a manual DB cluster
    # snapshot and ensures that the DB cluster snapshot is private by removing
    # the value "all".
    my $ModifyDBClusterSnapshotAttributeResult =
      $rds->ModifyDBClusterSnapshotAttribute(
      {
        'AttributeName'               => 'restore',
        'DBClusterSnapshotIdentifier' => 'manual-cluster-snapshot1',
        'ValuesToAdd'                 => [ 123451234512, 123456789012 ],
        'ValuesToRemove'              => ['all']
      }
      );

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 DB cluster snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

REQUIRED DBClusterSnapshotIdentifier => Str

The identifier for the DB cluster snapshot to modify the attributes for.

ValuesToAdd => ArrayRef[Str|Undef]

A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs, or all to make the manual DB cluster snapshot restorable by any AWS account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts.

ValuesToRemove => ArrayRef[Str|Undef]

A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other AWS accounts to copy or restore a manual DB cluster 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 cluster snapshot. If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

SEE ALSO

This class forms part of Paws, documenting arguments for method ModifyDBClusterSnapshotAttribute in Paws::RDS

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