File Coverage

blib/lib/Net/Amazon/S3/Constraint/ACL/Canned.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: Moose constraint - valid Canned ACL constants
2             $Net::Amazon::S3::Constraint::ACL::Canned::VERSION = '0.991';
3             use Moose::Util::TypeConstraints;
4 100     100   1071  
  100         203  
  100         661  
5             # Current list at https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl
6             enum __PACKAGE__, [
7             'private',
8             'public-read',
9             'public-read-write',
10             'aws-exec-read',
11             'authenticated-read',
12             'bucket-owner-read',
13             'bucket-owner-full-control',
14             'log-delivery-write',
15             ];
16              
17             # Backward compatibility - create alias
18             subtype 'AclShort', as __PACKAGE__;
19              
20             1;
21              
22              
23             =pod
24              
25             =encoding UTF-8
26              
27             =head1 NAME
28              
29             Net::Amazon::S3::Constraint::ACL::Canned - Moose constraint - valid Canned ACL constants
30              
31             =head1 VERSION
32              
33             version 0.991
34              
35             =head1 AUTHOR
36              
37             Branislav Zahradník <barney@cpan.org>
38              
39             =head1 COPYRIGHT AND LICENSE
40              
41             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
42              
43             This is free software; you can redistribute it and/or modify it under
44             the same terms as the Perl 5 programming language system itself.
45              
46             =cut