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