« blib/lib/Paws/AutoScaling/BatchDeleteScheduledActionAnswer.pm
↑ Summary
blib/lib/Paws/AutoScaling/BatchPutScheduledUpdateGroupActionAnswer.pm »
| 1 | |||
| 2 | package Paws::AutoScaling::BatchPutScheduledUpdateGroupAction; | ||
| 3 | use Moose; | ||
| 4 | has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ScheduledUpdateGroupActions => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::ScheduledUpdateGroupActionRequest]', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchPutScheduledUpdateGroupAction'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::BatchPutScheduledUpdateGroupActionAnswer'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'BatchPutScheduledUpdateGroupActionResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::AutoScaling::BatchPutScheduledUpdateGroupAction - Arguments for method BatchPutScheduledUpdateGroupAction on L<Paws::AutoScaling> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method BatchPutScheduledUpdateGroupAction on the | ||
| 23 | L<Auto Scaling|Paws::AutoScaling> service. Use the attributes of this class | ||
| 24 | as arguments to method BatchPutScheduledUpdateGroupAction. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchPutScheduledUpdateGroupAction. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $autoscaling = Paws->service('AutoScaling'); | ||
| 31 | my $BatchPutScheduledUpdateGroupActionAnswer = | ||
| 32 | $autoscaling->BatchPutScheduledUpdateGroupAction( | ||
| 33 | AutoScalingGroupName => 'MyXmlStringMaxLen255', | ||
| 34 | ScheduledUpdateGroupActions => [ | ||
| 35 | { | ||
| 36 | ScheduledActionName => 'MyXmlStringMaxLen255', # min: 1, max: 255 | ||
| 37 | DesiredCapacity => 1, # OPTIONAL | ||
| 38 | EndTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 39 | MaxSize => 1, # OPTIONAL | ||
| 40 | MinSize => 1, # OPTIONAL | ||
| 41 | Recurrence => 'MyXmlStringMaxLen255', # min: 1, max: 255 | ||
| 42 | StartTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 43 | TimeZone => 'MyXmlStringMaxLen255', # min: 1, max: 255 | ||
| 44 | }, | ||
| 45 | ... | ||
| 46 | ], | ||
| 47 | |||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $FailedScheduledUpdateGroupActions = | ||
| 52 | $BatchPutScheduledUpdateGroupActionAnswer | ||
| 53 | ->FailedScheduledUpdateGroupActions; | ||
| 54 | |||
| 55 | # Returns a L<Paws::AutoScaling::BatchPutScheduledUpdateGroupActionAnswer> object. | ||
| 56 | |||
| 57 | 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. | ||
| 58 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling/BatchPutScheduledUpdateGroupAction> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> AutoScalingGroupName => Str | ||
| 64 | |||
| 65 | The name of the Auto Scaling group. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> ScheduledUpdateGroupActions => ArrayRef[L<Paws::AutoScaling::ScheduledUpdateGroupActionRequest>] | ||
| 70 | |||
| 71 | One or more scheduled actions. The maximum number allowed is 50. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method BatchPutScheduledUpdateGroupAction in L<Paws::AutoScaling> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |