line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Represents group reference for ACL |
2
|
|
|
|
|
|
|
$Net::Amazon::S3::ACL::Grantee::Group::VERSION = '0.991'; |
3
|
|
|
|
|
|
|
use Moose; |
4
|
100
|
|
|
100
|
|
657
|
|
|
100
|
|
|
|
|
203
|
|
|
100
|
|
|
|
|
569
|
|
5
|
|
|
|
|
|
|
extends 'Net::Amazon::S3::ACL::Grantee'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has group => ( |
8
|
|
|
|
|
|
|
is => 'ro', |
9
|
|
|
|
|
|
|
isa => 'Str', |
10
|
|
|
|
|
|
|
required => 1, |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
around BUILDARGS => sub { |
14
|
|
|
|
|
|
|
my ($orig, $class) = (shift, shift); |
15
|
|
|
|
|
|
|
unshift @_, 'group' if @_ == 1 && ! ref $_[0]; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
return $class->$orig (@_); |
18
|
|
|
|
|
|
|
}; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
my ($self) = @_; |
21
|
|
|
|
|
|
|
|
22
|
2
|
|
|
2
|
0
|
4
|
return "uri=\"${\ $self->group }\""; |
23
|
|
|
|
|
|
|
} |
24
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
44
|
|
25
|
|
|
|
|
|
|
__PACKAGE__->new ('http://acs.amazonaws.com/groups/global/AuthenticatedUsers'); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
0
|
0
|
0
|
__PACKAGE__->new ('http://acs.amazonaws.com/groups/global/AllUsers'); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__PACKAGE__->new ('http://acs.amazonaws.com/groups/s3/LogDelivery'); |
32
|
1
|
|
|
1
|
0
|
6
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
1
|
|
|
1
|
0
|
3
|
|
37
|
|
|
|
|
|
|
=pod |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=encoding UTF-8 |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 NAME |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Net::Amazon::S3::ACL::Grantee::Group - Represents group reference for ACL |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 VERSION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
version 0.991 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 SYNOPSIS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
use Net::Amazon::S3::ACL::Grantee::Group; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my $group = Net::Amazon::S3::ACL::Grantee::Group->AUTHENTICATED_USERS; |
54
|
|
|
|
|
|
|
my $group = Net::Amazon::S3::ACL::Grantee::Group->ALL_USERS; |
55
|
|
|
|
|
|
|
my $group = Net::Amazon::S3::ACL::Grantee::Group->LOG_DELIVERY; |
56
|
|
|
|
|
|
|
my $group = Net::Amazon::S3::ACL::Grantee::Group->new ('http://...'); |
57
|
|
|
|
|
|
|
my $group = Net::Amazon::S3::ACL::Grantee::Group->new (group => 'http://...'); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHOR |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Branislav Zahradník <barney@cpan.org> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This module is part of L<Net::Amazon::S3>. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 AUTHOR |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Branislav Zahradník <barney@cpan.org> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
76
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |