blib/lib/Paws/ComputeOptimizer/AutoScalingGroupRecommendationOption.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::ComputeOptimizer::AutoScalingGroupRecommendationOption;
3 use Moose;
4 has Configuration => (is => 'ro', isa => 'Paws::ComputeOptimizer::AutoScalingGroupConfiguration', request_name => 'configuration', traits => ['NameInRequest']);
5 has PerformanceRisk => (is => 'ro', isa => 'Num', request_name => 'performanceRisk', traits => ['NameInRequest']);
6 has ProjectedUtilizationMetrics => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::UtilizationMetric]', request_name => 'projectedUtilizationMetrics', traits => ['NameInRequest']);
7 has Rank => (is => 'ro', isa => 'Int', request_name => 'rank', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::ComputeOptimizer::AutoScalingGroupRecommendationOption
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::ComputeOptimizer::AutoScalingGroupRecommendationOption object:
27  
28 $service_obj->Method(Att1 => { Configuration => $value, ..., Rank => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::ComputeOptimizer::AutoScalingGroupRecommendationOption object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Configuration
36  
37 =head1 DESCRIPTION
38  
39 Describes a recommendation option for an Auto Scaling group.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 Configuration => L<Paws::ComputeOptimizer::AutoScalingGroupConfiguration>
45  
46 An array of objects that describe an Auto Scaling group configuration.
47  
48  
49 =head2 PerformanceRisk => Num
50  
51 The performance risk of the Auto Scaling group configuration
52 recommendation.
53  
54 Performance risk indicates the likelihood of the recommended instance
55 type not meeting the resource needs of your workload. Compute Optimizer
56 calculates an individual performance risk score for each specification
57 of the recommended instance, including CPU, memory, EBS throughput, EBS
58 IOPS, disk throughput, disk IOPS, network throughput, and network PPS.
59 The performance risk of the recommended instance is calculated as the
60 maximum performance risk score across the analyzed resource
61 specifications.
62  
63 The value ranges from 0 to 5, with 0 meaning that the recommended
64 resource is predicted to always provide enough hardware capability. The
65 higher the performance risk is, the more likely you should validate
66 whether the recommended resource meets the performance requirements of
67 your workload before migrating your resource.
68  
69  
70 =head2 ProjectedUtilizationMetrics => ArrayRef[L<Paws::ComputeOptimizer::UtilizationMetric>]
71  
72 An array of objects that describe the projected utilization metrics of
73 the Auto Scaling group recommendation option.
74  
75 The C<Cpu> and C<Memory> metrics are the only projected utilization
76 metrics returned. Additionally, the C<Memory> metric is returned only
77 for resources that have the unified CloudWatch agent installed on them.
78 For more information, see Enabling Memory Utilization with the
79 CloudWatch Agent
80 (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent).
81  
82  
83 =head2 Rank => Int
84  
85 The rank of the Auto Scaling group recommendation option.
86  
87 The top recommendation option is ranked as C<1>.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::ComputeOptimizer>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102