The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $redshift = Paws->service('RedShift');
my $DeleteClusterResult = $redshift->DeleteCluster(
  ClusterIdentifier                   => 'MyString',
  FinalClusterSnapshotIdentifier      => 'MyString',    # OPTIONAL
  FinalClusterSnapshotRetentionPeriod => 1,             # OPTIONAL
  SkipFinalClusterSnapshot            => 1,             # OPTIONAL
);

# Results:
my $Cluster = $DeleteClusterResult->Cluster;

# Returns a L<Paws::RedShift::DeleteClusterResult> 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/DeleteCluster

ATTRIBUTES

REQUIRED ClusterIdentifier => Str

The identifier of the cluster to be deleted.

Constraints:

  • Must contain lowercase characters.

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

  • First character must be a letter.

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

FinalClusterSnapshotIdentifier => Str

The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be false.

Constraints:

  • Must be 1 to 255 alphanumeric characters.

  • First character must be a letter.

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

FinalClusterSnapshotRetentionPeriod => 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.

SkipFinalClusterSnapshot => Bool

Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true, a final cluster snapshot is not created. If false, a final cluster snapshot is created before the cluster is deleted.

The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is false.

Default: false

SEE ALSO

This class forms part of Paws, documenting arguments for method DeleteCluster 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