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