blib/lib/Paws/ComputeOptimizer/AutoScalingGroupRecommendation.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ComputeOptimizer::AutoScalingGroupRecommendation;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest']);
5 has AutoScalingGroupArn => (is => 'ro', isa => 'Str', request_name => 'autoScalingGroupArn', traits => ['NameInRequest']);
6 has AutoScalingGroupName => (is => 'ro', isa => 'Str', request_name => 'autoScalingGroupName', traits => ['NameInRequest']);
7 has CurrentConfiguration => (is => 'ro', isa => 'Paws::ComputeOptimizer::AutoScalingGroupConfiguration', request_name => 'currentConfiguration', traits => ['NameInRequest']);
8 has Finding => (is => 'ro', isa => 'Str', request_name => 'finding', traits => ['NameInRequest']);
9 has LastRefreshTimestamp => (is => 'ro', isa => 'Str', request_name => 'lastRefreshTimestamp', traits => ['NameInRequest']);
10 has LookBackPeriodInDays => (is => 'ro', isa => 'Num', request_name => 'lookBackPeriodInDays', traits => ['NameInRequest']);
11 has RecommendationOptions => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::AutoScalingGroupRecommendationOption]', request_name => 'recommendationOptions', traits => ['NameInRequest']);
12 has UtilizationMetrics => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::UtilizationMetric]', request_name => 'utilizationMetrics', traits => ['NameInRequest']);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ComputeOptimizer::AutoScalingGroupRecommendation
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::ComputeOptimizer::AutoScalingGroupRecommendation object:
32  
33 $service_obj->Method(Att1 => { AccountId => $value, ..., UtilizationMetrics => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::ComputeOptimizer::AutoScalingGroupRecommendation object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->AccountId
41  
42 =head1 DESCRIPTION
43  
44 Describes an Auto Scaling group recommendation.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AccountId => Str
50  
51 The AWS account ID of the Auto Scaling group.
52  
53  
54 =head2 AutoScalingGroupArn => Str
55  
56 The Amazon Resource Name (ARN) of the Auto Scaling group.
57  
58  
59 =head2 AutoScalingGroupName => Str
60  
61 The name of the Auto Scaling group.
62  
63  
64 =head2 CurrentConfiguration => L<Paws::ComputeOptimizer::AutoScalingGroupConfiguration>
65  
66 An array of objects that describe the current configuration of the Auto
67 Scaling group.
68  
69  
70 =head2 Finding => Str
71  
72 The finding classification of the Auto Scaling group.
73  
74 Findings for Auto Scaling groups include:
75  
76 =over
77  
78 =item *
79  
80 B<C<NotOptimized> >E<mdash>An Auto Scaling group is considered not
81 optimized when AWS Compute Optimizer identifies a recommendation that
82 can provide better performance for your workload.
83  
84 =item *
85  
86 B<C<Optimized> >E<mdash>An Auto Scaling group is considered optimized
87 when Compute Optimizer determines that the group is correctly
88 provisioned to run your workload based on the chosen instance type. For
89 optimized resources, Compute Optimizer might recommend a new generation
90 instance type.
91  
92 =back
93  
94  
95  
96 =head2 LastRefreshTimestamp => Str
97  
98 The time stamp of when the Auto Scaling group recommendation was last
99 refreshed.
100  
101  
102 =head2 LookBackPeriodInDays => Num
103  
104 The number of days for which utilization metrics were analyzed for the
105 Auto Scaling group.
106  
107  
108 =head2 RecommendationOptions => ArrayRef[L<Paws::ComputeOptimizer::AutoScalingGroupRecommendationOption>]
109  
110 An array of objects that describe the recommendation options for the
111 Auto Scaling group.
112  
113  
114 =head2 UtilizationMetrics => ArrayRef[L<Paws::ComputeOptimizer::UtilizationMetric>]
115  
116 An array of objects that describe the utilization metrics of the Auto
117 Scaling group.
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::ComputeOptimizer>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132