1Net::Amazon::S3::ACL::SUeste(r3)Contributed Perl DocumenNteatt:i:oAnmazon::S3::ACL::Set(3)
2
3
4

NAME

6       Net::Amazon::S3::ACL::Set
7

VERSION

9       version 0.98
10

SYNOPSIS

12               use Net::Amazon::S3::ACL;
13
14               $acl = Net::Amazon::S3::ACL->new
15                       ->grant_full_control (
16                               id => 11112222333,
17                               id => 444455556666,
18                               uri => 'predefined group uri',
19                               email => 'email-address',
20                       )
21                       ->grant_write (
22                               ...
23                       )
24                       ;
25

DESCRIPTION

27       Class representing explicit Amazon S3 ACL configuration.
28

METHODS

30   new
31       Creates new instance.
32
33   grant_full_control (@grantees)
34   grant_read (@grantees)
35   grant_read_acp (@grantees)
36   grant_write (@grantees)
37   grant_write_acp (@grantees)

GRANTEES

39       See also "Who Is a Grantee?"
40       <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-
41       overview.html#specifying-grantee> in Amazon S3 documentation.
42
43       Each grant_* method accepts list of grantees either in key-value format
44       or as an instance of "Net::Amazon::S3::ACL::Grantee::*".
45
46       canonical user ID
47                   ->grant_read (
48                           id => 123,
49                           Net::Amazon::S3::ACL::Grantee::User->new (123),
50                   )
51
52       predefined group uri
53                   ->grant_read (
54                           uri => 'http://...',
55                           Net::Amazon::S3::ACL::Grantee::Group->new ('http://...'),
56                           Net::Amazon::S3::ACL::Grantee::Group->ALL_USERS,
57                   )
58
59       email address
60                   ->grant_read (
61                           email => 'foo@bar.baz',
62                           Net::Amazon::S3::ACL::Grantee::Email->new ('foo@bar.baz'),
63                   );
64

AUTHOR

66       Branislav Zahradník <barney@cpan.org>
67
69       This module is part of Net::Amazon::S3.
70

AUTHOR

72       Branislav Zahradník <barney@cpan.org>
73
75       This software is copyright (c) 2021 by Amazon Digital Services, Leon
76       Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav
77       Zahradník.
78
79       This is free software; you can redistribute it and/or modify it under
80       the same terms as the Perl 5 programming language system itself.
81

POD ERRORS

83       Hey! The above document had some coding errors, which are explained
84       below:
85
86       Around line 203:
87           You forgot a '=back' before '=head1'
88
89           You forgot a '=back' before '=head1'
90
91
92
93perl v5.32.1                      2021-03-24      Net::Amazon::S3::ACL::Set(3)
Impressum