File Coverage

blib/lib/Paws/S3/ListObjectVersions.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::ListObjectVersions;
3 1     1   408 use Moose;
  1     1   3  
  1         8  
  1         369  
  1         2  
  1         7  
4             has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1);
5             has Delimiter => (is => 'ro', isa => 'Str', query_name => 'delimiter', traits => ['ParamInQuery']);
6             has EncodingType => (is => 'ro', isa => 'Str', query_name => 'encoding-type', traits => ['ParamInQuery']);
7             has KeyMarker => (is => 'ro', isa => 'Str', query_name => 'key-marker', traits => ['ParamInQuery']);
8             has MaxKeys => (is => 'ro', isa => 'Int', query_name => 'max-keys', traits => ['ParamInQuery']);
9             has Prefix => (is => 'ro', isa => 'Str', query_name => 'prefix', traits => ['ParamInQuery']);
10             has VersionIdMarker => (is => 'ro', isa => 'Str', query_name => 'version-id-marker', traits => ['ParamInQuery']);
11              
12 1     1   9190 use MooseX::ClassAttribute;
  1     1   6  
  1         12  
  1         5848  
  1         3  
  1         7  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListObjectVersions');
15             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}?versions');
16             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::ListObjectVersionsOutput');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19            
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::S3::ListObjectVersions - Arguments for method ListObjectVersions on Paws::S3
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method ListObjectVersions on the
31             Amazon Simple Storage Service service. Use the attributes of this class
32             as arguments to method ListObjectVersions.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListObjectVersions.
35              
36             As an example:
37              
38             $service_obj->ListObjectVersions(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> Bucket => Str
46              
47              
48              
49              
50              
51             =head2 Delimiter => Str
52              
53             A delimiter is a character you use to group keys.
54              
55              
56              
57             =head2 EncodingType => Str
58              
59              
60              
61             Valid values are: C<"url">
62              
63             =head2 KeyMarker => Str
64              
65             Specifies the key to start with when listing objects in a bucket.
66              
67              
68              
69             =head2 MaxKeys => Int
70              
71             Sets the maximum number of keys returned in the response. The response
72             might contain fewer keys but will never contain more.
73              
74              
75              
76             =head2 Prefix => Str
77              
78             Limits the response to keys that begin with the specified prefix.
79              
80              
81              
82             =head2 VersionIdMarker => Str
83              
84             Specifies the object version you want to start listing from.
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method ListObjectVersions in L<Paws::S3>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100