NAME
Paws::RedShift::CreateClusterSnapshot - Arguments for method CreateClusterSnapshot on Paws::RedShift
DESCRIPTION
This class represents the parameters used for calling the method CreateClusterSnapshot on the Amazon Redshift service. Use the attributes of this class as arguments to method CreateClusterSnapshot.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateClusterSnapshot.
SYNOPSIS
my $redshift = Paws->service('RedShift');
my $CreateClusterSnapshotResult = $redshift->CreateClusterSnapshot(
ClusterIdentifier => 'MyString',
SnapshotIdentifier => 'MyString',
ManualSnapshotRetentionPeriod => 1, # OPTIONAL
Tags => [
{
Key => 'MyString', # max: 2147483647
Value => 'MyString', # max: 2147483647
},
...
], # OPTIONAL
);
# Results:
my $Snapshot = $CreateClusterSnapshotResult->Snapshot;
# Returns a L<Paws::RedShift::CreateClusterSnapshotResult> 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/CreateClusterSnapshot
ATTRIBUTES
REQUIRED ClusterIdentifier => Str
The cluster identifier for which you want a snapshot.
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.
REQUIRED SnapshotIdentifier => Str
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.
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
Example: my-snapshot-id
Tags => ArrayRef[Paws::RedShift::Tag]
A list of tag instances.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateClusterSnapshot 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