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