File Coverage

blib/lib/Paws/AutoScaling/PutScheduledUpdateGroupAction.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::AutoScaling::PutScheduledUpdateGroupAction;
3 1     1   590 use Moose;
  1         4  
  1         9  
4             has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1);
5             has DesiredCapacity => (is => 'ro', isa => 'Int');
6             has EndTime => (is => 'ro', isa => 'Str');
7             has MaxSize => (is => 'ro', isa => 'Int');
8             has MinSize => (is => 'ro', isa => 'Int');
9             has Recurrence => (is => 'ro', isa => 'Str');
10             has ScheduledActionName => (is => 'ro', isa => 'Str', required => 1);
11             has StartTime => (is => 'ro', isa => 'Str');
12             has Time => (is => 'ro', isa => 'Str');
13              
14 1     1   6990 use MooseX::ClassAttribute;
  1         3  
  1         9  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutScheduledUpdateGroupAction');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::AutoScaling::PutScheduledUpdateGroupAction - Arguments for method PutScheduledUpdateGroupAction on Paws::AutoScaling
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method PutScheduledUpdateGroupAction on the
30             Auto Scaling service. Use the attributes of this class
31             as arguments to method PutScheduledUpdateGroupAction.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutScheduledUpdateGroupAction.
34              
35             As an example:
36              
37             $service_obj->PutScheduledUpdateGroupAction(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> AutoScalingGroupName => Str
45              
46             The name or Amazon Resource Name (ARN) of the Auto Scaling group.
47              
48              
49              
50             =head2 DesiredCapacity => Int
51              
52             The number of EC2 instances that should be running in the group.
53              
54              
55              
56             =head2 EndTime => Str
57              
58             The time for the recurring schedule to end. Auto Scaling does not
59             perform the action after this time.
60              
61              
62              
63             =head2 MaxSize => Int
64              
65             The maximum size for the Auto Scaling group.
66              
67              
68              
69             =head2 MinSize => Int
70              
71             The minimum size for the Auto Scaling group.
72              
73              
74              
75             =head2 Recurrence => Str
76              
77             The recurring schedule for this action, in Unix cron syntax format. For
78             more information, see Cron in Wikipedia.
79              
80              
81              
82             =head2 B<REQUIRED> ScheduledActionName => Str
83              
84             The name of this scaling action.
85              
86              
87              
88             =head2 StartTime => Str
89              
90             The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in
91             UTC/GMT only (for example, C<2014-06-01T00:00:00Z>).
92              
93             If you specify C<Recurrence> and C<StartTime>, Auto Scaling performs
94             the action at this time, and then performs the action based on the
95             specified recurrence.
96              
97             If you try to schedule your action in the past, Auto Scaling returns an
98             error message.
99              
100              
101              
102             =head2 Time => Str
103              
104             This parameter is deprecated.
105              
106              
107              
108              
109             =head1 SEE ALSO
110              
111             This class forms part of L<Paws>, documenting arguments for method PutScheduledUpdateGroupAction in L<Paws::AutoScaling>
112              
113             =head1 BUGS and CONTRIBUTIONS
114              
115             The source code is located here: https://github.com/pplu/aws-sdk-perl
116              
117             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
118              
119             =cut
120