blib/lib/Paws/EBS/ListChangedBlocks.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EBS::ListChangedBlocks;
3 use Moose;
4 has FirstSnapshotId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'firstSnapshotId');
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'pageToken');
7 has SecondSnapshotId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'secondSnapshotId', required => 1);
8 has StartingBlockIndex => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'startingBlockIndex');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListChangedBlocks');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/snapshots/{secondSnapshotId}/changedblocks');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EBS::ListChangedBlocksResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::EBS::ListChangedBlocks - Arguments for method ListChangedBlocks on L<Paws::EBS>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListChangedBlocks on the
27 L<Amazon Elastic Block Store|Paws::EBS> service. Use the attributes of this class
28 as arguments to method ListChangedBlocks.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListChangedBlocks.
31  
32 =head1 SYNOPSIS
33  
34 my $ebs = Paws->service('EBS');
35 my $ListChangedBlocksResponse = $ebs->ListChangedBlocks(
36 SecondSnapshotId => 'MySnapshotId',
37 FirstSnapshotId => 'MySnapshotId', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyPageToken', # OPTIONAL
40 StartingBlockIndex => 1, # OPTIONAL
41 );
42  
43 # Results:
44 my $BlockSize = $ListChangedBlocksResponse->BlockSize;
45 my $ChangedBlocks = $ListChangedBlocksResponse->ChangedBlocks;
46 my $ExpiryTime = $ListChangedBlocksResponse->ExpiryTime;
47 my $NextToken = $ListChangedBlocksResponse->NextToken;
48 my $VolumeSize = $ListChangedBlocksResponse->VolumeSize;
49  
50 # Returns a L<Paws::EBS::ListChangedBlocksResponse> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ebs/ListChangedBlocks>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 FirstSnapshotId => Str
59  
60 The ID of the first snapshot to use for the comparison.
61  
62 The C<FirstSnapshotID> parameter must be specified with a
63 C<SecondSnapshotId> parameter; otherwise, an error occurs.
64  
65  
66  
67 =head2 MaxResults => Int
68  
69 The number of results to return.
70  
71  
72  
73 =head2 NextToken => Str
74  
75 The token to request the next page of results.
76  
77  
78  
79 =head2 B<REQUIRED> SecondSnapshotId => Str
80  
81 The ID of the second snapshot to use for the comparison.
82  
83 The C<SecondSnapshotId> parameter must be specified with a
84 C<FirstSnapshotID> parameter; otherwise, an error occurs.
85  
86  
87  
88 =head2 StartingBlockIndex => Int
89  
90 The block index from which the comparison should start.
91  
92 The list in the response will start from this block index or the next
93 valid block index in the snapshots.
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, documenting arguments for method ListChangedBlocks in L<Paws::EBS>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109