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

DESCRIPTION

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

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

SYNOPSIS

    my $redshift = Paws->service('RedShift');
    my $BatchModifyClusterSnapshotsOutputMessage =
      $redshift->BatchModifyClusterSnapshots(
      SnapshotIdentifierList => [
        'MyString', ...    # max: 2147483647
      ],
      Force                         => 1,    # OPTIONAL
      ManualSnapshotRetentionPeriod => 1,    # OPTIONAL
      );

    # Results:
    my $Errors    = $BatchModifyClusterSnapshotsOutputMessage->Errors;
    my $Resources = $BatchModifyClusterSnapshotsOutputMessage->Resources;

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

ATTRIBUTES

Force => Bool

A boolean value indicating whether to override an exception if the retention period has passed.

ManualSnapshotRetentionPeriod => Int

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

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

If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.

REQUIRED SnapshotIdentifierList => ArrayRef[Str|Undef]

A list of snapshot identifiers you want to modify.

SEE ALSO

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