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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ComputeOptimizer::GetAutoScalingGroupRecommendations;
3 use Moose;
4 has AccountIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'accountIds' );
5 has AutoScalingGroupArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'autoScalingGroupArns' );
6 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::Filter]', traits => ['NameInRequest'], request_name => 'filters' );
7 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetAutoScalingGroupRecommendations');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ComputeOptimizer::GetAutoScalingGroupRecommendationsResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::ComputeOptimizer::GetAutoScalingGroupRecommendations - Arguments for method GetAutoScalingGroupRecommendations on L<Paws::ComputeOptimizer>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method GetAutoScalingGroupRecommendations on the
26 L<AWS Compute Optimizer|Paws::ComputeOptimizer> service. Use the attributes of this class
27 as arguments to method GetAutoScalingGroupRecommendations.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetAutoScalingGroupRecommendations.
30  
31 =head1 SYNOPSIS
32  
33 my $compute-optimizer = Paws->service('ComputeOptimizer');
34 my $GetAutoScalingGroupRecommendationsResponse =
35 $compute -optimizer->GetAutoScalingGroupRecommendations(
36 AccountIds => [ 'MyAccountId', ... ], # OPTIONAL
37 AutoScalingGroupArns => [ 'MyAutoScalingGroupArn', ... ], # OPTIONAL
38 Filters => [
39 {
40 Name => 'Finding'
41 , # values: Finding, FindingReasonCodes, RecommendationSourceType; OPTIONAL
42 Values => [ 'MyFilterValue', ... ], # OPTIONAL
43 },
44 ...
45 ], # OPTIONAL
46 MaxResults => 1, # OPTIONAL
47 NextToken => 'MyNextToken', # OPTIONAL
48 );
49  
50 # Results:
51 my $AutoScalingGroupRecommendations =
52 $GetAutoScalingGroupRecommendationsResponse
53 ->AutoScalingGroupRecommendations;
54 my $Errors = $GetAutoScalingGroupRecommendationsResponse->Errors;
55 my $NextToken = $GetAutoScalingGroupRecommendationsResponse->NextToken;
56  
57 # Returns a L<Paws::ComputeOptimizer::GetAutoScalingGroupRecommendationsResponse> object.
58  
59 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.
60 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer/GetAutoScalingGroupRecommendations>
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 AccountIds => ArrayRef[Str|Undef]
66  
67 The ID of the AWS account for which to return Auto Scaling group
68 recommendations.
69  
70 If your account is the management account of an organization, use this
71 parameter to specify the member account for which you want to return
72 Auto Scaling group recommendations.
73  
74 Only one account ID can be specified per request.
75  
76  
77  
78 =head2 AutoScalingGroupArns => ArrayRef[Str|Undef]
79  
80 The Amazon Resource Name (ARN) of the Auto Scaling groups for which to
81 return recommendations.
82  
83  
84  
85 =head2 Filters => ArrayRef[L<Paws::ComputeOptimizer::Filter>]
86  
87 An array of objects that describe a filter that returns a more specific
88 list of Auto Scaling group recommendations.
89  
90  
91  
92 =head2 MaxResults => Int
93  
94 The maximum number of Auto Scaling group recommendations to return with
95 a single request.
96  
97 To retrieve the remaining results, make another request with the
98 returned C<NextToken> value.
99  
100  
101  
102 =head2 NextToken => Str
103  
104 The token to advance to the next page of Auto Scaling group
105 recommendations.
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method GetAutoScalingGroupRecommendations in L<Paws::ComputeOptimizer>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121