File Coverage

blib/lib/Net/Amazon/S3/Operation/Objects/List/Request.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::S3::Operation::Objects::List::Request;
2             # ABSTRACT: An internal class to list a bucket (List Objects Version 1)
3             $Net::Amazon::S3::Operation::Objects::List::Request::VERSION = '0.99';
4 99     99   1310 use Moose 0.85;
  99         2699  
  99         723  
5 99     99   680038 use MooseX::StrictConstructor 0.16;
  99         2602  
  99         875  
6 99     99   341954 use URI::Escape qw(uri_escape_utf8);
  99         321  
  99         13873  
7             extends 'Net::Amazon::S3::Request::Bucket';
8              
9             with 'Net::Amazon::S3::Request::Role::Query::Param::Delimiter';
10             with 'Net::Amazon::S3::Request::Role::Query::Param::Marker';
11             with 'Net::Amazon::S3::Request::Role::Query::Param::Max_keys';
12             with 'Net::Amazon::S3::Request::Role::Query::Param::Prefix';
13             with 'Net::Amazon::S3::Request::Role::HTTP::Method::GET';
14              
15             __PACKAGE__->meta->make_immutable;
16              
17             1;
18              
19             __END__
20              
21             =pod
22              
23             =encoding UTF-8
24              
25             =head1 NAME
26              
27             Net::Amazon::S3::Operation::Objects::List::Request - An internal class to list a bucket (List Objects Version 1)
28              
29             =head1 VERSION
30              
31             version 0.99
32              
33             =head1 SYNOPSIS
34              
35             my $http_request = Net::Amazon::S3::Operation::Objects::List::Request->new(
36             s3 => $s3,
37             bucket => $bucket,
38             delimiter => $delimiter,
39             max_keys => $max_keys,
40             marker => $marker,
41             );
42              
43             =head1 DESCRIPTION
44              
45             This module lists a bucket.
46              
47             Implements operation L<< ListObjects|https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html >>.
48              
49             =for test_synopsis no strict 'vars'
50              
51             =head1 METHODS
52              
53             =head2 http_request
54              
55             This method returns a HTTP::Request object.
56              
57             =head1 AUTHOR
58              
59             Branislav Zahradník <barney@cpan.org>
60              
61             =head1 COPYRIGHT AND LICENSE
62              
63             This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
64              
65             This is free software; you can redistribute it and/or modify it under
66             the same terms as the Perl 5 programming language system itself.
67              
68             =cut