GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Amazon::S3::ACL::Set(3) User Contributed Perl Documentation Net::Amazon::S3::ACL::Set(3)

Net::Amazon::S3::ACL::Set - Representation of explicit ACL

version 0.99

        use Net::Amazon::S3::ACL;

        $acl = Net::Amazon::S3::ACL->new
                ->grant_full_control (
                        id => 11112222333,
                        id => 444455556666,
                        uri => 'predefined group uri',
                        email => 'email-address',
                )
                ->grant_write (
                        ...
                )
                ;

Class representing explicit Amazon S3 ACL configuration.

Creates new instance.

See also "Who Is a Grantee?" <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#specifying-grantee> in Amazon S3 documentation.

Each grant_* method accepts list of grantees either in key-value format or as an instance of "Net::Amazon::S3::ACL::Grantee::*".

canonical user ID
        ->grant_read (
                id => 123,
                Net::Amazon::S3::ACL::Grantee::User->new (123),
        )
    
predefined group uri
        ->grant_read (
                uri => 'http://...',
                Net::Amazon::S3::ACL::Grantee::Group->new ('http://...'),
                Net::Amazon::S3::ACL::Grantee::Group->ALL_USERS,
        )
    
email address
        ->grant_read (
                email => 'foo@bar.baz',
                Net::Amazon::S3::ACL::Grantee::Email->new ('foo@bar.baz'),
        );
    

Branislav Zahradník <barney@cpan.org>

This module is part of Net::Amazon::S3.

Branislav Zahradník <barney@cpan.org>

This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2021-12-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.