blib/lib/Paws/ElasticTranscoder/Permission.pm untested

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