aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,2478 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2012-09-25",
4
- "endpointPrefix":"elastictranscoder",
5
- "serviceFullName":"Amazon Elastic Transcoder",
6
- "signatureVersion":"v4",
7
- "protocol":"rest-json"
8
- },
9
- "documentation":"<fullname>AWS Elastic Transcoder Service</fullname> <p>The AWS Elastic Transcoder Service.</p>",
10
- "operations":{
11
- "CancelJob":{
12
- "name":"CancelJob",
13
- "http":{
14
- "method":"DELETE",
15
- "requestUri":"/2012-09-25/jobs/{Id}",
16
- "responseCode":202
17
- },
18
- "input":{
19
- "shape":"CancelJobRequest",
20
- "documentation":"<p>The <code>CancelJobRequest</code> structure.</p>"
21
- },
22
- "output":{
23
- "shape":"CancelJobResponse",
24
- "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>"
25
- },
26
- "errors":[
27
- {
28
- "shape":"ValidationException",
29
- "error":{"httpStatusCode":400},
30
- "exception":true,
31
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
32
- },
33
- {
34
- "shape":"IncompatibleVersionException",
35
- "error":{"httpStatusCode":400},
36
- "exception":true
37
- },
38
- {
39
- "shape":"ResourceNotFoundException",
40
- "error":{"httpStatusCode":404},
41
- "exception":true,
42
- "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>"
43
- },
44
- {
45
- "shape":"ResourceInUseException",
46
- "error":{"httpStatusCode":409},
47
- "exception":true,
48
- "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>"
49
- },
50
- {
51
- "shape":"AccessDeniedException",
52
- "error":{"httpStatusCode":403},
53
- "exception":true,
54
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
55
- },
56
- {
57
- "shape":"InternalServiceException",
58
- "exception":true,
59
- "fault":true,
60
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
61
- }
62
- ],
63
- "documentation":"<p>The CancelJob operation cancels an unfinished job.</p>"
64
- },
65
- "CreateJob":{
66
- "name":"CreateJob",
67
- "http":{
68
- "method":"POST",
69
- "requestUri":"/2012-09-25/jobs",
70
- "responseCode":201
71
- },
72
- "input":{
73
- "shape":"CreateJobRequest",
74
- "documentation":"<p>The <code>CreateJobRequest</code> structure.</p>"
75
- },
76
- "output":{
77
- "shape":"CreateJobResponse",
78
- "documentation":"<p>The CreateJobResponse structure.</p>"
79
- },
80
- "errors":[
81
- {
82
- "shape":"ValidationException",
83
- "error":{"httpStatusCode":400},
84
- "exception":true,
85
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
86
- },
87
- {
88
- "shape":"IncompatibleVersionException",
89
- "error":{"httpStatusCode":400},
90
- "exception":true
91
- },
92
- {
93
- "shape":"ResourceNotFoundException",
94
- "error":{"httpStatusCode":404},
95
- "exception":true,
96
- "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>"
97
- },
98
- {
99
- "shape":"AccessDeniedException",
100
- "error":{"httpStatusCode":403},
101
- "exception":true,
102
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
103
- },
104
- {
105
- "shape":"LimitExceededException",
106
- "error":{"httpStatusCode":429},
107
- "exception":true,
108
- "documentation":"<p>Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.</p>"
109
- },
110
- {
111
- "shape":"InternalServiceException",
112
- "exception":true,
113
- "fault":true,
114
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
115
- }
116
- ],
117
- "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>"
118
- },
119
- "CreatePipeline":{
120
- "name":"CreatePipeline",
121
- "http":{
122
- "method":"POST",
123
- "requestUri":"/2012-09-25/pipelines",
124
- "responseCode":201
125
- },
126
- "input":{
127
- "shape":"CreatePipelineRequest",
128
- "documentation":"<p>The <code>CreatePipelineRequest</code> structure.</p>"
129
- },
130
- "output":{
131
- "shape":"CreatePipelineResponse",
132
- "documentation":"<p>When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>"
133
- },
134
- "errors":[
135
- {
136
- "shape":"ValidationException",
137
- "error":{"httpStatusCode":400},
138
- "exception":true,
139
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
140
- },
141
- {
142
- "shape":"IncompatibleVersionException",
143
- "error":{"httpStatusCode":400},
144
- "exception":true
145
- },
146
- {
147
- "shape":"AccessDeniedException",
148
- "error":{"httpStatusCode":403},
149
- "exception":true,
150
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
151
- },
152
- {
153
- "shape":"ResourceNotFoundException",
154
- "error":{"httpStatusCode":404},
155
- "exception":true,
156
- "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>"
157
- },
158
- {
159
- "shape":"LimitExceededException",
160
- "error":{"httpStatusCode":429},
161
- "exception":true,
162
- "documentation":"<p>Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.</p>"
163
- },
164
- {
165
- "shape":"InternalServiceException",
166
- "exception":true,
167
- "fault":true,
168
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
169
- }
170
- ],
171
- "documentation":"<p>The CreatePipeline operation creates a pipeline with settings that you specify.</p>"
172
- },
173
- "CreatePreset":{
174
- "name":"CreatePreset",
175
- "http":{
176
- "method":"POST",
177
- "requestUri":"/2012-09-25/presets",
178
- "responseCode":201
179
- },
180
- "input":{
181
- "shape":"CreatePresetRequest",
182
- "documentation":"<p>The <code>CreatePresetRequest</code> structure.</p>"
183
- },
184
- "output":{
185
- "shape":"CreatePresetResponse",
186
- "documentation":"<p>The <code>CreatePresetResponse</code> structure.</p>"
187
- },
188
- "errors":[
189
- {
190
- "shape":"ValidationException",
191
- "error":{"httpStatusCode":400},
192
- "exception":true,
193
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
194
- },
195
- {
196
- "shape":"IncompatibleVersionException",
197
- "error":{"httpStatusCode":400},
198
- "exception":true
199
- },
200
- {
201
- "shape":"AccessDeniedException",
202
- "error":{"httpStatusCode":403},
203
- "exception":true,
204
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
205
- },
206
- {
207
- "shape":"LimitExceededException",
208
- "error":{"httpStatusCode":429},
209
- "exception":true,
210
- "documentation":"<p>Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.</p>"
211
- },
212
- {
213
- "shape":"InternalServiceException",
214
- "exception":true,
215
- "fault":true,
216
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
217
- }
218
- ],
219
- "documentation":"<p>The CreatePreset operation creates a preset with settings that you specify.</p> <important>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.</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>"
220
- },
221
- "DeletePipeline":{
222
- "name":"DeletePipeline",
223
- "http":{
224
- "method":"DELETE",
225
- "requestUri":"/2012-09-25/pipelines/{Id}",
226
- "responseCode":202
227
- },
228
- "input":{
229
- "shape":"DeletePipelineRequest",
230
- "documentation":"<p>The <code>DeletePipelineRequest</code> structure.</p>"
231
- },
232
- "output":{
233
- "shape":"DeletePipelineResponse",
234
- "documentation":"<p>The <code>DeletePipelineResponse</code> structure.</p>"
235
- },
236
- "errors":[
237
- {
238
- "shape":"ValidationException",
239
- "error":{"httpStatusCode":400},
240
- "exception":true,
241
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
242
- },
243
- {
244
- "shape":"IncompatibleVersionException",
245
- "error":{"httpStatusCode":400},
246
- "exception":true
247
- },
248
- {
249
- "shape":"ResourceNotFoundException",
250
- "error":{"httpStatusCode":404},
251
- "exception":true,
252
- "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>"
253
- },
254
- {
255
- "shape":"ResourceInUseException",
256
- "error":{"httpStatusCode":409},
257
- "exception":true,
258
- "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>"
259
- },
260
- {
261
- "shape":"AccessDeniedException",
262
- "error":{"httpStatusCode":403},
263
- "exception":true,
264
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
265
- },
266
- {
267
- "shape":"InternalServiceException",
268
- "exception":true,
269
- "fault":true,
270
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
271
- }
272
- ],
273
- "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>"
274
- },
275
- "DeletePreset":{
276
- "name":"DeletePreset",
277
- "http":{
278
- "method":"DELETE",
279
- "requestUri":"/2012-09-25/presets/{Id}",
280
- "responseCode":202
281
- },
282
- "input":{
283
- "shape":"DeletePresetRequest",
284
- "documentation":"<p>The <code>DeletePresetRequest</code> structure.</p>"
285
- },
286
- "output":{
287
- "shape":"DeletePresetResponse",
288
- "documentation":"<p>The <code>DeletePresetResponse</code> structure.</p>"
289
- },
290
- "errors":[
291
- {
292
- "shape":"ValidationException",
293
- "error":{"httpStatusCode":400},
294
- "exception":true,
295
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
296
- },
297
- {
298
- "shape":"IncompatibleVersionException",
299
- "error":{"httpStatusCode":400},
300
- "exception":true
301
- },
302
- {
303
- "shape":"ResourceNotFoundException",
304
- "error":{"httpStatusCode":404},
305
- "exception":true,
306
- "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>"
307
- },
308
- {
309
- "shape":"AccessDeniedException",
310
- "error":{"httpStatusCode":403},
311
- "exception":true,
312
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
313
- },
314
- {
315
- "shape":"InternalServiceException",
316
- "exception":true,
317
- "fault":true,
318
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
319
- }
320
- ],
321
- "documentation":"<p>The DeletePreset operation removes a preset that you've added in an AWS region.</p>"
322
- },
323
- "ListJobsByPipeline":{
324
- "name":"ListJobsByPipeline",
325
- "http":{
326
- "method":"GET",
327
- "requestUri":"/2012-09-25/jobsByPipeline/{PipelineId}"
328
- },
329
- "input":{
330
- "shape":"ListJobsByPipelineRequest",
331
- "documentation":"<p>The <code>ListJobsByPipelineRequest</code> structure.</p>"
332
- },
333
- "output":{
334
- "shape":"ListJobsByPipelineResponse",
335
- "documentation":"<p>The <code>ListJobsByPipelineResponse</code> structure.</p>"
336
- },
337
- "errors":[
338
- {
339
- "shape":"ValidationException",
340
- "error":{"httpStatusCode":400},
341
- "exception":true,
342
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
343
- },
344
- {
345
- "shape":"IncompatibleVersionException",
346
- "error":{"httpStatusCode":400},
347
- "exception":true
348
- },
349
- {
350
- "shape":"ResourceNotFoundException",
351
- "error":{"httpStatusCode":404},
352
- "exception":true,
353
- "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>"
354
- },
355
- {
356
- "shape":"AccessDeniedException",
357
- "error":{"httpStatusCode":403},
358
- "exception":true,
359
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
360
- },
361
- {
362
- "shape":"InternalServiceException",
363
- "exception":true,
364
- "fault":true,
365
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
366
- }
367
- ],
368
- "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>"
369
- },
370
- "ListJobsByStatus":{
371
- "name":"ListJobsByStatus",
372
- "http":{
373
- "method":"GET",
374
- "requestUri":"/2012-09-25/jobsByStatus/{Status}"
375
- },
376
- "input":{
377
- "shape":"ListJobsByStatusRequest",
378
- "documentation":"<p>The <code>ListJobsByStatusRequest</code> structure.</p>"
379
- },
380
- "output":{
381
- "shape":"ListJobsByStatusResponse",
382
- "documentation":"<p> The <code>ListJobsByStatusResponse</code> structure. </p>"
383
- },
384
- "errors":[
385
- {
386
- "shape":"ValidationException",
387
- "error":{"httpStatusCode":400},
388
- "exception":true,
389
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
390
- },
391
- {
392
- "shape":"IncompatibleVersionException",
393
- "error":{"httpStatusCode":400},
394
- "exception":true
395
- },
396
- {
397
- "shape":"ResourceNotFoundException",
398
- "error":{"httpStatusCode":404},
399
- "exception":true,
400
- "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>"
401
- },
402
- {
403
- "shape":"AccessDeniedException",
404
- "error":{"httpStatusCode":403},
405
- "exception":true,
406
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
407
- },
408
- {
409
- "shape":"InternalServiceException",
410
- "exception":true,
411
- "fault":true,
412
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
413
- }
414
- ],
415
- "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>"
416
- },
417
- "ListPipelines":{
418
- "name":"ListPipelines",
419
- "http":{
420
- "method":"GET",
421
- "requestUri":"/2012-09-25/pipelines"
422
- },
423
- "input":{
424
- "shape":"ListPipelinesRequest",
425
- "documentation":"<p>The <code>ListPipelineRequest</code> structure.</p>"
426
- },
427
- "output":{
428
- "shape":"ListPipelinesResponse",
429
- "documentation":"<p>A list of the pipelines associated with the current AWS account.</p>"
430
- },
431
- "errors":[
432
- {
433
- "shape":"ValidationException",
434
- "error":{"httpStatusCode":400},
435
- "exception":true,
436
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
437
- },
438
- {
439
- "shape":"IncompatibleVersionException",
440
- "error":{"httpStatusCode":400},
441
- "exception":true
442
- },
443
- {
444
- "shape":"AccessDeniedException",
445
- "error":{"httpStatusCode":403},
446
- "exception":true,
447
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
448
- },
449
- {
450
- "shape":"InternalServiceException",
451
- "exception":true,
452
- "fault":true,
453
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
454
- }
455
- ],
456
- "documentation":"<p>The ListPipelines operation gets a list of the pipelines associated with the current AWS account.</p>"
457
- },
458
- "ListPresets":{
459
- "name":"ListPresets",
460
- "http":{
461
- "method":"GET",
462
- "requestUri":"/2012-09-25/presets"
463
- },
464
- "input":{
465
- "shape":"ListPresetsRequest",
466
- "documentation":"<p>The <code>ListPresetsRequest</code> structure.</p>"
467
- },
468
- "output":{
469
- "shape":"ListPresetsResponse",
470
- "documentation":"<p>The <code>ListPresetsResponse</code> structure.</p>"
471
- },
472
- "errors":[
473
- {
474
- "shape":"ValidationException",
475
- "error":{"httpStatusCode":400},
476
- "exception":true,
477
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
478
- },
479
- {
480
- "shape":"IncompatibleVersionException",
481
- "error":{"httpStatusCode":400},
482
- "exception":true
483
- },
484
- {
485
- "shape":"AccessDeniedException",
486
- "error":{"httpStatusCode":403},
487
- "exception":true,
488
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
489
- },
490
- {
491
- "shape":"InternalServiceException",
492
- "exception":true,
493
- "fault":true,
494
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
495
- }
496
- ],
497
- "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>"
498
- },
499
- "ReadJob":{
500
- "name":"ReadJob",
501
- "http":{
502
- "method":"GET",
503
- "requestUri":"/2012-09-25/jobs/{Id}"
504
- },
505
- "input":{
506
- "shape":"ReadJobRequest",
507
- "documentation":"<p>The <code>ReadJobRequest</code> structure.</p>"
508
- },
509
- "output":{
510
- "shape":"ReadJobResponse",
511
- "documentation":"<p>The <code>ReadJobResponse</code> structure.</p>"
512
- },
513
- "errors":[
514
- {
515
- "shape":"ValidationException",
516
- "error":{"httpStatusCode":400},
517
- "exception":true,
518
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
519
- },
520
- {
521
- "shape":"IncompatibleVersionException",
522
- "error":{"httpStatusCode":400},
523
- "exception":true
524
- },
525
- {
526
- "shape":"ResourceNotFoundException",
527
- "error":{"httpStatusCode":404},
528
- "exception":true,
529
- "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>"
530
- },
531
- {
532
- "shape":"AccessDeniedException",
533
- "error":{"httpStatusCode":403},
534
- "exception":true,
535
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
536
- },
537
- {
538
- "shape":"InternalServiceException",
539
- "exception":true,
540
- "fault":true,
541
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
542
- }
543
- ],
544
- "documentation":"<p>The ReadJob operation returns detailed information about a job.</p>"
545
- },
546
- "ReadPipeline":{
547
- "name":"ReadPipeline",
548
- "http":{
549
- "method":"GET",
550
- "requestUri":"/2012-09-25/pipelines/{Id}"
551
- },
552
- "input":{
553
- "shape":"ReadPipelineRequest",
554
- "documentation":"<p>The <code>ReadPipelineRequest</code> structure.</p>"
555
- },
556
- "output":{
557
- "shape":"ReadPipelineResponse",
558
- "documentation":"<p>The <code>ReadPipelineResponse</code> structure.</p>"
559
- },
560
- "errors":[
561
- {
562
- "shape":"ValidationException",
563
- "error":{"httpStatusCode":400},
564
- "exception":true,
565
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
566
- },
567
- {
568
- "shape":"IncompatibleVersionException",
569
- "error":{"httpStatusCode":400},
570
- "exception":true
571
- },
572
- {
573
- "shape":"ResourceNotFoundException",
574
- "error":{"httpStatusCode":404},
575
- "exception":true,
576
- "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>"
577
- },
578
- {
579
- "shape":"AccessDeniedException",
580
- "error":{"httpStatusCode":403},
581
- "exception":true,
582
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
583
- },
584
- {
585
- "shape":"InternalServiceException",
586
- "exception":true,
587
- "fault":true,
588
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
589
- }
590
- ],
591
- "documentation":"<p>The ReadPipeline operation gets detailed information about a pipeline.</p>"
592
- },
593
- "ReadPreset":{
594
- "name":"ReadPreset",
595
- "http":{
596
- "method":"GET",
597
- "requestUri":"/2012-09-25/presets/{Id}"
598
- },
599
- "input":{
600
- "shape":"ReadPresetRequest",
601
- "documentation":"<p>The <code>ReadPresetRequest</code> structure.</p>"
602
- },
603
- "output":{
604
- "shape":"ReadPresetResponse",
605
- "documentation":"<p>The <code>ReadPresetResponse</code> structure.</p>"
606
- },
607
- "errors":[
608
- {
609
- "shape":"ValidationException",
610
- "error":{"httpStatusCode":400},
611
- "exception":true,
612
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
613
- },
614
- {
615
- "shape":"IncompatibleVersionException",
616
- "error":{"httpStatusCode":400},
617
- "exception":true
618
- },
619
- {
620
- "shape":"ResourceNotFoundException",
621
- "error":{"httpStatusCode":404},
622
- "exception":true,
623
- "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>"
624
- },
625
- {
626
- "shape":"AccessDeniedException",
627
- "error":{"httpStatusCode":403},
628
- "exception":true,
629
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
630
- },
631
- {
632
- "shape":"InternalServiceException",
633
- "exception":true,
634
- "fault":true,
635
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
636
- }
637
- ],
638
- "documentation":"<p>The ReadPreset operation gets detailed information about a preset.</p>"
639
- },
640
- "TestRole":{
641
- "name":"TestRole",
642
- "http":{
643
- "method":"POST",
644
- "requestUri":"/2012-09-25/roleTests",
645
- "responseCode":200
646
- },
647
- "input":{
648
- "shape":"TestRoleRequest",
649
- "documentation":"<p> The <code>TestRoleRequest</code> structure. </p>"
650
- },
651
- "output":{
652
- "shape":"TestRoleResponse",
653
- "documentation":"<p>The <code>TestRoleResponse</code> structure.</p>"
654
- },
655
- "errors":[
656
- {
657
- "shape":"ValidationException",
658
- "error":{"httpStatusCode":400},
659
- "exception":true,
660
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
661
- },
662
- {
663
- "shape":"IncompatibleVersionException",
664
- "error":{"httpStatusCode":400},
665
- "exception":true
666
- },
667
- {
668
- "shape":"ResourceNotFoundException",
669
- "error":{"httpStatusCode":404},
670
- "exception":true,
671
- "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>"
672
- },
673
- {
674
- "shape":"AccessDeniedException",
675
- "error":{"httpStatusCode":403},
676
- "exception":true,
677
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
678
- },
679
- {
680
- "shape":"InternalServiceException",
681
- "exception":true,
682
- "fault":true,
683
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
684
- }
685
- ],
686
- "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>"
687
- },
688
- "UpdatePipeline":{
689
- "name":"UpdatePipeline",
690
- "http":{
691
- "method":"PUT",
692
- "requestUri":"/2012-09-25/pipelines/{Id}",
693
- "responseCode":200
694
- },
695
- "input":{
696
- "shape":"UpdatePipelineRequest",
697
- "documentation":"<p>The <code>UpdatePipelineRequest</code> structure.</p>"
698
- },
699
- "output":{
700
- "shape":"UpdatePipelineResponse",
701
- "documentation":"<p>When you update a pipeline, Elastic Transcoder returns the values that you specified in the request. </p>"
702
- },
703
- "errors":[
704
- {
705
- "shape":"ValidationException",
706
- "error":{"httpStatusCode":400},
707
- "exception":true,
708
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
709
- },
710
- {
711
- "shape":"IncompatibleVersionException",
712
- "error":{"httpStatusCode":400},
713
- "exception":true
714
- },
715
- {
716
- "shape":"AccessDeniedException",
717
- "error":{"httpStatusCode":403},
718
- "exception":true,
719
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
720
- },
721
- {
722
- "shape":"ResourceInUseException",
723
- "error":{"httpStatusCode":409},
724
- "exception":true,
725
- "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>"
726
- },
727
- {
728
- "shape":"ResourceNotFoundException",
729
- "error":{"httpStatusCode":404},
730
- "exception":true,
731
- "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>"
732
- },
733
- {
734
- "shape":"InternalServiceException",
735
- "exception":true,
736
- "fault":true,
737
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
738
- }
739
- ],
740
- "documentation":"<p> Use the <code>UpdatePipeline</code> operation to update settings for a pipeline. <important>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. </important> </p>"
741
- },
742
- "UpdatePipelineNotifications":{
743
- "name":"UpdatePipelineNotifications",
744
- "http":{
745
- "method":"POST",
746
- "requestUri":"/2012-09-25/pipelines/{Id}/notifications"
747
- },
748
- "input":{
749
- "shape":"UpdatePipelineNotificationsRequest",
750
- "documentation":"<p>The <code>UpdatePipelineNotificationsRequest</code> structure.</p>"
751
- },
752
- "output":{
753
- "shape":"UpdatePipelineNotificationsResponse",
754
- "documentation":"<p>The <code>UpdatePipelineNotificationsResponse</code> structure.</p>"
755
- },
756
- "errors":[
757
- {
758
- "shape":"ValidationException",
759
- "error":{"httpStatusCode":400},
760
- "exception":true,
761
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
762
- },
763
- {
764
- "shape":"IncompatibleVersionException",
765
- "error":{"httpStatusCode":400},
766
- "exception":true
767
- },
768
- {
769
- "shape":"ResourceNotFoundException",
770
- "error":{"httpStatusCode":404},
771
- "exception":true,
772
- "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>"
773
- },
774
- {
775
- "shape":"ResourceInUseException",
776
- "error":{"httpStatusCode":409},
777
- "exception":true,
778
- "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>"
779
- },
780
- {
781
- "shape":"AccessDeniedException",
782
- "error":{"httpStatusCode":403},
783
- "exception":true,
784
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
785
- },
786
- {
787
- "shape":"InternalServiceException",
788
- "exception":true,
789
- "fault":true,
790
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
791
- }
792
- ],
793
- "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>"
794
- },
795
- "UpdatePipelineStatus":{
796
- "name":"UpdatePipelineStatus",
797
- "http":{
798
- "method":"POST",
799
- "requestUri":"/2012-09-25/pipelines/{Id}/status"
800
- },
801
- "input":{
802
- "shape":"UpdatePipelineStatusRequest",
803
- "documentation":"<p>The <code>UpdatePipelineStatusRequest</code> structure.</p>"
804
- },
805
- "output":{
806
- "shape":"UpdatePipelineStatusResponse",
807
- "documentation":"When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request."
808
- },
809
- "errors":[
810
- {
811
- "shape":"ValidationException",
812
- "error":{"httpStatusCode":400},
813
- "exception":true,
814
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
815
- },
816
- {
817
- "shape":"IncompatibleVersionException",
818
- "error":{"httpStatusCode":400},
819
- "exception":true
820
- },
821
- {
822
- "shape":"ResourceNotFoundException",
823
- "error":{"httpStatusCode":404},
824
- "exception":true,
825
- "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>"
826
- },
827
- {
828
- "shape":"ResourceInUseException",
829
- "error":{"httpStatusCode":409},
830
- "exception":true,
831
- "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>"
832
- },
833
- {
834
- "shape":"AccessDeniedException",
835
- "error":{"httpStatusCode":403},
836
- "exception":true,
837
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
838
- },
839
- {
840
- "shape":"InternalServiceException",
841
- "exception":true,
842
- "fault":true,
843
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
844
- }
845
- ],
846
- "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>"
847
- }
848
- },
849
- "shapes":{
850
- "AccessControl":{
851
- "type":"string",
852
- "pattern":"(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)"
853
- },
854
- "AccessControls":{
855
- "type":"list",
856
- "member":{"shape":"AccessControl"},
857
- "max":30
858
- },
859
- "AccessDeniedException":{
860
- "type":"structure",
861
- "members":{
862
- },
863
- "error":{"httpStatusCode":403},
864
- "exception":true,
865
- "documentation":"<p> General authentication failure. The request was not signed correctly. </p>"
866
- },
867
- "Artwork":{
868
- "type":"structure",
869
- "members":{
870
- "InputKey":{
871
- "shape":"WatermarkKey",
872
- "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>"
873
- },
874
- "MaxWidth":{
875
- "shape":"DigitsOrAuto",
876
- "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>"
877
- },
878
- "MaxHeight":{
879
- "shape":"DigitsOrAuto",
880
- "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>"
881
- },
882
- "SizingPolicy":{
883
- "shape":"SizingPolicy",
884
- "documentation":"<p>Specify one of the following values to control scaling of the output album art:</p> <p> <ul> <li> <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.</li> <li> <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. </li> <li> <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.</li> <li> <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.</li> <li> <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.</li> <li> <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.</li> </ul> </p>"
885
- },
886
- "PaddingPolicy":{
887
- "shape":"PaddingPolicy",
888
- "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>"
889
- },
890
- "AlbumArtFormat":{
891
- "shape":"JpgOrPng",
892
- "documentation":"<p>The format of album art, if any. Valid formats are <code>.jpg</code> and <code>.png</code>.</p>"
893
- }
894
- },
895
- "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>"
896
- },
897
- "Artworks":{
898
- "type":"list",
899
- "member":{"shape":"Artwork"}
900
- },
901
- "Ascending":{
902
- "type":"string",
903
- "pattern":"(^true$)|(^false$)"
904
- },
905
- "AspectRatio":{
906
- "type":"string",
907
- "pattern":"(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)"
908
- },
909
- "AudioBitRate":{
910
- "type":"string",
911
- "pattern":"^\\d{1,3}$"
912
- },
913
- "AudioChannels":{
914
- "type":"string",
915
- "pattern":"(^auto$)|(^0$)|(^1$)|(^2$)"
916
- },
917
- "AudioCodec":{
918
- "type":"string",
919
- "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)"
920
- },
921
- "AudioCodecOptions":{
922
- "type":"structure",
923
- "members":{
924
- "Profile":{
925
- "shape":"AudioCodecProfile",
926
- "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> <code>auto</code>: If you specify <code>auto</code>, Elastic Transcoder will select the profile based on the bit rate selected for the output file.</li> <li> <code>AAC-LC</code>: The most common AAC profile. Use for bitrates larger than 64 kbps.</li> <li> <code>HE-AAC</code>: Not supported on some older players and devices. Use for bitrates between 40 and 80 kbps.</li> <li> <code>HE-AACv2</code>: Not supported on some players and devices. Use for bitrates less than 48 kbps.</li> </ul>"
927
- }
928
- },
929
- "documentation":"<p>Options associated with your audio codec.</p>"
930
- },
931
- "AudioCodecProfile":{
932
- "type":"string",
933
- "pattern":"(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)"
934
- },
935
- "AudioParameters":{
936
- "type":"structure",
937
- "members":{
938
- "Codec":{
939
- "shape":"AudioCodec",
940
- "documentation":"<p>The audio codec for the output file. Valid values include <code>aac</code>, <code>mp3</code>, and <code>vorbis</code>.</p>"
941
- },
942
- "SampleRate":{
943
- "shape":"AudioSampleRate",
944
- "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>"
945
- },
946
- "BitRate":{
947
- "shape":"AudioBitRate",
948
- "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>"
949
- },
950
- "Channels":{
951
- "shape":"AudioChannels",
952
- "documentation":"<p>The number of audio channels in the output file. Valid values include:</p> <p><code>auto</code>, <code>0</code>, <code>1</code>, <code>2</code></p> <p>If you specify <code>auto</code>, Elastic Transcoder automatically detects the number of channels in the input file.</p>"
953
- },
954
- "CodecOptions":{
955
- "shape":"AudioCodecOptions",
956
- "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>"
957
- }
958
- },
959
- "documentation":"<p>Parameters required for transcoding audio.</p>"
960
- },
961
- "AudioSampleRate":{
962
- "type":"string",
963
- "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)"
964
- },
965
- "BucketName":{
966
- "type":"string",
967
- "pattern":"^(\\w|\\.|-){1,255}$"
968
- },
969
- "CancelJobRequest":{
970
- "type":"structure",
971
- "required":["Id"],
972
- "members":{
973
- "Id":{
974
- "shape":"Id",
975
- "location":"uri",
976
- "locationName":"Id",
977
- "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>"
978
- }
979
- },
980
- "documentation":"<p>The <code>CancelJobRequest</code> structure.</p>"
981
- },
982
- "CancelJobResponse":{
983
- "type":"structure",
984
- "members":{
985
- },
986
- "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>"
987
- },
988
- "CaptionFormat":{
989
- "type":"structure",
990
- "members":{
991
- "Format":{
992
- "shape":"CaptionFormatFormat",
993
- "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 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. There are no container restrictions on sidecar captions. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.</p> </li> </ul>"
994
- },
995
- "Pattern":{
996
- "shape":"CaptionFormatPattern",
997
- "documentation":"<p>The prefix for caption filenames, in the form <i>description</i>-<code>{language}</code>, where:</p> <ul> <li> <i>description</i> is a description of the video.</li> <li> <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.</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 will be Sydney-en-sunrise00000.srt.</p>"
998
- }
999
- },
1000
- "documentation":"<p>The file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error.</p>"
1001
- },
1002
- "CaptionFormatFormat":{
1003
- "type":"string",
1004
- "pattern":"(^mov-text$)|(^cea-608$)|(^cea-708$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)"
1005
- },
1006
- "CaptionFormatPattern":{
1007
- "type":"string",
1008
- "pattern":"(^$)|(^.*\\{language\\}.*$)"
1009
- },
1010
- "CaptionFormats":{
1011
- "type":"list",
1012
- "member":{"shape":"CaptionFormat"},
1013
- "max":4
1014
- },
1015
- "CaptionMergePolicy":{
1016
- "type":"string",
1017
- "pattern":"(^MergeOverride$)|(^MergeRetain$)|(^Override$)"
1018
- },
1019
- "CaptionSource":{
1020
- "type":"structure",
1021
- "members":{
1022
- "Key":{
1023
- "shape":"Key",
1024
- "documentation":"<p>The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.</p>"
1025
- },
1026
- "Language":{
1027
- "shape":"Key",
1028
- "documentation":"<p>A string that specifies the language of the caption. 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>"
1029
- },
1030
- "TimeOffset":{
1031
- "shape":"TimeOffset",
1032
- "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>"
1033
- },
1034
- "Label":{
1035
- "shape":"Name",
1036
- "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>"
1037
- }
1038
- },
1039
- "documentation":"<p>A source file for the input sidecar captions used during the transcoding process.</p>"
1040
- },
1041
- "CaptionSources":{
1042
- "type":"list",
1043
- "member":{"shape":"CaptionSource"},
1044
- "max":20
1045
- },
1046
- "Captions":{
1047
- "type":"structure",
1048
- "members":{
1049
- "MergePolicy":{
1050
- "shape":"CaptionMergePolicy",
1051
- "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 <guilabel>CaptionSources</guilabel> 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>"
1052
- },
1053
- "CaptionSources":{
1054
- "shape":"CaptionSources",
1055
- "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>"
1056
- },
1057
- "CaptionFormats":{
1058
- "shape":"CaptionFormats",
1059
- "documentation":"<p>The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.</p>"
1060
- }
1061
- },
1062
- "documentation":"<p>The captions to be created, if any.</p>"
1063
- },
1064
- "Clip":{
1065
- "type":"structure",
1066
- "members":{
1067
- "TimeSpan":{
1068
- "shape":"TimeSpan",
1069
- "documentation":"<p>Settings that determine when a clip begins and how long it lasts.</p>"
1070
- }
1071
- },
1072
- "documentation":"<p>Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.</p>"
1073
- },
1074
- "CodecOption":{
1075
- "type":"string",
1076
- "min":1,
1077
- "max":255
1078
- },
1079
- "CodecOptions":{
1080
- "type":"map",
1081
- "key":{"shape":"CodecOption"},
1082
- "value":{"shape":"CodecOption"},
1083
- "max":30
1084
- },
1085
- "Composition":{
1086
- "type":"list",
1087
- "member":{"shape":"Clip"}
1088
- },
1089
- "CreateJobOutput":{
1090
- "type":"structure",
1091
- "members":{
1092
- "Key":{
1093
- "shape":"Key",
1094
- "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>"
1095
- },
1096
- "ThumbnailPattern":{
1097
- "shape":"ThumbnailPattern",
1098
- "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>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.</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>"
1099
- },
1100
- "Rotate":{
1101
- "shape":"Rotate",
1102
- "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>"
1103
- },
1104
- "PresetId":{
1105
- "shape":"Id",
1106
- "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>"
1107
- },
1108
- "SegmentDuration":{
1109
- "shape":"Float",
1110
- "documentation":"<p>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.</p>"
1111
- },
1112
- "Watermarks":{
1113
- "shape":"JobWatermarks",
1114
- "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>"
1115
- },
1116
- "AlbumArt":{
1117
- "shape":"JobAlbumArt",
1118
- "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>"
1119
- },
1120
- "Composition":{
1121
- "shape":"Composition",
1122
- "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>"
1123
- },
1124
- "Captions":{
1125
- "shape":"Captions",
1126
- "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>"
1127
- }
1128
- },
1129
- "documentation":"<p>The <code>CreateJobOutput</code> structure.</p>"
1130
- },
1131
- "CreateJobOutputs":{
1132
- "type":"list",
1133
- "member":{"shape":"CreateJobOutput"},
1134
- "max":30
1135
- },
1136
- "CreateJobPlaylist":{
1137
- "type":"structure",
1138
- "members":{
1139
- "Name":{
1140
- "shape":"Filename",
1141
- "documentation":"<p>The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. The name cannot include a / character. If you create more than one master playlist (not recommended), the values of all <code>Name</code> objects must be unique. Elastic Transcoder automatically appends .m3u8 to the file name. If you include .m3u8 in <code>Name</code>, it will appear twice in the file name. </p>"
1142
- },
1143
- "Format":{
1144
- "shape":"PlaylistFormat",
1145
- "documentation":"<p>This value must currently be HLSv3.</p>"
1146
- },
1147
- "OutputKeys":{
1148
- "shape":"OutputKeys",
1149
- "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. If you include more than one output in a playlist, the value of <code>SegmentDuration</code> for all of the outputs must be the same.</p>"
1150
- }
1151
- },
1152
- "documentation":"<p>Information about the master playlist.</p>"
1153
- },
1154
- "CreateJobPlaylists":{
1155
- "type":"list",
1156
- "member":{"shape":"CreateJobPlaylist"},
1157
- "max":30
1158
- },
1159
- "CreateJobRequest":{
1160
- "type":"structure",
1161
- "required":[
1162
- "PipelineId",
1163
- "Input"
1164
- ],
1165
- "members":{
1166
- "PipelineId":{
1167
- "shape":"Id",
1168
- "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>"
1169
- },
1170
- "Input":{
1171
- "shape":"JobInput",
1172
- "documentation":"<p>A section of the request body that provides information about the file that is being transcoded.</p>"
1173
- },
1174
- "Output":{"shape":"CreateJobOutput"},
1175
- "Outputs":{
1176
- "shape":"CreateJobOutputs",
1177
- "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>"
1178
- },
1179
- "OutputKeyPrefix":{
1180
- "shape":"Key",
1181
- "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>"
1182
- },
1183
- "Playlists":{
1184
- "shape":"CreateJobPlaylists",
1185
- "documentation":"<p>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.</p> <p>We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.</p>"
1186
- }
1187
- },
1188
- "documentation":"<p>The <code>CreateJobRequest</code> structure.</p>"
1189
- },
1190
- "CreateJobResponse":{
1191
- "type":"structure",
1192
- "members":{
1193
- "Job":{
1194
- "shape":"Job",
1195
- "documentation":"<p> A section of the response body that provides information about the job that is created. </p>"
1196
- }
1197
- },
1198
- "documentation":"<p>The CreateJobResponse structure.</p>"
1199
- },
1200
- "CreatePipelineRequest":{
1201
- "type":"structure",
1202
- "required":[
1203
- "Name",
1204
- "InputBucket",
1205
- "Role"
1206
- ],
1207
- "members":{
1208
- "Name":{
1209
- "shape":"Name",
1210
- "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>"
1211
- },
1212
- "InputBucket":{
1213
- "shape":"BucketName",
1214
- "documentation":"<p>The Amazon S3 bucket in which you saved the media files that you want to transcode.</p>"
1215
- },
1216
- "OutputBucket":{
1217
- "shape":"BucketName",
1218
- "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: <ul> <li>You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.</li> <li>You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.</li> <li>You do not want to specify the permissions that Elastic Transcoder grants to the files. <important>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>.</important> </li> <li>You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.</li> </ul></p> <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>"
1219
- },
1220
- "Role":{
1221
- "shape":"Role",
1222
- "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.</p>"
1223
- },
1224
- "Notifications":{
1225
- "shape":"Notifications",
1226
- "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.</p> <important>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</important> <ul> <li> <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.</li> <li> <b>Completed</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.</li> <li> <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.</li> <li> <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.</li> </ul>"
1227
- },
1228
- "ContentConfig":{
1229
- "shape":"PipelineOutputConfig",
1230
- "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> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.</li> <li> <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.</li> <li> <b>Grantee Type</b>: Specify the type of value that appears in the <code>Grantee</code> object: <ul> <li> <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. <important>A canonical user ID is not the same as an AWS account number.</important> </li> <li> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account.</li> <li> <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>.</li> </ul> </li> <li> <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 </li> <li> <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: <ul> <li> <code>READ</code>: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. </li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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.</li> </ul> </li> <li> <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.</li> </ul>"
1231
- },
1232
- "ThumbnailConfig":{
1233
- "shape":"PipelineOutputConfig",
1234
- "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> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.</li> <li> <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.</li> <li> <b>GranteeType</b>: Specify the type of value that appears in the Grantee object: <ul> <li> <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. <important>A canonical user ID is not the same as an AWS account number.</important> </li> <li> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account. </li> <li> <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>.</li> </ul> </li> <li> <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. </li> <li> <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: <ul> <li> <code>READ</code>: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. </li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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. </li> </ul> </li> <li> <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.</li> </ul>"
1235
- }
1236
- },
1237
- "documentation":"<p>The <code>CreatePipelineRequest</code> structure.</p>"
1238
- },
1239
- "CreatePipelineResponse":{
1240
- "type":"structure",
1241
- "members":{
1242
- "Pipeline":{
1243
- "shape":"Pipeline",
1244
- "documentation":"<p>A section of the response body that provides information about the pipeline that is created.</p>"
1245
- }
1246
- },
1247
- "documentation":"<p>When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>"
1248
- },
1249
- "CreatePresetRequest":{
1250
- "type":"structure",
1251
- "required":[
1252
- "Name",
1253
- "Container"
1254
- ],
1255
- "members":{
1256
- "Name":{
1257
- "shape":"Name",
1258
- "documentation":"<p>The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.</p>"
1259
- },
1260
- "Description":{
1261
- "shape":"Description",
1262
- "documentation":"<p>A description of the preset.</p>"
1263
- },
1264
- "Container":{
1265
- "shape":"PresetContainer",
1266
- "documentation":"<p>The container type for the output file. Valid values include <code>mp3</code>, <code>mp4</code>, <code>ogg</code>, <code>ts</code>, and <code>webm</code>.</p>"
1267
- },
1268
- "Video":{
1269
- "shape":"VideoParameters",
1270
- "documentation":"<p>A section of the request body that specifies the video parameters.</p>"
1271
- },
1272
- "Audio":{
1273
- "shape":"AudioParameters",
1274
- "documentation":"<p>A section of the request body that specifies the audio parameters.</p>"
1275
- },
1276
- "Thumbnails":{
1277
- "shape":"Thumbnails",
1278
- "documentation":"<p>A section of the request body that specifies the thumbnail parameters, if any.</p>"
1279
- }
1280
- },
1281
- "documentation":"<p>The <code>CreatePresetRequest</code> structure.</p>"
1282
- },
1283
- "CreatePresetResponse":{
1284
- "type":"structure",
1285
- "members":{
1286
- "Preset":{
1287
- "shape":"Preset",
1288
- "documentation":"<p> A section of the response body that provides information about the preset that is created. </p>"
1289
- },
1290
- "Warning":{
1291
- "shape":"String",
1292
- "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>"
1293
- }
1294
- },
1295
- "documentation":"<p>The <code>CreatePresetResponse</code> structure.</p>"
1296
- },
1297
- "DeletePipelineRequest":{
1298
- "type":"structure",
1299
- "required":["Id"],
1300
- "members":{
1301
- "Id":{
1302
- "shape":"Id",
1303
- "location":"uri",
1304
- "locationName":"Id",
1305
- "documentation":"<p>The identifier of the pipeline that you want to delete.</p>"
1306
- }
1307
- },
1308
- "documentation":"<p>The <code>DeletePipelineRequest</code> structure.</p>"
1309
- },
1310
- "DeletePipelineResponse":{
1311
- "type":"structure",
1312
- "members":{
1313
- },
1314
- "documentation":"<p>The <code>DeletePipelineResponse</code> structure.</p>"
1315
- },
1316
- "DeletePresetRequest":{
1317
- "type":"structure",
1318
- "required":["Id"],
1319
- "members":{
1320
- "Id":{
1321
- "shape":"Id",
1322
- "location":"uri",
1323
- "locationName":"Id",
1324
- "documentation":"<p>The identifier of the preset for which you want to get detailed information.</p>"
1325
- }
1326
- },
1327
- "documentation":"<p>The <code>DeletePresetRequest</code> structure.</p>"
1328
- },
1329
- "DeletePresetResponse":{
1330
- "type":"structure",
1331
- "members":{
1332
- },
1333
- "documentation":"<p>The <code>DeletePresetResponse</code> structure.</p>"
1334
- },
1335
- "Description":{
1336
- "type":"string",
1337
- "min":0,
1338
- "max":255
1339
- },
1340
- "Digits":{
1341
- "type":"string",
1342
- "pattern":"^\\d{1,5}$"
1343
- },
1344
- "DigitsOrAuto":{
1345
- "type":"string",
1346
- "pattern":"(^auto$)|(^\\d{2,4}$)"
1347
- },
1348
- "ExceptionMessages":{
1349
- "type":"list",
1350
- "member":{"shape":"String"}
1351
- },
1352
- "Filename":{
1353
- "type":"string",
1354
- "min":1,
1355
- "max":255
1356
- },
1357
- "FixedGOP":{
1358
- "type":"string",
1359
- "pattern":"(^true$)|(^false$)"
1360
- },
1361
- "Float":{
1362
- "type":"string",
1363
- "pattern":"^\\d{1,5}(\\.\\d{0,5})?$"
1364
- },
1365
- "FrameRate":{
1366
- "type":"string",
1367
- "pattern":"(^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
1368
- },
1369
- "Grantee":{
1370
- "type":"string",
1371
- "min":1,
1372
- "max":255
1373
- },
1374
- "GranteeType":{
1375
- "type":"string",
1376
- "pattern":"(^Canonical$)|(^Email$)|(^Group$)"
1377
- },
1378
- "HorizontalAlign":{
1379
- "type":"string",
1380
- "pattern":"(^Left$)|(^Right$)|(^Center$)"
1381
- },
1382
- "Id":{
1383
- "type":"string",
1384
- "pattern":"^\\d{13}-\\w{6}$"
1385
- },
1386
- "IncompatibleVersionException":{
1387
- "type":"structure",
1388
- "members":{
1389
- },
1390
- "error":{"httpStatusCode":400},
1391
- "exception":true
1392
- },
1393
- "Interlaced":{
1394
- "type":"string",
1395
- "pattern":"(^auto$)|(^true$)|(^false$)"
1396
- },
1397
- "InternalServiceException":{
1398
- "type":"structure",
1399
- "members":{
1400
- },
1401
- "exception":true,
1402
- "fault":true,
1403
- "documentation":"<p>Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.</p>"
1404
- },
1405
- "Job":{
1406
- "type":"structure",
1407
- "members":{
1408
- "Id":{
1409
- "shape":"Id",
1410
- "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>"
1411
- },
1412
- "Arn":{
1413
- "shape":"String",
1414
- "documentation":"<p>The Amazon Resource Name (ARN) for the job.</p>"
1415
- },
1416
- "PipelineId":{
1417
- "shape":"Id",
1418
- "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>"
1419
- },
1420
- "Input":{
1421
- "shape":"JobInput",
1422
- "documentation":"<p> A section of the request or response body that provides information about the file that is being transcoded.</p>"
1423
- },
1424
- "Output":{
1425
- "shape":"JobOutput",
1426
- "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> <p><important>Outputs recommended instead.</important> A section of the request or response body that provides information about the transcoded (target) file. </p>"
1427
- },
1428
- "Outputs":{
1429
- "shape":"JobOutputs",
1430
- "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>"
1431
- },
1432
- "OutputKeyPrefix":{
1433
- "shape":"Key",
1434
- "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>"
1435
- },
1436
- "Playlists":{
1437
- "shape":"Playlists",
1438
- "documentation":"<p><important>Outputs in MPEG-TS format only.</important>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is ts (MPEG-TS), <code>Playlists</code> contains information about the master playlists that you want Elastic Transcoder to create.</p> <p>We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30. </p>"
1439
- },
1440
- "Status":{
1441
- "shape":"JobStatus",
1442
- "documentation":"<p> The status of the job: <code>Submitted</code>, <code>Progressing</code>, <code>Complete</code>, <code>Canceled</code>, or <code>Error</code>. </p>"
1443
- }
1444
- },
1445
- "documentation":"<p>A section of the response body that provides information about the job that is created.</p>"
1446
- },
1447
- "JobAlbumArt":{
1448
- "type":"structure",
1449
- "members":{
1450
- "MergePolicy":{
1451
- "shape":"MergePolicy",
1452
- "documentation":"<p>A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.</p> <p> <ul> <li> <code>Replace:</code> The specified album art will replace any existing album art.</li> <li> <code>Prepend:</code> The specified album art will be placed in front of any existing album art.</li> <li> <code>Append:</code> The specified album art will be placed after any existing album art.</li> <li> <code>Fallback:</code> If the original input file contains artwork, Elastic Transcoder will use that artwork for the output. If the original input does not contain artwork, Elastic Transcoder will use the specified album art file.</li> </ul> </p>"
1453
- },
1454
- "Artwork":{
1455
- "shape":"Artworks",
1456
- "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>"
1457
- }
1458
- },
1459
- "documentation":"<p>The .jpg or .png file associated with an audio file.</p>"
1460
- },
1461
- "JobContainer":{
1462
- "type":"string",
1463
- "pattern":"(^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)|(^mp3$)|(^m4a$)|(^aac$)"
1464
- },
1465
- "JobInput":{
1466
- "type":"structure",
1467
- "members":{
1468
- "Key":{
1469
- "shape":"Key",
1470
- "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>"
1471
- },
1472
- "FrameRate":{
1473
- "shape":"FrameRate",
1474
- "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>"
1475
- },
1476
- "Resolution":{
1477
- "shape":"Resolution",
1478
- "documentation":"<p>This value must be <code>auto</code>, which causes Elastic Transcoder to automatically detect the resolution of the input file.</p>"
1479
- },
1480
- "AspectRatio":{
1481
- "shape":"AspectRatio",
1482
- "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>"
1483
- },
1484
- "Interlaced":{
1485
- "shape":"Interlaced",
1486
- "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>"
1487
- },
1488
- "Container":{
1489
- "shape":"JobContainer",
1490
- "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>"
1491
- }
1492
- },
1493
- "documentation":"<p>Information about the file that you're transcoding.</p>"
1494
- },
1495
- "JobOutput":{
1496
- "type":"structure",
1497
- "members":{
1498
- "Id":{
1499
- "shape":"String",
1500
- "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>"
1501
- },
1502
- "Key":{
1503
- "shape":"Key",
1504
- "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>"
1505
- },
1506
- "ThumbnailPattern":{
1507
- "shape":"ThumbnailPattern",
1508
- "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>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.</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>"
1509
- },
1510
- "Rotate":{
1511
- "shape":"Rotate",
1512
- "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>"
1513
- },
1514
- "PresetId":{
1515
- "shape":"Id",
1516
- "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>"
1517
- },
1518
- "SegmentDuration":{
1519
- "shape":"Float",
1520
- "documentation":"<p><important>(Outputs in MPEG-TS format only.</important>If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code>is <code>ts</code> (MPEG-TS), <code>SegmentDuration</code> is the maximum duration of each .ts file in seconds. 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. Elastic Transcoder creates an output-specific playlist for each output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in <code>OutputKeys</code>.</p>"
1521
- },
1522
- "Status":{
1523
- "shape":"JobStatus",
1524
- "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: <ul> <li> <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.</li> <li>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.</li> <li>Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.</li> <li>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>.</li> </ul> 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>"
1525
- },
1526
- "StatusDetail":{
1527
- "shape":"Description",
1528
- "documentation":"<p>Information that further explains <code>Status</code>.</p>"
1529
- },
1530
- "Duration":{
1531
- "shape":"NullableLong",
1532
- "documentation":"<p>Duration of the output file, in seconds.</p>"
1533
- },
1534
- "Width":{
1535
- "shape":"NullableInteger",
1536
- "documentation":"<p>Specifies the width of the output file in pixels.</p>"
1537
- },
1538
- "Height":{
1539
- "shape":"NullableInteger",
1540
- "documentation":"<p>Height of the output file, in pixels.</p>"
1541
- },
1542
- "Watermarks":{
1543
- "shape":"JobWatermarks",
1544
- "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&#x2014;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 will cover the first one, the third one will cover the second, and the fourth one will cover the third.</p>"
1545
- },
1546
- "AlbumArt":{
1547
- "shape":"JobAlbumArt",
1548
- "documentation":"<p>The album art to be associated with the output file, if any.</p>"
1549
- },
1550
- "Composition":{
1551
- "shape":"Composition",
1552
- "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>"
1553
- },
1554
- "Captions":{
1555
- "shape":"Captions",
1556
- "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>"
1557
- }
1558
- },
1559
- "documentation":"<p><important>Outputs recommended instead.</important>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>"
1560
- },
1561
- "JobOutputs":{
1562
- "type":"list",
1563
- "member":{"shape":"JobOutput"}
1564
- },
1565
- "JobStatus":{
1566
- "type":"string",
1567
- "pattern":"(^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)"
1568
- },
1569
- "JobWatermark":{
1570
- "type":"structure",
1571
- "members":{
1572
- "PresetWatermarkId":{
1573
- "shape":"PresetWatermarkId",
1574
- "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>"
1575
- },
1576
- "InputKey":{
1577
- "shape":"WatermarkKey",
1578
- "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>"
1579
- }
1580
- },
1581
- "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>"
1582
- },
1583
- "JobWatermarks":{
1584
- "type":"list",
1585
- "member":{"shape":"JobWatermark"}
1586
- },
1587
- "Jobs":{
1588
- "type":"list",
1589
- "member":{"shape":"Job"}
1590
- },
1591
- "JpgOrPng":{
1592
- "type":"string",
1593
- "pattern":"(^jpg$)|(^png$)"
1594
- },
1595
- "Key":{
1596
- "type":"string",
1597
- "min":1,
1598
- "max":255
1599
- },
1600
- "KeyframesMaxDist":{
1601
- "type":"string",
1602
- "pattern":"^\\d{1,6}$"
1603
- },
1604
- "LimitExceededException":{
1605
- "type":"structure",
1606
- "members":{
1607
- },
1608
- "error":{"httpStatusCode":429},
1609
- "exception":true,
1610
- "documentation":"<p>Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.</p>"
1611
- },
1612
- "ListJobsByPipelineRequest":{
1613
- "type":"structure",
1614
- "required":["PipelineId"],
1615
- "members":{
1616
- "PipelineId":{
1617
- "shape":"Id",
1618
- "location":"uri",
1619
- "locationName":"PipelineId",
1620
- "documentation":"<p> The ID of the pipeline for which you want to get job information. </p>"
1621
- },
1622
- "Ascending":{
1623
- "shape":"Ascending",
1624
- "location":"querystring",
1625
- "locationName":"Ascending",
1626
- "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>"
1627
- },
1628
- "PageToken":{
1629
- "shape":"Id",
1630
- "location":"querystring",
1631
- "locationName":"PageToken",
1632
- "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>"
1633
- }
1634
- },
1635
- "documentation":"<p>The <code>ListJobsByPipelineRequest</code> structure.</p>"
1636
- },
1637
- "ListJobsByPipelineResponse":{
1638
- "type":"structure",
1639
- "members":{
1640
- "Jobs":{
1641
- "shape":"Jobs",
1642
- "documentation":"<p>An array of <code>Job</code> objects that are in the specified pipeline.</p>"
1643
- },
1644
- "NextPageToken":{
1645
- "shape":"Id",
1646
- "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>"
1647
- }
1648
- },
1649
- "documentation":"<p>The <code>ListJobsByPipelineResponse</code> structure.</p>"
1650
- },
1651
- "ListJobsByStatusRequest":{
1652
- "type":"structure",
1653
- "required":["Status"],
1654
- "members":{
1655
- "Status":{
1656
- "shape":"JobStatus",
1657
- "location":"uri",
1658
- "locationName":"Status",
1659
- "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>"
1660
- },
1661
- "Ascending":{
1662
- "shape":"Ascending",
1663
- "location":"querystring",
1664
- "locationName":"Ascending",
1665
- "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>"
1666
- },
1667
- "PageToken":{
1668
- "shape":"Id",
1669
- "location":"querystring",
1670
- "locationName":"PageToken",
1671
- "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>"
1672
- }
1673
- },
1674
- "documentation":"<p>The <code>ListJobsByStatusRequest</code> structure.</p>"
1675
- },
1676
- "ListJobsByStatusResponse":{
1677
- "type":"structure",
1678
- "members":{
1679
- "Jobs":{
1680
- "shape":"Jobs",
1681
- "documentation":"<p>An array of <code>Job</code> objects that have the specified status.</p>"
1682
- },
1683
- "NextPageToken":{
1684
- "shape":"Id",
1685
- "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>"
1686
- }
1687
- },
1688
- "documentation":"<p> The <code>ListJobsByStatusResponse</code> structure. </p>"
1689
- },
1690
- "ListPipelinesRequest":{
1691
- "type":"structure",
1692
- "members":{
1693
- "Ascending":{
1694
- "shape":"Ascending",
1695
- "location":"querystring",
1696
- "locationName":"Ascending",
1697
- "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>"
1698
- },
1699
- "PageToken":{
1700
- "shape":"Id",
1701
- "location":"querystring",
1702
- "locationName":"PageToken",
1703
- "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>"
1704
- }
1705
- },
1706
- "documentation":"<p>The <code>ListPipelineRequest</code> structure.</p>"
1707
- },
1708
- "ListPipelinesResponse":{
1709
- "type":"structure",
1710
- "members":{
1711
- "Pipelines":{
1712
- "shape":"Pipelines",
1713
- "documentation":"<p>An array of <code>Pipeline</code> objects.</p>"
1714
- },
1715
- "NextPageToken":{
1716
- "shape":"Id",
1717
- "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>"
1718
- }
1719
- },
1720
- "documentation":"<p>A list of the pipelines associated with the current AWS account.</p>"
1721
- },
1722
- "ListPresetsRequest":{
1723
- "type":"structure",
1724
- "members":{
1725
- "Ascending":{
1726
- "shape":"Ascending",
1727
- "location":"querystring",
1728
- "locationName":"Ascending",
1729
- "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>"
1730
- },
1731
- "PageToken":{
1732
- "shape":"Id",
1733
- "location":"querystring",
1734
- "locationName":"PageToken",
1735
- "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>"
1736
- }
1737
- },
1738
- "documentation":"<p>The <code>ListPresetsRequest</code> structure.</p>"
1739
- },
1740
- "ListPresetsResponse":{
1741
- "type":"structure",
1742
- "members":{
1743
- "Presets":{
1744
- "shape":"Presets",
1745
- "documentation":"<p>An array of <code>Preset</code> objects.</p>"
1746
- },
1747
- "NextPageToken":{
1748
- "shape":"Id",
1749
- "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>"
1750
- }
1751
- },
1752
- "documentation":"<p>The <code>ListPresetsResponse</code> structure.</p>"
1753
- },
1754
- "MaxFrameRate":{
1755
- "type":"string",
1756
- "pattern":"(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
1757
- },
1758
- "MergePolicy":{
1759
- "type":"string",
1760
- "pattern":"(^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)"
1761
- },
1762
- "Name":{
1763
- "type":"string",
1764
- "min":1,
1765
- "max":40
1766
- },
1767
- "Notifications":{
1768
- "type":"structure",
1769
- "members":{
1770
- "Progressing":{
1771
- "shape":"SnsTopic",
1772
- "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>"
1773
- },
1774
- "Completed":{
1775
- "shape":"SnsTopic",
1776
- "documentation":"<p>The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.</p>"
1777
- },
1778
- "Warning":{
1779
- "shape":"SnsTopic",
1780
- "documentation":"<p>The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.</p>"
1781
- },
1782
- "Error":{
1783
- "shape":"SnsTopic",
1784
- "documentation":"<p>The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.</p>"
1785
- }
1786
- },
1787
- "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.</p> <important>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</important>"
1788
- },
1789
- "NullableInteger":{"type":"integer"},
1790
- "NullableLong":{"type":"long"},
1791
- "Opacity":{
1792
- "type":"string",
1793
- "pattern":"^\\d{1,3}(\\.\\d{0,20})?$"
1794
- },
1795
- "OutputKeys":{
1796
- "type":"list",
1797
- "member":{"shape":"Key"},
1798
- "max":30
1799
- },
1800
- "PaddingPolicy":{
1801
- "type":"string",
1802
- "pattern":"(^Pad$)|(^NoPad$)"
1803
- },
1804
- "Permission":{
1805
- "type":"structure",
1806
- "members":{
1807
- "GranteeType":{
1808
- "shape":"GranteeType",
1809
- "documentation":"<p>The type of value that appears in the Grantee object: <ul> <li> <code>Canonical</code>: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. <important>A canonical user ID is not the same as an AWS account number.</important> </li> <li> <code>Email</code>: The registered email address of an AWS account.</li> <li> <code>Group</code>: One of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</li> </ul> </p>"
1810
- },
1811
- "Grantee":{
1812
- "shape":"Grantee",
1813
- "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>"
1814
- },
1815
- "Access":{
1816
- "shape":"AccessControls",
1817
- "documentation":"<p> The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: <ul> <li> <code>READ</code>: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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.</li> </ul> </p>"
1818
- }
1819
- },
1820
- "documentation":"<p>The <code>Permission</code> structure.</p>"
1821
- },
1822
- "Permissions":{
1823
- "type":"list",
1824
- "member":{"shape":"Permission"},
1825
- "max":30
1826
- },
1827
- "Pipeline":{
1828
- "type":"structure",
1829
- "members":{
1830
- "Id":{
1831
- "shape":"Id",
1832
- "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>"
1833
- },
1834
- "Arn":{
1835
- "shape":"String",
1836
- "documentation":"<p>The Amazon Resource Name (ARN) for the pipeline.</p>"
1837
- },
1838
- "Name":{
1839
- "shape":"Name",
1840
- "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>"
1841
- },
1842
- "Status":{
1843
- "shape":"PipelineStatus",
1844
- "documentation":"<p>The current status of the pipeline:</p> <ul> <li> <code>Active</code>: The pipeline is processing jobs.</li> <li> <code>Paused</code>: The pipeline is not currently processing jobs.</li> </ul>"
1845
- },
1846
- "InputBucket":{
1847
- "shape":"BucketName",
1848
- "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>"
1849
- },
1850
- "OutputBucket":{
1851
- "shape":"BucketName",
1852
- "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>"
1853
- },
1854
- "Role":{
1855
- "shape":"Role",
1856
- "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.</p>"
1857
- },
1858
- "Notifications":{
1859
- "shape":"Notifications",
1860
- "documentation":"<p>The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.</p> <important>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</important> <ul> <li> <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.</li> <li> <b>Completed</b> (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.</li> <li> <b>Warning</b> (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.</li> <li> <b>Error</b> (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.</li> </ul>"
1861
- },
1862
- "ContentConfig":{
1863
- "shape":"PipelineOutputConfig",
1864
- "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> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.</li> <li> <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. <ul> <li>GranteeType: The type of value that appears in the <code>Grantee</code> object: <ul> <li> <code>Canonical</code>: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.</li> <li> <code>Email</code>: The registered email address of an AWS account.</li> <li> <code>Group</code>: One of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</li> </ul> </li> <li> <code>Grantee</code>: The AWS user or group that you want to have access to transcoded files and playlists.</li> <li> <code>Access</code>: The permission that you want to give to the AWS user that is listed in <code>Grantee</code>. Valid values include: <ul> <li> <code>READ</code>: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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.</li> </ul> </li> </ul> </li> <li> <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. </li> </ul>"
1865
- },
1866
- "ThumbnailConfig":{
1867
- "shape":"PipelineOutputConfig",
1868
- "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> <code>Bucket</code>: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. </li> <li> <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. <ul> <li>GranteeType: The type of value that appears in the Grantee object: <ul> <li> <code>Canonical</code>: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. <important>A canonical user ID is not the same as an AWS account number.</important> </li> <li> <code>Email</code>: The registered email address of an AWS account.</li> <li> <code>Group</code>: One of the following predefined Amazon S3 groups: <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</li> </ul> </li> <li> <code>Grantee</code>: The AWS user or group that you want to have access to thumbnail files.</li> <li>Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: <ul> <li> <code>READ</code>: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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.</li> </ul> </li> </ul> </li> <li> <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.</li> </ul>"
1869
- }
1870
- },
1871
- "documentation":"<p>The pipeline (queue) that is used to manage jobs.</p>"
1872
- },
1873
- "PipelineOutputConfig":{
1874
- "type":"structure",
1875
- "members":{
1876
- "Bucket":{
1877
- "shape":"BucketName",
1878
- "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: <ul> <li>You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.</li> <li>You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.</li> <li>You do not want to specify the permissions that Elastic Transcoder grants to the files. </li> <li>You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.</li> </ul> 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>"
1879
- },
1880
- "StorageClass":{
1881
- "shape":"StorageClass",
1882
- "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>"
1883
- },
1884
- "Permissions":{
1885
- "shape":"Permissions",
1886
- "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>"
1887
- }
1888
- },
1889
- "documentation":"<p>The <code>PipelineOutputConfig</code> structure.</p>"
1890
- },
1891
- "PipelineStatus":{
1892
- "type":"string",
1893
- "pattern":"(^Active$)|(^Paused$)"
1894
- },
1895
- "Pipelines":{
1896
- "type":"list",
1897
- "member":{"shape":"Pipeline"}
1898
- },
1899
- "PixelsOrPercent":{
1900
- "type":"string",
1901
- "pattern":"(^\\d{1,3}(\\.\\d{0,5})?%$)|(^\\d{1,4}?px$)"
1902
- },
1903
- "Playlist":{
1904
- "type":"structure",
1905
- "members":{
1906
- "Name":{
1907
- "shape":"Filename",
1908
- "documentation":"<p>The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. The name cannot include a / character. If you create more than one master playlist (not recommended), the values of all <code>Name</code> objects must be unique. <b>Note</b>: Elastic Transcoder automatically appends .m3u8 to the file name. If you include .m3u8 in <code>Name</code>, it will appear twice in the file name.</p>"
1909
- },
1910
- "Format":{
1911
- "shape":"PlaylistFormat",
1912
- "documentation":"<p>This value must currently be <code>HLSv3</code>.</p>"
1913
- },
1914
- "OutputKeys":{
1915
- "shape":"OutputKeys",
1916
- "documentation":"<p>For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object. If you include more than one output in a playlist, the value of <code>SegmentDuration</code> for all of the outputs must be the same.</p>"
1917
- },
1918
- "Status":{
1919
- "shape":"JobStatus",
1920
- "documentation":"<p>The status of the job with which the playlist is associated.</p>"
1921
- },
1922
- "StatusDetail":{
1923
- "shape":"Description",
1924
- "documentation":"<p>Information that further explains the status.</p>"
1925
- }
1926
- },
1927
- "documentation":"<p> Use Only for MPEG-TS Outputs. If you specify a preset for which the value of Container is <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. The maximum number of master playlists in a job is 30. </p>"
1928
- },
1929
- "PlaylistFormat":{
1930
- "type":"string",
1931
- "pattern":"(^HLSv3$)"
1932
- },
1933
- "Playlists":{
1934
- "type":"list",
1935
- "member":{"shape":"Playlist"}
1936
- },
1937
- "Preset":{
1938
- "type":"structure",
1939
- "members":{
1940
- "Id":{
1941
- "shape":"Id",
1942
- "documentation":"<p>Identifier for the new preset. You use this value to get settings for the preset or to delete it.</p>"
1943
- },
1944
- "Arn":{
1945
- "shape":"String",
1946
- "documentation":"<p>The Amazon Resource Name (ARN) for the preset.</p>"
1947
- },
1948
- "Name":{
1949
- "shape":"Name",
1950
- "documentation":"<p>The name of the preset.</p>"
1951
- },
1952
- "Description":{
1953
- "shape":"Description",
1954
- "documentation":"<p>A description of the preset.</p>"
1955
- },
1956
- "Container":{
1957
- "shape":"PresetContainer",
1958
- "documentation":"<p>The container type for the output file. Valid values include <code>mp3</code>, <code>mp4</code>, <code>ogg</code>, <code>ts</code>, and <code>webm</code>.</p>"
1959
- },
1960
- "Audio":{
1961
- "shape":"AudioParameters",
1962
- "documentation":"<p>A section of the response body that provides information about the audio preset values.</p>"
1963
- },
1964
- "Video":{
1965
- "shape":"VideoParameters",
1966
- "documentation":"<p>A section of the response body that provides information about the video preset values.</p>"
1967
- },
1968
- "Thumbnails":{
1969
- "shape":"Thumbnails",
1970
- "documentation":"<p>A section of the response body that provides information about the thumbnail preset values, if any.</p>"
1971
- },
1972
- "Type":{
1973
- "shape":"PresetType",
1974
- "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>"
1975
- }
1976
- },
1977
- "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>"
1978
- },
1979
- "PresetContainer":{
1980
- "type":"string",
1981
- "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^ogg$)"
1982
- },
1983
- "PresetType":{
1984
- "type":"string",
1985
- "pattern":"(^System$)|(^Custom$)"
1986
- },
1987
- "PresetWatermark":{
1988
- "type":"structure",
1989
- "members":{
1990
- "Id":{
1991
- "shape":"PresetWatermarkId",
1992
- "documentation":"A unique identifier for the settings for one watermark. The value of <code>Id</code> can be up to 40 characters long."
1993
- },
1994
- "MaxWidth":{
1995
- "shape":"PixelsOrPercent",
1996
- "documentation":"<p>The maximum width of the watermark in one of the following formats: <ul> <li>number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of <code>MaxWidth</code>.</li> <li>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.</li> If you specify the value in pixels, it must be less than or equal to the value of <code>MaxWidth</code>.</ul></p>"
1997
- },
1998
- "MaxHeight":{
1999
- "shape":"PixelsOrPercent",
2000
- "documentation":"<p>The maximum height of the watermark in one of the following formats: <ul> <li>number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of <code>MaxHeight</code>.</li> <li>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.</li> </ul> If you specify the value in pixels, it must be less than or equal to the value of <code>MaxHeight</code>.</p>"
2001
- },
2002
- "SizingPolicy":{
2003
- "shape":"WatermarkSizingPolicy",
2004
- "documentation":"<p>A value that controls scaling of the watermark: <ul> <li> <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.</li> <li> <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.</li> <li> <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.</li> </ul> </p>"
2005
- },
2006
- "HorizontalAlign":{
2007
- "shape":"HorizontalAlign",
2008
- "documentation":"<p>The horizontal position of the watermark unless you specify a non-zero value for <code>HorizontalOffset</code>: <ul> <li> <b>Left</b>: The left edge of the watermark is aligned with the left border of the video.</li> <li> <b>Right</b>: The right edge of the watermark is aligned with the right border of the video.</li> <li> <b>Center</b>: The watermark is centered between the left and right borders.</li> </ul></p>"
2009
- },
2010
- "HorizontalOffset":{
2011
- "shape":"PixelsOrPercent",
2012
- "documentation":"<p>The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign: <ul> <li>number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.</li> <li>integer percentage (%): The range of valid values is 0 to 100.</li> </ul>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>"
2013
- },
2014
- "VerticalAlign":{
2015
- "shape":"VerticalAlign",
2016
- "documentation":"<p>The vertical position of the watermark unless you specify a non-zero value for <code>VerticalOffset</code>: <ul> <li> <b>Top</b>: The top edge of the watermark is aligned with the top border of the video.</li> <li> <b>Bottom</b>: The bottom edge of the watermark is aligned with the bottom border of the video.</li> <li> <b>Center</b>: The watermark is centered between the top and bottom borders.</li> </ul></p>"
2017
- },
2018
- "VerticalOffset":{
2019
- "shape":"PixelsOrPercent",
2020
- "documentation":"<code>VerticalOffset</code> <p>The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:<ul> <li>number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of <code>MaxHeight</code>.</li> <li>integer percentage (%): The range of valid values is 0 to 100.</li> </ul> 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>"
2021
- },
2022
- "Opacity":{
2023
- "shape":"Opacity",
2024
- "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>"
2025
- },
2026
- "Target":{
2027
- "shape":"Target",
2028
- "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>: <ul> <li> <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.</li> <li> <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.</li> 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.</ul></p>"
2029
- }
2030
- },
2031
- "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>"
2032
- },
2033
- "PresetWatermarkId":{
2034
- "type":"string",
2035
- "min":1,
2036
- "max":40
2037
- },
2038
- "PresetWatermarks":{
2039
- "type":"list",
2040
- "member":{"shape":"PresetWatermark"}
2041
- },
2042
- "Presets":{
2043
- "type":"list",
2044
- "member":{"shape":"Preset"}
2045
- },
2046
- "ReadJobRequest":{
2047
- "type":"structure",
2048
- "required":["Id"],
2049
- "members":{
2050
- "Id":{
2051
- "shape":"Id",
2052
- "location":"uri",
2053
- "locationName":"Id",
2054
- "documentation":"<p>The identifier of the job for which you want to get detailed information.</p>"
2055
- }
2056
- },
2057
- "documentation":"<p>The <code>ReadJobRequest</code> structure.</p>"
2058
- },
2059
- "ReadJobResponse":{
2060
- "type":"structure",
2061
- "members":{
2062
- "Job":{
2063
- "shape":"Job",
2064
- "documentation":"<p>A section of the response body that provides information about the job.</p>"
2065
- }
2066
- },
2067
- "documentation":"<p>The <code>ReadJobResponse</code> structure.</p>"
2068
- },
2069
- "ReadPipelineRequest":{
2070
- "type":"structure",
2071
- "required":["Id"],
2072
- "members":{
2073
- "Id":{
2074
- "shape":"Id",
2075
- "location":"uri",
2076
- "locationName":"Id",
2077
- "documentation":"<p>The identifier of the pipeline to read.</p>"
2078
- }
2079
- },
2080
- "documentation":"<p>The <code>ReadPipelineRequest</code> structure.</p>"
2081
- },
2082
- "ReadPipelineResponse":{
2083
- "type":"structure",
2084
- "members":{
2085
- "Pipeline":{
2086
- "shape":"Pipeline",
2087
- "documentation":"<p>A section of the response body that provides information about the pipeline.</p>"
2088
- }
2089
- },
2090
- "documentation":"<p>The <code>ReadPipelineResponse</code> structure.</p>"
2091
- },
2092
- "ReadPresetRequest":{
2093
- "type":"structure",
2094
- "required":["Id"],
2095
- "members":{
2096
- "Id":{
2097
- "shape":"Id",
2098
- "location":"uri",
2099
- "locationName":"Id",
2100
- "documentation":"<p>The identifier of the preset for which you want to get detailed information.</p>"
2101
- }
2102
- },
2103
- "documentation":"<p>The <code>ReadPresetRequest</code> structure.</p>"
2104
- },
2105
- "ReadPresetResponse":{
2106
- "type":"structure",
2107
- "members":{
2108
- "Preset":{
2109
- "shape":"Preset",
2110
- "documentation":"<p>A section of the response body that provides information about the preset.</p>"
2111
- }
2112
- },
2113
- "documentation":"<p>The <code>ReadPresetResponse</code> structure.</p>"
2114
- },
2115
- "Resolution":{
2116
- "type":"string",
2117
- "pattern":"(^auto$)|(^\\d{1,5}x\\d{1,5}$)"
2118
- },
2119
- "ResourceInUseException":{
2120
- "type":"structure",
2121
- "members":{
2122
- },
2123
- "error":{"httpStatusCode":409},
2124
- "exception":true,
2125
- "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>"
2126
- },
2127
- "ResourceNotFoundException":{
2128
- "type":"structure",
2129
- "members":{
2130
- },
2131
- "error":{"httpStatusCode":404},
2132
- "exception":true,
2133
- "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>"
2134
- },
2135
- "Role":{
2136
- "type":"string",
2137
- "pattern":"^arn:aws:iam::\\w{12}:role/.+$"
2138
- },
2139
- "Rotate":{
2140
- "type":"string",
2141
- "pattern":"(^auto$)|(^0$)|(^90$)|(^180$)|(^270$)"
2142
- },
2143
- "SizingPolicy":{
2144
- "type":"string",
2145
- "pattern":"(^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)"
2146
- },
2147
- "SnsTopic":{
2148
- "type":"string",
2149
- "pattern":"(^$)|(^arn:aws:sns:.*:\\w{12}:.+$)"
2150
- },
2151
- "SnsTopics":{
2152
- "type":"list",
2153
- "member":{"shape":"SnsTopic"},
2154
- "max":30
2155
- },
2156
- "StorageClass":{
2157
- "type":"string",
2158
- "pattern":"(^ReducedRedundancy$)|(^Standard$)"
2159
- },
2160
- "String":{"type":"string"},
2161
- "Success":{
2162
- "type":"string",
2163
- "pattern":"(^true$)|(^false$)"
2164
- },
2165
- "Target":{
2166
- "type":"string",
2167
- "pattern":"(^Content$)|(^Frame$)"
2168
- },
2169
- "TestRoleRequest":{
2170
- "type":"structure",
2171
- "required":[
2172
- "Role",
2173
- "InputBucket",
2174
- "OutputBucket",
2175
- "Topics"
2176
- ],
2177
- "members":{
2178
- "Role":{
2179
- "shape":"Role",
2180
- "documentation":"<p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.</p>"
2181
- },
2182
- "InputBucket":{
2183
- "shape":"BucketName",
2184
- "documentation":"<p>The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.</p>"
2185
- },
2186
- "OutputBucket":{
2187
- "shape":"BucketName",
2188
- "documentation":"<p>The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.</p>"
2189
- },
2190
- "Topics":{
2191
- "shape":"SnsTopics",
2192
- "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>"
2193
- }
2194
- },
2195
- "documentation":"<p> The <code>TestRoleRequest</code> structure. </p>"
2196
- },
2197
- "TestRoleResponse":{
2198
- "type":"structure",
2199
- "members":{
2200
- "Success":{
2201
- "shape":"Success",
2202
- "documentation":"<p>If the operation is successful, this value is <code>true</code>; otherwise, the value is <code>false</code>.</p>"
2203
- },
2204
- "Messages":{
2205
- "shape":"ExceptionMessages",
2206
- "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>"
2207
- }
2208
- },
2209
- "documentation":"<p>The <code>TestRoleResponse</code> structure.</p>"
2210
- },
2211
- "ThumbnailPattern":{
2212
- "type":"string",
2213
- "pattern":"(^$)|(^.*\\{count\\}.*$)"
2214
- },
2215
- "ThumbnailResolution":{
2216
- "type":"string",
2217
- "pattern":"^\\d{1,5}x\\d{1,5}$"
2218
- },
2219
- "Thumbnails":{
2220
- "type":"structure",
2221
- "members":{
2222
- "Format":{
2223
- "shape":"JpgOrPng",
2224
- "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>"
2225
- },
2226
- "Interval":{
2227
- "shape":"Digits",
2228
- "documentation":"<p>The number of seconds between thumbnails. Specify an integer value.</p>"
2229
- },
2230
- "Resolution":{
2231
- "shape":"ThumbnailResolution",
2232
- "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>"
2233
- },
2234
- "AspectRatio":{
2235
- "shape":"AspectRatio",
2236
- "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>"
2237
- },
2238
- "MaxWidth":{
2239
- "shape":"DigitsOrAuto",
2240
- "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>"
2241
- },
2242
- "MaxHeight":{
2243
- "shape":"DigitsOrAuto",
2244
- "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>"
2245
- },
2246
- "SizingPolicy":{
2247
- "shape":"SizingPolicy",
2248
- "documentation":"<p>Specify one of the following values to control scaling of thumbnails:</p> <p> <ul> <li> <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. </li> <li> <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.</li> <li> <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.</li> <li> <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.</li> <li> <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.</li> <li> <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.</li> </ul> </p>"
2249
- },
2250
- "PaddingPolicy":{
2251
- "shape":"PaddingPolicy",
2252
- "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>"
2253
- }
2254
- },
2255
- "documentation":"<p>Thumbnails for videos.</p>"
2256
- },
2257
- "Time":{
2258
- "type":"string",
2259
- "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})?$)"
2260
- },
2261
- "TimeOffset":{
2262
- "type":"string",
2263
- "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})?$)"
2264
- },
2265
- "TimeSpan":{
2266
- "type":"structure",
2267
- "members":{
2268
- "StartTime":{
2269
- "shape":"Time",
2270
- "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>"
2271
- },
2272
- "Duration":{
2273
- "shape":"Time",
2274
- "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>"
2275
- }
2276
- },
2277
- "documentation":"<p>Settings that determine when a clip begins and how long it lasts.</p>"
2278
- },
2279
- "UpdatePipelineNotificationsRequest":{
2280
- "type":"structure",
2281
- "required":[
2282
- "Id",
2283
- "Notifications"
2284
- ],
2285
- "members":{
2286
- "Id":{
2287
- "shape":"Id",
2288
- "location":"uri",
2289
- "locationName":"Id",
2290
- "documentation":"<p> The identifier of the pipeline for which you want to change notification settings. </p>"
2291
- },
2292
- "Notifications":{
2293
- "shape":"Notifications",
2294
- "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>To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.</important> <ul> <li> <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.</li> <li> <b>Completed</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.</li> <li> <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.</li> <li> <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.</li> </ul>"
2295
- }
2296
- },
2297
- "documentation":"<p>The <code>UpdatePipelineNotificationsRequest</code> structure.</p>"
2298
- },
2299
- "UpdatePipelineNotificationsResponse":{
2300
- "type":"structure",
2301
- "members":{
2302
- "Pipeline":{
2303
- "shape":"Pipeline",
2304
- "documentation":"<p>A section of the response body that provides information about the pipeline.</p>"
2305
- }
2306
- },
2307
- "documentation":"<p>The <code>UpdatePipelineNotificationsResponse</code> structure.</p>"
2308
- },
2309
- "UpdatePipelineRequest":{
2310
- "type":"structure",
2311
- "required":["Id"],
2312
- "members":{
2313
- "Id":{
2314
- "shape":"Id",
2315
- "location":"uri",
2316
- "locationName":"Id",
2317
- "documentation":"<p>The ID of the pipeline that you want to update.</p>"
2318
- },
2319
- "Name":{
2320
- "shape":"Name",
2321
- "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>"
2322
- },
2323
- "InputBucket":{
2324
- "shape":"BucketName",
2325
- "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>"
2326
- },
2327
- "Role":{
2328
- "shape":"Role",
2329
- "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>"
2330
- },
2331
- "Notifications":{"shape":"Notifications"},
2332
- "ContentConfig":{
2333
- "shape":"PipelineOutputConfig",
2334
- "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> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.</li> <li> <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.</li> <li> <b>Grantee Type</b>: Specify the type of value that appears in the <code>Grantee</code> object: <ul> <li> <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. <important>A canonical user ID is not the same as an AWS account number.</important> </li> <li> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account.</li> <li> <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>.</li> </ul> </li> <li> <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 </li> <li> <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: <ul> <li> <code>READ</code>: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. </li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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.</li> </ul> </li> <li> <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.</li> </ul>"
2335
- },
2336
- "ThumbnailConfig":{
2337
- "shape":"PipelineOutputConfig",
2338
- "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> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.</li> <li> <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.</li> <li> <b>GranteeType</b>: Specify the type of value that appears in the Grantee object: <ul> <li> <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. <important>A canonical user ID is not the same as an AWS account number.</important> </li> <li> <b>Email</b>: The value in the <code>Grantee</code> object is the registered email address of an AWS account. </li> <li> <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>.</li> </ul> </li> <li> <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. </li> <li> <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: <ul> <li> <code>READ</code>: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <code>READ_ACP</code>: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. </li> <li> <code>WRITE_ACP</code>: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</li> <li> <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. </li> </ul> </li> <li> <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.</li> </ul>"
2339
- }
2340
- },
2341
- "documentation":"<p>The <code>UpdatePipelineRequest</code> structure.</p>"
2342
- },
2343
- "UpdatePipelineResponse":{
2344
- "type":"structure",
2345
- "required":["Pipeline"],
2346
- "members":{
2347
- "Pipeline":{"shape":"Pipeline"}
2348
- },
2349
- "documentation":"<p>When you update a pipeline, Elastic Transcoder returns the values that you specified in the request. </p>"
2350
- },
2351
- "UpdatePipelineStatusRequest":{
2352
- "type":"structure",
2353
- "required":[
2354
- "Id",
2355
- "Status"
2356
- ],
2357
- "members":{
2358
- "Id":{
2359
- "shape":"Id",
2360
- "location":"uri",
2361
- "locationName":"Id",
2362
- "documentation":"<p>The identifier of the pipeline to update.</p>"
2363
- },
2364
- "Status":{
2365
- "shape":"PipelineStatus",
2366
- "documentation":"<p>The desired status of the pipeline:</p> <ul> <li> <code>Active</code>: The pipeline is processing jobs.</li> <li> <code>Paused</code>: The pipeline is not currently processing jobs.</li> </ul>"
2367
- }
2368
- },
2369
- "documentation":"<p>The <code>UpdatePipelineStatusRequest</code> structure.</p>"
2370
- },
2371
- "UpdatePipelineStatusResponse":{
2372
- "type":"structure",
2373
- "members":{
2374
- "Pipeline":{
2375
- "shape":"Pipeline",
2376
- "documentation":"<p>A section of the response body that provides information about the pipeline.</p>"
2377
- }
2378
- },
2379
- "documentation":"When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request."
2380
- },
2381
- "ValidationException":{
2382
- "type":"structure",
2383
- "members":{
2384
- },
2385
- "error":{"httpStatusCode":400},
2386
- "exception":true,
2387
- "documentation":"<p>One or more required parameter values were not provided in the request.</p>"
2388
- },
2389
- "VerticalAlign":{
2390
- "type":"string",
2391
- "pattern":"(^Top$)|(^Bottom$)|(^Center$)"
2392
- },
2393
- "VideoBitRate":{
2394
- "type":"string",
2395
- "pattern":"(^\\d{2,5}$)|(^auto$)"
2396
- },
2397
- "VideoCodec":{
2398
- "type":"string",
2399
- "pattern":"(^H\\.264$)|(^vp8$)"
2400
- },
2401
- "VideoParameters":{
2402
- "type":"structure",
2403
- "members":{
2404
- "Codec":{
2405
- "shape":"VideoCodec",
2406
- "documentation":"<p>The video codec for the output file. Valid values include <code>H.264</code> and <code>vp8</code>. You can only specify <code>vp8</code> when the container type is <code>webm</code>.</p>"
2407
- },
2408
- "CodecOptions":{
2409
- "shape":"CodecOptions",
2410
- "documentation":"<p> <b>Profile</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> <code>baseline</code>: The profile most commonly used for videoconferencing and for mobile applications.</li> <li> <code>main</code>: The profile used for standard-definition digital TV broadcasts.</li> <li> <code>high</code>: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.</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>1 - 396</li> <li>1b - 396</li> <li>1.1 - 900</li> <li>1.2 - 2376</li> <li>1.3 - 2376</li> <li>2 - 2376</li> <li>2.1 - 4752</li> <li>2.2 - 8100</li> <li>3 - 8100</li> <li>3.1 - 18000</li> <li>3.2 - 20480</li> <li>4 - 32768</li> <li>4.1 - 32768</li> </ul> <p> <b>MaxBitRate</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</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 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>"
2411
- },
2412
- "KeyframesMaxDist":{
2413
- "shape":"KeyframesMaxDist",
2414
- "documentation":"<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>"
2415
- },
2416
- "FixedGOP":{
2417
- "shape":"FixedGOP",
2418
- "documentation":"<p>Whether to use a fixed value for <code>FixedGOP</code>. Valid values are <code>true</code> and <code>false</code>:</p> <ul> <li> <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).</li> <li> <code>false</code>: The distance between key frames can vary.</li> </ul>"
2419
- },
2420
- "BitRate":{
2421
- "shape":"VideoBitRate",
2422
- "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>1 - 64 : 80</li> <li>1b - 128 : 160</li> <li>1.1 - 192 : 240</li> <li>1.2 - 384 : 480</li> <li>1.3 - 768 : 960</li> <li>2 - 2000 : 2500</li> <li>3 - 10000 : 12500</li> <li>3.1 - 14000 : 17500</li> <li>3.2 - 20000 : 25000</li> <li>4 - 20000 : 25000</li> <li>4.1 - 50000 : 62500</li> </ul>"
2423
- },
2424
- "FrameRate":{
2425
- "shape":"FrameRate",
2426
- "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> <i>width in pixels</i> and <i>height in pixels</i> represent the Resolution of the output video.</li> <li> <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.</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>1 - 380160</li> <li>1b - 380160</li> <li>1.1 - 76800</li> <li>1.2 - 1536000</li> <li>1.3 - 3041280</li> <li>2 - 3041280</li> <li>2.1 - 5068800</li> <li>2.2 - 5184000</li> <li>3 - 10368000</li> <li>3.1 - 27648000</li> <li>3.2 - 55296000</li> <li>4 - 62914560</li> <li>4.1 - 62914560</li> </ul>"
2427
- },
2428
- "MaxFrameRate":{
2429
- "shape":"MaxFrameRate",
2430
- "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>"
2431
- },
2432
- "Resolution":{
2433
- "shape":"Resolution",
2434
- "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> <code>auto</code>: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules.</li> <li> <code><i>width</i> x <i>height</i></code>: The width and height of the output video in pixels.</li> </ul> <p>Note the following about specifying the width and height:</p> <ul> <li>The width must be an even integer between 128 and 4096, inclusive.</li> <li>The height must be an even integer between 96 and 3072, inclusive.</li> <li>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.</li> <li>If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.</li> <li>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>):</li> <ul> <li>1 - 25344</li> <li>1b - 25344</li> <li>1.1 - 101376</li> <li>1.2 - 101376</li> <li>1.3 - 101376</li> <li>2 - 101376</li> <li>2.1 - 202752</li> <li>2.2 - 404720</li> <li>3 - 404720</li> <li>3.1 - 921600</li> <li>3.2 - 1310720</li> <li>4 - 2097152</li> <li>4.1 - 2097152</li> </ul> </ul>"
2435
- },
2436
- "AspectRatio":{
2437
- "shape":"AspectRatio",
2438
- "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>"
2439
- },
2440
- "MaxWidth":{
2441
- "shape":"DigitsOrAuto",
2442
- "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>"
2443
- },
2444
- "MaxHeight":{
2445
- "shape":"DigitsOrAuto",
2446
- "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>"
2447
- },
2448
- "DisplayAspectRatio":{
2449
- "shape":"AspectRatio",
2450
- "documentation":"<p>The value that Elastic Transcoder adds to the metadata in the output file.</p>"
2451
- },
2452
- "SizingPolicy":{
2453
- "shape":"SizingPolicy",
2454
- "documentation":"<p>Specify one of the following values to control scaling of the output video:</p> <p> <ul> <li> <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.</li> <li> <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.</li> <li> <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.</li> <li> <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.</li> <li> <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.</li> <li> <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.</li> </ul> </p>"
2455
- },
2456
- "PaddingPolicy":{
2457
- "shape":"PaddingPolicy",
2458
- "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>"
2459
- },
2460
- "Watermarks":{
2461
- "shape":"PresetWatermarks",
2462
- "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>"
2463
- }
2464
- },
2465
- "documentation":"<p>The <code>VideoParameters</code> structure.</p>"
2466
- },
2467
- "WatermarkKey":{
2468
- "type":"string",
2469
- "min":1,
2470
- "max":255,
2471
- "pattern":"(^.{1,}.jpg$)|(^.{1,}.jpeg$)|(^.{1,}.png$)"
2472
- },
2473
- "WatermarkSizingPolicy":{
2474
- "type":"string",
2475
- "pattern":"(^Fit$)|(^Stretch$)|(^ShrinkToFit$)"
2476
- }
2477
- }
2478
- }