File Coverage

blib/lib/Paws/ElasticTranscoder/Permission.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ElasticTranscoder::Permission;
2 1     1   473 use Moose;
  1         2  
  1         9  
3             has Access => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
4             has Grantee => (is => 'ro', isa => 'Str');
5             has GranteeType => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::ElasticTranscoder::Permission
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::ElasticTranscoder::Permission object:
24              
25             $service_obj->Method(Att1 => { Access => $value, ..., GranteeType => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::Permission object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Access
33              
34             =head1 DESCRIPTION
35              
36             The C<Permission> structure.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 Access => ArrayRef[Str|Undef]
42              
43             The permission that you want to give to the AWS user that is listed in
44             Grantee. Valid values include:
45              
46             =over
47              
48             =item *
49              
50             C<READ>: The grantee can read the thumbnails and metadata for
51             thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
52              
53             =item *
54              
55             C<READ_ACP>: The grantee can read the object ACL for thumbnails that
56             Elastic Transcoder adds to the Amazon S3 bucket.
57              
58             =item *
59              
60             C<WRITE_ACP>: The grantee can write the ACL for the thumbnails that
61             Elastic Transcoder adds to the Amazon S3 bucket.
62              
63             =item *
64              
65             C<FULL_CONTROL>: The grantee has READ, READ_ACP, and WRITE_ACP
66             permissions for the thumbnails that Elastic Transcoder adds to the
67             Amazon S3 bucket.
68              
69             =back
70              
71              
72              
73             =head2 Grantee => Str
74              
75             The AWS user or group that you want to have access to transcoded files
76             and playlists. To identify the user or group, you can specify the
77             canonical user ID for an AWS account, an origin access identity for a
78             CloudFront distribution, the registered email address of an AWS
79             account, or a predefined Amazon S3 group.
80              
81              
82             =head2 GranteeType => Str
83              
84             The type of value that appears in the Grantee object:
85              
86             =over
87              
88             =item *
89              
90             C<Canonical>: Either the canonical user ID for an AWS account or an
91             origin access identity for an Amazon CloudFront distribution.
92              
93             A canonical user ID is not the same as an AWS account number.
94              
95             =item *
96              
97             C<Email>: The registered email address of an AWS account.
98              
99             =item *
100              
101             C<Group>: One of the following predefined Amazon S3 groups:
102             C<AllUsers>, C<AuthenticatedUsers>, or C<LogDelivery>.
103              
104             =back
105              
106              
107              
108              
109             =head1 SEE ALSO
110              
111             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
112              
113             =head1 BUGS and CONTRIBUTIONS
114              
115             The source code is located here: https://github.com/pplu/aws-sdk-perl
116              
117             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
118              
119             =cut
120