blib/lib/Paws/EMR/AutoScalingPolicyDescription.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::EMR::AutoScalingPolicyDescription;
3 use Moose;
4 has Constraints => (is => 'ro', isa => 'Paws::EMR::ScalingConstraints');
5 has Rules => (is => 'ro', isa => 'ArrayRef[Paws::EMR::ScalingRule]');
6 has Status => (is => 'ro', isa => 'Paws::EMR::AutoScalingPolicyStatus');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::EMR::AutoScalingPolicyDescription
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::EMR::AutoScalingPolicyDescription object:
26  
27 $service_obj->Method(Att1 => { Constraints => $value, ..., Status => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::AutoScalingPolicyDescription object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Constraints
35  
36 =head1 DESCRIPTION
37  
38 An automatic scaling policy for a core instance group or task instance
39 group in an Amazon EMR cluster. The automatic scaling policy defines
40 how an instance group dynamically adds and terminates EC2 instances in
41 response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Constraints => L<Paws::EMR::ScalingConstraints>
47  
48 The upper and lower EC2 instance limits for an automatic scaling
49 policy. Automatic scaling activity will not cause an instance group to
50 grow above or below these limits.
51  
52  
53 =head2 Rules => ArrayRef[L<Paws::EMR::ScalingRule>]
54  
55 The scale-in and scale-out rules that comprise the automatic scaling
56 policy.
57  
58  
59 =head2 Status => L<Paws::EMR::AutoScalingPolicyStatus>
60  
61 The status of an automatic scaling policy.
62  
63  
64  
65 =head1 SEE ALSO
66  
67 This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
68  
69 =head1 BUGS and CONTRIBUTIONS
70  
71 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
72  
73 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
74  
75 =cut
76