File Coverage

blib/lib/Paws/Glacier/ListParts.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Glacier::ListParts;
3 1     1   375 use Moose;
  1         3  
  1         6  
4             has AccountId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'accountId' , required => 1);
5             has Limit => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'limit' );
6             has Marker => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'marker' );
7             has UploadId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'uploadId' , required => 1);
8             has VaultName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'vaultName' , required => 1);
9              
10 1     1   5883 use MooseX::ClassAttribute;
  1         3  
  1         6  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListParts');
13             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}');
14             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glacier::ListPartsOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Glacier::ListParts - Arguments for method ListParts on Paws::Glacier
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method ListParts on the
28             Amazon Glacier service. Use the attributes of this class
29             as arguments to method ListParts.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListParts.
32              
33             As an example:
34              
35             $service_obj->ListParts(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> AccountId => Str
43              
44             The C<AccountId> value is the AWS account ID of the account that owns
45             the vault. You can either specify an AWS account ID or optionally a
46             single 'C<->' (hyphen), in which case Amazon Glacier uses the AWS
47             account ID associated with the credentials used to sign the request. If
48             you use an account ID, do not include any hyphens ('-') in the ID.
49              
50              
51              
52             =head2 Limit => Str
53              
54             The maximum number of parts to be returned. The default limit is 1000.
55             The number of parts returned might be fewer than the specified limit,
56             but the number of returned parts never exceeds the limit.
57              
58              
59              
60             =head2 Marker => Str
61              
62             An opaque string used for pagination. This value specifies the part at
63             which the listing of parts should begin. Get the marker value from the
64             response of a previous List Parts response. You need only include the
65             marker if you are continuing the pagination of results started in a
66             previous List Parts request.
67              
68              
69              
70             =head2 B<REQUIRED> UploadId => Str
71              
72             The upload ID of the multipart upload.
73              
74              
75              
76             =head2 B<REQUIRED> VaultName => Str
77              
78             The name of the vault.
79              
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, documenting arguments for method ListParts in L<Paws::Glacier>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94