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

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $redshift = Paws->service('RedShift');
    my $SnapshotSchedule = $redshift->CreateSnapshotSchedule(
      DryRun              => 1,    # OPTIONAL
      NextInvocations     => 1,    # OPTIONAL
      ScheduleDefinitions => [
        'MyString', ...            # max: 2147483647
      ],    # OPTIONAL
      ScheduleDescription => 'MyString',    # OPTIONAL
      ScheduleIdentifier  => 'MyString',    # OPTIONAL
      Tags                => [
        {
          Key   => 'MyString',    # max: 2147483647
          Value => 'MyString',    # max: 2147483647
        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $AssociatedClusterCount = $SnapshotSchedule->AssociatedClusterCount;
    my $AssociatedClusters     = $SnapshotSchedule->AssociatedClusters;
    my $NextInvocations        = $SnapshotSchedule->NextInvocations;
    my $ScheduleDefinitions    = $SnapshotSchedule->ScheduleDefinitions;
    my $ScheduleDescription    = $SnapshotSchedule->ScheduleDescription;
    my $ScheduleIdentifier     = $SnapshotSchedule->ScheduleIdentifier;
    my $Tags                   = $SnapshotSchedule->Tags;

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

ATTRIBUTES

DryRun => Bool

NextInvocations => Int

ScheduleDefinitions => ArrayRef[Str|Undef]

The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".

ScheduleDescription => Str

The description of the snapshot schedule.

ScheduleIdentifier => Str

A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.

Tags => ArrayRef[Paws::RedShift::Tag]

An optional set of tags you can use to search for the schedule.

SEE ALSO

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