File Coverage

blib/lib/Paws/S3/ListParts.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::S3::ListParts;
3 1     1   313 use Moose;
  1     1   2  
  1         6  
  1         501  
  1         3  
  1         8  
4             has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1);
5             has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1);
6             has MaxParts => (is => 'ro', isa => 'Int', query_name => 'max-parts', traits => ['ParamInQuery']);
7             has PartNumberMarker => (is => 'ro', isa => 'Int', query_name => 'part-number-marker', traits => ['ParamInQuery']);
8             has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']);
9             has UploadId => (is => 'ro', isa => 'Str', query_name => 'uploadId', traits => ['ParamInQuery'], required => 1);
10              
11 1     1   5947 use MooseX::ClassAttribute;
  1     1   2  
  1         9  
  1         6433  
  1         4  
  1         8  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListParts');
14             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}');
15             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::ListPartsOutput');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18            
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::S3::ListParts - Arguments for method ListParts on Paws::S3
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method ListParts on the
30             Amazon Simple Storage Service service. Use the attributes of this class
31             as arguments to method ListParts.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListParts.
34              
35             As an example:
36              
37             $service_obj->ListParts(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> Bucket => Str
45              
46              
47              
48              
49              
50             =head2 B<REQUIRED> Key => Str
51              
52              
53              
54              
55              
56             =head2 MaxParts => Int
57              
58             Sets the maximum number of parts to return.
59              
60              
61              
62             =head2 PartNumberMarker => Int
63              
64             Specifies the part after which listing should begin. Only parts with
65             higher part numbers will be listed.
66              
67              
68              
69             =head2 RequestPayer => Str
70              
71              
72              
73             Valid values are: C<"requester">
74              
75             =head2 B<REQUIRED> UploadId => Str
76              
77             Upload ID identifying the multipart upload whose parts are being
78             listed.
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::S3>
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