File Coverage

blib/lib/Paws/ElasticTranscoder/Pipeline.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::Pipeline;
2 1     1   490 use Moose;
  1         3  
  1         7  
3             has Arn => (is => 'ro', isa => 'Str');
4             has AwsKmsKeyArn => (is => 'ro', isa => 'Str');
5             has ContentConfig => (is => 'ro', isa => 'Paws::ElasticTranscoder::PipelineOutputConfig');
6             has Id => (is => 'ro', isa => 'Str');
7             has InputBucket => (is => 'ro', isa => 'Str');
8             has Name => (is => 'ro', isa => 'Str');
9             has Notifications => (is => 'ro', isa => 'Paws::ElasticTranscoder::Notifications');
10             has OutputBucket => (is => 'ro', isa => 'Str');
11             has Role => (is => 'ro', isa => 'Str');
12             has Status => (is => 'ro', isa => 'Str');
13             has ThumbnailConfig => (is => 'ro', isa => 'Paws::ElasticTranscoder::PipelineOutputConfig');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::ElasticTranscoder::Pipeline
21              
22             =head1 USAGE
23              
24             This class represents one of two things:
25              
26             =head3 Arguments in a call to a service
27              
28             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29             Each attribute should be used as a named argument in the calls that expect this type of object.
30              
31             As an example, if Att1 is expected to be a Paws::ElasticTranscoder::Pipeline object:
32              
33             $service_obj->Method(Att1 => { Arn => $value, ..., ThumbnailConfig => $value });
34              
35             =head3 Results returned from an API call
36              
37             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::Pipeline object:
38              
39             $result = $service_obj->Method(...);
40             $result->Att1->Arn
41              
42             =head1 DESCRIPTION
43              
44             The pipeline (queue) that is used to manage jobs.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 Arn => Str
50              
51             The Amazon Resource Name (ARN) for the pipeline.
52              
53              
54             =head2 AwsKmsKeyArn => Str
55              
56             The AWS Key Management Service (AWS KMS) key that you want to use with
57             this pipeline.
58              
59             If you use either C<S3> or C<S3-AWS-KMS> as your C<Encryption:Mode>,
60             you don't need to provide a key with your job because a default key,
61             known as an AWS-KMS key, is created for you automatically. You need to
62             provide an AWS-KMS key only if you want to use a non-default AWS-KMS
63             key, or if you are using an C<Encryption:Mode> of C<AES-PKCS7>,
64             C<AES-CTR>, or C<AES-GCM>.
65              
66              
67             =head2 ContentConfig => L<Paws::ElasticTranscoder::PipelineOutputConfig>
68              
69             Information about the Amazon S3 bucket in which you want Elastic
70             Transcoder to save transcoded files and playlists. Either you specify
71             both C<ContentConfig> and C<ThumbnailConfig>, or you specify
72             C<OutputBucket>.
73              
74             =over
75              
76             =item *
77              
78             B<Bucket>: The Amazon S3 bucket in which you want Elastic Transcoder to
79             save transcoded files and playlists.
80              
81             =item *
82              
83             B<Permissions>: A list of the users and/or predefined Amazon S3 groups
84             you want to have access to transcoded files and playlists, and the type
85             of access that you want them to have.
86              
87             =over
88              
89             =item *
90              
91             GranteeType: The type of value that appears in the C<Grantee> object:
92              
93             =over
94              
95             =item *
96              
97             C<Canonical>: Either the canonical user ID for an AWS account or an
98             origin access identity for an Amazon CloudFront distribution.
99              
100             =item *
101              
102             C<Email>: The registered email address of an AWS account.
103              
104             =item *
105              
106             C<Group>: One of the following predefined Amazon S3 groups:
107             C<AllUsers>, C<AuthenticatedUsers>, or C<LogDelivery>.
108              
109             =back
110              
111             =item *
112              
113             C<Grantee>: The AWS user or group that you want to have access to
114             transcoded files and playlists.
115              
116             =item *
117              
118             C<Access>: The permission that you want to give to the AWS user that is
119             listed in C<Grantee>. Valid values include:
120              
121             =over
122              
123             =item *
124              
125             C<READ>: The grantee can read the objects and metadata for objects that
126             Elastic Transcoder adds to the Amazon S3 bucket.
127              
128             =item *
129              
130             C<READ_ACP>: The grantee can read the object ACL for objects that
131             Elastic Transcoder adds to the Amazon S3 bucket.
132              
133             =item *
134              
135             C<WRITE_ACP>: The grantee can write the ACL for the objects that
136             Elastic Transcoder adds to the Amazon S3 bucket.
137              
138             =item *
139              
140             C<FULL_CONTROL>: The grantee has C<READ>, C<READ_ACP>, and C<WRITE_ACP>
141             permissions for the objects that Elastic Transcoder adds to the Amazon
142             S3 bucket.
143              
144             =back
145              
146             =back
147              
148             =item *
149              
150             B<StorageClass>: The Amazon S3 storage class, Standard or
151             ReducedRedundancy, that you want Elastic Transcoder to assign to the
152             video files and playlists that it stores in your Amazon S3 bucket.
153              
154             =back
155              
156              
157              
158             =head2 Id => Str
159              
160             The identifier for the pipeline. You use this value to identify the
161             pipeline in which you want to perform a variety of operations, such as
162             creating a job or a preset.
163              
164              
165             =head2 InputBucket => Str
166              
167             The Amazon S3 bucket from which Elastic Transcoder gets media files for
168             transcoding and the graphics files, if any, that you want to use for
169             watermarks.
170              
171              
172             =head2 Name => Str
173              
174             The name of the pipeline. We recommend that the name be unique within
175             the AWS account, but uniqueness is not enforced.
176              
177             Constraints: Maximum 40 characters
178              
179              
180             =head2 Notifications => L<Paws::ElasticTranscoder::Notifications>
181              
182             The Amazon Simple Notification Service (Amazon SNS) topic that you want
183             to notify to report job status.
184              
185             To receive notifications, you must also subscribe to the new topic in
186             the Amazon SNS console.
187              
188             =over
189              
190             =item *
191              
192             B<Progressing> (optional): The Amazon Simple Notification Service
193             (Amazon SNS) topic that you want to notify when Elastic Transcoder has
194             started to process the job.
195              
196             =item *
197              
198             B<Completed> (optional): The Amazon SNS topic that you want to notify
199             when Elastic Transcoder has finished processing the job.
200              
201             =item *
202              
203             B<Warning> (optional): The Amazon SNS topic that you want to notify
204             when Elastic Transcoder encounters a warning condition.
205              
206             =item *
207              
208             B<Error> (optional): The Amazon SNS topic that you want to notify when
209             Elastic Transcoder encounters an error condition.
210              
211             =back
212              
213              
214              
215             =head2 OutputBucket => Str
216              
217             The Amazon S3 bucket in which you want Elastic Transcoder to save
218             transcoded files, thumbnails, and playlists. Either you specify this
219             value, or you specify both C<ContentConfig> and C<ThumbnailConfig>.
220              
221              
222             =head2 Role => Str
223              
224             The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder
225             uses to transcode jobs for this pipeline.
226              
227              
228             =head2 Status => Str
229              
230             The current status of the pipeline:
231              
232             =over
233              
234             =item *
235              
236             C<Active>: The pipeline is processing jobs.
237              
238             =item *
239              
240             C<Paused>: The pipeline is not currently processing jobs.
241              
242             =back
243              
244              
245              
246             =head2 ThumbnailConfig => L<Paws::ElasticTranscoder::PipelineOutputConfig>
247              
248             Information about the Amazon S3 bucket in which you want Elastic
249             Transcoder to save thumbnail files. Either you specify both
250             C<ContentConfig> and C<ThumbnailConfig>, or you specify
251             C<OutputBucket>.
252              
253             =over
254              
255             =item *
256              
257             C<Bucket>: The Amazon S3 bucket in which you want Elastic Transcoder to
258             save thumbnail files.
259              
260             =item *
261              
262             C<Permissions>: A list of the users and/or predefined Amazon S3 groups
263             you want to have access to thumbnail files, and the type of access that
264             you want them to have.
265              
266             =over
267              
268             =item *
269              
270             GranteeType: The type of value that appears in the Grantee object:
271              
272             =over
273              
274             =item *
275              
276             C<Canonical>: Either the canonical user ID for an AWS account or an
277             origin access identity for an Amazon CloudFront distribution.
278              
279             A canonical user ID is not the same as an AWS account number.
280              
281             =item *
282              
283             C<Email>: The registered email address of an AWS account.
284              
285             =item *
286              
287             C<Group>: One of the following predefined Amazon S3 groups:
288             C<AllUsers>, C<AuthenticatedUsers>, or C<LogDelivery>.
289              
290             =back
291              
292             =item *
293              
294             C<Grantee>: The AWS user or group that you want to have access to
295             thumbnail files.
296              
297             =item *
298              
299             Access: The permission that you want to give to the AWS user that is
300             listed in Grantee. Valid values include:
301              
302             =over
303              
304             =item *
305              
306             C<READ>: The grantee can read the thumbnails and metadata for
307             thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
308              
309             =item *
310              
311             C<READ_ACP>: The grantee can read the object ACL for thumbnails that
312             Elastic Transcoder adds to the Amazon S3 bucket.
313              
314             =item *
315              
316             C<WRITE_ACP>: The grantee can write the ACL for the thumbnails that
317             Elastic Transcoder adds to the Amazon S3 bucket.
318              
319             =item *
320              
321             C<FULL_CONTROL>: The grantee has READ, READ_ACP, and WRITE_ACP
322             permissions for the thumbnails that Elastic Transcoder adds to the
323             Amazon S3 bucket.
324              
325             =back
326              
327             =back
328              
329             =item *
330              
331             C<StorageClass>: The Amazon S3 storage class, C<Standard> or
332             C<ReducedRedundancy>, that you want Elastic Transcoder to assign to the
333             thumbnails that it stores in your Amazon S3 bucket.
334              
335             =back
336              
337              
338              
339              
340             =head1 SEE ALSO
341              
342             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
343              
344             =head1 BUGS and CONTRIBUTIONS
345              
346             The source code is located here: https://github.com/pplu/aws-sdk-perl
347              
348             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
349              
350             =cut
351