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

NAME

Paws::RedShift::CopyClusterSnapshot - Arguments for method CopyClusterSnapshot on Paws::RedShift

DESCRIPTION

This class represents the parameters used for calling the method CopyClusterSnapshot on the Amazon Redshift service. Use the attributes of this class as arguments to method CopyClusterSnapshot.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyClusterSnapshot.

SYNOPSIS

    my $redshift = Paws->service('RedShift');
    my $CopyClusterSnapshotResult = $redshift->CopyClusterSnapshot(
      SourceSnapshotIdentifier        => 'MyString',
      TargetSnapshotIdentifier        => 'MyString',
      ManualSnapshotRetentionPeriod   => 1,             # OPTIONAL
      SourceSnapshotClusterIdentifier => 'MyString',    # OPTIONAL
    );

    # Results:
    my $Snapshot = $CopyClusterSnapshotResult->Snapshot;

    # Returns a L<Paws::RedShift::CopyClusterSnapshotResult> 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/redshift/CopyClusterSnapshot

ATTRIBUTES

ManualSnapshotRetentionPeriod => Int

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

SourceSnapshotClusterIdentifier => Str

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

REQUIRED SourceSnapshotIdentifier => Str

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

REQUIRED TargetSnapshotIdentifier => Str

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

SEE ALSO

This class forms part of Paws, documenting arguments for method CopyClusterSnapshot in Paws::RedShift

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