1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2012-09-25",
5    "endpointPrefix":"elastictranscoder",
6    "protocol":"rest-json",
7    "serviceFullName":"Amazon Elastic Transcoder",
8    "serviceId":"Elastic Transcoder",
9    "signatureVersion":"v4",
10    "uid":"elastictranscoder-2012-09-25"
11  },
12  "operations":{
13    "CancelJob":{
14      "name":"CancelJob",
15      "http":{
16        "method":"DELETE",
17        "requestUri":"/2012-09-25/jobs/{Id}",
18        "responseCode":202
19      },
20      "input":{"shape":"CancelJobRequest"},
21      "output":{"shape":"CancelJobResponse"},
22      "errors":[
23        {"shape":"ValidationException"},
24        {"shape":"IncompatibleVersionException"},
25        {"shape":"ResourceNotFoundException"},
26        {"shape":"ResourceInUseException"},
27        {"shape":"AccessDeniedException"},
28        {"shape":"InternalServiceException"}
29      ],
30      "documentation":"<p>The CancelJob operation cancels an unfinished job.</p> <note> <p>You can only cancel a job that has a status of <code>Submitted</code>. To prevent a pipeline from starting to process a job while you're getting the job identifier, use <a>UpdatePipelineStatus</a> to temporarily pause the pipeline.</p> </note>"
31    },
32    "CreateJob":{
33      "name":"CreateJob",
34      "http":{
35        "method":"POST",
36        "requestUri":"/2012-09-25/jobs",
37        "responseCode":201
38      },
39      "input":{"shape":"CreateJobRequest"},
40      "output":{"shape":"CreateJobResponse"},
41      "errors":[
42        {"shape":"ValidationException"},
43        {"shape":"IncompatibleVersionException"},
44        {"shape":"ResourceNotFoundException"},
45        {"shape":"AccessDeniedException"},
46        {"shape":"LimitExceededException"},
47        {"shape":"InternalServiceException"}
48      ],
49      "documentation":"<p>When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.</p> <p>If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).</p>"
50    },
51    "CreatePipeline":{
52      "name":"CreatePipeline",
53      "http":{
54        "method":"POST",
55        "requestUri":"/2012-09-25/pipelines",
56        "responseCode":201
57      },
58      "input":{"shape":"CreatePipelineRequest"},
59      "output":{"shape":"CreatePipelineResponse"},
60      "errors":[
61        {"shape":"ValidationException"},
62        {"shape":"IncompatibleVersionException"},
63        {"shape":"AccessDeniedException"},
64        {"shape":"ResourceNotFoundException"},
65        {"shape":"LimitExceededException"},
66        {"shape":"InternalServiceException"}
67      ],
68      "documentation":"<p>The CreatePipeline operation creates a pipeline with settings that you specify.</p>"
69    },
70    "CreatePreset":{
71      "name":"CreatePreset",
72      "http":{
73        "method":"POST",
74        "requestUri":"/2012-09-25/presets",
75        "responseCode":201
76      },
77      "input":{"shape":"CreatePresetRequest"},
78      "output":{"shape":"CreatePresetResponse"},
79      "errors":[
80        {"shape":"ValidationException"},
81        {"shape":"IncompatibleVersionException"},
82        {"shape":"AccessDeniedException"},
83        {"shape":"LimitExceededException"},
84        {"shape":"InternalServiceException"}
85      ],
86      "documentation":"<p>The CreatePreset operation creates a preset with settings that you specify.</p> <important> <p>Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (<code>ValidationException</code>) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.</p> </important> <p>Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication <i>Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services</i>.</p>"
87    },
88    "DeletePipeline":{
89      "name":"DeletePipeline",
90      "http":{
91        "method":"DELETE",
92        "requestUri":"/2012-09-25/pipelines/{Id}",
93        "responseCode":202
94      },
95      "input":{"shape":"DeletePipelineRequest"},
96      "output":{"shape":"DeletePipelineResponse"},
97      "errors":[
98        {"shape":"ValidationException"},
99        {"shape":"IncompatibleVersionException"},
100        {"shape":"ResourceNotFoundException"},
101        {"shape":"ResourceInUseException"},
102        {"shape":"AccessDeniedException"},
103        {"shape":"InternalServiceException"}
104      ],
105      "documentation":"<p>The DeletePipeline operation removes a pipeline.</p> <p> You can only delete a pipeline that has never been used or that is not currently in use (doesn't contain any active jobs). If the pipeline is currently in use, <code>DeletePipeline</code> returns an error. </p>"
106    },
107    "DeletePreset":{
108      "name":"DeletePreset",
109      "http":{
110        "method":"DELETE",
111        "requestUri":"/2012-09-25/presets/{Id}",
112        "responseCode":202
113      },
114      "input":{"shape":"DeletePresetRequest"},
115      "output":{"shape":"DeletePresetResponse"},
116      "errors":[
117        {"shape":"ValidationException"},
118        {"shape":"IncompatibleVersionException"},
119        {"shape":"ResourceNotFoundException"},
120        {"shape":"AccessDeniedException"},
121        {"shape":"InternalServiceException"}
122      ],
123      "documentation":"<p>The DeletePreset operation removes a preset that you've added in an AWS region.</p> <note> <p>You can't delete the default presets that are included with Elastic Transcoder.</p> </note>"
124    },
125    "ListJobsByPipeline":{
126      "name":"ListJobsByPipeline",
127      "http":{
128        "method":"GET",
129        "requestUri":"/2012-09-25/jobsByPipeline/{PipelineId}"
130      },
131      "input":{"shape":"ListJobsByPipelineRequest"},
132      "output":{"shape":"ListJobsByPipelineResponse"},
133      "errors":[
134        {"shape":"ValidationException"},
135        {"shape":"IncompatibleVersionException"},
136        {"shape":"ResourceNotFoundException"},
137        {"shape":"AccessDeniedException"},
138        {"shape":"InternalServiceException"}
139      ],
140      "documentation":"<p>The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.</p> <p>Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria.</p>"
141    },
142    "ListJobsByStatus":{
143      "name":"ListJobsByStatus",
144      "http":{
145        "method":"GET",
146        "requestUri":"/2012-09-25/jobsByStatus/{Status}"
147      },
148      "input":{"shape":"ListJobsByStatusRequest"},
149      "output":{"shape":"ListJobsByStatusResponse"},
150      "errors":[
151        {"shape":"ValidationException"},
152        {"shape":"IncompatibleVersionException"},
153        {"shape":"ResourceNotFoundException"},
154        {"shape":"AccessDeniedException"},
155        {"shape":"InternalServiceException"}
156      ],
157      "documentation":"<p>The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria.</p>"
158    },
159    "ListPipelines":{
160      "name":"ListPipelines",
161      "http":{
162        "method":"GET",
163        "requestUri":"/2012-09-25/pipelines"
164      },
165      "input":{"shape":"ListPipelinesRequest"},
166      "output":{"shape":"ListPipelinesResponse"},
167      "errors":[
168        {"shape":"ValidationException"},
169        {"shape":"IncompatibleVersionException"},
170        {"shape":"AccessDeniedException"},
171        {"shape":"InternalServiceException"}
172      ],
173      "documentation":"<p>The ListPipelines operation gets a list of the pipelines associated with the current AWS account.</p>"
174    },
175    "ListPresets":{
176      "name":"ListPresets",
177      "http":{
178        "method":"GET",
179        "requestUri":"/2012-09-25/presets"
180      },
181      "input":{"shape":"ListPresetsRequest"},
182      "output":{"shape":"ListPresetsResponse"},
183      "errors":[
184        {"shape":"ValidationException"},
185        {"shape":"IncompatibleVersionException"},
186        {"shape":"AccessDeniedException"},
187        {"shape":"InternalServiceException"}
188      ],
189      "documentation":"<p>The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region.</p>"
190    },
191    "ReadJob":{
192      "name":"ReadJob",
193      "http":{
194        "method":"GET",
195        "requestUri":"/2012-09-25/jobs/{Id}"
196      },
197      "input":{"shape":"ReadJobRequest"},
198      "output":{"shape":"ReadJobResponse"},
199      "errors":[
200        {"shape":"ValidationException"},
201        {"shape":"IncompatibleVersionException"},
202        {"shape":"ResourceNotFoundException"},
203        {"shape":"AccessDeniedException"},
204        {"shape":"InternalServiceException"}
205      ],
206      "documentation":"<p>The ReadJob operation returns detailed information about a job.</p>"
207    },
208    "ReadPipeline":{
209      "name":"ReadPipeline",
210      "http":{
211        "method":"GET",
212        "requestUri":"/2012-09-25/pipelines/{Id}"
213      },
214      "input":{"shape":"ReadPipelineRequest"},
215      "output":{"shape":"ReadPipelineResponse"},
216      "errors":[
217        {"shape":"ValidationException"},
218        {"shape":"IncompatibleVersionException"},
219        {"shape":"ResourceNotFoundException"},
220        {"shape":"AccessDeniedException"},
221        {"shape":"InternalServiceException"}
222      ],
223      "documentation":"<p>The ReadPipeline operation gets detailed information about a pipeline.</p>"
224    },
225    "ReadPreset":{
226      "name":"ReadPreset",
227      "http":{
228        "method":"GET",
229        "requestUri":"/2012-09-25/presets/{Id}"
230      },
231      "input":{"shape":"ReadPresetRequest"},
232      "output":{"shape":"ReadPresetResponse"},
233      "errors":[
234        {"shape":"ValidationException"},
235        {"shape":"IncompatibleVersionException"},
236        {"shape":"ResourceNotFoundException"},
237        {"shape":"AccessDeniedException"},
238        {"shape":"InternalServiceException"}
239      ],
240      "documentation":"<p>The ReadPreset operation gets detailed information about a preset.</p>"
241    },
242    "TestRole":{
243      "name":"TestRole",
244      "http":{
245        "method":"POST",
246        "requestUri":"/2012-09-25/roleTests",
247        "responseCode":200
248      },
249      "input":{"shape":"TestRoleRequest"},
250      "output":{"shape":"TestRoleResponse"},
251      "errors":[
252        {"shape":"ValidationException"},
253        {"shape":"IncompatibleVersionException"},
254        {"shape":"ResourceNotFoundException"},
255        {"shape":"AccessDeniedException"},
256        {"shape":"InternalServiceException"}
257      ],
258      "documentation":"<p>The TestRole operation tests the IAM role used to create the pipeline.</p> <p>The <code>TestRole</code> action lets you determine whether the IAM role you are using has sufficient permissions to let Elastic Transcoder perform tasks associated with the transcoding process. The action attempts to assume the specified IAM role, checks read access to the input and output buckets, and tries to send a test notification to Amazon SNS topics that you specify.</p>",
259      "deprecated":true
260    },
261    "UpdatePipeline":{
262      "name":"UpdatePipeline",
263      "http":{
264        "method":"PUT",
265        "requestUri":"/2012-09-25/pipelines/{Id}",
266        "responseCode":200
267      },
268      "input":{"shape":"UpdatePipelineRequest"},
269      "output":{"shape":"UpdatePipelineResponse"},
270      "errors":[
271        {"shape":"ValidationException"},
272        {"shape":"IncompatibleVersionException"},
273        {"shape":"AccessDeniedException"},
274        {"shape":"ResourceInUseException"},
275        {"shape":"ResourceNotFoundException"},
276        {"shape":"InternalServiceException"}
277      ],
278      "documentation":"<p> Use the <code>UpdatePipeline</code> operation to update settings for a pipeline.</p> <important> <p>When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings. </p> </important>"
279    },
280    "UpdatePipelineNotifications":{
281      "name":"UpdatePipelineNotifications",
282      "http":{
283        "method":"POST",
284        "requestUri":"/2012-09-25/pipelines/{Id}/notifications"
285      },
286      "input":{"shape":"UpdatePipelineNotificationsRequest"},
287      "output":{"shape":"UpdatePipelineNotificationsResponse"},
288      "errors":[
289        {"shape":"ValidationException"},
290        {"shape":"IncompatibleVersionException"},
291        {"shape":"ResourceNotFoundException"},
292        {"shape":"ResourceInUseException"},
293        {"shape":"AccessDeniedException"},
294        {"shape":"InternalServiceException"}
295      ],
296      "documentation":"<p>With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.</p> <p>When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>"
297    },
298    "UpdatePipelineStatus":{
299      "name":"UpdatePipelineStatus",
300      "http":{
301        "method":"POST",
302        "requestUri":"/2012-09-25/pipelines/{Id}/status"
303      },
304      "input":{"shape":"UpdatePipelineStatusRequest"},
305      "output":{"shape":"UpdatePipelineStatusResponse"},
306      "errors":[
307        {"shape":"ValidationException"},
308        {"shape":"IncompatibleVersionException"},
309        {"shape":"ResourceNotFoundException"},
310        {"shape":"ResourceInUseException"},
311        {"shape":"AccessDeniedException"},
312        {"shape":"InternalServiceException"}
313      ],
314      "documentation":"<p>The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.</p> <p>Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a <a>CancelJob</a> request. </p>"
315    }
316  },
317  "shapes":{
318    "AccessControl":{
319      "type":"string",
320      "pattern":"(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)"
321    },
322    "AccessControls":{
323      "type":"list",
324      "member":{"shape":"AccessControl"},
325      "max":30
326    },
327    "AccessDeniedException":{
328      "type":"structure",
329      "members":{
330      },
331      "documentation":"<p>General authentication failure. The request was not signed correctly.</p>",
332      "error":{"httpStatusCode":403},
333      "exception":true
334    },
335    "Artwork":{
336      "type":"structure",
337      "members":{
338        "InputKey":{
339          "shape":"WatermarkKey",
340          "documentation":"<p>The name of the file to be used as album art. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by <code>PipelineId</code>; the <code>InputBucket</code> object in that pipeline identifies the bucket.</p> <p>If the file name includes a prefix, for example, <code>cooking/pie.jpg</code>, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.</p>"
341        },
342        "MaxWidth":{
343          "shape":"DigitsOrAuto",
344          "documentation":"<p>The maximum width of the output album art in pixels. If you specify <code>auto</code>, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.</p>"
345        },
346        "MaxHeight":{
347          "shape":"DigitsOrAuto",
348          "documentation":"<p>The maximum height of the output album art in pixels. If you specify <code>auto</code>, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.</p>"
349        },
350        "SizingPolicy":{
351          "shape":"SizingPolicy",
352          "documentation":"<p>Specify one of the following values to control scaling of the output album art:</p> <ul> <li> <p> <code>Fit:</code> Elastic Transcoder scales the output art so it matches the value that you specified in either <code>MaxWidth</code> or <code>MaxHeight</code> without exceeding the other value.</p> </li> <li> <p> <code>Fill:</code> Elastic Transcoder scales the output art so it matches the value that you specified in either <code>MaxWidth</code> or <code>MaxHeight</code> and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value. </p> </li> <li> <p> <code>Stretch:</code> Elastic Transcoder stretches the output art to match the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>. If the relative proportions of the input art and the output art are different, the output art will be distorted.</p> </li> <li> <p> <code>Keep:</code> Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>, Elastic Transcoder crops the output art.</p> </li> <li> <p> <code>ShrinkToFit:</code> Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of <code>MaxWidth</code> and <code>MaxHeight</code> without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up.</p> </li> <li> <p> <code>ShrinkToFill</code> Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of <code>MaxWidth</code> and <code>MaxHeight</code> without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up.</p> </li> </ul>"
353        },
354        "PaddingPolicy":{
355          "shape":"PaddingPolicy",
356          "documentation":"<p>When you set <code>PaddingPolicy</code> to <code>Pad</code>, Elastic Transcoder may add white bars to the top and bottom and/or left and right sides of the output album art to make the total size of the output art match the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>.</p>"
357        },
358        "AlbumArtFormat":{
359          "shape":"JpgOrPng",
360          "documentation":"<p>The format of album art, if any. Valid formats are <code>.jpg</code> and <code>.png</code>.</p>"
361        },
362        "Encryption":{
363          "shape":"Encryption",
364          "documentation":"<p>The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.</p>"
365        }
366      },
367      "documentation":"<p>The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20.</p> <p>To remove artwork or leave the artwork empty, you can either set <code>Artwork</code> to null, or set the <code>Merge Policy</code> to \"Replace\" and use an empty <code>Artwork</code> array.</p> <p>To pass through existing artwork unchanged, set the <code>Merge Policy</code> to \"Prepend\", \"Append\", or \"Fallback\", and use an empty <code>Artwork</code> array.</p>"
368    },
369    "Artworks":{
370      "type":"list",
371      "member":{"shape":"Artwork"}
372    },
373    "Ascending":{
374      "type":"string",
375      "pattern":"(^true$)|(^false$)"
376    },
377    "AspectRatio":{
378      "type":"string",
379      "pattern":"(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)"
380    },
381    "AudioBitDepth":{
382      "type":"string",
383      "pattern":"(^8$)|(^16$)|(^24$)|(^32$)"
384    },
385    "AudioBitOrder":{
386      "type":"string",
387      "pattern":"(^LittleEndian$)"
388    },
389    "AudioBitRate":{
390      "type":"string",
391      "pattern":"^\\d{1,3}$"
392    },
393    "AudioChannels":{
394      "type":"string",
395      "pattern":"(^auto$)|(^0$)|(^1$)|(^2$)"
396    },
397    "AudioCodec":{
398      "type":"string",
399      "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$)"
400    },
401    "AudioCodecOptions":{
402      "type":"structure",
403      "members":{
404        "Profile":{
405          "shape":"AudioCodecProfile",
406          "documentation":"<p>You can only choose an audio profile when you specify AAC for the value of Audio:Codec.</p> <p>Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:</p> <ul> <li> <p> <code>auto</code>: If you specify <code>auto</code>, Elastic Transcoder selects the profile based on the bit rate selected for the output file.</p> </li> <li> <p> <code>AAC-LC</code>: The most common AAC profile. Use for bit rates larger than 64 kbps.</p> </li> <li> <p> <code>HE-AAC</code>: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps.</p> </li> <li> <p> <code>HE-AACv2</code>: Not supported on some players and devices. Use for bit rates less than 48 kbps.</p> </li> </ul> <p>All outputs in a <code>Smooth</code> playlist must have the same value for <code>Profile</code>.</p> <note> <p>If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.</p> </note>"
407        },
408        "BitDepth":{
409          "shape":"AudioBitDepth",
410          "documentation":"<p>You can only choose an audio bit depth when you specify <code>flac</code> or <code>pcm</code> for the value of Audio:Codec.</p> <p>The bit depth of a sample is how many bits of information are included in the audio samples. The higher the bit depth, the better the audio, but the larger the file.</p> <p>Valid values are <code>16</code> and <code>24</code>.</p> <p>The most common bit depth is <code>24</code>.</p>"
411        },
412        "BitOrder":{
413          "shape":"AudioBitOrder",
414          "documentation":"<p>You can only choose an audio bit order when you specify <code>pcm</code> for the value of Audio:Codec.</p> <p>The order the bits of a PCM sample are stored in.</p> <p>The supported value is <code>LittleEndian</code>.</p>"
415        },
416        "Signed":{
417          "shape":"AudioSigned",
418          "documentation":"<p>You can only choose whether an audio sample is signed when you specify <code>pcm</code> for the value of Audio:Codec.</p> <p>Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned).</p> <p>The supported value is <code>Signed</code>.</p>"
419        }
420      },
421      "documentation":"<p>Options associated with your audio codec.</p>"
422    },
423    "AudioCodecProfile":{
424      "type":"string",
425      "pattern":"(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)"
426    },
427    "AudioPackingMode":{
428      "type":"string",
429      "pattern":"(^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$)"
430    },
431    "AudioParameters":{
432      "type":"structure",
433      "members":{
434        "Codec":{
435          "shape":"AudioCodec",
436          "documentation":"<p>The audio codec for the output file. Valid values include <code>aac</code>, <code>flac</code>, <code>mp2</code>, <code>mp3</code>, <code>pcm</code>, and <code>vorbis</code>.</p>"
437        },
438        "SampleRate":{
439          "shape":"AudioSampleRate",
440          "documentation":"<p>The sample rate of the audio stream in the output file, in Hertz. Valid values include:</p> <p> <code>auto</code>, <code>22050</code>, <code>32000</code>, <code>44100</code>, <code>48000</code>, <code>96000</code> </p> <p>If you specify <code>auto</code>, Elastic Transcoder automatically detects the sample rate.</p>"
441        },
442        "BitRate":{
443          "shape":"AudioBitRate",
444          "documentation":"<p>The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.</p>"
445        },
446        "Channels":{
447          "shape":"AudioChannels",
448          "documentation":"<p>The number of audio channels in the output file. The following values are valid:</p> <p> <code>auto</code>, <code>0</code>, <code>1</code>, <code>2</code> </p> <p>One channel carries the information played by a single speaker. For example, a stereo track with two channels sends one channel to the left speaker, and the other channel to the right speaker. The output channels are organized into tracks. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select <code>auto</code>.</p> <p>The output of a specific channel value and inputs are as follows:</p> <ul> <li> <p> <code>auto</code> <b> channel specified, with any input:</b> Pass through up to eight input channels.</p> </li> <li> <p> <code>0</code> <b> channels specified, with any input:</b> Audio omitted from the output.</p> </li> <li> <p> <code>1</code> <b> channel specified, with at least one input channel:</b> Mono sound.</p> </li> <li> <p> <code>2</code> <b> channels specified, with any input:</b> Two identical mono channels or stereo. For more information about tracks, see <code>Audio:AudioPackingMode.</code> </p> </li> </ul> <p> For more information about how Elastic Transcoder organizes channels and tracks, see <code>Audio:AudioPackingMode</code>.</p>"
449        },
450        "AudioPackingMode":{
451          "shape":"AudioPackingMode",
452          "documentation":"<p>The method of organizing audio channels and tracks. Use <code>Audio:Channels</code> to specify the number of channels in your output, and <code>Audio:AudioPackingMode</code> to specify the number of tracks and their relation to the channels. If you do not specify an <code>Audio:AudioPackingMode</code>, Elastic Transcoder uses <code>SingleTrack</code>.</p> <p>The following values are valid:</p> <p> <code>SingleTrack</code>, <code>OneChannelPerTrack</code>, and <code>OneChannelPerTrackWithMosTo8Tracks</code> </p> <p>When you specify <code>SingleTrack</code>, Elastic Transcoder creates a single track for your output. The track can have up to eight channels. Use <code>SingleTrack</code> for all non-<code>mxf</code> containers.</p> <p>The outputs of <code>SingleTrack</code> for a specific channel value and inputs are as follows:</p> <ul> <li> <p> <code>0</code> <b> channels with any input:</b> Audio omitted from the output</p> </li> <li> <p> <code>1, 2, or auto </code> <b>channels with no audio input:</b> Audio omitted from the output</p> </li> <li> <p> <code>1 </code> <b>channel with any input with audio:</b> One track with one channel, downmixed if necessary</p> </li> <li> <p> <code>2 </code> <b>channels with one track with one channel:</b> One track with two identical channels</p> </li> <li> <p> <code>2 or auto </code> <b>channels with two tracks with one channel each:</b> One track with two channels</p> </li> <li> <p> <code>2 or auto </code> <b>channels with one track with two channels:</b> One track with two channels</p> </li> <li> <p> <code>2 </code> <b>channels with one track with multiple channels:</b> One track with two channels</p> </li> <li> <p> <code>auto </code> <b>channels with one track with one channel:</b> One track with one channel</p> </li> <li> <p> <code>auto </code> <b>channels with one track with multiple channels:</b> One track with multiple channels</p> </li> </ul> <p>When you specify <code>OneChannelPerTrack</code>, Elastic Transcoder creates a new track for every channel in your output. Your output can have up to eight single-channel tracks.</p> <p>The outputs of <code>OneChannelPerTrack</code> for a specific channel value and inputs are as follows:</p> <ul> <li> <p> <code>0 </code> <b>channels with any input:</b> Audio omitted from the output</p> </li> <li> <p> <code>1, 2, or auto </code> <b>channels with no audio input:</b> Audio omitted from the output</p> </li> <li> <p> <code>1 </code> <b>channel with any input with audio:</b> One track with one channel, downmixed if necessary</p> </li> <li> <p> <code>2 </code> <b>channels with one track with one channel:</b> Two tracks with one identical channel each</p> </li> <li> <p> <code>2 or auto </code> <b>channels with two tracks with one channel each:</b> Two tracks with one channel each</p> </li> <li> <p> <code>2 or auto </code> <b>channels with one track with two channels:</b> Two tracks with one channel each</p> </li> <li> <p> <code>2 </code> <b>channels with one track with multiple channels:</b> Two tracks with one channel each</p> </li> <li> <p> <code>auto </code> <b>channels with one track with one channel:</b> One track with one channel</p> </li> <li> <p> <code>auto </code> <b>channels with one track with multiple channels:</b> Up to eight tracks with one channel each</p> </li> </ul> <p>When you specify <code>OneChannelPerTrackWithMosTo8Tracks</code>, Elastic Transcoder creates eight single-channel tracks for your output. All tracks that do not contain audio data from an input channel are MOS, or Mit Out Sound, tracks.</p> <p>The outputs of <code>OneChannelPerTrackWithMosTo8Tracks</code> for a specific channel value and inputs are as follows:</p> <ul> <li> <p> <code>0 </code> <b>channels with any input:</b> Audio omitted from the output</p> </li> <li> <p> <code>1, 2, or auto </code> <b>channels with no audio input:</b> Audio omitted from the output</p> </li> <li> <p> <code>1 </code> <b>channel with any input with audio:</b> One track with one channel, downmixed if necessary, plus six MOS tracks</p> </li> <li> <p> <code>2 </code> <b>channels with one track with one channel:</b> Two tracks with one identical channel each, plus six MOS tracks</p> </li> <li> <p> <code>2 or auto </code> <b>channels with two tracks with one channel each:</b> Two tracks with one channel each, plus six MOS tracks</p> </li> <li> <p> <code>2 or auto </code> <b>channels with one track with two channels:</b> Two tracks with one channel each, plus six MOS tracks</p> </li> <li> <p> <code>2 </code> <b>channels with one track with multiple channels:</b> Two tracks with one channel each, plus six MOS tracks</p> </li> <li> <p> <code>auto </code> <b>channels with one track with one channel:</b> One track with one channel, plus seven MOS tracks</p> </li> <li> <p> <code>auto </code> <b>channels with one track with multiple channels:</b> Up to eight tracks with one channel each, plus MOS tracks until there are eight tracks in all</p> </li> </ul>"
453        },
454        "CodecOptions":{
455          "shape":"AudioCodecOptions",
456          "documentation":"<p>If you specified <code>AAC</code> for <code>Audio:Codec</code>, this is the <code>AAC</code> compression profile to use. Valid values include:</p> <p> <code>auto</code>, <code>AAC-LC</code>, <code>HE-AAC</code>, <code>HE-AACv2</code> </p> <p>If you specify <code>auto</code>, Elastic Transcoder chooses a profile based on the bit rate of the output file.</p>"
457        }
458      },
459      "documentation":"<p>Parameters required for transcoding audio.</p>"
460    },
461    "AudioSampleRate":{
462      "type":"string",
463      "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$)"
464    },
465    "AudioSigned":{
466      "type":"string",
467      "pattern":"(^Unsigned$)|(^Signed$)"
468    },
469    "Base64EncodedString":{
470      "type":"string",
471      "pattern":"^$|(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)"
472    },
473    "BucketName":{
474      "type":"string",
475      "pattern":"^(\\w|\\.|-){1,255}$"
476    },
477    "CancelJobRequest":{
478      "type":"structure",
479      "required":["Id"],
480      "members":{
481        "Id":{
482          "shape":"Id",
483          "documentation":"<p>The identifier of the job that you want to cancel.</p> <p>To get a list of the jobs (including their <code>jobId</code>) that have a status of <code>Submitted</code>, use the <a>ListJobsByStatus</a> API action.</p>",
484          "location":"uri",
485          "locationName":"Id"
486        }
487      },
488      "documentation":"<p>The <code>CancelJobRequest</code> structure.</p>"
489    },
490    "CancelJobResponse":{
491      "type":"structure",
492      "members":{
493      },
494      "documentation":"<p>The response body contains a JSON object. If the job is successfully canceled, the value of <code>Success</code> is <code>true</code>.</p>"
495    },
496    "CaptionFormat":{
497      "type":"structure",
498      "members":{
499        "Format":{
500          "shape":"CaptionFormatFormat",
501          "documentation":"<p>The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.</p> <ul> <li> <p> <b>Valid Embedded Caption Formats:</b> </p> <ul> <li> <p> <b>for FLAC</b>: None</p> </li> <li> <p> <b>For MP3</b>: None</p> </li> <li> <p> <b>For MP4</b>: mov-text</p> </li> <li> <p> <b>For MPEG-TS</b>: None</p> </li> <li> <p> <b>For ogg</b>: None</p> </li> <li> <p> <b>For webm</b>: None</p> </li> </ul> </li> <li> <p> <b>Valid Sidecar Caption Formats:</b> Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.</p> <ul> <li> <p> <b>For FMP4</b>: dfxp</p> </li> <li> <p> <b>Non-FMP4 outputs</b>: All sidecar types</p> </li> </ul> <p> <code>fmp4</code> captions have an extension of <code>.ismt</code> </p> </li> </ul>"
502        },
503        "Pattern":{
504          "shape":"CaptionFormatPattern",
505          "documentation":"<p>The prefix for caption filenames, in the form <i>description</i>-<code>{language}</code>, where:</p> <ul> <li> <p> <i>description</i> is a description of the video.</p> </li> <li> <p> <code>{language}</code> is a literal value that Elastic Transcoder replaces with the two- or three-letter code for the language of the caption in the output file names.</p> </li> </ul> <p>If you don't include <code>{language}</code> in the file name pattern, Elastic Transcoder automatically appends \"<code>{language}</code>\" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.</p> <p>For example, suppose you're transcoding into srt format. When you enter \"Sydney-{language}-sunrise\", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt.</p>"
506        },
507        "Encryption":{
508          "shape":"Encryption",
509          "documentation":"<p>The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats.</p>"
510        }
511      },
512      "documentation":"<p>The file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error.</p>"
513    },
514    "CaptionFormatFormat":{
515      "type":"string",
516      "pattern":"(^mov-text$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)|(^cea-708$)"
517    },
518    "CaptionFormatPattern":{
519      "type":"string",
520      "pattern":"(^$)|(^.*\\{language\\}.*$)"
521    },
522    "CaptionFormats":{
523      "type":"list",
524      "member":{"shape":"CaptionFormat"},
525      "max":4
526    },
527    "CaptionMergePolicy":{
528      "type":"string",
529      "pattern":"(^MergeOverride$)|(^MergeRetain$)|(^Override$)"
530    },
531    "CaptionSource":{
532      "type":"structure",
533      "members":{
534        "Key":{
535          "shape":"LongKey",
536          "documentation":"<p>The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.</p>"
537        },
538        "Language":{
539          "shape":"Key",
540          "documentation":"<p>A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:</p> <ul> <li> <p>2-character ISO 639-1 code</p> </li> <li> <p>3-character ISO 639-2 code</p> </li> </ul> <p>For more information on ISO language codes and language names, see the List of ISO 639-1 codes.</p>"
541        },
542        "TimeOffset":{
543          "shape":"TimeOffset",
544          "documentation":"<p>For clip generation or captions that do not start at the same time as the associated video file, the <code>TimeOffset</code> tells Elastic Transcoder how much of the video to encode before including captions.</p> <p>Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.</p>"
545        },
546        "Label":{
547          "shape":"Name",
548          "documentation":"<p>The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.</p>"
549        },
550        "Encryption":{
551          "shape":"Encryption",
552          "documentation":"<p>The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.</p>"
553        }
554      },
555      "documentation":"<p>A source file for the input sidecar captions used during the transcoding process.</p>"
556    },
557    "CaptionSources":{
558      "type":"list",
559      "member":{"shape":"CaptionSource"},
560      "max":20
561    },
562    "Captions":{
563      "type":"structure",
564      "members":{
565        "MergePolicy":{
566          "shape":"CaptionMergePolicy",
567          "documentation":"<p>A policy that determines how Elastic Transcoder handles the existence of multiple captions.</p> <ul> <li> <p> <b>MergeOverride:</b> Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.</p> </li> <li> <p> <b>MergeRetain:</b> Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If <code>CaptionSources</code> is empty, Elastic Transcoder omits all sidecar captions from the output files.</p> </li> <li> <p> <b>Override:</b> Elastic Transcoder transcodes only the sidecar captions that you specify in <code>CaptionSources</code>.</p> </li> </ul> <p> <code>MergePolicy</code> cannot be null.</p>",
568          "deprecated":true
569        },
570        "CaptionSources":{
571          "shape":"CaptionSources",
572          "documentation":"<p>Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave <code>CaptionSources</code> blank.</p>",
573          "deprecated":true
574        },
575        "CaptionFormats":{
576          "shape":"CaptionFormats",
577          "documentation":"<p>The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.</p>"
578        }
579      },
580      "documentation":"<p>The captions to be created, if any.</p>"
581    },
582    "Clip":{
583      "type":"structure",
584      "members":{
585        "TimeSpan":{
586          "shape":"TimeSpan",
587          "documentation":"<p>Settings that determine when a clip begins and how long it lasts.</p>"
588        }
589      },
590      "documentation":"<p>Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.</p>",
591      "deprecated":true
592    },
593    "CodecOption":{
594      "type":"string",
595      "max":255,
596      "min":1
597    },
598    "CodecOptions":{
599      "type":"map",
600      "key":{"shape":"CodecOption"},
601      "value":{"shape":"CodecOption"},
602      "max":30
603    },
604    "Composition":{
605      "type":"list",
606      "member":{"shape":"Clip"},
607      "deprecated":true
608    },
609    "CreateJobOutput":{
610      "type":"structure",
611      "members":{
612        "Key":{
613          "shape":"Key",
614          "documentation":"<p> The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the <code>OutputBucket</code> object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails. </p>"
615        },
616        "ThumbnailPattern":{
617          "shape":"ThumbnailPattern",
618          "documentation":"<p>Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.</p> <p>If you don't want Elastic Transcoder to create thumbnails, specify \"\".</p> <p>If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:</p> <ul> <li> <p> <b> <code>{count}</code> (Required)</b>: If you want to create thumbnails, you must include <code>{count}</code> in the <code>ThumbnailPattern</code> object. Wherever you specify <code>{count}</code>, Elastic Transcoder adds a five-digit sequence number (beginning with <b>00001</b>) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. </p> <important> <p>If you specify a literal value and/or <code>{resolution}</code> but you omit <code>{count}</code>, Elastic Transcoder returns a validation error and does not create the job.</p> </important> </li> <li> <p> <b>Literal values (Optional)</b>: You can specify literal values anywhere in the <code>ThumbnailPattern</code> object. For example, you can include them as a file name prefix or as a delimiter between <code>{resolution}</code> and <code>{count}</code>. </p> </li> <li> <p> <b> <code>{resolution}</code> (Optional)</b>: If you want Elastic Transcoder to include the resolution in the file name, include <code>{resolution}</code> in the <code>ThumbnailPattern</code> object. </p> </li> </ul> <p>When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the <code>PresetID</code> value of <code>CreateJobOutput</code>. Elastic Transcoder also appends the applicable file name extension.</p>"
619        },
620        "ThumbnailEncryption":{
621          "shape":"Encryption",
622          "documentation":"<p>The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.</p>"
623        },
624        "Rotate":{
625          "shape":"Rotate",
626          "documentation":"<p> The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: <code>auto</code>, <code>0</code>, <code>90</code>, <code>180</code>, <code>270</code>. The value <code>auto</code> generally works only if the file that you're transcoding contains rotation metadata. </p>"
627        },
628        "PresetId":{
629          "shape":"Id",
630          "documentation":"<p> The <code>Id</code> of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. </p>"
631        },
632        "SegmentDuration":{
633          "shape":"FloatString",
634          "documentation":"<important> <p>(Outputs in Fragmented MP4 or MPEG-TS format only.</p> </important> <p>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is <code>fmp4</code> (Fragmented MP4) or <code>ts</code> (MPEG-TS), <code>SegmentDuration</code> is the target maximum duration of each segment in seconds. For <code>HLSv3</code> format playlists, each media segment is stored in a separate <code>.ts</code> file. For <code>HLSv4</code> and <code>Smooth</code> playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the <code>SegmentDuration</code>, though individual segments might be shorter or longer.</p> <p>The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by <code>SegmentDuration</code>, the duration of the last segment is the remainder of total length/SegmentDuration.</p> <p>Elastic Transcoder creates an output-specific playlist for each output <code>HLS</code> output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the <code>OutputKeys</code> of the associated playlist.</p>"
635        },
636        "Watermarks":{
637          "shape":"JobWatermarks",
638          "documentation":"<p>Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.</p>"
639        },
640        "AlbumArt":{
641          "shape":"JobAlbumArt",
642          "documentation":"<p>Information about the album art that you want Elastic Transcoder to add to the file during transcoding. You can specify up to twenty album artworks for each output. Settings for each artwork must be defined in the job for the current output.</p>"
643        },
644        "Composition":{
645          "shape":"Composition",
646          "documentation":"<p>You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.</p>",
647          "deprecated":true
648        },
649        "Captions":{
650          "shape":"Captions",
651          "documentation":"<p>You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:</p> <ul> <li> <p> <b>Embedded:</b> Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.</p> <p>Valid input values include: <code>CEA-608 (EIA-608</code>, first non-empty channel only), <code>CEA-708 (EIA-708</code>, first non-empty channel only), and <code>mov-text</code> </p> <p>Valid outputs include: <code>mov-text</code> </p> <p>Elastic Transcoder supports a maximum of one embedded format per output.</p> </li> <li> <p> <b>Sidecar:</b> Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.</p> <p>Valid input values include: <code>dfxp</code> (first div element only), <code>ebu-tt</code>, <code>scc</code>, <code>smpt</code>, <code>srt</code>, <code>ttml</code> (first div element only), and <code>webvtt</code> </p> <p>Valid outputs include: <code>dfxp</code> (first div element only), <code>scc</code>, <code>srt</code>, and <code>webvtt</code>.</p> </li> </ul> <p>If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.</p> <p>Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.</p> <p>To remove captions or leave the captions empty, set <code>Captions</code> to null. To pass through existing captions unchanged, set the <code>MergePolicy</code> to <code>MergeRetain</code>, and pass in a null <code>CaptionSources</code> array.</p> <p>For more information on embedded files, see the Subtitles Wikipedia page.</p> <p>For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.</p>"
652        },
653        "Encryption":{
654          "shape":"Encryption",
655          "documentation":"<p>You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually.</p>"
656        }
657      },
658      "documentation":"<p>The <code>CreateJobOutput</code> structure.</p>"
659    },
660    "CreateJobOutputs":{
661      "type":"list",
662      "member":{"shape":"CreateJobOutput"},
663      "max":30
664    },
665    "CreateJobPlaylist":{
666      "type":"structure",
667      "members":{
668        "Name":{
669          "shape":"Filename",
670          "documentation":"<p>The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a <code>/</code> character, the section of the name before the last <code>/</code> must be identical for all <code>Name</code> objects. If you create more than one master playlist, the values of all <code>Name</code> objects must be unique.</p> <note> <p> Elastic Transcoder automatically appends the relevant file extension to the file name (<code>.m3u8</code> for <code>HLSv3</code> and <code>HLSv4</code> playlists, and <code>.ism</code> and <code>.ismc</code> for <code>Smooth</code> playlists). If you include a file extension in <code>Name</code>, the file name will have two extensions.</p> </note>"
671        },
672        "Format":{
673          "shape":"PlaylistFormat",
674          "documentation":"<p>The format of the output playlist. Valid formats include <code>HLSv3</code>, <code>HLSv4</code>, and <code>Smooth</code>.</p>"
675        },
676        "OutputKeys":{
677          "shape":"OutputKeys",
678          "documentation":"<p>For each output in this job that you want to include in a master playlist, the value of the <code>Outputs:Key</code> object. </p> <ul> <li> <p>If your output is not <code>HLS</code> or does not have a segment duration set, the name of the output file is a concatenation of <code>OutputKeyPrefix</code> and <code>Outputs:Key</code>:</p> <p>OutputKeyPrefix<code>Outputs:Key</code> </p> </li> <li> <p>If your output is <code>HLSv3</code> and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of <code>.m3u8</code>, and a series of <code>.ts</code> files that include a five-digit sequential counter beginning with 00000:</p> <p>OutputKeyPrefix<code>Outputs:Key</code>.m3u8</p> <p>OutputKeyPrefix<code>Outputs:Key</code>00000.ts</p> </li> <li> <p>If your output is <code>HLSv4</code>, has a segment duration set, and is included in an <code>HLSv4</code> playlist, Elastic Transcoder creates an output playlist file with a file extension of <code>_v4.m3u8</code>. If the output is video, Elastic Transcoder also creates an output file with an extension of <code>_iframe.m3u8</code>:</p> <p>OutputKeyPrefix<code>Outputs:Key</code>_v4.m3u8</p> <p>OutputKeyPrefix<code>Outputs:Key</code>_iframe.m3u8</p> <p>OutputKeyPrefix<code>Outputs:Key</code>.ts</p> </li> </ul> <p>Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.</p> <p>If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For <code>Smooth</code> playlists, the <code>Audio:Profile</code>, <code>Video:Profile</code>, and <code>Video:FrameRate</code> to <code>Video:KeyframesMaxDist</code> ratio must be the same for all outputs.</p>"
679        },
680        "HlsContentProtection":{
681          "shape":"HlsContentProtection",
682          "documentation":"<p>The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.</p>"
683        },
684        "PlayReadyDrm":{
685          "shape":"PlayReadyDrm",
686          "documentation":"<p>The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.</p>"
687        }
688      },
689      "documentation":"<p>Information about the master playlist.</p>"
690    },
691    "CreateJobPlaylists":{
692      "type":"list",
693      "member":{"shape":"CreateJobPlaylist"},
694      "max":30
695    },
696    "CreateJobRequest":{
697      "type":"structure",
698      "required":["PipelineId"],
699      "members":{
700        "PipelineId":{
701          "shape":"Id",
702          "documentation":"<p>The <code>Id</code> of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.</p>"
703        },
704        "Input":{
705          "shape":"JobInput",
706          "documentation":"<p>A section of the request body that provides information about the file that is being transcoded.</p>"
707        },
708        "Inputs":{
709          "shape":"JobInputs",
710          "documentation":"<p>A section of the request body that provides information about the files that are being transcoded.</p>"
711        },
712        "Output":{
713          "shape":"CreateJobOutput",
714          "documentation":"<p> A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the <code>Outputs</code> syntax instead of the <code>Output</code> syntax. </p>"
715        },
716        "Outputs":{
717          "shape":"CreateJobOutputs",
718          "documentation":"<p> A section of the request body that provides information about the transcoded (target) files. We recommend that you use the <code>Outputs</code> syntax instead of the <code>Output</code> syntax. </p>"
719        },
720        "OutputKeyPrefix":{
721          "shape":"Key",
722          "documentation":"<p>The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.</p>"
723        },
724        "Playlists":{
725          "shape":"CreateJobPlaylists",
726          "documentation":"<p>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.</p> <p>The maximum number of master playlists in a job is 30.</p>"
727        },
728        "UserMetadata":{
729          "shape":"UserMetadata",
730          "documentation":"<p>User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in <code>key/value</code> pairs, and you can add up to 10 <code>key/value</code> pairs per job. Elastic Transcoder does not guarantee that <code>key/value</code> pairs are returned in the same order in which you specify them.</p>"
731        }
732      },
733      "documentation":"<p>The <code>CreateJobRequest</code> structure.</p>"
734    },
735    "CreateJobResponse":{
736      "type":"structure",
737      "members":{
738        "Job":{
739          "shape":"Job",
740          "documentation":"<p>A section of the response body that provides information about the job that is created.</p>"
741        }
742      },
743      "documentation":"<p>The CreateJobResponse structure.</p>"
744    },
745    "CreatePipelineRequest":{
746      "type":"structure",
747      "required":[
748        "Name",
749        "InputBucket",
750        "Role"
751      ],
752      "members":{
753        "Name":{
754          "shape":"Name",
755          "documentation":"<p>The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 characters.</p>"
756        },
757        "InputBucket":{
758          "shape":"BucketName",
759          "documentation":"<p>The Amazon S3 bucket in which you saved the media files that you want to transcode.</p>"
760        },
761        "OutputBucket":{
762          "shape":"BucketName",
763          "documentation":"<p>The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.)</p> <p>Specify this value when all of the following are true:</p> <ul> <li> <p>You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.</p> </li> <li> <p>You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.</p> </li> <li> <p>You do not want to specify the permissions that Elastic Transcoder grants to the files. </p> <important> <p>When Elastic Transcoder saves files in <code>OutputBucket</code>, it grants full control over the files only to the AWS account that owns the role that is specified by <code>Role</code>.</p> </important> </li> <li> <p>You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.</p> </li> </ul> <p>If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit <code>OutputBucket</code> and specify values for <code>ContentConfig</code> and <code>ThumbnailConfig</code> instead.</p>"
764        },
765        "Role":{
766          "shape":"Role",
767          "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.</p>"
768        },
769        "AwsKmsKeyArn":{
770          "shape":"KeyArn",
771          "documentation":"<p>The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.</p> <p>If you use either <code>s3</code> or <code>s3-aws-kms</code> as your <code>Encryption:Mode</code>, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of <code>aes-cbc-pkcs7</code>, <code>aes-ctr</code>, or <code>aes-gcm</code>.</p>"
772        },
773        "Notifications":{
774          "shape":"Notifications",
775          "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.</p> <important> <p>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.</p> </li> <li> <p> <b>Complete</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> </ul>"
776        },
777        "ContentConfig":{
778          "shape":"PipelineOutputConfig",
779          "documentation":"<p>The optional <code>ContentConfig</code> object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.</p> <p>If you specify values for <code>ContentConfig</code>, you must also specify values for <code>ThumbnailConfig</code>.</p> <p>If you specify values for <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee Type</b>: Specify the type of value that appears in the <code>Grantee</code> object: </p> <ul> <li> <p> <b>Canonical</b>: The value in the <code>Grantee</code> object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the <code>Grantee</code> object is one of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> <p> <b>Access</b>: The permission that you want to give to the AWS user that you specified in <code>Grantee</code>. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> </ul>"
780        },
781        "ThumbnailConfig":{
782          "shape":"PipelineOutputConfig",
783          "documentation":"<p>The <code>ThumbnailConfig</code> object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.</p> <p>If you specify values for <code>ContentConfig</code>, you must also specify values for <code>ThumbnailConfig</code> even if you don't want to create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> (Optional): The <code>Permissions</code> object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>GranteeType</b>: Specify the type of value that appears in the Grantee object: </p> <ul> <li> <p> <b>Canonical</b>: The value in the <code>Grantee</code> object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.</p> <important> <p>A canonical user ID is not the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account. </p> </li> <li> <p> <b>Group</b>: The value in the <code>Grantee</code> object is one of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want to give to the AWS user that you specified in <code>Grantee</code>. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul>"
784        }
785      },
786      "documentation":"<p>The <code>CreatePipelineRequest</code> structure.</p>"
787    },
788    "CreatePipelineResponse":{
789      "type":"structure",
790      "members":{
791        "Pipeline":{
792          "shape":"Pipeline",
793          "documentation":"<p>A section of the response body that provides information about the pipeline that is created.</p>"
794        },
795        "Warnings":{
796          "shape":"Warnings",
797          "documentation":"<p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p> <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>"
798        }
799      },
800      "documentation":"<p>When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>"
801    },
802    "CreatePresetRequest":{
803      "type":"structure",
804      "required":[
805        "Name",
806        "Container"
807      ],
808      "members":{
809        "Name":{
810          "shape":"Name",
811          "documentation":"<p>The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.</p>"
812        },
813        "Description":{
814          "shape":"Description",
815          "documentation":"<p>A description of the preset.</p>"
816        },
817        "Container":{
818          "shape":"PresetContainer",
819          "documentation":"<p>The container type for the output file. Valid values include <code>flac</code>, <code>flv</code>, <code>fmp4</code>, <code>gif</code>, <code>mp3</code>, <code>mp4</code>, <code>mpg</code>, <code>mxf</code>, <code>oga</code>, <code>ogg</code>, <code>ts</code>, and <code>webm</code>.</p>"
820        },
821        "Video":{
822          "shape":"VideoParameters",
823          "documentation":"<p>A section of the request body that specifies the video parameters.</p>"
824        },
825        "Audio":{
826          "shape":"AudioParameters",
827          "documentation":"<p>A section of the request body that specifies the audio parameters.</p>"
828        },
829        "Thumbnails":{
830          "shape":"Thumbnails",
831          "documentation":"<p>A section of the request body that specifies the thumbnail parameters, if any.</p>"
832        }
833      },
834      "documentation":"<p>The <code>CreatePresetRequest</code> structure.</p>"
835    },
836    "CreatePresetResponse":{
837      "type":"structure",
838      "members":{
839        "Preset":{
840          "shape":"Preset",
841          "documentation":"<p>A section of the response body that provides information about the preset that is created.</p>"
842        },
843        "Warning":{
844          "shape":"String",
845          "documentation":"<p>If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.</p>"
846        }
847      },
848      "documentation":"<p>The <code>CreatePresetResponse</code> structure.</p>"
849    },
850    "DeletePipelineRequest":{
851      "type":"structure",
852      "required":["Id"],
853      "members":{
854        "Id":{
855          "shape":"Id",
856          "documentation":"<p>The identifier of the pipeline that you want to delete.</p>",
857          "location":"uri",
858          "locationName":"Id"
859        }
860      },
861      "documentation":"<p>The <code>DeletePipelineRequest</code> structure.</p>"
862    },
863    "DeletePipelineResponse":{
864      "type":"structure",
865      "members":{
866      },
867      "documentation":"<p>The <code>DeletePipelineResponse</code> structure.</p>"
868    },
869    "DeletePresetRequest":{
870      "type":"structure",
871      "required":["Id"],
872      "members":{
873        "Id":{
874          "shape":"Id",
875          "documentation":"<p>The identifier of the preset for which you want to get detailed information.</p>",
876          "location":"uri",
877          "locationName":"Id"
878        }
879      },
880      "documentation":"<p>The <code>DeletePresetRequest</code> structure.</p>"
881    },
882    "DeletePresetResponse":{
883      "type":"structure",
884      "members":{
885      },
886      "documentation":"<p>The <code>DeletePresetResponse</code> structure.</p>"
887    },
888    "Description":{
889      "type":"string",
890      "max":255,
891      "min":0
892    },
893    "DetectedProperties":{
894      "type":"structure",
895      "members":{
896        "Width":{
897          "shape":"NullableInteger",
898          "documentation":"<p>The detected width of the input file, in pixels.</p>"
899        },
900        "Height":{
901          "shape":"NullableInteger",
902          "documentation":"<p>The detected height of the input file, in pixels.</p>"
903        },
904        "FrameRate":{
905          "shape":"FloatString",
906          "documentation":"<p>The detected frame rate of the input file, in frames per second.</p>"
907        },
908        "FileSize":{
909          "shape":"NullableLong",
910          "documentation":"<p>The detected file size of the input file, in bytes.</p>"
911        },
912        "DurationMillis":{
913          "shape":"NullableLong",
914          "documentation":"<p>The detected duration of the input file, in milliseconds.</p>"
915        }
916      },
917      "documentation":"<p>The detected properties of the input file. Elastic Transcoder identifies these values from the input file.</p>"
918    },
919    "Digits":{
920      "type":"string",
921      "pattern":"^\\d{1,5}$"
922    },
923    "DigitsOrAuto":{
924      "type":"string",
925      "pattern":"(^auto$)|(^\\d{2,4}$)"
926    },
927    "Encryption":{
928      "type":"structure",
929      "members":{
930        "Mode":{
931          "shape":"EncryptionMode",
932          "documentation":"<p>The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:</p> <ul> <li> <p> <b>s3:</b> Amazon S3 creates and manages the keys used for encrypting your files.</p> </li> <li> <p> <b>s3-aws-kms:</b> Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify <code>s3-aws-kms</code> and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline.</p> </li> <li> <p> <b>aes-cbc-pkcs7:</b> A padded cipher-block mode of operation originally used for HLS files.</p> </li> <li> <p> <b>aes-ctr:</b> AES Counter Mode.</p> </li> <li> <p> <b>aes-gcm:</b> AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with fails the decryption process.</p> </li> </ul> <p>For all three AES options, you must provide the following settings, which must be base64-encoded:</p> <ul> <li> <p> <b>Key</b> </p> </li> <li> <p> <b>Key MD5</b> </p> </li> <li> <p> <b>Initialization Vector</b> </p> </li> </ul> <important> <p>For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.</p> </important>"
933        },
934        "Key":{
935          "shape":"Base64EncodedString",
936          "documentation":"<p>The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:</p> <p> <code>128</code>, <code>192</code>, or <code>256</code>. </p> <p>The key must also be encrypted by using the Amazon Key Management Service.</p>"
937        },
938        "KeyMd5":{
939          "shape":"Base64EncodedString",
940          "documentation":"<p>The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.</p>"
941        },
942        "InitializationVector":{
943          "shape":"ZeroTo255String",
944          "documentation":"<p>The series of random bits created by a random bit generator, unique for every encryption operation, that you used to encrypt your input files or that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.</p>"
945        }
946      },
947      "documentation":"<p>The encryption settings, if any, that are used for decrypting your input files or encrypting your output files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file, otherwise you must specify the mode you want Elastic Transcoder to use to encrypt your output files.</p>"
948    },
949    "EncryptionMode":{
950      "type":"string",
951      "pattern":"(^s3$)|(^s3-aws-kms$)|(^aes-cbc-pkcs7$)|(^aes-ctr$)|(^aes-gcm$)"
952    },
953    "ExceptionMessages":{
954      "type":"list",
955      "member":{"shape":"String"}
956    },
957    "Filename":{
958      "type":"string",
959      "max":255,
960      "min":1
961    },
962    "FixedGOP":{
963      "type":"string",
964      "pattern":"(^true$)|(^false$)"
965    },
966    "FloatString":{
967      "type":"string",
968      "pattern":"^\\d{1,5}(\\.\\d{0,5})?$"
969    },
970    "FrameRate":{
971      "type":"string",
972      "pattern":"(^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
973    },
974    "Grantee":{
975      "type":"string",
976      "max":255,
977      "min":1
978    },
979    "GranteeType":{
980      "type":"string",
981      "pattern":"(^Canonical$)|(^Email$)|(^Group$)"
982    },
983    "HlsContentProtection":{
984      "type":"structure",
985      "members":{
986        "Method":{
987          "shape":"HlsContentProtectionMethod",
988          "documentation":"<p>The content protection method for your output. The only valid value is: <code>aes-128</code>.</p> <p>This value is written into the method attribute of the <code>EXT-X-KEY</code> metadata tag in the output playlist.</p>"
989        },
990        "Key":{
991          "shape":"Base64EncodedString",
992          "documentation":"<p>If you want Elastic Transcoder to generate a key for you, leave this field blank.</p> <p>If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:</p> <p> <code>128</code>, <code>192</code>, or <code>256</code>. </p>"
993        },
994        "KeyMd5":{
995          "shape":"Base64EncodedString",
996          "documentation":"<p>If Elastic Transcoder is generating your key for you, you must leave this field blank.</p> <p>The MD5 digest of the key that you want Elastic Transcoder to use to encrypt your output file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64- encoded.</p>"
997        },
998        "InitializationVector":{
999          "shape":"ZeroTo255String",
1000          "documentation":"<p>If Elastic Transcoder is generating your key for you, you must leave this field blank.</p> <p>The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.</p>"
1001        },
1002        "LicenseAcquisitionUrl":{
1003          "shape":"ZeroTo512String",
1004          "documentation":"<p>The location of the license key required to decrypt your HLS playlist. The URL must be an absolute path, and is referenced in the URI attribute of the EXT-X-KEY metadata tag in the playlist file.</p>"
1005        },
1006        "KeyStoragePolicy":{
1007          "shape":"KeyStoragePolicy",
1008          "documentation":"<p>Specify whether you want Elastic Transcoder to write your HLS license key to an Amazon S3 bucket. If you choose <code>WithVariantPlaylists</code>, <code>LicenseAcquisitionUrl</code> must be left blank and Elastic Transcoder writes your data key into the same bucket as the associated playlist.</p>"
1009        }
1010      },
1011      "documentation":"<p>The HLS content protection settings, if any, that you want Elastic Transcoder to apply to your output files.</p>"
1012    },
1013    "HlsContentProtectionMethod":{
1014      "type":"string",
1015      "pattern":"(^aes-128$)"
1016    },
1017    "HorizontalAlign":{
1018      "type":"string",
1019      "pattern":"(^Left$)|(^Right$)|(^Center$)"
1020    },
1021    "Id":{
1022      "type":"string",
1023      "pattern":"^\\d{13}-\\w{6}$"
1024    },
1025    "IncompatibleVersionException":{
1026      "type":"structure",
1027      "members":{
1028      },
1029      "error":{"httpStatusCode":400},
1030      "exception":true
1031    },
1032    "InputCaptions":{
1033      "type":"structure",
1034      "members":{
1035        "MergePolicy":{
1036          "shape":"CaptionMergePolicy",
1037          "documentation":"<p>A policy that determines how Elastic Transcoder handles the existence of multiple captions.</p> <ul> <li> <p> <b>MergeOverride:</b> Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.</p> </li> <li> <p> <b>MergeRetain:</b> Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If <code>CaptionSources</code> is empty, Elastic Transcoder omits all sidecar captions from the output files.</p> </li> <li> <p> <b>Override:</b> Elastic Transcoder transcodes only the sidecar captions that you specify in <code>CaptionSources</code>.</p> </li> </ul> <p> <code>MergePolicy</code> cannot be null.</p>"
1038        },
1039        "CaptionSources":{
1040          "shape":"CaptionSources",
1041          "documentation":"<p>Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave <code>CaptionSources</code> blank.</p>"
1042        }
1043      },
1044      "documentation":"<p>The captions to be created, if any.</p>"
1045    },
1046    "Interlaced":{
1047      "type":"string",
1048      "pattern":"(^auto$)|(^true$)|(^false$)"
1049    },
1050    "InternalServiceException":{
1051      "type":"structure",
1052      "members":{
1053      },
1054      "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>",
1055      "exception":true,
1056      "fault":true
1057    },
1058    "Job":{
1059      "type":"structure",
1060      "members":{
1061        "Id":{
1062          "shape":"Id",
1063          "documentation":"<p>The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.</p>"
1064        },
1065        "Arn":{
1066          "shape":"String",
1067          "documentation":"<p>The Amazon Resource Name (ARN) for the job.</p>"
1068        },
1069        "PipelineId":{
1070          "shape":"Id",
1071          "documentation":"<p> The <code>Id</code> of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files. </p>"
1072        },
1073        "Input":{
1074          "shape":"JobInput",
1075          "documentation":"<p>A section of the request or response body that provides information about the file that is being transcoded.</p>"
1076        },
1077        "Inputs":{
1078          "shape":"JobInputs",
1079          "documentation":"<p>Information about the files that you're transcoding. If you specified multiple files for this job, Elastic Transcoder stitches the files together to make one output.</p>"
1080        },
1081        "Output":{
1082          "shape":"JobOutput",
1083          "documentation":"<p>If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.</p> <important> <p>Outputs recommended instead.</p> </important> <p>A section of the request or response body that provides information about the transcoded (target) file. </p>"
1084        },
1085        "Outputs":{
1086          "shape":"JobOutputs",
1087          "documentation":"<p>Information about the output files. We recommend that you use the <code>Outputs</code> syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the <code>Outputs</code> and <code>Output</code> syntaxes in the same request. You can create a maximum of 30 outputs per job. </p> <p>If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.</p>"
1088        },
1089        "OutputKeyPrefix":{
1090          "shape":"Key",
1091          "documentation":"<p>The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the <code>OutputKeyPrefix</code>.</p>"
1092        },
1093        "Playlists":{
1094          "shape":"Playlists",
1095          "documentation":"<important> <p>Outputs in Fragmented MP4 or MPEG-TS format only.</p> </important> <p>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is fmp4 (Fragmented MP4) or ts (MPEG-TS), <code>Playlists</code> contains information about the master playlists that you want Elastic Transcoder to create.</p> <p>The maximum number of master playlists in a job is 30.</p>"
1096        },
1097        "Status":{
1098          "shape":"JobStatus",
1099          "documentation":"<p> The status of the job: <code>Submitted</code>, <code>Progressing</code>, <code>Complete</code>, <code>Canceled</code>, or <code>Error</code>. </p>"
1100        },
1101        "UserMetadata":{
1102          "shape":"UserMetadata",
1103          "documentation":"<p>User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in <code>key/value</code> pairs, and you can add up to 10 <code>key/value</code> pairs per job. Elastic Transcoder does not guarantee that <code>key/value</code> pairs are returned in the same order in which you specify them.</p> <p>Metadata <code>keys</code> and <code>values</code> must use characters from the following list:</p> <ul> <li> <p> <code>0-9</code> </p> </li> <li> <p> <code>A-Z</code> and <code>a-z</code> </p> </li> <li> <p> <code>Space</code> </p> </li> <li> <p>The following symbols: <code>_.:/=+-%@</code> </p> </li> </ul>"
1104        },
1105        "Timing":{
1106          "shape":"Timing",
1107          "documentation":"<p>Details about the timing of a job.</p>"
1108        }
1109      },
1110      "documentation":"<p>A section of the response body that provides information about the job that is created.</p>"
1111    },
1112    "JobAlbumArt":{
1113      "type":"structure",
1114      "members":{
1115        "MergePolicy":{
1116          "shape":"MergePolicy",
1117          "documentation":"<p>A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.</p> <ul> <li> <p> <code>Replace:</code> The specified album art replaces any existing album art.</p> </li> <li> <p> <code>Prepend:</code> The specified album art is placed in front of any existing album art.</p> </li> <li> <p> <code>Append:</code> The specified album art is placed after any existing album art.</p> </li> <li> <p> <code>Fallback:</code> If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.</p> </li> </ul>"
1118        },
1119        "Artwork":{
1120          "shape":"Artworks",
1121          "documentation":"<p>The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are <code>.jpg</code> and <code>.png</code> </p>"
1122        }
1123      },
1124      "documentation":"<p>The .jpg or .png file associated with an audio file.</p>"
1125    },
1126    "JobContainer":{
1127      "type":"string",
1128      "pattern":"(^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)|(^mp3$)|(^m4a$)|(^aac$)"
1129    },
1130    "JobInput":{
1131      "type":"structure",
1132      "members":{
1133        "Key":{
1134          "shape":"LongKey",
1135          "documentation":"<p> The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The <code>InputBucket</code> object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from. </p> <p>If the file name includes a prefix, such as <code>cooking/lasagna.mpg</code>, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.</p>"
1136        },
1137        "FrameRate":{
1138          "shape":"FrameRate",
1139          "documentation":"<p>The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify <code>auto</code>. If you want to specify the frame rate for the input file, enter one of the following values: </p> <p> <code>10</code>, <code>15</code>, <code>23.97</code>, <code>24</code>, <code>25</code>, <code>29.97</code>, <code>30</code>, <code>60</code> </p> <p>If you specify a value other than <code>auto</code>, Elastic Transcoder disables automatic detection of the frame rate.</p>"
1140        },
1141        "Resolution":{
1142          "shape":"Resolution",
1143          "documentation":"<p>This value must be <code>auto</code>, which causes Elastic Transcoder to automatically detect the resolution of the input file.</p>"
1144        },
1145        "AspectRatio":{
1146          "shape":"AspectRatio",
1147          "documentation":"<p> The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify <code>auto</code>. If you want to specify the aspect ratio for the output file, enter one of the following values: </p> <p> <code>1:1</code>, <code>4:3</code>, <code>3:2</code>, <code>16:9</code> </p> <p> If you specify a value other than <code>auto</code>, Elastic Transcoder disables automatic detection of the aspect ratio. </p>"
1148        },
1149        "Interlaced":{
1150          "shape":"Interlaced",
1151          "documentation":"<p>Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify <code>auto</code>. If you want to specify whether the input file is interlaced, enter one of the following values:</p> <p> <code>true</code>, <code>false</code> </p> <p>If you specify a value other than <code>auto</code>, Elastic Transcoder disables automatic detection of interlacing.</p>"
1152        },
1153        "Container":{
1154          "shape":"JobContainer",
1155          "documentation":"<p>The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify <code>auto</code>. If you want to specify the container type for the input file, enter one of the following values: </p> <p> <code>3gp</code>, <code>aac</code>, <code>asf</code>, <code>avi</code>, <code>divx</code>, <code>flv</code>, <code>m4a</code>, <code>mkv</code>, <code>mov</code>, <code>mp3</code>, <code>mp4</code>, <code>mpeg</code>, <code>mpeg-ps</code>, <code>mpeg-ts</code>, <code>mxf</code>, <code>ogg</code>, <code>vob</code>, <code>wav</code>, <code>webm</code> </p>"
1156        },
1157        "Encryption":{
1158          "shape":"Encryption",
1159          "documentation":"<p>The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file.</p>"
1160        },
1161        "TimeSpan":{
1162          "shape":"TimeSpan",
1163          "documentation":"<p>Settings for clipping an input. Each input can have different clip settings.</p>"
1164        },
1165        "InputCaptions":{
1166          "shape":"InputCaptions",
1167          "documentation":"<p>You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:</p> <ul> <li> <p> <b>Embedded:</b> Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.</p> <p>Valid input values include: <code>CEA-608 (EIA-608</code>, first non-empty channel only), <code>CEA-708 (EIA-708</code>, first non-empty channel only), and <code>mov-text</code> </p> <p>Valid outputs include: <code>mov-text</code> </p> <p>Elastic Transcoder supports a maximum of one embedded format per output.</p> </li> <li> <p> <b>Sidecar:</b> Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.</p> <p>Valid input values include: <code>dfxp</code> (first div element only), <code>ebu-tt</code>, <code>scc</code>, <code>smpt</code>, <code>srt</code>, <code>ttml</code> (first div element only), and <code>webvtt</code> </p> <p>Valid outputs include: <code>dfxp</code> (first div element only), <code>scc</code>, <code>srt</code>, and <code>webvtt</code>.</p> </li> </ul> <p>If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.</p> <p>Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.</p> <p>To remove captions or leave the captions empty, set <code>Captions</code> to null. To pass through existing captions unchanged, set the <code>MergePolicy</code> to <code>MergeRetain</code>, and pass in a null <code>CaptionSources</code> array.</p> <p>For more information on embedded files, see the Subtitles Wikipedia page.</p> <p>For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.</p>"
1168        },
1169        "DetectedProperties":{
1170          "shape":"DetectedProperties",
1171          "documentation":"<p>The detected properties of the input file.</p>"
1172        }
1173      },
1174      "documentation":"<p>Information about the file that you're transcoding.</p>"
1175    },
1176    "JobInputs":{
1177      "type":"list",
1178      "member":{"shape":"JobInput"},
1179      "max":200
1180    },
1181    "JobOutput":{
1182      "type":"structure",
1183      "members":{
1184        "Id":{
1185          "shape":"String",
1186          "documentation":"<p>A sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1.</p>"
1187        },
1188        "Key":{
1189          "shape":"Key",
1190          "documentation":"<p> The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the <code>OutputBucket</code> object in the pipeline that is specified by the pipeline ID.</p>"
1191        },
1192        "ThumbnailPattern":{
1193          "shape":"ThumbnailPattern",
1194          "documentation":"<p>Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.</p> <p>If you don't want Elastic Transcoder to create thumbnails, specify \"\".</p> <p>If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:</p> <ul> <li> <p> <b> <code>{count}</code> (Required)</b>: If you want to create thumbnails, you must include <code>{count}</code> in the <code>ThumbnailPattern</code> object. Wherever you specify <code>{count}</code>, Elastic Transcoder adds a five-digit sequence number (beginning with <b>00001</b>) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. </p> <important> <p>If you specify a literal value and/or <code>{resolution}</code> but you omit <code>{count}</code>, Elastic Transcoder returns a validation error and does not create the job.</p> </important> </li> <li> <p> <b>Literal values (Optional)</b>: You can specify literal values anywhere in the <code>ThumbnailPattern</code> object. For example, you can include them as a file name prefix or as a delimiter between <code>{resolution}</code> and <code>{count}</code>. </p> </li> <li> <p> <b> <code>{resolution}</code> (Optional)</b>: If you want Elastic Transcoder to include the resolution in the file name, include <code>{resolution}</code> in the <code>ThumbnailPattern</code> object. </p> </li> </ul> <p>When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the <code>PresetID</code> value of <code>CreateJobOutput</code>. Elastic Transcoder also appends the applicable file name extension.</p>"
1195        },
1196        "ThumbnailEncryption":{
1197          "shape":"Encryption",
1198          "documentation":"<p>The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.</p>"
1199        },
1200        "Rotate":{
1201          "shape":"Rotate",
1202          "documentation":"<p>The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:</p> <p> <code>auto</code>, <code>0</code>, <code>90</code>, <code>180</code>, <code>270</code> </p> <p> The value <code>auto</code> generally works only if the file that you're transcoding contains rotation metadata.</p>"
1203        },
1204        "PresetId":{
1205          "shape":"Id",
1206          "documentation":"<p>The value of the <code>Id</code> object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with <code>ListPresets</code>.</p>"
1207        },
1208        "SegmentDuration":{
1209          "shape":"FloatString",
1210          "documentation":"<important> <p>(Outputs in Fragmented MP4 or MPEG-TS format only.</p> </important> <p>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is <code>fmp4</code> (Fragmented MP4) or <code>ts</code> (MPEG-TS), <code>SegmentDuration</code> is the target maximum duration of each segment in seconds. For <code>HLSv3</code> format playlists, each media segment is stored in a separate <code>.ts</code> file. For <code>HLSv4</code>, <code>MPEG-DASH</code>, and <code>Smooth</code> playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the <code>SegmentDuration</code>, though individual segments might be shorter or longer.</p> <p>The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by <code>SegmentDuration</code>, the duration of the last segment is the remainder of total length/SegmentDuration.</p> <p>Elastic Transcoder creates an output-specific playlist for each output <code>HLS</code> output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the <code>OutputKeys</code> of the associated playlist.</p>"
1211        },
1212        "Status":{
1213          "shape":"JobStatus",
1214          "documentation":"<p> The status of one output in a job. If you specified only one output for the job, <code>Outputs:Status</code> is always the same as <code>Job:Status</code>. If you specified more than one output: </p> <ul> <li> <p> <code>Job:Status</code> and <code>Outputs:Status</code> for all of the outputs is Submitted until Elastic Transcoder starts to process the first output.</p> </li> <li> <p>When Elastic Transcoder starts to process the first output, <code>Outputs:Status</code> for that output and <code>Job:Status</code> both change to Progressing. For each output, the value of <code>Outputs:Status</code> remains Submitted until Elastic Transcoder starts to process the output.</p> </li> <li> <p>Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.</p> </li> <li> <p>When all of the outputs reach a terminal status, <code>Job:Status</code> changes to Complete only if <code>Outputs:Status</code> for all of the outputs is <code>Complete</code>. If <code>Outputs:Status</code> for one or more outputs is <code>Error</code>, the terminal status for <code>Job:Status</code> is also <code>Error</code>.</p> </li> </ul> <p>The value of <code>Status</code> is one of the following: <code>Submitted</code>, <code>Progressing</code>, <code>Complete</code>, <code>Canceled</code>, or <code>Error</code>. </p>"
1215        },
1216        "StatusDetail":{
1217          "shape":"Description",
1218          "documentation":"<p>Information that further explains <code>Status</code>.</p>"
1219        },
1220        "Duration":{
1221          "shape":"NullableLong",
1222          "documentation":"<p>Duration of the output file, in seconds.</p>"
1223        },
1224        "Width":{
1225          "shape":"NullableInteger",
1226          "documentation":"<p>Specifies the width of the output file in pixels.</p>"
1227        },
1228        "Height":{
1229          "shape":"NullableInteger",
1230          "documentation":"<p>Height of the output file, in pixels.</p>"
1231        },
1232        "FrameRate":{
1233          "shape":"FloatString",
1234          "documentation":"<p>Frame rate of the output file, in frames per second.</p>"
1235        },
1236        "FileSize":{
1237          "shape":"NullableLong",
1238          "documentation":"<p>File size of the output file, in bytes.</p>"
1239        },
1240        "DurationMillis":{
1241          "shape":"NullableLong",
1242          "documentation":"<p>Duration of the output file, in milliseconds.</p>"
1243        },
1244        "Watermarks":{
1245          "shape":"JobWatermarks",
1246          "documentation":"<p>Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in <code>Preset</code> for the current output.</p> <p>Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third.</p>"
1247        },
1248        "AlbumArt":{
1249          "shape":"JobAlbumArt",
1250          "documentation":"<p>The album art to be associated with the output file, if any.</p>"
1251        },
1252        "Composition":{
1253          "shape":"Composition",
1254          "documentation":"<p>You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.</p>",
1255          "deprecated":true
1256        },
1257        "Captions":{
1258          "shape":"Captions",
1259          "documentation":"<p>You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:</p> <ul> <li> <p> <b>Embedded:</b> Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.</p> <p>Valid input values include: <code>CEA-608 (EIA-608</code>, first non-empty channel only), <code>CEA-708 (EIA-708</code>, first non-empty channel only), and <code>mov-text</code> </p> <p>Valid outputs include: <code>mov-text</code> </p> <p>Elastic Transcoder supports a maximum of one embedded format per output.</p> </li> <li> <p> <b>Sidecar:</b> Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.</p> <p>Valid input values include: <code>dfxp</code> (first div element only), <code>ebu-tt</code>, <code>scc</code>, <code>smpt</code>, <code>srt</code>, <code>ttml</code> (first div element only), and <code>webvtt</code> </p> <p>Valid outputs include: <code>dfxp</code> (first div element only), <code>scc</code>, <code>srt</code>, and <code>webvtt</code>.</p> </li> </ul> <p>If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.</p> <p>Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.</p> <p>To remove captions or leave the captions empty, set <code>Captions</code> to null. To pass through existing captions unchanged, set the <code>MergePolicy</code> to <code>MergeRetain</code>, and pass in a null <code>CaptionSources</code> array.</p> <p>For more information on embedded files, see the Subtitles Wikipedia page.</p> <p>For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.</p>"
1260        },
1261        "Encryption":{
1262          "shape":"Encryption",
1263          "documentation":"<p>The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket.</p>"
1264        },
1265        "AppliedColorSpaceConversion":{
1266          "shape":"String",
1267          "documentation":"<p>If Elastic Transcoder used a preset with a <code>ColorSpaceConversionMode</code> to transcode the output file, the <code>AppliedColorSpaceConversion</code> parameter shows the conversion used. If no <code>ColorSpaceConversionMode</code> was defined in the preset, this parameter is not be included in the job response.</p>"
1268        }
1269      },
1270      "documentation":"<important> <p>Outputs recommended instead.</p> </important> <p>If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the <code>Output</code> object lists information about the first output. This duplicates the information that is listed for the first output in the <code>Outputs</code> object.</p>"
1271    },
1272    "JobOutputs":{
1273      "type":"list",
1274      "member":{"shape":"JobOutput"}
1275    },
1276    "JobStatus":{
1277      "type":"string",
1278      "pattern":"(^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)"
1279    },
1280    "JobWatermark":{
1281      "type":"structure",
1282      "members":{
1283        "PresetWatermarkId":{
1284          "shape":"PresetWatermarkId",
1285          "documentation":"<p>The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.</p>"
1286        },
1287        "InputKey":{
1288          "shape":"WatermarkKey",
1289          "documentation":"<p> The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by <code>Pipeline</code>; the <code>Input Bucket</code> object in that pipeline identifies the bucket.</p> <p> If the file name includes a prefix, for example, <b>logos/128x64.png</b>, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. </p>"
1290        },
1291        "Encryption":{
1292          "shape":"Encryption",
1293          "documentation":"<p>The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.</p>"
1294        }
1295      },
1296      "documentation":"<p>Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.</p>"
1297    },
1298    "JobWatermarks":{
1299      "type":"list",
1300      "member":{"shape":"JobWatermark"}
1301    },
1302    "Jobs":{
1303      "type":"list",
1304      "member":{"shape":"Job"}
1305    },
1306    "JpgOrPng":{
1307      "type":"string",
1308      "pattern":"(^jpg$)|(^png$)"
1309    },
1310    "Key":{
1311      "type":"string",
1312      "max":255,
1313      "min":1
1314    },
1315    "KeyArn":{
1316      "type":"string",
1317      "max":255,
1318      "min":0
1319    },
1320    "KeyIdGuid":{
1321      "type":"string",
1322      "pattern":"(^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$)|(^[0-9A-Fa-f]{32}$)"
1323    },
1324    "KeyStoragePolicy":{
1325      "type":"string",
1326      "pattern":"(^NoStore$)|(^WithVariantPlaylists$)"
1327    },
1328    "KeyframesMaxDist":{
1329      "type":"string",
1330      "pattern":"^\\d{1,6}$"
1331    },
1332    "LimitExceededException":{
1333      "type":"structure",
1334      "members":{
1335      },
1336      "documentation":"<p>Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.</p>",
1337      "error":{"httpStatusCode":429},
1338      "exception":true
1339    },
1340    "ListJobsByPipelineRequest":{
1341      "type":"structure",
1342      "required":["PipelineId"],
1343      "members":{
1344        "PipelineId":{
1345          "shape":"Id",
1346          "documentation":"<p>The ID of the pipeline for which you want to get job information.</p>",
1347          "location":"uri",
1348          "locationName":"PipelineId"
1349        },
1350        "Ascending":{
1351          "shape":"Ascending",
1352          "documentation":"<p> To list jobs in chronological order by the date and time that they were submitted, enter <code>true</code>. To list jobs in reverse chronological order, enter <code>false</code>. </p>",
1353          "location":"querystring",
1354          "locationName":"Ascending"
1355        },
1356        "PageToken":{
1357          "shape":"Id",
1358          "documentation":"<p> When Elastic Transcoder returns more than one page of results, use <code>pageToken</code> in subsequent <code>GET</code> requests to get each successive page of results. </p>",
1359          "location":"querystring",
1360          "locationName":"PageToken"
1361        }
1362      },
1363      "documentation":"<p>The <code>ListJobsByPipelineRequest</code> structure.</p>"
1364    },
1365    "ListJobsByPipelineResponse":{
1366      "type":"structure",
1367      "members":{
1368        "Jobs":{
1369          "shape":"Jobs",
1370          "documentation":"<p>An array of <code>Job</code> objects that are in the specified pipeline.</p>"
1371        },
1372        "NextPageToken":{
1373          "shape":"Id",
1374          "documentation":"<p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>"
1375        }
1376      },
1377      "documentation":"<p>The <code>ListJobsByPipelineResponse</code> structure.</p>"
1378    },
1379    "ListJobsByStatusRequest":{
1380      "type":"structure",
1381      "required":["Status"],
1382      "members":{
1383        "Status":{
1384          "shape":"JobStatus",
1385          "documentation":"<p>To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: <code>Submitted</code>, <code>Progressing</code>, <code>Complete</code>, <code>Canceled</code>, or <code>Error</code>.</p>",
1386          "location":"uri",
1387          "locationName":"Status"
1388        },
1389        "Ascending":{
1390          "shape":"Ascending",
1391          "documentation":"<p> To list jobs in chronological order by the date and time that they were submitted, enter <code>true</code>. To list jobs in reverse chronological order, enter <code>false</code>. </p>",
1392          "location":"querystring",
1393          "locationName":"Ascending"
1394        },
1395        "PageToken":{
1396          "shape":"Id",
1397          "documentation":"<p> When Elastic Transcoder returns more than one page of results, use <code>pageToken</code> in subsequent <code>GET</code> requests to get each successive page of results. </p>",
1398          "location":"querystring",
1399          "locationName":"PageToken"
1400        }
1401      },
1402      "documentation":"<p>The <code>ListJobsByStatusRequest</code> structure.</p>"
1403    },
1404    "ListJobsByStatusResponse":{
1405      "type":"structure",
1406      "members":{
1407        "Jobs":{
1408          "shape":"Jobs",
1409          "documentation":"<p>An array of <code>Job</code> objects that have the specified status.</p>"
1410        },
1411        "NextPageToken":{
1412          "shape":"Id",
1413          "documentation":"<p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>"
1414        }
1415      },
1416      "documentation":"<p> The <code>ListJobsByStatusResponse</code> structure. </p>"
1417    },
1418    "ListPipelinesRequest":{
1419      "type":"structure",
1420      "members":{
1421        "Ascending":{
1422          "shape":"Ascending",
1423          "documentation":"<p>To list pipelines in chronological order by the date and time that they were created, enter <code>true</code>. To list pipelines in reverse chronological order, enter <code>false</code>.</p>",
1424          "location":"querystring",
1425          "locationName":"Ascending"
1426        },
1427        "PageToken":{
1428          "shape":"Id",
1429          "documentation":"<p>When Elastic Transcoder returns more than one page of results, use <code>pageToken</code> in subsequent <code>GET</code> requests to get each successive page of results. </p>",
1430          "location":"querystring",
1431          "locationName":"PageToken"
1432        }
1433      },
1434      "documentation":"<p>The <code>ListPipelineRequest</code> structure.</p>"
1435    },
1436    "ListPipelinesResponse":{
1437      "type":"structure",
1438      "members":{
1439        "Pipelines":{
1440          "shape":"Pipelines",
1441          "documentation":"<p>An array of <code>Pipeline</code> objects.</p>"
1442        },
1443        "NextPageToken":{
1444          "shape":"Id",
1445          "documentation":"<p>A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>"
1446        }
1447      },
1448      "documentation":"<p>A list of the pipelines associated with the current AWS account.</p>"
1449    },
1450    "ListPresetsRequest":{
1451      "type":"structure",
1452      "members":{
1453        "Ascending":{
1454          "shape":"Ascending",
1455          "documentation":"<p>To list presets in chronological order by the date and time that they were created, enter <code>true</code>. To list presets in reverse chronological order, enter <code>false</code>.</p>",
1456          "location":"querystring",
1457          "locationName":"Ascending"
1458        },
1459        "PageToken":{
1460          "shape":"Id",
1461          "documentation":"<p>When Elastic Transcoder returns more than one page of results, use <code>pageToken</code> in subsequent <code>GET</code> requests to get each successive page of results. </p>",
1462          "location":"querystring",
1463          "locationName":"PageToken"
1464        }
1465      },
1466      "documentation":"<p>The <code>ListPresetsRequest</code> structure.</p>"
1467    },
1468    "ListPresetsResponse":{
1469      "type":"structure",
1470      "members":{
1471        "Presets":{
1472          "shape":"Presets",
1473          "documentation":"<p>An array of <code>Preset</code> objects.</p>"
1474        },
1475        "NextPageToken":{
1476          "shape":"Id",
1477          "documentation":"<p>A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>"
1478        }
1479      },
1480      "documentation":"<p>The <code>ListPresetsResponse</code> structure.</p>"
1481    },
1482    "LongKey":{
1483      "type":"string",
1484      "max":1024,
1485      "min":1
1486    },
1487    "MaxFrameRate":{
1488      "type":"string",
1489      "pattern":"(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
1490    },
1491    "MergePolicy":{
1492      "type":"string",
1493      "pattern":"(^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)"
1494    },
1495    "Name":{
1496      "type":"string",
1497      "max":40,
1498      "min":1
1499    },
1500    "NonEmptyBase64EncodedString":{
1501      "type":"string",
1502      "pattern":"(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)"
1503    },
1504    "Notifications":{
1505      "type":"structure",
1506      "members":{
1507        "Progressing":{
1508          "shape":"SnsTopic",
1509          "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.</p>"
1510        },
1511        "Completed":{
1512          "shape":"SnsTopic",
1513          "documentation":"<p>The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.</p>"
1514        },
1515        "Warning":{
1516          "shape":"SnsTopic",
1517          "documentation":"<p>The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.</p>"
1518        },
1519        "Error":{
1520          "shape":"SnsTopic",
1521          "documentation":"<p>The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.</p>"
1522        }
1523      },
1524      "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.</p> <important> <p>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</p> </important>"
1525    },
1526    "NullableInteger":{"type":"integer"},
1527    "NullableLong":{"type":"long"},
1528    "OneTo512String":{
1529      "type":"string",
1530      "max":512,
1531      "min":1
1532    },
1533    "Opacity":{
1534      "type":"string",
1535      "pattern":"^\\d{1,3}(\\.\\d{0,20})?$"
1536    },
1537    "OutputKeys":{
1538      "type":"list",
1539      "member":{"shape":"Key"},
1540      "max":30
1541    },
1542    "PaddingPolicy":{
1543      "type":"string",
1544      "pattern":"(^Pad$)|(^NoPad$)"
1545    },
1546    "Permission":{
1547      "type":"structure",
1548      "members":{
1549        "GranteeType":{
1550          "shape":"GranteeType",
1551          "documentation":"<p>The type of value that appears in the Grantee object:</p> <ul> <li> <p> <code>Canonical</code>: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.</p> <important> <p>A canonical user ID is not the same as an AWS account number.</p> </important> </li> <li> <p> <code>Email</code>: The registered email address of an AWS account.</p> </li> <li> <p> <code>Group</code>: One of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul>"
1552        },
1553        "Grantee":{
1554          "shape":"Grantee",
1555          "documentation":"<p>The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.</p>"
1556        },
1557        "Access":{
1558          "shape":"AccessControls",
1559          "documentation":"<p> The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul>"
1560        }
1561      },
1562      "documentation":"<p>The <code>Permission</code> structure.</p>"
1563    },
1564    "Permissions":{
1565      "type":"list",
1566      "member":{"shape":"Permission"},
1567      "max":30
1568    },
1569    "Pipeline":{
1570      "type":"structure",
1571      "members":{
1572        "Id":{
1573          "shape":"Id",
1574          "documentation":"<p>The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.</p>"
1575        },
1576        "Arn":{
1577          "shape":"String",
1578          "documentation":"<p>The Amazon Resource Name (ARN) for the pipeline.</p>"
1579        },
1580        "Name":{
1581          "shape":"Name",
1582          "documentation":"<p>The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 characters</p>"
1583        },
1584        "Status":{
1585          "shape":"PipelineStatus",
1586          "documentation":"<p>The current status of the pipeline:</p> <ul> <li> <p> <code>Active</code>: The pipeline is processing jobs.</p> </li> <li> <p> <code>Paused</code>: The pipeline is not currently processing jobs.</p> </li> </ul>"
1587        },
1588        "InputBucket":{
1589          "shape":"BucketName",
1590          "documentation":"<p>The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding and the graphics files, if any, that you want to use for watermarks.</p>"
1591        },
1592        "OutputBucket":{
1593          "shape":"BucketName",
1594          "documentation":"<p>The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files, thumbnails, and playlists. Either you specify this value, or you specify both <code>ContentConfig</code> and <code>ThumbnailConfig</code>.</p>"
1595        },
1596        "Role":{
1597          "shape":"Role",
1598          "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.</p>"
1599        },
1600        "AwsKmsKeyArn":{
1601          "shape":"KeyArn",
1602          "documentation":"<p>The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.</p> <p>If you use either <code>s3</code> or <code>s3-aws-kms</code> as your <code>Encryption:Mode</code>, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of <code>aes-cbc-pkcs7</code>, <code>aes-ctr</code>, or <code>aes-gcm</code>.</p>"
1603        },
1604        "Notifications":{
1605          "shape":"Notifications",
1606          "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.</p> <important> <p>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</p> </important> <ul> <li> <p> <b>Progressing</b> (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.</p> </li> <li> <p> <b>Complete</b> (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.</p> </li> <li> <p> <b>Warning</b> (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.</p> </li> <li> <p> <b>Error</b> (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.</p> </li> </ul>"
1607        },
1608        "ContentConfig":{
1609          "shape":"PipelineOutputConfig",
1610          "documentation":"<p>Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both <code>ContentConfig</code> and <code>ThumbnailConfig</code>, or you specify <code>OutputBucket</code>.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.</p> </li> <li> <p> <b>Permissions</b>: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have. </p> <ul> <li> <p>GranteeType: The type of value that appears in the <code>Grantee</code> object: </p> <ul> <li> <p> <code>Canonical</code>: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.</p> </li> <li> <p> <code>Email</code>: The registered email address of an AWS account.</p> </li> <li> <p> <code>Group</code>: One of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <code>Grantee</code>: The AWS user or group that you want to have access to transcoded files and playlists.</p> </li> <li> <p> <code>Access</code>: The permission that you want to give to the AWS user that is listed in <code>Grantee</code>. Valid values include:</p> <ul> <li> <p> <code>READ</code>: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> </ul> </li> <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket. </p> </li> </ul>"
1611        },
1612        "ThumbnailConfig":{
1613          "shape":"PipelineOutputConfig",
1614          "documentation":"<p>Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both <code>ContentConfig</code> and <code>ThumbnailConfig</code>, or you specify <code>OutputBucket</code>.</p> <ul> <li> <p> <code>Bucket</code>: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. </p> </li> <li> <p> <code>Permissions</code>: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have. </p> <ul> <li> <p>GranteeType: The type of value that appears in the Grantee object:</p> <ul> <li> <p> <code>Canonical</code>: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.</p> <important> <p>A canonical user ID is not the same as an AWS account number.</p> </important> </li> <li> <p> <code>Email</code>: The registered email address of an AWS account.</p> </li> <li> <p> <code>Group</code>: One of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <code>Grantee</code>: The AWS user or group that you want to have access to thumbnail files.</p> </li> <li> <p>Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> </ul> </li> <li> <p> <code>StorageClass</code>: The Amazon S3 storage class, <code>Standard</code> or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul>"
1615        }
1616      },
1617      "documentation":"<p>The pipeline (queue) that is used to manage jobs.</p>"
1618    },
1619    "PipelineOutputConfig":{
1620      "type":"structure",
1621      "members":{
1622        "Bucket":{
1623          "shape":"BucketName",
1624          "documentation":"<p> The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:</p> <ul> <li> <p>You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.</p> </li> <li> <p>You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.</p> </li> <li> <p>You do not want to specify the permissions that Elastic Transcoder grants to the files.</p> </li> <li> <p>You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.</p> </li> </ul> <p>If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for <code>ContentConfig</code> and <code>ThumbnailConfig</code> instead. </p>"
1625        },
1626        "StorageClass":{
1627          "shape":"StorageClass",
1628          "documentation":"<p> The Amazon S3 storage class, <code>Standard</code> or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket. </p>"
1629        },
1630        "Permissions":{
1631          "shape":"Permissions",
1632          "documentation":"<p>Optional. The <code>Permissions</code> object specifies which users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.</p> <p>If you include <code>Permissions</code>, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by <code>Role</code>. If you want that user to have full control, you must explicitly grant full control to the user.</p> <p> If you omit <code>Permissions</code>, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by <code>Role</code>, and grants no other permissions to any other user or group.</p>"
1633        }
1634      },
1635      "documentation":"<p>The <code>PipelineOutputConfig</code> structure.</p>"
1636    },
1637    "PipelineStatus":{
1638      "type":"string",
1639      "pattern":"(^Active$)|(^Paused$)"
1640    },
1641    "Pipelines":{
1642      "type":"list",
1643      "member":{"shape":"Pipeline"}
1644    },
1645    "PixelsOrPercent":{
1646      "type":"string",
1647      "pattern":"(^\\d{1,3}(\\.\\d{0,5})?%$)|(^\\d{1,4}?px$)"
1648    },
1649    "PlayReadyDrm":{
1650      "type":"structure",
1651      "members":{
1652        "Format":{
1653          "shape":"PlayReadyDrmFormatString",
1654          "documentation":"<p>The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.</p>"
1655        },
1656        "Key":{
1657          "shape":"NonEmptyBase64EncodedString",
1658          "documentation":"<p>The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:</p> <p> <code>128</code>, <code>192</code>, or <code>256</code>. </p> <p>The key must also be encrypted by using AWS KMS.</p>"
1659        },
1660        "KeyMd5":{
1661          "shape":"NonEmptyBase64EncodedString",
1662          "documentation":"<p>The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.</p>"
1663        },
1664        "KeyId":{
1665          "shape":"KeyIdGuid",
1666          "documentation":"<p>The ID for your DRM key, so that your DRM license provider knows which key to provide.</p> <p>The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.</p>"
1667        },
1668        "InitializationVector":{
1669          "shape":"ZeroTo255String",
1670          "documentation":"<p>The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.</p>"
1671        },
1672        "LicenseAcquisitionUrl":{
1673          "shape":"OneTo512String",
1674          "documentation":"<p>The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: <code>https://www.example.com/exampleKey/</code> </p>"
1675        }
1676      },
1677      "documentation":"<p>The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.</p> <p>PlayReady DRM encrypts your media files using <code>aes-ctr</code> encryption.</p> <p>If you use DRM for an <code>HLSv3</code> playlist, your outputs must have a master playlist.</p>"
1678    },
1679    "PlayReadyDrmFormatString":{
1680      "type":"string",
1681      "pattern":"(^microsoft$)|(^discretix-3.0$)"
1682    },
1683    "Playlist":{
1684      "type":"structure",
1685      "members":{
1686        "Name":{
1687          "shape":"Filename",
1688          "documentation":"<p>The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a <code>/</code> character, the section of the name before the last <code>/</code> must be identical for all <code>Name</code> objects. If you create more than one master playlist, the values of all <code>Name</code> objects must be unique.</p> <note> <p>Elastic Transcoder automatically appends the relevant file extension to the file name (<code>.m3u8</code> for <code>HLSv3</code> and <code>HLSv4</code> playlists, and <code>.ism</code> and <code>.ismc</code> for <code>Smooth</code> playlists). If you include a file extension in <code>Name</code>, the file name will have two extensions.</p> </note>"
1689        },
1690        "Format":{
1691          "shape":"PlaylistFormat",
1692          "documentation":"<p>The format of the output playlist. Valid formats include <code>HLSv3</code>, <code>HLSv4</code>, and <code>Smooth</code>.</p>"
1693        },
1694        "OutputKeys":{
1695          "shape":"OutputKeys",
1696          "documentation":"<p>For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.</p> <ul> <li> <p>If your output is not <code>HLS</code> or does not have a segment duration set, the name of the output file is a concatenation of <code>OutputKeyPrefix</code> and <code>Outputs:Key</code>:</p> <p>OutputKeyPrefix<code>Outputs:Key</code> </p> </li> <li> <p>If your output is <code>HLSv3</code> and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of <code>.m3u8</code>, and a series of <code>.ts</code> files that include a five-digit sequential counter beginning with 00000:</p> <p>OutputKeyPrefix<code>Outputs:Key</code>.m3u8</p> <p>OutputKeyPrefix<code>Outputs:Key</code>00000.ts</p> </li> <li> <p>If your output is <code>HLSv4</code>, has a segment duration set, and is included in an <code>HLSv4</code> playlist, Elastic Transcoder creates an output playlist file with a file extension of <code>_v4.m3u8</code>. If the output is video, Elastic Transcoder also creates an output file with an extension of <code>_iframe.m3u8</code>:</p> <p>OutputKeyPrefix<code>Outputs:Key</code>_v4.m3u8</p> <p>OutputKeyPrefix<code>Outputs:Key</code>_iframe.m3u8</p> <p>OutputKeyPrefix<code>Outputs:Key</code>.ts</p> </li> </ul> <p>Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.</p> <p>If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For <code>Smooth</code> playlists, the <code>Audio:Profile</code>, <code>Video:Profile</code>, and <code>Video:FrameRate</code> to <code>Video:KeyframesMaxDist</code> ratio must be the same for all outputs.</p>"
1697        },
1698        "HlsContentProtection":{
1699          "shape":"HlsContentProtection",
1700          "documentation":"<p>The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.</p>"
1701        },
1702        "PlayReadyDrm":{
1703          "shape":"PlayReadyDrm",
1704          "documentation":"<p>The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.</p>"
1705        },
1706        "Status":{
1707          "shape":"JobStatus",
1708          "documentation":"<p>The status of the job with which the playlist is associated.</p>"
1709        },
1710        "StatusDetail":{
1711          "shape":"Description",
1712          "documentation":"<p>Information that further explains the status.</p>"
1713        }
1714      },
1715      "documentation":"<p> Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for which the value of Container is <code>fmp4</code> (Fragmented MP4) or <code>ts</code> (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. We recommend that you create only one master playlist per output format. The maximum number of master playlists in a job is 30. </p>"
1716    },
1717    "PlaylistFormat":{
1718      "type":"string",
1719      "pattern":"(^HLSv3$)|(^HLSv4$)|(^Smooth$)|(^MPEG-DASH$)"
1720    },
1721    "Playlists":{
1722      "type":"list",
1723      "member":{"shape":"Playlist"}
1724    },
1725    "Preset":{
1726      "type":"structure",
1727      "members":{
1728        "Id":{
1729          "shape":"Id",
1730          "documentation":"<p>Identifier for the new preset. You use this value to get settings for the preset or to delete it.</p>"
1731        },
1732        "Arn":{
1733          "shape":"String",
1734          "documentation":"<p>The Amazon Resource Name (ARN) for the preset.</p>"
1735        },
1736        "Name":{
1737          "shape":"Name",
1738          "documentation":"<p>The name of the preset.</p>"
1739        },
1740        "Description":{
1741          "shape":"Description",
1742          "documentation":"<p>A description of the preset.</p>"
1743        },
1744        "Container":{
1745          "shape":"PresetContainer",
1746          "documentation":"<p>The container type for the output file. Valid values include <code>flac</code>, <code>flv</code>, <code>fmp4</code>, <code>gif</code>, <code>mp3</code>, <code>mp4</code>, <code>mpg</code>, <code>mxf</code>, <code>oga</code>, <code>ogg</code>, <code>ts</code>, and <code>webm</code>.</p>"
1747        },
1748        "Audio":{
1749          "shape":"AudioParameters",
1750          "documentation":"<p>A section of the response body that provides information about the audio preset values.</p>"
1751        },
1752        "Video":{
1753          "shape":"VideoParameters",
1754          "documentation":"<p>A section of the response body that provides information about the video preset values.</p>"
1755        },
1756        "Thumbnails":{
1757          "shape":"Thumbnails",
1758          "documentation":"<p>A section of the response body that provides information about the thumbnail preset values, if any.</p>"
1759        },
1760        "Type":{
1761          "shape":"PresetType",
1762          "documentation":"<p>Whether the preset is a default preset provided by Elastic Transcoder (<code>System</code>) or a preset that you have defined (<code>Custom</code>).</p>"
1763        }
1764      },
1765      "documentation":"<p>Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.</p>"
1766    },
1767    "PresetContainer":{
1768      "type":"string",
1769      "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)|(^wav$)|(^mp2$)"
1770    },
1771    "PresetType":{
1772      "type":"string",
1773      "pattern":"(^System$)|(^Custom$)"
1774    },
1775    "PresetWatermark":{
1776      "type":"structure",
1777      "members":{
1778        "Id":{
1779          "shape":"PresetWatermarkId",
1780          "documentation":"<p> A unique identifier for the settings for one watermark. The value of <code>Id</code> can be up to 40 characters long. </p>"
1781        },
1782        "MaxWidth":{
1783          "shape":"PixelsOrPercent",
1784          "documentation":"<p>The maximum width of the watermark in one of the following formats: </p> <ul> <li> <p>number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of <code>MaxWidth</code>.</p> </li> <li> <p>integer percentage (%): The range of valid values is 0 to 100. Use the value of <code>Target</code> to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation.</p> <p>If you specify the value in pixels, it must be less than or equal to the value of <code>MaxWidth</code>.</p> </li> </ul>"
1785        },
1786        "MaxHeight":{
1787          "shape":"PixelsOrPercent",
1788          "documentation":"<p>The maximum height of the watermark in one of the following formats: </p> <ul> <li> <p>number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of <code>MaxHeight</code>.</p> </li> <li> <p>integer percentage (%): The range of valid values is 0 to 100. Use the value of <code>Target</code> to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation.</p> </li> </ul> <p>If you specify the value in pixels, it must be less than or equal to the value of <code>MaxHeight</code>.</p>"
1789        },
1790        "SizingPolicy":{
1791          "shape":"WatermarkSizingPolicy",
1792          "documentation":"<p>A value that controls scaling of the watermark: </p> <ul> <li> <p> <b>Fit</b>: Elastic Transcoder scales the watermark so it matches the value that you specified in either <code>MaxWidth</code> or <code>MaxHeight</code> without exceeding the other value.</p> </li> <li> <p> <b>Stretch</b>: Elastic Transcoder stretches the watermark to match the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>. If the relative proportions of the watermark and the values of <code>MaxWidth</code> and <code>MaxHeight</code> are different, the watermark will be distorted.</p> </li> <li> <p> <b>ShrinkToFit</b>: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of <code>MaxWidth</code> and <code>MaxHeight</code> without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.</p> </li> </ul>"
1793        },
1794        "HorizontalAlign":{
1795          "shape":"HorizontalAlign",
1796          "documentation":"<p>The horizontal position of the watermark unless you specify a non-zero value for <code>HorizontalOffset</code>: </p> <ul> <li> <p> <b>Left</b>: The left edge of the watermark is aligned with the left border of the video.</p> </li> <li> <p> <b>Right</b>: The right edge of the watermark is aligned with the right border of the video.</p> </li> <li> <p> <b>Center</b>: The watermark is centered between the left and right borders.</p> </li> </ul>"
1797        },
1798        "HorizontalOffset":{
1799          "shape":"PixelsOrPercent",
1800          "documentation":"<p>The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign: </p> <ul> <li> <p>number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.</p> </li> <li> <p>integer percentage (%): The range of valid values is 0 to 100.</p> </li> </ul> <p>For example, if you specify Left for <code>HorizontalAlign</code> and 5px for <code>HorizontalOffset</code>, the left side of the watermark appears 5 pixels from the left border of the output video.</p> <p> <code>HorizontalOffset</code> is only valid when the value of <code>HorizontalAlign</code> is <code>Left</code> or <code>Right</code>. If you specify an offset that causes the watermark to extend beyond the left or right border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.</p> <p>Use the value of <code>Target</code> to specify whether you want to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.</p>"
1801        },
1802        "VerticalAlign":{
1803          "shape":"VerticalAlign",
1804          "documentation":"<p>The vertical position of the watermark unless you specify a non-zero value for <code>VerticalOffset</code>: </p> <ul> <li> <p> <b>Top</b>: The top edge of the watermark is aligned with the top border of the video.</p> </li> <li> <p> <b>Bottom</b>: The bottom edge of the watermark is aligned with the bottom border of the video.</p> </li> <li> <p> <b>Center</b>: The watermark is centered between the top and bottom borders.</p> </li> </ul>"
1805        },
1806        "VerticalOffset":{
1807          "shape":"PixelsOrPercent",
1808          "documentation":"<p> <code>VerticalOffset</code> </p> <p>The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:</p> <ul> <li> <p>number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of <code>MaxHeight</code>.</p> </li> <li> <p>integer percentage (%): The range of valid values is 0 to 100.</p> </li> </ul> <p>For example, if you specify <code>Top</code> for <code>VerticalAlign</code> and <code>5px</code> for <code>VerticalOffset</code>, the top of the watermark appears 5 pixels from the top border of the output video.</p> <p> <code>VerticalOffset</code> is only valid when the value of VerticalAlign is Top or Bottom.</p> <p>If you specify an offset that causes the watermark to extend beyond the top or bottom border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.</p> <p>Use the value of <code>Target</code> to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.</p>"
1809        },
1810        "Opacity":{
1811          "shape":"Opacity",
1812          "documentation":"<p>A percentage that indicates how much you want a watermark to obscure the video in the location where it appears. Valid values are 0 (the watermark is invisible) to 100 (the watermark completely obscures the video in the specified location). The datatype of <code>Opacity</code> is float.</p> <p>Elastic Transcoder supports transparent .png graphics. If you use a transparent .png, the transparent portion of the video appears as if you had specified a value of 0 for <code>Opacity</code>. The .jpg file format doesn't support transparency.</p>"
1813        },
1814        "Target":{
1815          "shape":"Target",
1816          "documentation":"<p>A value that determines how Elastic Transcoder interprets values that you specified for <code>HorizontalOffset</code>, <code>VerticalOffset</code>, <code>MaxWidth</code>, and <code>MaxHeight</code>:</p> <ul> <li> <p> <b>Content</b>: <code>HorizontalOffset</code> and <code>VerticalOffset</code> values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, <code>MaxWidth</code> and <code>MaxHeight</code>, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any.</p> </li> <li> <p> <b>Frame</b>: <code>HorizontalOffset</code> and <code>VerticalOffset</code> values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, <code>MaxWidth</code> and <code>MaxHeight</code>, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any.</p> </li> </ul>"
1817        }
1818      },
1819      "documentation":"<p>Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.</p> <p>Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.</p> <p>When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.</p>"
1820    },
1821    "PresetWatermarkId":{
1822      "type":"string",
1823      "max":40,
1824      "min":1
1825    },
1826    "PresetWatermarks":{
1827      "type":"list",
1828      "member":{"shape":"PresetWatermark"}
1829    },
1830    "Presets":{
1831      "type":"list",
1832      "member":{"shape":"Preset"}
1833    },
1834    "ReadJobRequest":{
1835      "type":"structure",
1836      "required":["Id"],
1837      "members":{
1838        "Id":{
1839          "shape":"Id",
1840          "documentation":"<p>The identifier of the job for which you want to get detailed information.</p>",
1841          "location":"uri",
1842          "locationName":"Id"
1843        }
1844      },
1845      "documentation":"<p>The <code>ReadJobRequest</code> structure.</p>"
1846    },
1847    "ReadJobResponse":{
1848      "type":"structure",
1849      "members":{
1850        "Job":{
1851          "shape":"Job",
1852          "documentation":"<p>A section of the response body that provides information about the job.</p>"
1853        }
1854      },
1855      "documentation":"<p>The <code>ReadJobResponse</code> structure.</p>"
1856    },
1857    "ReadPipelineRequest":{
1858      "type":"structure",
1859      "required":["Id"],
1860      "members":{
1861        "Id":{
1862          "shape":"Id",
1863          "documentation":"<p>The identifier of the pipeline to read.</p>",
1864          "location":"uri",
1865          "locationName":"Id"
1866        }
1867      },
1868      "documentation":"<p>The <code>ReadPipelineRequest</code> structure.</p>"
1869    },
1870    "ReadPipelineResponse":{
1871      "type":"structure",
1872      "members":{
1873        "Pipeline":{
1874          "shape":"Pipeline",
1875          "documentation":"<p>A section of the response body that provides information about the pipeline.</p>"
1876        },
1877        "Warnings":{
1878          "shape":"Warnings",
1879          "documentation":"<p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p> <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>"
1880        }
1881      },
1882      "documentation":"<p>The <code>ReadPipelineResponse</code> structure.</p>"
1883    },
1884    "ReadPresetRequest":{
1885      "type":"structure",
1886      "required":["Id"],
1887      "members":{
1888        "Id":{
1889          "shape":"Id",
1890          "documentation":"<p>The identifier of the preset for which you want to get detailed information.</p>",
1891          "location":"uri",
1892          "locationName":"Id"
1893        }
1894      },
1895      "documentation":"<p>The <code>ReadPresetRequest</code> structure.</p>"
1896    },
1897    "ReadPresetResponse":{
1898      "type":"structure",
1899      "members":{
1900        "Preset":{
1901          "shape":"Preset",
1902          "documentation":"<p>A section of the response body that provides information about the preset.</p>"
1903        }
1904      },
1905      "documentation":"<p>The <code>ReadPresetResponse</code> structure.</p>"
1906    },
1907    "Resolution":{
1908      "type":"string",
1909      "pattern":"(^auto$)|(^\\d{1,5}x\\d{1,5}$)"
1910    },
1911    "ResourceInUseException":{
1912      "type":"structure",
1913      "members":{
1914      },
1915      "documentation":"<p>The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.</p>",
1916      "error":{"httpStatusCode":409},
1917      "exception":true
1918    },
1919    "ResourceNotFoundException":{
1920      "type":"structure",
1921      "members":{
1922      },
1923      "documentation":"<p>The requested resource does not exist or is not available. For example, the pipeline to which you're trying to add a job doesn't exist or is still being created.</p>",
1924      "error":{"httpStatusCode":404},
1925      "exception":true
1926    },
1927    "Role":{
1928      "type":"string",
1929      "pattern":"^arn:aws:iam::\\w{12}:role/.+$"
1930    },
1931    "Rotate":{
1932      "type":"string",
1933      "pattern":"(^auto$)|(^0$)|(^90$)|(^180$)|(^270$)"
1934    },
1935    "SizingPolicy":{
1936      "type":"string",
1937      "pattern":"(^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)"
1938    },
1939    "SnsTopic":{
1940      "type":"string",
1941      "pattern":"(^$)|(^arn:aws:sns:.*:\\w{12}:.+$)"
1942    },
1943    "SnsTopics":{
1944      "type":"list",
1945      "member":{"shape":"SnsTopic"},
1946      "max":30
1947    },
1948    "StorageClass":{
1949      "type":"string",
1950      "pattern":"(^ReducedRedundancy$)|(^Standard$)"
1951    },
1952    "String":{"type":"string"},
1953    "Success":{
1954      "type":"string",
1955      "pattern":"(^true$)|(^false$)"
1956    },
1957    "Target":{
1958      "type":"string",
1959      "pattern":"(^Content$)|(^Frame$)"
1960    },
1961    "TestRoleRequest":{
1962      "type":"structure",
1963      "required":[
1964        "Role",
1965        "InputBucket",
1966        "OutputBucket",
1967        "Topics"
1968      ],
1969      "members":{
1970        "Role":{
1971          "shape":"Role",
1972          "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.</p>"
1973        },
1974        "InputBucket":{
1975          "shape":"BucketName",
1976          "documentation":"<p>The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.</p>"
1977        },
1978        "OutputBucket":{
1979          "shape":"BucketName",
1980          "documentation":"<p>The Amazon S3 bucket that Elastic Transcoder writes transcoded media files to. The action attempts to read from this bucket.</p>"
1981        },
1982        "Topics":{
1983          "shape":"SnsTopics",
1984          "documentation":"<p>The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.</p>"
1985        }
1986      },
1987      "documentation":"<p> The <code>TestRoleRequest</code> structure. </p>",
1988      "deprecated":true
1989    },
1990    "TestRoleResponse":{
1991      "type":"structure",
1992      "members":{
1993        "Success":{
1994          "shape":"Success",
1995          "documentation":"<p>If the operation is successful, this value is <code>true</code>; otherwise, the value is <code>false</code>.</p>"
1996        },
1997        "Messages":{
1998          "shape":"ExceptionMessages",
1999          "documentation":"<p>If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more error messages that were generated during the test process.</p>"
2000        }
2001      },
2002      "documentation":"<p>The <code>TestRoleResponse</code> structure.</p>",
2003      "deprecated":true
2004    },
2005    "ThumbnailPattern":{
2006      "type":"string",
2007      "pattern":"(^$)|(^.*\\{count\\}.*$)"
2008    },
2009    "ThumbnailResolution":{
2010      "type":"string",
2011      "pattern":"^\\d{1,5}x\\d{1,5}$"
2012    },
2013    "Thumbnails":{
2014      "type":"structure",
2015      "members":{
2016        "Format":{
2017          "shape":"JpgOrPng",
2018          "documentation":"<p>The format of thumbnails, if any. Valid values are <code>jpg</code> and <code>png</code>. </p> <p>You specify whether you want Elastic Transcoder to create thumbnails when you create a job.</p>"
2019        },
2020        "Interval":{
2021          "shape":"Digits",
2022          "documentation":"<p>The approximate number of seconds between thumbnails. Specify an integer value.</p>"
2023        },
2024        "Resolution":{
2025          "shape":"ThumbnailResolution",
2026          "documentation":"<important> <p>To better control resolution and aspect ratio of thumbnails, we recommend that you use the values <code>MaxWidth</code>, <code>MaxHeight</code>, <code>SizingPolicy</code>, and <code>PaddingPolicy</code> instead of <code>Resolution</code> and <code>AspectRatio</code>. The two groups of settings are mutually exclusive. Do not use them together.</p> </important> <p>The width and height of thumbnail files in pixels. Specify a value in the format <code> <i>width</i> </code> x <code> <i>height</i> </code> where both values are even integers. The values cannot exceed the width and height that you specified in the <code>Video:Resolution</code> object.</p>"
2027        },
2028        "AspectRatio":{
2029          "shape":"AspectRatio",
2030          "documentation":"<important> <p>To better control resolution and aspect ratio of thumbnails, we recommend that you use the values <code>MaxWidth</code>, <code>MaxHeight</code>, <code>SizingPolicy</code>, and <code>PaddingPolicy</code> instead of <code>Resolution</code> and <code>AspectRatio</code>. The two groups of settings are mutually exclusive. Do not use them together.</p> </important> <p>The aspect ratio of thumbnails. Valid values include:</p> <p> <code>auto</code>, <code>1:1</code>, <code>4:3</code>, <code>3:2</code>, <code>16:9</code> </p> <p>If you specify <code>auto</code>, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.</p>"
2031        },
2032        "MaxWidth":{
2033          "shape":"DigitsOrAuto",
2034          "documentation":"<p>The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.</p>"
2035        },
2036        "MaxHeight":{
2037          "shape":"DigitsOrAuto",
2038          "documentation":"<p>The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.</p>"
2039        },
2040        "SizingPolicy":{
2041          "shape":"SizingPolicy",
2042          "documentation":"<p>Specify one of the following values to control scaling of thumbnails:</p> <ul> <li> <p> <code>Fit</code>: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value. </p> </li> <li> <p> <code>Fill</code>: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail <code>MaxWidth</code> or <code>MaxHeight</code> settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.</p> </li> <li> <p> <code>Stretch</code>: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail <code>MaxWidth</code> and <code>MaxHeight</code> settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.</p> </li> <li> <p> <code>Keep</code>: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail <code>MaxWidth</code> and <code>MaxHeight</code> settings, Elastic Transcoder crops the thumbnails.</p> </li> <li> <p> <code>ShrinkToFit</code>: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail <code>MaxWidth</code> and <code>MaxHeight</code> without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.</p> </li> <li> <p> <code>ShrinkToFill</code>: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of <code>MaxWidth</code> and <code>MaxHeight</code> without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.</p> </li> </ul>"
2043        },
2044        "PaddingPolicy":{
2045          "shape":"PaddingPolicy",
2046          "documentation":"<p>When you set <code>PaddingPolicy</code> to <code>Pad</code>, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail <code>MaxWidth</code> and <code>MaxHeight</code> settings.</p>"
2047        }
2048      },
2049      "documentation":"<p>Thumbnails for videos.</p>"
2050    },
2051    "Time":{
2052      "type":"string",
2053      "pattern":"(^\\d{1,5}(\\.\\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\\.\\d{0,3})?$)"
2054    },
2055    "TimeOffset":{
2056      "type":"string",
2057      "pattern":"(^[+-]?\\d{1,5}(\\.\\d{0,3})?$)|(^[+-]?([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\\.\\d{0,3})?$)"
2058    },
2059    "TimeSpan":{
2060      "type":"structure",
2061      "members":{
2062        "StartTime":{
2063          "shape":"Time",
2064          "documentation":"<p>The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.</p>"
2065        },
2066        "Duration":{
2067          "shape":"Time",
2068          "documentation":"<p>The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.</p> <p>If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.</p>"
2069        }
2070      },
2071      "documentation":"<p>Settings that determine when a clip begins and how long it lasts.</p>"
2072    },
2073    "Timing":{
2074      "type":"structure",
2075      "members":{
2076        "SubmitTimeMillis":{
2077          "shape":"NullableLong",
2078          "documentation":"<p>The time the job was submitted to Elastic Transcoder, in epoch milliseconds.</p>"
2079        },
2080        "StartTimeMillis":{
2081          "shape":"NullableLong",
2082          "documentation":"<p>The time the job began transcoding, in epoch milliseconds.</p>"
2083        },
2084        "FinishTimeMillis":{
2085          "shape":"NullableLong",
2086          "documentation":"<p>The time the job finished transcoding, in epoch milliseconds.</p>"
2087        }
2088      },
2089      "documentation":"<p>Details about the timing of a job.</p>"
2090    },
2091    "UpdatePipelineNotificationsRequest":{
2092      "type":"structure",
2093      "required":[
2094        "Id",
2095        "Notifications"
2096      ],
2097      "members":{
2098        "Id":{
2099          "shape":"Id",
2100          "documentation":"<p>The identifier of the pipeline for which you want to change notification settings.</p>",
2101          "location":"uri",
2102          "locationName":"Id"
2103        },
2104        "Notifications":{
2105          "shape":"Notifications",
2106          "documentation":"<p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.</p> <important> <p>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Complete</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> </ul>"
2107        }
2108      },
2109      "documentation":"<p>The <code>UpdatePipelineNotificationsRequest</code> structure.</p>"
2110    },
2111    "UpdatePipelineNotificationsResponse":{
2112      "type":"structure",
2113      "members":{
2114        "Pipeline":{
2115          "shape":"Pipeline",
2116          "documentation":"<p>A section of the response body that provides information about the pipeline associated with this notification.</p>"
2117        }
2118      },
2119      "documentation":"<p>The <code>UpdatePipelineNotificationsResponse</code> structure.</p>"
2120    },
2121    "UpdatePipelineRequest":{
2122      "type":"structure",
2123      "required":["Id"],
2124      "members":{
2125        "Id":{
2126          "shape":"Id",
2127          "documentation":"<p>The ID of the pipeline that you want to update.</p>",
2128          "location":"uri",
2129          "locationName":"Id"
2130        },
2131        "Name":{
2132          "shape":"Name",
2133          "documentation":"<p>The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 characters</p>"
2134        },
2135        "InputBucket":{
2136          "shape":"BucketName",
2137          "documentation":"<p>The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks.</p>"
2138        },
2139        "Role":{
2140          "shape":"Role",
2141          "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.</p>"
2142        },
2143        "AwsKmsKeyArn":{
2144          "shape":"KeyArn",
2145          "documentation":"<p>The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.</p> <p>If you use either <code>s3</code> or <code>s3-aws-kms</code> as your <code>Encryption:Mode</code>, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of <code>aes-cbc-pkcs7</code>, <code>aes-ctr</code>, or <code>aes-gcm</code>.</p>"
2146        },
2147        "Notifications":{
2148          "shape":"Notifications",
2149          "documentation":"<p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.</p> <important> <p>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Complete</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.</p> </li> </ul>"
2150        },
2151        "ContentConfig":{
2152          "shape":"PipelineOutputConfig",
2153          "documentation":"<p>The optional <code>ContentConfig</code> object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.</p> <p>If you specify values for <code>ContentConfig</code>, you must also specify values for <code>ThumbnailConfig</code>.</p> <p>If you specify values for <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee Type</b>: Specify the type of value that appears in the <code>Grantee</code> object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the <code>Grantee</code> object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the <code>Grantee</code> object is one of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> <p> <b>Access</b>: The permission that you want to give to the AWS user that you specified in <code>Grantee</code>. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> </ul>"
2154        },
2155        "ThumbnailConfig":{
2156          "shape":"PipelineOutputConfig",
2157          "documentation":"<p>The <code>ThumbnailConfig</code> object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.</p> <p>If you specify values for <code>ContentConfig</code>, you must also specify values for <code>ThumbnailConfig</code> even if you don't want to create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> (Optional): The <code>Permissions</code> object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>GranteeType</b>: Specify the type of value that appears in the Grantee object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the <code>Grantee</code> object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.</p> <important> <p>A canonical user ID is not the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the <code>Grantee</code> object is one of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want to give to the AWS user that you specified in <code>Grantee</code>. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> </ul> </li> <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul>"
2158        }
2159      },
2160      "documentation":"<p>The <code>UpdatePipelineRequest</code> structure.</p>"
2161    },
2162    "UpdatePipelineResponse":{
2163      "type":"structure",
2164      "members":{
2165        "Pipeline":{
2166          "shape":"Pipeline",
2167          "documentation":"<p>The pipeline updated by this <code>UpdatePipelineResponse</code> call.</p>"
2168        },
2169        "Warnings":{
2170          "shape":"Warnings",
2171          "documentation":"<p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p> <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>"
2172        }
2173      },
2174      "documentation":"<p>When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>"
2175    },
2176    "UpdatePipelineStatusRequest":{
2177      "type":"structure",
2178      "required":[
2179        "Id",
2180        "Status"
2181      ],
2182      "members":{
2183        "Id":{
2184          "shape":"Id",
2185          "documentation":"<p>The identifier of the pipeline to update.</p>",
2186          "location":"uri",
2187          "locationName":"Id"
2188        },
2189        "Status":{
2190          "shape":"PipelineStatus",
2191          "documentation":"<p>The desired status of the pipeline:</p> <ul> <li> <p> <code>Active</code>: The pipeline is processing jobs.</p> </li> <li> <p> <code>Paused</code>: The pipeline is not currently processing jobs.</p> </li> </ul>"
2192        }
2193      },
2194      "documentation":"<p>The <code>UpdatePipelineStatusRequest</code> structure.</p>"
2195    },
2196    "UpdatePipelineStatusResponse":{
2197      "type":"structure",
2198      "members":{
2199        "Pipeline":{
2200          "shape":"Pipeline",
2201          "documentation":"<p>A section of the response body that provides information about the pipeline.</p>"
2202        }
2203      },
2204      "documentation":"<p>When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>"
2205    },
2206    "UserMetadata":{
2207      "type":"map",
2208      "key":{"shape":"String"},
2209      "value":{"shape":"String"}
2210    },
2211    "ValidationException":{
2212      "type":"structure",
2213      "members":{
2214      },
2215      "documentation":"<p>One or more required parameter values were not provided in the request.</p>",
2216      "error":{"httpStatusCode":400},
2217      "exception":true
2218    },
2219    "VerticalAlign":{
2220      "type":"string",
2221      "pattern":"(^Top$)|(^Bottom$)|(^Center$)"
2222    },
2223    "VideoBitRate":{
2224      "type":"string",
2225      "pattern":"(^\\d{2,5}$)|(^auto$)"
2226    },
2227    "VideoCodec":{
2228      "type":"string",
2229      "pattern":"(^H\\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$)"
2230    },
2231    "VideoParameters":{
2232      "type":"structure",
2233      "members":{
2234        "Codec":{
2235          "shape":"VideoCodec",
2236          "documentation":"<p>The video codec for the output file. Valid values include <code>gif</code>, <code>H.264</code>, <code>mpeg2</code>, <code>vp8</code>, and <code>vp9</code>. You can only specify <code>vp8</code> and <code>vp9</code> when the container type is <code>webm</code>, <code>gif</code> when the container type is <code>gif</code>, and <code>mpeg2</code> when the container type is <code>mpg</code>.</p>"
2237        },
2238        "CodecOptions":{
2239          "shape":"CodecOptions",
2240          "documentation":"<p> <b>Profile (H.264/VP8/VP9 Only)</b> </p> <p>The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:</p> <ul> <li> <p> <code>baseline</code>: The profile most commonly used for videoconferencing and for mobile applications.</p> </li> <li> <p> <code>main</code>: The profile used for standard-definition digital TV broadcasts.</p> </li> <li> <p> <code>high</code>: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.</p> </li> </ul> <p> <b>Level (H.264 Only)</b> </p> <p>The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:</p> <p> <code>1</code>, <code>1b</code>, <code>1.1</code>, <code>1.2</code>, <code>1.3</code>, <code>2</code>, <code>2.1</code>, <code>2.2</code>, <code>3</code>, <code>3.1</code>, <code>3.2</code>, <code>4</code>, <code>4.1</code> </p> <p> <b>MaxReferenceFrames (H.264 Only)</b> </p> <p>Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following:</p> <p> <code>Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)</code> </p> <p>where <i>Width in pixels</i> and <i>Height in pixels</i> represent either MaxWidth and MaxHeight, or Resolution. <i>Maximum decoded picture buffer in macroblocks</i> depends on the value of the <code>Level</code> object. See the list below. (A macroblock is a block of pixels measuring 16x16.) </p> <ul> <li> <p>1 - 396</p> </li> <li> <p>1b - 396</p> </li> <li> <p>1.1 - 900</p> </li> <li> <p>1.2 - 2376</p> </li> <li> <p>1.3 - 2376</p> </li> <li> <p>2 - 2376</p> </li> <li> <p>2.1 - 4752</p> </li> <li> <p>2.2 - 8100</p> </li> <li> <p>3 - 8100</p> </li> <li> <p>3.1 - 18000</p> </li> <li> <p>3.2 - 20480</p> </li> <li> <p>4 - 32768</p> </li> <li> <p>4.1 - 32768</p> </li> </ul> <p> <b>MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only)</b> </p> <p>The maximum number of bits per second in a video buffer; the size of the buffer is specified by <code>BufferSize</code>. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video.</p> <p> <b>BufferSize (Optional, H.264/MPEG2/VP8/VP9 only)</b> </p> <p>The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you're using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify <code>MaxBitRate</code> and omit <code>BufferSize</code>, Elastic Transcoder sets <code>BufferSize</code> to 10 times the value of <code>MaxBitRate</code>.</p> <p> <b>InterlacedMode (Optional, H.264/MPEG2 Only)</b> </p> <p>The interlace mode for the output video.</p> <p>Interlaced video is used to double the perceived frame rate for a video by interlacing two fields (one field on every other line, the other field on the other lines) so that the human eye registers multiple pictures per frame. Interlacing reduces the bandwidth required for transmitting a video, but can result in blurred images and flickering.</p> <p>Valid values include <code>Progressive</code> (no interlacing, top to bottom), <code>TopFirst</code> (top field first), <code>BottomFirst</code> (bottom field first), and <code>Auto</code>.</p> <p>If <code>InterlaceMode</code> is not specified, Elastic Transcoder uses <code>Progressive</code> for the output. If <code>Auto</code> is specified, Elastic Transcoder interlaces the output.</p> <p> <b>ColorSpaceConversionMode (Optional, H.264/MPEG2 Only)</b> </p> <p>The color space conversion Elastic Transcoder applies to the output video. Color spaces are the algorithms used by the computer to store information about how to render color. <code>Bt.601</code> is the standard for standard definition video, while <code>Bt.709</code> is the standard for high definition video.</p> <p>Valid values include <code>None</code>, <code>Bt709toBt601</code>, <code>Bt601toBt709</code>, and <code>Auto</code>.</p> <p>If you chose <code>Auto</code> for <code>ColorSpaceConversionMode</code> and your output is interlaced, your frame rate is one of <code>23.97</code>, <code>24</code>, <code>25</code>, <code>29.97</code>, <code>50</code>, or <code>60</code>, your <code>SegmentDuration</code> is null, and you are using one of the resolution changes from the list below, Elastic Transcoder applies the following color space conversions:</p> <ul> <li> <p> <i>Standard to HD, 720x480 to 1920x1080</i> - Elastic Transcoder applies <code>Bt601ToBt709</code> </p> </li> <li> <p> <i>Standard to HD, 720x576 to 1920x1080</i> - Elastic Transcoder applies <code>Bt601ToBt709</code> </p> </li> <li> <p> <i>HD to Standard, 1920x1080 to 720x480</i> - Elastic Transcoder applies <code>Bt709ToBt601</code> </p> </li> <li> <p> <i>HD to Standard, 1920x1080 to 720x576</i> - Elastic Transcoder applies <code>Bt709ToBt601</code> </p> </li> </ul> <note> <p>Elastic Transcoder may change the behavior of the <code>ColorspaceConversionMode</code> <code>Auto</code> mode in the future. All outputs in a playlist must use the same <code>ColorSpaceConversionMode</code>.</p> </note> <p>If you do not specify a <code>ColorSpaceConversionMode</code>, Elastic Transcoder does not change the color space of a file. If you are unsure what <code>ColorSpaceConversionMode</code> was applied to your output file, you can check the <code>AppliedColorSpaceConversion</code> parameter included in your job response. If your job does not have an <code>AppliedColorSpaceConversion</code> in its response, no <code>ColorSpaceConversionMode</code> was applied.</p> <p> <b>ChromaSubsampling</b> </p> <p>The sampling pattern for the chroma (color) channels of the output video. Valid values include <code>yuv420p</code> and <code>yuv422p</code>.</p> <p> <code>yuv420p</code> samples the chroma information of every other horizontal and every other vertical line, <code>yuv422p</code> samples the color information of every horizontal line and every other vertical line.</p> <p> <b>LoopCount (Gif Only)</b> </p> <p>The number of times you want the output gif to loop. Valid values include <code>Infinite</code> and integers between <code>0</code> and <code>100</code>, inclusive.</p>"
2241        },
2242        "KeyframesMaxDist":{
2243          "shape":"KeyframesMaxDist",
2244          "documentation":"<p>Applicable only when the value of Video:Codec is one of <code>H.264</code>, <code>MPEG2</code>, or <code>VP8</code>.</p> <p>The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 (every frame is a key frame) and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.</p> <p>For <code>Smooth</code> outputs, the <code>FrameRate</code> must have a constant ratio to the <code>KeyframesMaxDist</code>. This allows <code>Smooth</code> playlists to switch between different quality levels while the file is being played.</p> <p>For example, an input file can have a <code>FrameRate</code> of 30 with a <code>KeyframesMaxDist</code> of 90. The output file then needs to have a ratio of 1:3. Valid outputs would have <code>FrameRate</code> of 30, 25, and 10, and <code>KeyframesMaxDist</code> of 90, 75, and 30, respectively.</p> <p>Alternately, this can be achieved by setting <code>FrameRate</code> to auto and having the same values for <code>MaxFrameRate</code> and <code>KeyframesMaxDist</code>.</p>"
2245        },
2246        "FixedGOP":{
2247          "shape":"FixedGOP",
2248          "documentation":"<p>Applicable only when the value of Video:Codec is one of <code>H.264</code>, <code>MPEG2</code>, or <code>VP8</code>.</p> <p>Whether to use a fixed value for <code>FixedGOP</code>. Valid values are <code>true</code> and <code>false</code>:</p> <ul> <li> <p> <code>true</code>: Elastic Transcoder uses the value of <code>KeyframesMaxDist</code> for the distance between key frames (the number of frames in a group of pictures, or GOP).</p> </li> <li> <p> <code>false</code>: The distance between key frames can vary.</p> </li> </ul> <important> <p> <code>FixedGOP</code> must be set to <code>true</code> for <code>fmp4</code> containers.</p> </important>"
2249        },
2250        "BitRate":{
2251          "shape":"VideoBitRate",
2252          "documentation":"<p>The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of <code>Level</code> and <code>Profile</code>. If you specify <code>auto</code>, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than <code>auto</code>, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile:</p> <p> <i>Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile)</i> </p> <ul> <li> <p>1 - 64 : 80</p> </li> <li> <p>1b - 128 : 160</p> </li> <li> <p>1.1 - 192 : 240</p> </li> <li> <p>1.2 - 384 : 480</p> </li> <li> <p>1.3 - 768 : 960</p> </li> <li> <p>2 - 2000 : 2500</p> </li> <li> <p>3 - 10000 : 12500</p> </li> <li> <p>3.1 - 14000 : 17500</p> </li> <li> <p>3.2 - 20000 : 25000</p> </li> <li> <p>4 - 20000 : 25000</p> </li> <li> <p>4.1 - 50000 : 62500</p> </li> </ul>"
2253        },
2254        "FrameRate":{
2255          "shape":"FrameRate",
2256          "documentation":"<p>The frames per second for the video stream in the output file. Valid values include:</p> <p> <code>auto</code>, <code>10</code>, <code>15</code>, <code>23.97</code>, <code>24</code>, <code>25</code>, <code>29.97</code>, <code>30</code>, <code>60</code> </p> <p>If you specify <code>auto</code>, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation:</p> <p> <code>Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)</code> </p> <p>where:</p> <ul> <li> <p> <i>width in pixels</i> and <i>height in pixels</i> represent the Resolution of the output video.</p> </li> <li> <p> <i>maximum recommended decoding speed in Luma samples/second</i> is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level.</p> </li> </ul> <p>The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (<i>Level - Decoding speed</i>):</p> <ul> <li> <p>1 - 380160</p> </li> <li> <p>1b - 380160</p> </li> <li> <p>1.1 - 76800</p> </li> <li> <p>1.2 - 1536000</p> </li> <li> <p>1.3 - 3041280</p> </li> <li> <p>2 - 3041280</p> </li> <li> <p>2.1 - 5068800</p> </li> <li> <p>2.2 - 5184000</p> </li> <li> <p>3 - 10368000</p> </li> <li> <p>3.1 - 27648000</p> </li> <li> <p>3.2 - 55296000</p> </li> <li> <p>4 - 62914560</p> </li> <li> <p>4.1 - 62914560</p> </li> </ul>"
2257        },
2258        "MaxFrameRate":{
2259          "shape":"MaxFrameRate",
2260          "documentation":"<p>If you specify <code>auto</code> for <code>FrameRate</code>, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video. Specify the maximum frame rate that you want Elastic Transcoder to use when the frame rate of the input video is greater than the desired maximum frame rate of the output video. Valid values include: <code>10</code>, <code>15</code>, <code>23.97</code>, <code>24</code>, <code>25</code>, <code>29.97</code>, <code>30</code>, <code>60</code>.</p>"
2261        },
2262        "Resolution":{
2263          "shape":"Resolution",
2264          "documentation":"<important> <p>To better control resolution and aspect ratio of output videos, we recommend that you use the values <code>MaxWidth</code>, <code>MaxHeight</code>, <code>SizingPolicy</code>, <code>PaddingPolicy</code>, and <code>DisplayAspectRatio</code> instead of <code>Resolution</code> and <code>AspectRatio</code>. The two groups of settings are mutually exclusive. Do not use them together.</p> </important> <p>The width and height of the video in the output file, in pixels. Valid values are <code>auto</code> and <i>width</i> x <i>height</i>:</p> <ul> <li> <p> <code>auto</code>: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules.</p> </li> <li> <p> <code> <i>width</i> x <i>height</i> </code>: The width and height of the output video in pixels.</p> </li> </ul> <p>Note the following about specifying the width and height:</p> <ul> <li> <p>The width must be an even integer between 128 and 4096, inclusive.</p> </li> <li> <p>The height must be an even integer between 96 and 3072, inclusive.</p> </li> <li> <p>If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution.</p> </li> <li> <p>If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.</p> </li> <li> <p>We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (<i>List - Max width x height value</i>):</p> <ul> <li> <p>1 - 25344</p> </li> <li> <p>1b - 25344</p> </li> <li> <p>1.1 - 101376</p> </li> <li> <p>1.2 - 101376</p> </li> <li> <p>1.3 - 101376</p> </li> <li> <p>2 - 101376</p> </li> <li> <p>2.1 - 202752</p> </li> <li> <p>2.2 - 404720</p> </li> <li> <p>3 - 404720</p> </li> <li> <p>3.1 - 921600</p> </li> <li> <p>3.2 - 1310720</p> </li> <li> <p>4 - 2097152</p> </li> <li> <p>4.1 - 2097152</p> </li> </ul> </li> </ul>"
2265        },
2266        "AspectRatio":{
2267          "shape":"AspectRatio",
2268          "documentation":"<important> <p>To better control resolution and aspect ratio of output videos, we recommend that you use the values <code>MaxWidth</code>, <code>MaxHeight</code>, <code>SizingPolicy</code>, <code>PaddingPolicy</code>, and <code>DisplayAspectRatio</code> instead of <code>Resolution</code> and <code>AspectRatio</code>. The two groups of settings are mutually exclusive. Do not use them together.</p> </important> <p>The display aspect ratio of the video in the output file. Valid values include:</p> <p> <code>auto</code>, <code>1:1</code>, <code>4:3</code>, <code>3:2</code>, <code>16:9</code> </p> <p>If you specify <code>auto</code>, Elastic Transcoder tries to preserve the aspect ratio of the input file.</p> <p>If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video.</p>"
2269        },
2270        "MaxWidth":{
2271          "shape":"DigitsOrAuto",
2272          "documentation":"<p> The maximum width of the output video in pixels. If you specify <code>auto</code>, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 128 and 4096. </p>"
2273        },
2274        "MaxHeight":{
2275          "shape":"DigitsOrAuto",
2276          "documentation":"<p>The maximum height of the output video in pixels. If you specify <code>auto</code>, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 96 and 3072.</p>"
2277        },
2278        "DisplayAspectRatio":{
2279          "shape":"AspectRatio",
2280          "documentation":"<p>The value that Elastic Transcoder adds to the metadata in the output file.</p>"
2281        },
2282        "SizingPolicy":{
2283          "shape":"SizingPolicy",
2284          "documentation":"<p>Specify one of the following values to control scaling of the output video:</p> <ul> <li> <p> <code>Fit</code>: Elastic Transcoder scales the output video so it matches the value that you specified in either <code>MaxWidth</code> or <code>MaxHeight</code> without exceeding the other value.</p> </li> <li> <p> <code>Fill</code>: Elastic Transcoder scales the output video so it matches the value that you specified in either <code>MaxWidth</code> or <code>MaxHeight</code> and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value.</p> </li> <li> <p> <code>Stretch</code>: Elastic Transcoder stretches the output video to match the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>. If the relative proportions of the input video and the output video are different, the output video will be distorted.</p> </li> <li> <p> <code>Keep</code>: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>, Elastic Transcoder crops the output video.</p> </li> <li> <p> <code>ShrinkToFit</code>: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of <code>MaxWidth</code> and <code>MaxHeight</code> without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up.</p> </li> <li> <p> <code>ShrinkToFill</code>: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of <code>MaxWidth</code> and <code>MaxHeight</code> without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.</p> </li> </ul>"
2285        },
2286        "PaddingPolicy":{
2287          "shape":"PaddingPolicy",
2288          "documentation":"<p>When you set <code>PaddingPolicy</code> to <code>Pad</code>, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for <code>MaxWidth</code> and <code>MaxHeight</code>.</p>"
2289        },
2290        "Watermarks":{
2291          "shape":"PresetWatermarks",
2292          "documentation":"<p>Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.</p> <p>Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.</p> <p>When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.</p>"
2293        }
2294      },
2295      "documentation":"<p>The <code>VideoParameters</code> structure.</p>"
2296    },
2297    "Warning":{
2298      "type":"structure",
2299      "members":{
2300        "Code":{
2301          "shape":"String",
2302          "documentation":"<p>The code of the cross-regional warning.</p>"
2303        },
2304        "Message":{
2305          "shape":"String",
2306          "documentation":"<p>The message explaining what resources are in a different region from the pipeline.</p> <note> <p>AWS KMS keys must be in the same region as the pipeline.</p> </note>"
2307        }
2308      },
2309      "documentation":"<p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p> <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>"
2310    },
2311    "Warnings":{
2312      "type":"list",
2313      "member":{"shape":"Warning"}
2314    },
2315    "WatermarkKey":{
2316      "type":"string",
2317      "max":1024,
2318      "min":1,
2319      "pattern":"(^.{1,1020}.jpg$)|(^.{1,1019}.jpeg$)|(^.{1,1020}.png$)"
2320    },
2321    "WatermarkSizingPolicy":{
2322      "type":"string",
2323      "pattern":"(^Fit$)|(^Stretch$)|(^ShrinkToFit$)"
2324    },
2325    "ZeroTo255String":{
2326      "type":"string",
2327      "max":255,
2328      "min":0
2329    },
2330    "ZeroTo512String":{
2331      "type":"string",
2332      "max":512,
2333      "min":0
2334    }
2335  },
2336  "documentation":"<fullname>AWS Elastic Transcoder Service</fullname> <p>The AWS Elastic Transcoder Service.</p>"
2337}
2338