File Coverage

blib/lib/Net/Amazon/S3/Operation/Bucket/Location/Request.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             # ABSTRACT: An internal class to get a bucket's location constraint
2             $Net::Amazon::S3::Operation::Bucket::Location::Request::VERSION = '0.991';
3             use Moose 0.85;
4 99     99   605 use MooseX::StrictConstructor 0.16;
  99         1933  
  99         586  
5 99     99   525962 extends 'Net::Amazon::S3::Request::Bucket';
  99         1575  
  99         618  
6              
7             with 'Net::Amazon::S3::Request::Role::Query::Action::Location';
8             with 'Net::Amazon::S3::Request::Role::HTTP::Method::GET';
9              
10             __PACKAGE__->meta->make_immutable;
11              
12             1;
13              
14              
15             =pod
16              
17             =encoding UTF-8
18              
19             =head1 NAME
20              
21             Net::Amazon::S3::Operation::Bucket::Location::Request - An internal class to get a bucket's location constraint
22              
23             =head1 VERSION
24              
25             version 0.991
26              
27             =head1 SYNOPSIS
28              
29             my $request = Net::Amazon::S3::Operation::Bucket::Location::Request->new (
30             s3 => $s3,
31             bucket => $bucket,
32             );
33              
34             =head1 DESCRIPTION
35              
36             This module gets a bucket's location constraint.
37              
38             Implements operation L<< GetBucketLocation|https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLocation.html >>
39              
40             =for test_synopsis no strict 'vars'
41              
42             =head1 METHODS
43              
44             =head2 http_request
45              
46             This method returns a HTTP::Request object.
47              
48             =head1 AUTHOR
49              
50             Branislav Zahradník <barney@cpan.org>
51              
52             =head1 COPYRIGHT AND LICENSE
53              
54             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
55              
56             This is free software; you can redistribute it and/or modify it under
57             the same terms as the Perl 5 programming language system itself.
58              
59             =cut