Net::A...CL::Set(3pm)
π Net::A...CL::Set β the manual, but make it cute π
okay bestie, gather round, because this is Net::A...CL::Set(3pm) from the Perl manual pages and she is lowkey iconic β¨
This one's a Net::Amazon::S3 module β a Representation of explicit ACL, no cap. If you've ever needed to tell S3 exactly who gets to do what, this is the little class that holds all of that. She's giving permissions manager energy and honestly? obsessed. π
πΈ VERSION πΈ
version 0.992
(yeah, she's on 0.992, we love an evolving queen π
)
β¨ SYNOPSIS β¨
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 (
...
)
;
see how she chains?? method after method after method, straight through π that's the vibe. grant_full_control, then grant_write, then whatever else your heart desires. it's giving fluent interface main character energy fr fr.
π¦ DESCRIPTION π¦
Class representing explicit Amazon S3 ACL configuration.
that's it, that's the whole description bestie. a class. representing explicit Amazon S3 ACL configuration. she's focused, she's minimal, she knows exactly what she is π«Ά
π METHODS π
π new
Creates new instance.
brand new baby ACL object, fresh out the box β¨
π grant_full_control (@grantees)
π grant_read (@grantees)
π grant_read_acp (@grantees)
π grant_write (@grantees)
π grant_write_acp (@grantees)
okay so these five are the whole squad β grant_full_control, grant_read, grant_read_acp, grant_write, and grant_write_acp β and every single one of them takes @grantees. what's a grantee, you ask? literally the next section. keep scrolling bestie π
π GRANTEES π
See also "Who Is a Grantee?" <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#specifying-grantee> in Amazon S3 documentation.
(the AWS docs said it first, we're just citing our sources π )
Each grant_* method accepts list of grantees either in key-value format or as an instance of Net::Amazon::S3::ACL::Grantee::*.
so bestie you got options: you can hand her plain key-value pairs, OR you can hand her a whole Net::Amazon::S3::ACL::Grantee::* object. both valid, both slay. here's how each flavor looks:
- canonical user ID
->grant_read (
id => 123,
Net::Amazon::S3::ACL::Grantee::User->new (123),
)
key-value or object, pick your fighter π«Ά
- predefined group uri
->grant_read (
uri => 'http://...',
Net::Amazon::S3::ACL::Grantee::Group->new ('http://...'),
Net::Amazon::S3::ACL::Grantee::Group->ALL_USERS,
)
yes she also has Net::Amazon::S3::ACL::Grantee::Group->ALL_USERS sitting right there like a little shortcut icon β
- email address
->grant_read (
email => 'foo@bar.baz',
Net::Amazon::S3::ACL::Grantee::Email->new ('foo@bar.baz'),
);
foo@bar.baz my beloved π
π AUTHOR π
Branislav ZahradnΓk <barney@cpan.org>
π COPYRIGHT AND LICENSE π
This module is part of Net::Amazon::S3.
π AUTHOR (yes, again) π
Branislav ZahradnΓk <barney@cpan.org>
(she said it twice, and honestly? she's right to π)
π COPYRIGHT AND LICENSE (yes, again) π
This software is copyright (c) 2025 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.
free software, same terms as Perl 5 itself β that's the legal tea and it's actually good news π«Ά
and that's the whole page bestie!! π¦ this was rendered by perl v5.40.1, the page is dated 2025-12-07, and it lives under the name Net::A...CL::Set(3pm) in the Perl manual. slay, mwah πβ¨
π¦ where this page comes from
- ubuntu resolute: libnet-amazon-s3-perl 0.992-1 Β· other
- ubuntu stonking: libnet-amazon-s3-perl 0.992-1 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms