« blib/lib/Paws/RedShift/ModifySnapshotCopyRetentionPeriodResult.pm
↑ Summary
blib/lib/Paws/RedShift/ModifyUsageLimit.pm »
| 1 | |||
| 2 | package Paws::RedShift::ModifySnapshotSchedule; | ||
| 3 | use Moose; | ||
| 4 | has ScheduleDefinitions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 5 | has ScheduleIdentifier => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifySnapshotSchedule'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::SnapshotSchedule'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifySnapshotScheduleResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::RedShift::ModifySnapshotSchedule - Arguments for method ModifySnapshotSchedule on L<Paws::RedShift> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method ModifySnapshotSchedule on the | ||
| 23 | L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class | ||
| 24 | as arguments to method ModifySnapshotSchedule. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifySnapshotSchedule. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $redshift = Paws->service('RedShift'); | ||
| 31 | my $SnapshotSchedule = $redshift->ModifySnapshotSchedule( | ||
| 32 | ScheduleDefinitions => [ | ||
| 33 | 'MyString', ... # max: 2147483647 | ||
| 34 | ], | ||
| 35 | ScheduleIdentifier => 'MyString', | ||
| 36 | |||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $AssociatedClusterCount = $SnapshotSchedule->AssociatedClusterCount; | ||
| 41 | my $AssociatedClusters = $SnapshotSchedule->AssociatedClusters; | ||
| 42 | my $NextInvocations = $SnapshotSchedule->NextInvocations; | ||
| 43 | my $ScheduleDefinitions = $SnapshotSchedule->ScheduleDefinitions; | ||
| 44 | my $ScheduleDescription = $SnapshotSchedule->ScheduleDescription; | ||
| 45 | my $ScheduleIdentifier = $SnapshotSchedule->ScheduleIdentifier; | ||
| 46 | my $Tags = $SnapshotSchedule->Tags; | ||
| 47 | |||
| 48 | # Returns a L<Paws::RedShift::SnapshotSchedule> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/ModifySnapshotSchedule> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> ScheduleDefinitions => ArrayRef[Str|Undef] | ||
| 57 | |||
| 58 | An updated list of schedule definitions. A schedule definition is made | ||
| 59 | up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 | ||
| 60 | hours)". | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> ScheduleIdentifier => Str | ||
| 65 | |||
| 66 | A unique alphanumeric identifier of the schedule to modify. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head1 SEE ALSO | ||
| 72 | |||
| 73 | This class forms part of L<Paws>, documenting arguments for method ModifySnapshotSchedule in L<Paws::RedShift> | ||
| 74 | |||
| 75 | =head1 BUGS and CONTRIBUTIONS | ||
| 76 | |||
| 77 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 78 | |||
| 79 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 80 | |||
| 81 | =cut | ||
| 82 |