blib/lib/Paws/AutoScalingPlans/ScalingPlan.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AutoScalingPlans::ScalingPlan;
3 use Moose;
4 has ApplicationSource => (is => 'ro', isa => 'Paws::AutoScalingPlans::ApplicationSource', required => 1);
5 has CreationTime => (is => 'ro', isa => 'Str');
6 has ScalingInstructions => (is => 'ro', isa => 'ArrayRef[Paws::AutoScalingPlans::ScalingInstruction]', required => 1);
7 has ScalingPlanName => (is => 'ro', isa => 'Str', required => 1);
8 has ScalingPlanVersion => (is => 'ro', isa => 'Int', required => 1);
9 has StatusCode => (is => 'ro', isa => 'Str', required => 1);
10 has StatusMessage => (is => 'ro', isa => 'Str');
11 has StatusStartTime => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::AutoScalingPlans::ScalingPlan
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::AutoScalingPlans::ScalingPlan object:
31  
32 $service_obj->Method(Att1 => { ApplicationSource => $value, ..., StatusStartTime => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScalingPlans::ScalingPlan object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->ApplicationSource
40  
41 =head1 DESCRIPTION
42  
43 Represents a scaling plan.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> ApplicationSource => L<Paws::AutoScalingPlans::ApplicationSource>
49  
50 A CloudFormation stack or a set of tags. You can create one scaling
51 plan per application source.
52  
53  
54 =head2 CreationTime => Str
55  
56 The Unix time stamp when the scaling plan was created.
57  
58  
59 =head2 B<REQUIRED> ScalingInstructions => ArrayRef[L<Paws::AutoScalingPlans::ScalingInstruction>]
60  
61 The scaling instructions.
62  
63  
64 =head2 B<REQUIRED> ScalingPlanName => Str
65  
66 The name of the scaling plan.
67  
68  
69 =head2 B<REQUIRED> ScalingPlanVersion => Int
70  
71 The version number of the scaling plan.
72  
73  
74 =head2 B<REQUIRED> StatusCode => Str
75  
76 The status of the scaling plan.
77  
78 =over
79  
80 =item *
81  
82 C<Active> - The scaling plan is active.
83  
84 =item *
85  
86 C<ActiveWithProblems> - The scaling plan is active, but the scaling
87 configuration for one or more resources could not be applied.
88  
89 =item *
90  
91 C<CreationInProgress> - The scaling plan is being created.
92  
93 =item *
94  
95 C<CreationFailed> - The scaling plan could not be created.
96  
97 =item *
98  
99 C<DeletionInProgress> - The scaling plan is being deleted.
100  
101 =item *
102  
103 C<DeletionFailed> - The scaling plan could not be deleted.
104  
105 =item *
106  
107 C<UpdateInProgress> - The scaling plan is being updated.
108  
109 =item *
110  
111 C<UpdateFailed> - The scaling plan could not be updated.
112  
113 =back
114  
115  
116  
117 =head2 StatusMessage => Str
118  
119 A simple message about the current status of the scaling plan.
120  
121  
122 =head2 StatusStartTime => Str
123  
124 The Unix time stamp when the scaling plan entered the current status.
125  
126  
127  
128 =head1 SEE ALSO
129  
130 This class forms part of L<Paws>, describing an object used in L<Paws::AutoScalingPlans>
131  
132 =head1 BUGS and CONTRIBUTIONS
133  
134 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
135  
136 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
137  
138 =cut
139