blib/lib/Paws/EC2/DescribeVolumesModifications.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::DescribeVolumesModifications;
3 use Moose;
4 has DryRun => (is => 'ro', isa => 'Bool');
5 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8 has VolumeIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'VolumeId' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeVolumesModifications');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeVolumesModificationsResult');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::EC2::DescribeVolumesModifications - Arguments for method DescribeVolumesModifications on L<Paws::EC2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeVolumesModifications on the
26 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
27 as arguments to method DescribeVolumesModifications.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeVolumesModifications.
30  
31 =head1 SYNOPSIS
32  
33 my $ec2 = Paws->service('EC2');
34 my $DescribeVolumesModificationsResult = $ec2->DescribeVolumesModifications(
35 DryRun => 1, # OPTIONAL
36 Filters => [
37 {
38 Name => 'MyString', # OPTIONAL
39 Values => [
40 'MyString', ... # OPTIONAL
41 ], # OPTIONAL
42 },
43 ...
44 ], # OPTIONAL
45 MaxResults => 1, # OPTIONAL
46 NextToken => 'MyString', # OPTIONAL
47 VolumeIds => [ 'MyVolumeId', ... ], # OPTIONAL
48 );
49  
50 # Results:
51 my $NextToken = $DescribeVolumesModificationsResult->NextToken;
52 my $VolumesModifications =
53 $DescribeVolumesModificationsResult->VolumesModifications;
54  
55 # Returns a L<Paws::EC2::DescribeVolumesModificationsResult> 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/ec2/DescribeVolumesModifications>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 DryRun => Bool
64  
65 Checks whether you have the required permissions for the action,
66 without actually making the request, and provides an error response. If
67 you have the required permissions, the error response is
68 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
69  
70  
71  
72 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
73  
74 The filters.
75  
76 =over
77  
78 =item *
79  
80 C<modification-state> - The current modification state (modifying |
81 optimizing | completed | failed).
82  
83 =item *
84  
85 C<original-iops> - The original IOPS rate of the volume.
86  
87 =item *
88  
89 C<original-size> - The original size of the volume, in GiB.
90  
91 =item *
92  
93 C<original-volume-type> - The original volume type of the volume
94 (standard | io1 | io2 | gp2 | sc1 | st1).
95  
96 =item *
97  
98 C<originalMultiAttachEnabled> - Indicates whether Multi-Attach support
99 was enabled (true | false).
100  
101 =item *
102  
103 C<start-time> - The modification start time.
104  
105 =item *
106  
107 C<target-iops> - The target IOPS rate of the volume.
108  
109 =item *
110  
111 C<target-size> - The target size of the volume, in GiB.
112  
113 =item *
114  
115 C<target-volume-type> - The target volume type of the volume (standard
116 | io1 | io2 | gp2 | sc1 | st1).
117  
118 =item *
119  
120 C<targetMultiAttachEnabled> - Indicates whether Multi-Attach support is
121 to be enabled (true | false).
122  
123 =item *
124  
125 C<volume-id> - The ID of the volume.
126  
127 =back
128  
129  
130  
131  
132 =head2 MaxResults => Int
133  
134 The maximum number of results (up to a limit of 500) to be returned in
135 a paginated request.
136  
137  
138  
139 =head2 NextToken => Str
140  
141 The C<nextToken> value returned by a previous paginated request.
142  
143  
144  
145 =head2 VolumeIds => ArrayRef[Str|Undef]
146  
147 The IDs of the volumes.
148  
149  
150  
151  
152 =head1 SEE ALSO
153  
154 This class forms part of L<Paws>, documenting arguments for method DescribeVolumesModifications in L<Paws::EC2>
155  
156 =head1 BUGS and CONTRIBUTIONS
157  
158 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
159  
160 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
161  
162 =cut
163