File Coverage

blib/lib/Net/Amazon/S3/Constants.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Misc constants used by S3
2             $Net::Amazon::S3::Constants::VERSION = '0.991';
3             use constant {
4             HEADER_BUCKET_REGION => 'x-amz-bucket-region',
5 100         16916 HEADER_CANNED_ACL => 'x-amz-acl',
6             HEADER_COPY_SOURCE => 'x-amz-copy-source',
7             HEADER_DATE => 'x-amz-date',
8             HEADER_DELETE_MARKER => 'x-amz-delete-marker',
9             HEADER_GRANT_FULL_CONTROL => 'x-amz-grant-full-control',
10             HEADER_GRANT_READ => 'x-amz-grant-read',
11             HEADER_GRANT_READ_ACP => 'x-amz-grant-read-acp',
12             HEADER_GRANT_WRITE => 'x-amz-grant-write',
13             HEADER_GRANT_WRITE_ACP => 'x-amz-grant-write-acp',
14             HEADER_ID_2 => 'x-amz-id-2',
15             HEADER_METADATA_DIRECTIVE => 'x-amz-metadata-directive',
16             HEADER_REQUEST_ID => 'x-amz-request-id',
17             HEADER_SERVER_ENCRYPTION => 'x-amz-server-side-encryption',
18             HEADER_VERSION_ID => 'x-amz-version-id',
19             S3_NAMESPACE_URI => 'http://s3.amazonaws.com/doc/2006-03-01/',
20             };
21 100     100   1937688  
  100         289  
22             1;
23              
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Net::Amazon::S3::Constants - Misc constants used by S3
32              
33             =head1 VERSION
34              
35             version 0.991
36              
37             =head1 DESCRIPTION
38              
39             Module provides misc Amazon S3 string constants as symbols.
40              
41             =head1 AUTHOR
42              
43             Branislav Zahradník <barney@cpan.org>
44              
45             =head1 COPYRIGHT AND LICENSE
46              
47             This module is part of L<Net::Amazon::S3> distribution.
48              
49             =head1 AUTHOR
50              
51             Branislav Zahradník <barney@cpan.org>
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
56              
57             This is free software; you can redistribute it and/or modify it under
58             the same terms as the Perl 5 programming language system itself.
59              
60             =cut