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::ModifyClusterSnapshot - Arguments for method ModifyClusterSnapshot on Paws::RedShift

DESCRIPTION

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

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

SYNOPSIS

    my $redshift = Paws->service('RedShift');
    my $ModifyClusterSnapshotResult = $redshift->ModifyClusterSnapshot(
      SnapshotIdentifier            => 'MyString',
      Force                         => 1,            # OPTIONAL
      ManualSnapshotRetentionPeriod => 1,            # OPTIONAL
    );

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

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

ATTRIBUTES

Force => Bool

A Boolean option to override an exception if the retention period has already passed.

ManualSnapshotRetentionPeriod => Int

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

If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.

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

REQUIRED SnapshotIdentifier => Str

The identifier of the snapshot whose setting you want to modify.

SEE ALSO

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