{ "metadata":{ "apiVersion":"2012-09-25", "endpointPrefix":"elastictranscoder", "serviceFullName":"Amazon Elastic Transcoder", "signatureVersion":"v4", "protocol":"rest-json" }, "documentation":"AWS Elastic Transcoder Service

The AWS Elastic Transcoder Service.

", "operations":{ "CancelJob":{ "name":"CancelJob", "http":{ "method":"DELETE", "requestUri":"/2012-09-25/jobs/{Id}", "responseCode":202 }, "input":{ "shape":"CancelJobRequest", "documentation":"

The CancelJobRequest structure.

" }, "output":{ "shape":"CancelJobResponse", "documentation":"

The response body contains a JSON object. If the job is successfully canceled, the value of Success is true.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"ResourceInUseException", "error":{"httpStatusCode":409}, "exception":true, "documentation":"

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The CancelJob operation cancels an unfinished job.

You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline." }, "CreateJob":{ "name":"CreateJob", "http":{ "method":"POST", "requestUri":"/2012-09-25/jobs", "responseCode":201 }, "input":{ "shape":"CreateJobRequest", "documentation":"

The CreateJobRequest structure.

" }, "output":{ "shape":"CreateJobResponse", "documentation":"

The CreateJobResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"LimitExceededException", "error":{"httpStatusCode":429}, "exception":true, "documentation":"

Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

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.

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).

" }, "CreatePipeline":{ "name":"CreatePipeline", "http":{ "method":"POST", "requestUri":"/2012-09-25/pipelines", "responseCode":201 }, "input":{ "shape":"CreatePipelineRequest", "documentation":"

The CreatePipelineRequest structure.

" }, "output":{ "shape":"CreatePipelineResponse", "documentation":"

When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"LimitExceededException", "error":{"httpStatusCode":429}, "exception":true, "documentation":"

Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The CreatePipeline operation creates a pipeline with settings that you specify.

" }, "CreatePreset":{ "name":"CreatePreset", "http":{ "method":"POST", "requestUri":"/2012-09-25/presets", "responseCode":201 }, "input":{ "shape":"CreatePresetRequest", "documentation":"

The CreatePresetRequest structure.

" }, "output":{ "shape":"CreatePresetResponse", "documentation":"

The CreatePresetResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"LimitExceededException", "error":{"httpStatusCode":429}, "exception":true, "documentation":"

Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The CreatePreset operation creates a preset with settings that you specify.

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 (ValidationException) 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.

Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services.

" }, "DeletePipeline":{ "name":"DeletePipeline", "http":{ "method":"DELETE", "requestUri":"/2012-09-25/pipelines/{Id}", "responseCode":202 }, "input":{ "shape":"DeletePipelineRequest", "documentation":"

The DeletePipelineRequest structure.

" }, "output":{ "shape":"DeletePipelineResponse", "documentation":"

The DeletePipelineResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"ResourceInUseException", "error":{"httpStatusCode":409}, "exception":true, "documentation":"

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The DeletePipeline operation removes a pipeline.

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, DeletePipeline returns an error.

" }, "DeletePreset":{ "name":"DeletePreset", "http":{ "method":"DELETE", "requestUri":"/2012-09-25/presets/{Id}", "responseCode":202 }, "input":{ "shape":"DeletePresetRequest", "documentation":"

The DeletePresetRequest structure.

" }, "output":{ "shape":"DeletePresetResponse", "documentation":"

The DeletePresetResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The DeletePreset operation removes a preset that you've added in an AWS region.

You can't delete the default presets that are included with Elastic Transcoder.

" }, "ListJobsByPipeline":{ "name":"ListJobsByPipeline", "http":{ "method":"GET", "requestUri":"/2012-09-25/jobsByPipeline/{PipelineId}" }, "input":{ "shape":"ListJobsByPipelineRequest", "documentation":"

The ListJobsByPipelineRequest structure.

" }, "output":{ "shape":"ListJobsByPipelineResponse", "documentation":"

The ListJobsByPipelineResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.

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.

" }, "ListJobsByStatus":{ "name":"ListJobsByStatus", "http":{ "method":"GET", "requestUri":"/2012-09-25/jobsByStatus/{Status}" }, "input":{ "shape":"ListJobsByStatusRequest", "documentation":"

The ListJobsByStatusRequest structure.

" }, "output":{ "shape":"ListJobsByStatusResponse", "documentation":"

The ListJobsByStatusResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

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.

" }, "ListPipelines":{ "name":"ListPipelines", "http":{ "method":"GET", "requestUri":"/2012-09-25/pipelines" }, "input":{ "shape":"ListPipelinesRequest", "documentation":"

The ListPipelineRequest structure.

" }, "output":{ "shape":"ListPipelinesResponse", "documentation":"

A list of the pipelines associated with the current AWS account.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The ListPipelines operation gets a list of the pipelines associated with the current AWS account.

" }, "ListPresets":{ "name":"ListPresets", "http":{ "method":"GET", "requestUri":"/2012-09-25/presets" }, "input":{ "shape":"ListPresetsRequest", "documentation":"

The ListPresetsRequest structure.

" }, "output":{ "shape":"ListPresetsResponse", "documentation":"

The ListPresetsResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

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.

" }, "ReadJob":{ "name":"ReadJob", "http":{ "method":"GET", "requestUri":"/2012-09-25/jobs/{Id}" }, "input":{ "shape":"ReadJobRequest", "documentation":"

The ReadJobRequest structure.

" }, "output":{ "shape":"ReadJobResponse", "documentation":"

The ReadJobResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The ReadJob operation returns detailed information about a job.

" }, "ReadPipeline":{ "name":"ReadPipeline", "http":{ "method":"GET", "requestUri":"/2012-09-25/pipelines/{Id}" }, "input":{ "shape":"ReadPipelineRequest", "documentation":"

The ReadPipelineRequest structure.

" }, "output":{ "shape":"ReadPipelineResponse", "documentation":"

The ReadPipelineResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The ReadPipeline operation gets detailed information about a pipeline.

" }, "ReadPreset":{ "name":"ReadPreset", "http":{ "method":"GET", "requestUri":"/2012-09-25/presets/{Id}" }, "input":{ "shape":"ReadPresetRequest", "documentation":"

The ReadPresetRequest structure.

" }, "output":{ "shape":"ReadPresetResponse", "documentation":"

The ReadPresetResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The ReadPreset operation gets detailed information about a preset.

" }, "TestRole":{ "name":"TestRole", "http":{ "method":"POST", "requestUri":"/2012-09-25/roleTests", "responseCode":200 }, "input":{ "shape":"TestRoleRequest", "documentation":"

The TestRoleRequest structure.

" }, "output":{ "shape":"TestRoleResponse", "documentation":"

The TestRoleResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The TestRole operation tests the IAM role used to create the pipeline.

The TestRole 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.

" }, "UpdatePipeline":{ "name":"UpdatePipeline", "http":{ "method":"PUT", "requestUri":"/2012-09-25/pipelines/{Id}", "responseCode":200 }, "input":{ "shape":"UpdatePipelineRequest", "documentation":"

The UpdatePipelineRequest structure.

" }, "output":{ "shape":"UpdatePipelineResponse", "documentation":"

When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"ResourceInUseException", "error":{"httpStatusCode":409}, "exception":true, "documentation":"

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

" }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

Use the UpdatePipeline operation to update settings for a pipeline. 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.

" }, "UpdatePipelineNotifications":{ "name":"UpdatePipelineNotifications", "http":{ "method":"POST", "requestUri":"/2012-09-25/pipelines/{Id}/notifications" }, "input":{ "shape":"UpdatePipelineNotificationsRequest", "documentation":"

The UpdatePipelineNotificationsRequest structure.

" }, "output":{ "shape":"UpdatePipelineNotificationsResponse", "documentation":"

The UpdatePipelineNotificationsResponse structure.

" }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"ResourceInUseException", "error":{"httpStatusCode":409}, "exception":true, "documentation":"

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.

When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.

" }, "UpdatePipelineStatus":{ "name":"UpdatePipelineStatus", "http":{ "method":"POST", "requestUri":"/2012-09-25/pipelines/{Id}/status" }, "input":{ "shape":"UpdatePipelineStatusRequest", "documentation":"

The UpdatePipelineStatusRequest structure.

" }, "output":{ "shape":"UpdatePipelineStatusResponse", "documentation":"When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request." }, "errors":[ { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, { "shape":"IncompatibleVersionException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, { "shape":"ResourceInUseException", "error":{"httpStatusCode":409}, "exception":true, "documentation":"

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

" }, { "shape":"AccessDeniedException", "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, { "shape":"InternalServiceException", "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" } ], "documentation":"

The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.

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 CancelJob request.

" } }, "shapes":{ "AccessControl":{ "type":"string", "pattern":"(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)" }, "AccessControls":{ "type":"list", "member":{"shape":"AccessControl"}, "max":30 }, "AccessDeniedException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":403}, "exception":true, "documentation":"

General authentication failure. The request was not signed correctly.

" }, "Artwork":{ "type":"structure", "members":{ "InputKey":{ "shape":"WatermarkKey", "documentation":"

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 PipelineId; the InputBucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, cooking/pie.jpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

" }, "MaxWidth":{ "shape":"DigitsOrAuto", "documentation":"

The maximum width of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.

" }, "MaxHeight":{ "shape":"DigitsOrAuto", "documentation":"

The maximum height of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.

" }, "SizingPolicy":{ "shape":"SizingPolicy", "documentation":"

Specify one of the following values to control scaling of the output album art:

" }, "PaddingPolicy":{ "shape":"PaddingPolicy", "documentation":"

When you set PaddingPolicy to Pad, 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 MaxWidth and MaxHeight.

" }, "AlbumArtFormat":{ "shape":"JpgOrPng", "documentation":"

The format of album art, if any. Valid formats are .jpg and .png.

" }, "Encryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.

" } }, "documentation":"

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20.

To remove artwork or leave the artwork empty, you can either set Artwork to null, or set the Merge Policy to \"Replace\" and use an empty Artwork array.

To pass through existing artwork unchanged, set the Merge Policy to \"Prepend\", \"Append\", or \"Fallback\", and use an empty Artwork array.

" }, "Artworks":{ "type":"list", "member":{"shape":"Artwork"} }, "Ascending":{ "type":"string", "pattern":"(^true$)|(^false$)" }, "AspectRatio":{ "type":"string", "pattern":"(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)" }, "AudioBitRate":{ "type":"string", "pattern":"^\\d{1,3}$" }, "AudioChannels":{ "type":"string", "pattern":"(^auto$)|(^0$)|(^1$)|(^2$)" }, "AudioCodec":{ "type":"string", "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)" }, "AudioCodecOptions":{ "type":"structure", "members":{ "Profile":{ "shape":"AudioCodecProfile", "documentation":"

You can only choose an audio profile when you specify AAC for the value of Audio:Codec.

Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:

All outputs in a Smooth playlist must have the same value for Profile.

If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.

" } }, "documentation":"

Options associated with your audio codec.

" }, "AudioCodecProfile":{ "type":"string", "pattern":"(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)" }, "AudioParameters":{ "type":"structure", "members":{ "Codec":{ "shape":"AudioCodec", "documentation":"

The audio codec for the output file. Valid values include aac, mp3, and vorbis.

" }, "SampleRate":{ "shape":"AudioSampleRate", "documentation":"

The sample rate of the audio stream in the output file, in Hertz. Valid values include:

auto, 22050, 32000, 44100, 48000, 96000

If you specify auto, Elastic Transcoder automatically detects the sample rate.

" }, "BitRate":{ "shape":"AudioBitRate", "documentation":"

The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

" }, "Channels":{ "shape":"AudioChannels", "documentation":"

The number of audio channels in the output file. Valid values include:

auto, 0, 1, 2

If you specify auto, Elastic Transcoder automatically detects the number of channels in the input file.

" }, "CodecOptions":{ "shape":"AudioCodecOptions", "documentation":"

If you specified AAC for Audio:Codec, this is the AAC compression profile to use. Valid values include:

auto, AAC-LC, HE-AAC, HE-AACv2

If you specify auto, Elastic Transcoder chooses a profile based on the bit rate of the output file.

" } }, "documentation":"

Parameters required for transcoding audio.

" }, "AudioSampleRate":{ "type":"string", "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)" }, "Base64EncodedString":{ "type":"string", "pattern":"^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$" }, "BucketName":{ "type":"string", "pattern":"^(\\w|\\.|-){1,255}$" }, "CancelJobRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the job that you want to cancel.

To get a list of the jobs (including their jobId) that have a status of Submitted, use the ListJobsByStatus API action.

" } }, "documentation":"

The CancelJobRequest structure.

" }, "CancelJobResponse":{ "type":"structure", "members":{ }, "documentation":"

The response body contains a JSON object. If the job is successfully canceled, the value of Success is true.

" }, "CaptionFormat":{ "type":"structure", "members":{ "Format":{ "shape":"CaptionFormatFormat", "documentation":"

The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.

" }, "Pattern":{ "shape":"CaptionFormatPattern", "documentation":"

The prefix for caption filenames, in the form description-{language}, where:

If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends \"{language}\" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.

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.

" }, "Encryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats.

" } }, "documentation":"

The file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error.

" }, "CaptionFormatFormat":{ "type":"string", "pattern":"(^mov-text$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)" }, "CaptionFormatPattern":{ "type":"string", "pattern":"(^$)|(^.*\\{language\\}.*$)" }, "CaptionFormats":{ "type":"list", "member":{"shape":"CaptionFormat"}, "max":4 }, "CaptionMergePolicy":{ "type":"string", "pattern":"(^MergeOverride$)|(^MergeRetain$)|(^Override$)" }, "CaptionSource":{ "type":"structure", "members":{ "Key":{ "shape":"Key", "documentation":"

The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.

" }, "Language":{ "shape":"Key", "documentation":"

A string that specifies the language of the caption. Specify this as one of:

For more information on ISO language codes and language names, see the List of ISO 639-1 codes.

" }, "TimeOffset":{ "shape":"TimeOffset", "documentation":"

For clip generation or captions that do not start at the same time as the associated video file, the TimeOffset tells Elastic Transcoder how much of the video to encode before including captions.

Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.

" }, "Label":{ "shape":"Name", "documentation":"

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.

" }, "Encryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your caption sources.

" } }, "documentation":"

A source file for the input sidecar captions used during the transcoding process.

" }, "CaptionSources":{ "type":"list", "member":{"shape":"CaptionSource"}, "max":20 }, "Captions":{ "type":"structure", "members":{ "MergePolicy":{ "shape":"CaptionMergePolicy", "documentation":"

A policy that determines how Elastic Transcoder handles the existence of multiple captions.

MergePolicy cannot be null.

" }, "CaptionSources":{ "shape":"CaptionSources", "documentation":"

Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

" }, "CaptionFormats":{ "shape":"CaptionFormats", "documentation":"

The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.

" } }, "documentation":"

The captions to be created, if any.

" }, "Clip":{ "type":"structure", "members":{ "TimeSpan":{ "shape":"TimeSpan", "documentation":"

Settings that determine when a clip begins and how long it lasts.

" } }, "documentation":"

Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.

" }, "CodecOption":{ "type":"string", "min":1, "max":255 }, "CodecOptions":{ "type":"map", "key":{"shape":"CodecOption"}, "value":{"shape":"CodecOption"}, "max":30 }, "Composition":{ "type":"list", "member":{"shape":"Clip"} }, "CreateJobOutput":{ "type":"structure", "members":{ "Key":{ "shape":"Key", "documentation":"

The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket 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.

" }, "ThumbnailPattern":{ "shape":"ThumbnailPattern", "documentation":"

Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

If you don't want Elastic Transcoder to create thumbnails, specify \"\".

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:

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 PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

" }, "ThumbnailEncryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

" }, "Rotate":{ "shape":"Rotate", "documentation":"

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: auto, 0, 90, 180, 270. The value auto generally works only if the file that you're transcoding contains rotation metadata.

" }, "PresetId":{ "shape":"Id", "documentation":"

The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

" }, "SegmentDuration":{ "shape":"Float", "documentation":"

(Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

" }, "Watermarks":{ "shape":"JobWatermarks", "documentation":"

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.

" }, "AlbumArt":{ "shape":"JobAlbumArt", "documentation":"

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.

" }, "Composition":{ "shape":"Composition", "documentation":"

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.

" }, "Captions":{ "shape":"Captions", "documentation":"

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:

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

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.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

" }, "Encryption":{ "shape":"Encryption", "documentation":"

You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually.

" } }, "documentation":"

The CreateJobOutput structure.

" }, "CreateJobOutputs":{ "type":"list", "member":{"shape":"CreateJobOutput"}, "max":30 }, "CreateJobPlaylist":{ "type":"structure", "members":{ "Name":{ "shape":"Filename", "documentation":"

The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Note: Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

" }, "Format":{ "shape":"PlaylistFormat", "documentation":"

The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

" }, "OutputKeys":{ "shape":"OutputKeys", "documentation":"

For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

" } }, "documentation":"

Information about the master playlist.

" }, "CreateJobPlaylists":{ "type":"list", "member":{"shape":"CreateJobPlaylist"}, "max":30 }, "CreateJobRequest":{ "type":"structure", "required":[ "PipelineId", "Input" ], "members":{ "PipelineId":{ "shape":"Id", "documentation":"

The Id 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.

" }, "Input":{ "shape":"JobInput", "documentation":"

A section of the request body that provides information about the file that is being transcoded.

" }, "Output":{"shape":"CreateJobOutput"}, "Outputs":{ "shape":"CreateJobOutputs", "documentation":"

A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax.

" }, "OutputKeyPrefix":{ "shape":"Key", "documentation":"

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.

" }, "Playlists":{ "shape":"CreateJobPlaylists", "documentation":"

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

The maximum number of master playlists in a job is 30.

" }, "UserMetadata":{ "shape":"UserMetadata", "documentation":"

User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs will be returned in the same order in which you specify them.

" } }, "documentation":"

The CreateJobRequest structure.

" }, "CreateJobResponse":{ "type":"structure", "members":{ "Job":{ "shape":"Job", "documentation":"

A section of the response body that provides information about the job that is created.

" } }, "documentation":"

The CreateJobResponse structure.

" }, "CreatePipelineRequest":{ "type":"structure", "required":[ "Name", "InputBucket", "Role" ], "members":{ "Name":{ "shape":"Name", "documentation":"

The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.

" }, "InputBucket":{ "shape":"BucketName", "documentation":"

The Amazon S3 bucket in which you saved the media files that you want to transcode.

" }, "OutputBucket":{ "shape":"BucketName", "documentation":"

The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.)

Specify this value when all of the following are true:

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 ContentConfig and ThumbnailConfig instead.

" }, "Role":{ "shape":"Role", "documentation":"

The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.

" }, "AwsKmsKeyArn":{ "shape":"KeyArn", "documentation":"

The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM.

" }, "Notifications":{ "shape":"Notifications", "documentation":"

The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. " }, "ContentConfig":{ "shape":"PipelineOutputConfig", "documentation":"

The optional ContentConfig 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.

If you specify values for ContentConfig, you must also specify values for ThumbnailConfig.

If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object.

" }, "ThumbnailConfig":{ "shape":"PipelineOutputConfig", "documentation":"

The ThumbnailConfig 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.

If you specify values for ContentConfig, you must also specify values for ThumbnailConfig even if you don't want to create thumbnails.

If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object.

" } }, "documentation":"

The CreatePipelineRequest structure.

" }, "CreatePipelineResponse":{ "type":"structure", "members":{ "Pipeline":{ "shape":"Pipeline", "documentation":"

A section of the response body that provides information about the pipeline that is created.

" } }, "documentation":"

When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.

" }, "CreatePresetRequest":{ "type":"structure", "required":[ "Name", "Container" ], "members":{ "Name":{ "shape":"Name", "documentation":"

The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

" }, "Description":{ "shape":"Description", "documentation":"

A description of the preset.

" }, "Container":{ "shape":"PresetContainer", "documentation":"

The container type for the output file. Valid values include fmp4, mp3, mp4, ogg, ts, and webm.

" }, "Video":{ "shape":"VideoParameters", "documentation":"

A section of the request body that specifies the video parameters.

" }, "Audio":{ "shape":"AudioParameters", "documentation":"

A section of the request body that specifies the audio parameters.

" }, "Thumbnails":{ "shape":"Thumbnails", "documentation":"

A section of the request body that specifies the thumbnail parameters, if any.

" } }, "documentation":"

The CreatePresetRequest structure.

" }, "CreatePresetResponse":{ "type":"structure", "members":{ "Preset":{ "shape":"Preset", "documentation":"

A section of the response body that provides information about the preset that is created.

" }, "Warning":{ "shape":"String", "documentation":"

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.

" } }, "documentation":"

The CreatePresetResponse structure.

" }, "DeletePipelineRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the pipeline that you want to delete.

" } }, "documentation":"

The DeletePipelineRequest structure.

" }, "DeletePipelineResponse":{ "type":"structure", "members":{ }, "documentation":"

The DeletePipelineResponse structure.

" }, "DeletePresetRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the preset for which you want to get detailed information.

" } }, "documentation":"

The DeletePresetRequest structure.

" }, "DeletePresetResponse":{ "type":"structure", "members":{ }, "documentation":"

The DeletePresetResponse structure.

" }, "Description":{ "type":"string", "min":0, "max":255 }, "Digits":{ "type":"string", "pattern":"^\\d{1,5}$" }, "DigitsOrAuto":{ "type":"string", "pattern":"(^auto$)|(^\\d{2,4}$)" }, "Encryption":{ "type":"structure", "members":{ "Mode":{ "shape":"EncryptionMode", "documentation":"

The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:

For all three AES options, you must provide the following settings, which must be base64-encoded:

For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.

" }, "Key":{ "shape":"Base64EncodedString", "documentation":"

The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using the Amazon Key Management Service.

" }, "KeyMd5":{ "shape":"Base64EncodedString", "documentation":"

The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

" }, "InitializationVector":{ "shape":"Key", "documentation":"

The series of random bits created by a random bit generator, unique for every encryption operation, that you used to encrypt your input files or that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

" } }, "documentation":"

The encryption settings, if any, that are used for decrypting your input files or encrypting your output files. If your input file is encrypted, you must specify the mode that Elastic Transcoder will use to decrypt your file, otherwise you must specify the mode you want Elastic Transcoder to use to encrypt your output files.

" }, "EncryptionMode":{ "type":"string", "pattern":"(^s3$)|(^s3-aws-kms$)|(^aes-cbc-pkcs7$)|(^aes-ctr$)|(^aes-gcm$)" }, "ExceptionMessages":{ "type":"list", "member":{"shape":"String"} }, "Filename":{ "type":"string", "min":1, "max":255 }, "FixedGOP":{ "type":"string", "pattern":"(^true$)|(^false$)" }, "Float":{ "type":"string", "pattern":"^\\d{1,5}(\\.\\d{0,5})?$" }, "FrameRate":{ "type":"string", "pattern":"(^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)" }, "Grantee":{ "type":"string", "min":1, "max":255 }, "GranteeType":{ "type":"string", "pattern":"(^Canonical$)|(^Email$)|(^Group$)" }, "HorizontalAlign":{ "type":"string", "pattern":"(^Left$)|(^Right$)|(^Center$)" }, "Id":{ "type":"string", "pattern":"^\\d{13}-\\w{6}$" }, "IncompatibleVersionException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":400}, "exception":true }, "Interlaced":{ "type":"string", "pattern":"(^auto$)|(^true$)|(^false$)" }, "InternalServiceException":{ "type":"structure", "members":{ }, "exception":true, "fault":true, "documentation":"

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

" }, "Job":{ "type":"structure", "members":{ "Id":{ "shape":"Id", "documentation":"

The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

" }, "Arn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) for the job.

" }, "PipelineId":{ "shape":"Id", "documentation":"

The Id 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.

" }, "Input":{ "shape":"JobInput", "documentation":"

A section of the request or response body that provides information about the file that is being transcoded.

" }, "Output":{ "shape":"JobOutput", "documentation":"

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.

Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

" }, "Outputs":{ "shape":"JobOutputs", "documentation":"

Information about the output files. We recommend that you use the Outputs syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs and Output syntaxes in the same request. You can create a maximum of 30 outputs per job.

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.

" }, "OutputKeyPrefix":{ "shape":"Key", "documentation":"

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 OutputKeyPrefix.

" }, "Playlists":{ "shape":"Playlists", "documentation":"

Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

The maximum number of master playlists in a job is 30.

" }, "Status":{ "shape":"JobStatus", "documentation":"

The status of the job: Submitted, Progressing, Complete, Canceled, or Error.

" }, "UserMetadata":{ "shape":"UserMetadata", "documentation":"

User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs will be returned in the same order in which you specify them.

Metadata keys and values must use characters from the following list:

" } }, "documentation":"

A section of the response body that provides information about the job that is created.

" }, "JobAlbumArt":{ "type":"structure", "members":{ "MergePolicy":{ "shape":"MergePolicy", "documentation":"

A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.

" }, "Artwork":{ "shape":"Artworks", "documentation":"

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 .jpg and .png

" } }, "documentation":"

The .jpg or .png file associated with an audio file.

" }, "JobContainer":{ "type":"string", "pattern":"(^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)|(^mp3$)|(^m4a$)|(^aac$)" }, "JobInput":{ "type":"structure", "members":{ "Key":{ "shape":"Key", "documentation":"

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 InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

" }, "FrameRate":{ "shape":"FrameRate", "documentation":"

The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:

10, 15, 23.97, 24, 25, 29.97, 30, 60

If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame rate.

" }, "Resolution":{ "shape":"Resolution", "documentation":"

This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of the input file.

" }, "AspectRatio":{ "shape":"AspectRatio", "documentation":"

The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:

1:1, 4:3, 3:2, 16:9

If you specify a value other than auto, Elastic Transcoder disables automatic detection of the aspect ratio.

" }, "Interlaced":{ "shape":"Interlaced", "documentation":"

Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:

true, false

If you specify a value other than auto, Elastic Transcoder disables automatic detection of interlacing.

" }, "Container":{ "shape":"JobContainer", "documentation":"

The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:

3gp, aac, asf, avi, divx, flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, vob, wav, webm

" }, "Encryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder will use to decrypt your file.

" } }, "documentation":"

Information about the file that you're transcoding.

" }, "JobOutput":{ "type":"structure", "members":{ "Id":{ "shape":"String", "documentation":"

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.

" }, "Key":{ "shape":"Key", "documentation":"

The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID.

" }, "ThumbnailPattern":{ "shape":"ThumbnailPattern", "documentation":"

Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

If you don't want Elastic Transcoder to create thumbnails, specify \"\".

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:

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 PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

" }, "ThumbnailEncryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

" }, "Rotate":{ "shape":"Rotate", "documentation":"

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:

auto, 0, 90, 180, 270

The value auto generally works only if the file that you're transcoding contains rotation metadata.

" }, "PresetId":{ "shape":"Id", "documentation":"

The value of the Id 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 ListPresets.

" }, "SegmentDuration":{ "shape":"Float", "documentation":"

(Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

" }, "Status":{ "shape":"JobStatus", "documentation":"

The status of one output in a job. If you specified only one output for the job, Outputs:Status is always the same as Job:Status. If you specified more than one output:

The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

" }, "StatusDetail":{ "shape":"Description", "documentation":"

Information that further explains Status.

" }, "Duration":{ "shape":"NullableLong", "documentation":"

Duration of the output file, in seconds.

" }, "Width":{ "shape":"NullableInteger", "documentation":"

Specifies the width of the output file in pixels.

" }, "Height":{ "shape":"NullableInteger", "documentation":"

Height of the output file, in pixels.

" }, "Watermarks":{ "shape":"JobWatermarks", "documentation":"

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 Preset for the current output.

Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.

" }, "AlbumArt":{ "shape":"JobAlbumArt", "documentation":"

The album art to be associated with the output file, if any.

" }, "Composition":{ "shape":"Composition", "documentation":"

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.

" }, "Captions":{ "shape":"Captions", "documentation":"

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:

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

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.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

" }, "Encryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder will write an unencrypted file to your Amazon S3 bucket.

" } }, "documentation":"

Outputs recommended instead.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.

" }, "JobOutputs":{ "type":"list", "member":{"shape":"JobOutput"} }, "JobStatus":{ "type":"string", "pattern":"(^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)" }, "JobWatermark":{ "type":"structure", "members":{ "PresetWatermarkId":{ "shape":"PresetWatermarkId", "documentation":"

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.

" }, "InputKey":{ "shape":"WatermarkKey", "documentation":"

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 Pipeline; the Input Bucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

" }, "Encryption":{ "shape":"Encryption", "documentation":"

The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

" } }, "documentation":"

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.

" }, "JobWatermarks":{ "type":"list", "member":{"shape":"JobWatermark"} }, "Jobs":{ "type":"list", "member":{"shape":"Job"} }, "JpgOrPng":{ "type":"string", "pattern":"(^jpg$)|(^png$)" }, "Key":{ "type":"string", "min":1, "max":255 }, "KeyArn":{ "type":"string", "min":0, "max":255 }, "KeyframesMaxDist":{ "type":"string", "pattern":"^\\d{1,6}$" }, "LimitExceededException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":429}, "exception":true, "documentation":"

Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.

" }, "ListJobsByPipelineRequest":{ "type":"structure", "required":["PipelineId"], "members":{ "PipelineId":{ "shape":"Id", "location":"uri", "locationName":"PipelineId", "documentation":"

The ID of the pipeline for which you want to get job information.

" }, "Ascending":{ "shape":"Ascending", "location":"querystring", "locationName":"Ascending", "documentation":"

To list jobs in chronological order by the date and time that they were submitted, enter true. To list jobs in reverse chronological order, enter false.

" }, "PageToken":{ "shape":"Id", "location":"querystring", "locationName":"PageToken", "documentation":"

When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

" } }, "documentation":"

The ListJobsByPipelineRequest structure.

" }, "ListJobsByPipelineResponse":{ "type":"structure", "members":{ "Jobs":{ "shape":"Jobs", "documentation":"

An array of Job objects that are in the specified pipeline.

" }, "NextPageToken":{ "shape":"Id", "documentation":"

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 NextPageToken is null.

" } }, "documentation":"

The ListJobsByPipelineResponse structure.

" }, "ListJobsByStatusRequest":{ "type":"structure", "required":["Status"], "members":{ "Status":{ "shape":"JobStatus", "location":"uri", "locationName":"Status", "documentation":"

To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: Submitted, Progressing, Complete, Canceled, or Error.

" }, "Ascending":{ "shape":"Ascending", "location":"querystring", "locationName":"Ascending", "documentation":"

To list jobs in chronological order by the date and time that they were submitted, enter true. To list jobs in reverse chronological order, enter false.

" }, "PageToken":{ "shape":"Id", "location":"querystring", "locationName":"PageToken", "documentation":"

When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

" } }, "documentation":"

The ListJobsByStatusRequest structure.

" }, "ListJobsByStatusResponse":{ "type":"structure", "members":{ "Jobs":{ "shape":"Jobs", "documentation":"

An array of Job objects that have the specified status.

" }, "NextPageToken":{ "shape":"Id", "documentation":"

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 NextPageToken is null.

" } }, "documentation":"

The ListJobsByStatusResponse structure.

" }, "ListPipelinesRequest":{ "type":"structure", "members":{ "Ascending":{ "shape":"Ascending", "location":"querystring", "locationName":"Ascending", "documentation":"

To list pipelines in chronological order by the date and time that they were created, enter true. To list pipelines in reverse chronological order, enter false.

" }, "PageToken":{ "shape":"Id", "location":"querystring", "locationName":"PageToken", "documentation":"

When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

" } }, "documentation":"

The ListPipelineRequest structure.

" }, "ListPipelinesResponse":{ "type":"structure", "members":{ "Pipelines":{ "shape":"Pipelines", "documentation":"

An array of Pipeline objects.

" }, "NextPageToken":{ "shape":"Id", "documentation":"

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 NextPageToken is null.

" } }, "documentation":"

A list of the pipelines associated with the current AWS account.

" }, "ListPresetsRequest":{ "type":"structure", "members":{ "Ascending":{ "shape":"Ascending", "location":"querystring", "locationName":"Ascending", "documentation":"

To list presets in chronological order by the date and time that they were created, enter true. To list presets in reverse chronological order, enter false.

" }, "PageToken":{ "shape":"Id", "location":"querystring", "locationName":"PageToken", "documentation":"

When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

" } }, "documentation":"

The ListPresetsRequest structure.

" }, "ListPresetsResponse":{ "type":"structure", "members":{ "Presets":{ "shape":"Presets", "documentation":"

An array of Preset objects.

" }, "NextPageToken":{ "shape":"Id", "documentation":"

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 NextPageToken is null.

" } }, "documentation":"

The ListPresetsResponse structure.

" }, "MaxFrameRate":{ "type":"string", "pattern":"(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)" }, "MergePolicy":{ "type":"string", "pattern":"(^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)" }, "Name":{ "type":"string", "min":1, "max":40 }, "Notifications":{ "type":"structure", "members":{ "Progressing":{ "shape":"SnsTopic", "documentation":"

The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.

" }, "Completed":{ "shape":"SnsTopic", "documentation":"

The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

" }, "Warning":{ "shape":"SnsTopic", "documentation":"

The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

" }, "Error":{ "shape":"SnsTopic", "documentation":"

The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

" } }, "documentation":"

The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console." }, "NullableInteger":{"type":"integer"}, "NullableLong":{"type":"long"}, "Opacity":{ "type":"string", "pattern":"^\\d{1,3}(\\.\\d{0,20})?$" }, "OutputKeys":{ "type":"list", "member":{"shape":"Key"}, "max":30 }, "PaddingPolicy":{ "type":"string", "pattern":"(^Pad$)|(^NoPad$)" }, "Permission":{ "type":"structure", "members":{ "GranteeType":{ "shape":"GranteeType", "documentation":"

The type of value that appears in the Grantee object:

" }, "Grantee":{ "shape":"Grantee", "documentation":"

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.

" }, "Access":{ "shape":"AccessControls", "documentation":"

The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

" } }, "documentation":"

The Permission structure.

" }, "Permissions":{ "type":"list", "member":{"shape":"Permission"}, "max":30 }, "Pipeline":{ "type":"structure", "members":{ "Id":{ "shape":"Id", "documentation":"

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.

" }, "Arn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) for the pipeline.

" }, "Name":{ "shape":"Name", "documentation":"

The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters

" }, "Status":{ "shape":"PipelineStatus", "documentation":"

The current status of the pipeline:

" }, "InputBucket":{ "shape":"BucketName", "documentation":"

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.

" }, "OutputBucket":{ "shape":"BucketName", "documentation":"

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 ContentConfig and ThumbnailConfig.

" }, "Role":{ "shape":"Role", "documentation":"

The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.

" }, "AwsKmsKeyArn":{ "shape":"KeyArn", "documentation":"

The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM.

" }, "Notifications":{ "shape":"Notifications", "documentation":"

The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. " }, "ContentConfig":{ "shape":"PipelineOutputConfig", "documentation":"

Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

" }, "ThumbnailConfig":{ "shape":"PipelineOutputConfig", "documentation":"

Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

" } }, "documentation":"

The pipeline (queue) that is used to manage jobs.

" }, "PipelineOutputConfig":{ "type":"structure", "members":{ "Bucket":{ "shape":"BucketName", "documentation":"

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:

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 ContentConfig and ThumbnailConfig instead.

" }, "StorageClass":{ "shape":"StorageClass", "documentation":"

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.

" }, "Permissions":{ "shape":"Permissions", "documentation":"

Optional. The Permissions 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.

If you include Permissions, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by Role. If you want that user to have full control, you must explicitly grant full control to the user.

If you omit Permissions, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by Role, and grants no other permissions to any other user or group.

" } }, "documentation":"

The PipelineOutputConfig structure.

" }, "PipelineStatus":{ "type":"string", "pattern":"(^Active$)|(^Paused$)" }, "Pipelines":{ "type":"list", "member":{"shape":"Pipeline"} }, "PixelsOrPercent":{ "type":"string", "pattern":"(^\\d{1,3}(\\.\\d{0,5})?%$)|(^\\d{1,4}?px$)" }, "Playlist":{ "type":"structure", "members":{ "Name":{ "shape":"Filename", "documentation":"

The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Note: Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

" }, "Format":{ "shape":"PlaylistFormat", "documentation":"

The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

" }, "OutputKeys":{ "shape":"OutputKeys", "documentation":"

For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

" }, "Status":{ "shape":"JobStatus", "documentation":"

The status of the job with which the playlist is associated.

" }, "StatusDetail":{ "shape":"Description", "documentation":"

Information that further explains the status.

" } }, "documentation":"

Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. We recommend that you create only one master playlist per output format. The maximum number of master playlists in a job is 30.

" }, "PlaylistFormat":{ "type":"string", "pattern":"(^HLSv3$)|(^HLSv4$)|(^Smooth$)" }, "Playlists":{ "type":"list", "member":{"shape":"Playlist"} }, "Preset":{ "type":"structure", "members":{ "Id":{ "shape":"Id", "documentation":"

Identifier for the new preset. You use this value to get settings for the preset or to delete it.

" }, "Arn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) for the preset.

" }, "Name":{ "shape":"Name", "documentation":"

The name of the preset.

" }, "Description":{ "shape":"Description", "documentation":"

A description of the preset.

" }, "Container":{ "shape":"PresetContainer", "documentation":"

The container type for the output file. Valid values include fmp4, mp3, mp4, ogg, ts, and webm.

" }, "Audio":{ "shape":"AudioParameters", "documentation":"

A section of the response body that provides information about the audio preset values.

" }, "Video":{ "shape":"VideoParameters", "documentation":"

A section of the response body that provides information about the video preset values.

" }, "Thumbnails":{ "shape":"Thumbnails", "documentation":"

A section of the response body that provides information about the thumbnail preset values, if any.

" }, "Type":{ "shape":"PresetType", "documentation":"

Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

" } }, "documentation":"

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.

" }, "PresetContainer":{ "type":"string", "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^ogg$)|(^fmp4$)" }, "PresetType":{ "type":"string", "pattern":"(^System$)|(^Custom$)" }, "PresetWatermark":{ "type":"structure", "members":{ "Id":{ "shape":"PresetWatermarkId", "documentation":"A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long." }, "MaxWidth":{ "shape":"PixelsOrPercent", "documentation":"

The maximum width of the watermark in one of the following formats:

" }, "MaxHeight":{ "shape":"PixelsOrPercent", "documentation":"

The maximum height of the watermark in one of the following formats:

If you specify the value in pixels, it must be less than or equal to the value of MaxHeight.

" }, "SizingPolicy":{ "shape":"WatermarkSizingPolicy", "documentation":"

A value that controls scaling of the watermark:

" }, "HorizontalAlign":{ "shape":"HorizontalAlign", "documentation":"

The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset:

" }, "HorizontalOffset":{ "shape":"PixelsOrPercent", "documentation":"

The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign:

For example, if you specify Left for HorizontalAlign and 5px for HorizontalOffset, the left side of the watermark appears 5 pixels from the left border of the output video.

HorizontalOffset is only valid when the value of HorizontalAlign is Left or Right. 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.

Use the value of Target to specify whether you want to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.

" }, "VerticalAlign":{ "shape":"VerticalAlign", "documentation":"

The vertical position of the watermark unless you specify a non-zero value for VerticalOffset:

" }, "VerticalOffset":{ "shape":"PixelsOrPercent", "documentation":"VerticalOffset

The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:

For example, if you specify Top for VerticalAlign and 5px for VerticalOffset, the top of the watermark appears 5 pixels from the top border of the output video.

VerticalOffset is only valid when the value of VerticalAlign is Top or Bottom.

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.

Use the value of Target to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.

" }, "Opacity":{ "shape":"Opacity", "documentation":"

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 Opacity is float.

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 Opacity. The .jpg file format doesn't support transparency.

" }, "Target":{ "shape":"Target", "documentation":"

A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight:

" } }, "documentation":"

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.

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.

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.

" }, "PresetWatermarkId":{ "type":"string", "min":1, "max":40 }, "PresetWatermarks":{ "type":"list", "member":{"shape":"PresetWatermark"} }, "Presets":{ "type":"list", "member":{"shape":"Preset"} }, "ReadJobRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the job for which you want to get detailed information.

" } }, "documentation":"

The ReadJobRequest structure.

" }, "ReadJobResponse":{ "type":"structure", "members":{ "Job":{ "shape":"Job", "documentation":"

A section of the response body that provides information about the job.

" } }, "documentation":"

The ReadJobResponse structure.

" }, "ReadPipelineRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the pipeline to read.

" } }, "documentation":"

The ReadPipelineRequest structure.

" }, "ReadPipelineResponse":{ "type":"structure", "members":{ "Pipeline":{ "shape":"Pipeline", "documentation":"

A section of the response body that provides information about the pipeline.

" } }, "documentation":"

The ReadPipelineResponse structure.

" }, "ReadPresetRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the preset for which you want to get detailed information.

" } }, "documentation":"

The ReadPresetRequest structure.

" }, "ReadPresetResponse":{ "type":"structure", "members":{ "Preset":{ "shape":"Preset", "documentation":"

A section of the response body that provides information about the preset.

" } }, "documentation":"

The ReadPresetResponse structure.

" }, "Resolution":{ "type":"string", "pattern":"(^auto$)|(^\\d{1,5}x\\d{1,5}$)" }, "ResourceInUseException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":409}, "exception":true, "documentation":"

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

" }, "ResourceNotFoundException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":404}, "exception":true, "documentation":"

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.

" }, "Role":{ "type":"string", "pattern":"^arn:aws:iam::\\w{12}:role/.+$" }, "Rotate":{ "type":"string", "pattern":"(^auto$)|(^0$)|(^90$)|(^180$)|(^270$)" }, "SizingPolicy":{ "type":"string", "pattern":"(^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)" }, "SnsTopic":{ "type":"string", "pattern":"(^$)|(^arn:aws:sns:.*:\\w{12}:.+$)" }, "SnsTopics":{ "type":"list", "member":{"shape":"SnsTopic"}, "max":30 }, "StorageClass":{ "type":"string", "pattern":"(^ReducedRedundancy$)|(^Standard$)" }, "String":{"type":"string"}, "Success":{ "type":"string", "pattern":"(^true$)|(^false$)" }, "Target":{ "type":"string", "pattern":"(^Content$)|(^Frame$)" }, "TestRoleRequest":{ "type":"structure", "required":[ "Role", "InputBucket", "OutputBucket", "Topics" ], "members":{ "Role":{ "shape":"Role", "documentation":"

The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

" }, "InputBucket":{ "shape":"BucketName", "documentation":"

The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.

" }, "OutputBucket":{ "shape":"BucketName", "documentation":"

The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.

" }, "Topics":{ "shape":"SnsTopics", "documentation":"

The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.

" } }, "documentation":"

The TestRoleRequest structure.

" }, "TestRoleResponse":{ "type":"structure", "members":{ "Success":{ "shape":"Success", "documentation":"

If the operation is successful, this value is true; otherwise, the value is false.

" }, "Messages":{ "shape":"ExceptionMessages", "documentation":"

If the Success element contains false, this value is an array of one or more error messages that were generated during the test process.

" } }, "documentation":"

The TestRoleResponse structure.

" }, "ThumbnailPattern":{ "type":"string", "pattern":"(^$)|(^.*\\{count\\}.*$)" }, "ThumbnailResolution":{ "type":"string", "pattern":"^\\d{1,5}x\\d{1,5}$" }, "Thumbnails":{ "type":"structure", "members":{ "Format":{ "shape":"JpgOrPng", "documentation":"

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

" }, "Interval":{ "shape":"Digits", "documentation":"

The approximate number of seconds between thumbnails. Specify an integer value.

" }, "Resolution":{ "shape":"ThumbnailResolution", "documentation":"

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

" }, "AspectRatio":{ "shape":"AspectRatio", "documentation":"

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

" }, "MaxWidth":{ "shape":"DigitsOrAuto", "documentation":"

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.

" }, "MaxHeight":{ "shape":"DigitsOrAuto", "documentation":"

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.

" }, "SizingPolicy":{ "shape":"SizingPolicy", "documentation":"

Specify one of the following values to control scaling of thumbnails:

" }, "PaddingPolicy":{ "shape":"PaddingPolicy", "documentation":"

When you set PaddingPolicy to Pad, 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 MaxWidth and MaxHeight settings.

" } }, "documentation":"

Thumbnails for videos.

" }, "Time":{ "type":"string", "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})?$)" }, "TimeOffset":{ "type":"string", "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})?$)" }, "TimeSpan":{ "type":"structure", "members":{ "StartTime":{ "shape":"Time", "documentation":"

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.

" }, "Duration":{ "shape":"Time", "documentation":"

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.

If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

" } }, "documentation":"

Settings that determine when a clip begins and how long it lasts.

" }, "UpdatePipelineNotificationsRequest":{ "type":"structure", "required":[ "Id", "Notifications" ], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the pipeline for which you want to change notification settings.

" }, "Notifications":{ "shape":"Notifications", "documentation":"

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. " } }, "documentation":"

The UpdatePipelineNotificationsRequest structure.

" }, "UpdatePipelineNotificationsResponse":{ "type":"structure", "members":{ "Pipeline":{ "shape":"Pipeline", "documentation":"

A section of the response body that provides information about the pipeline.

" } }, "documentation":"

The UpdatePipelineNotificationsResponse structure.

" }, "UpdatePipelineRequest":{ "type":"structure", "required":["Id"], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The ID of the pipeline that you want to update.

" }, "Name":{ "shape":"Name", "documentation":"

The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters

" }, "InputBucket":{ "shape":"BucketName", "documentation":"

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.

" }, "Role":{ "shape":"Role", "documentation":"

The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.

" }, "AwsKmsKeyArn":{ "shape":"KeyArn", "documentation":"

The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM.

" }, "Notifications":{"shape":"Notifications"}, "ContentConfig":{ "shape":"PipelineOutputConfig", "documentation":"

The optional ContentConfig 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.

If you specify values for ContentConfig, you must also specify values for ThumbnailConfig.

If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object.

" }, "ThumbnailConfig":{ "shape":"PipelineOutputConfig", "documentation":"

The ThumbnailConfig 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.

If you specify values for ContentConfig, you must also specify values for ThumbnailConfig even if you don't want to create thumbnails.

If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object.

" } }, "documentation":"

The UpdatePipelineRequest structure.

" }, "UpdatePipelineResponse":{ "type":"structure", "members":{ "Pipeline":{"shape":"Pipeline"} }, "documentation":"

When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.

" }, "UpdatePipelineStatusRequest":{ "type":"structure", "required":[ "Id", "Status" ], "members":{ "Id":{ "shape":"Id", "location":"uri", "locationName":"Id", "documentation":"

The identifier of the pipeline to update.

" }, "Status":{ "shape":"PipelineStatus", "documentation":"

The desired status of the pipeline:

" } }, "documentation":"

The UpdatePipelineStatusRequest structure.

" }, "UpdatePipelineStatusResponse":{ "type":"structure", "members":{ "Pipeline":{ "shape":"Pipeline", "documentation":"

A section of the response body that provides information about the pipeline.

" } }, "documentation":"When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request." }, "UserMetadata":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "ValidationException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":400}, "exception":true, "documentation":"

One or more required parameter values were not provided in the request.

" }, "VerticalAlign":{ "type":"string", "pattern":"(^Top$)|(^Bottom$)|(^Center$)" }, "VideoBitRate":{ "type":"string", "pattern":"(^\\d{2,5}$)|(^auto$)" }, "VideoCodec":{ "type":"string", "pattern":"(^H\\.264$)|(^vp8$)" }, "VideoParameters":{ "type":"structure", "members":{ "Codec":{ "shape":"VideoCodec", "documentation":"

The video codec for the output file. Valid values include H.264 and vp8. You can only specify vp8 when the container type is webm.

" }, "CodecOptions":{ "shape":"CodecOptions", "documentation":"

Profile

The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:

Level (H.264 Only)

The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:

1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1

MaxReferenceFrames (H.264 Only)

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:

Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)

where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the Level object. See the list below. (A macroblock is a block of pixels measuring 16x16.)

MaxBitRate

The maximum number of bits per second in a video buffer; the size of the buffer is specified by BufferSize. 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.

BufferSize

The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you're using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify MaxBitRate and omit BufferSize, Elastic Transcoder sets BufferSize to 10 times the value of MaxBitRate.

" }, "KeyframesMaxDist":{ "shape":"KeyframesMaxDist", "documentation":"

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.

For Smooth outputs, the FrameRate must have a constant ratio to the KeyframesMaxDist. This allows Smooth playlists to switch between different quality levels while the file is being played.

For example, an input file can have a FrameRate of 30 with a KeyframesMaxDist of 90. The output file then needs to have a ratio of 1:3. Valid outputs would have FrameRate of 30, 25, and 10, and KeyframesMaxDist of 90, 75, and 30, respectively.

Alternately, this can be achieved by setting FrameRate to auto and having the same values for MaxFrameRate and KeyframesMaxDist.

" }, "FixedGOP":{ "shape":"FixedGOP", "documentation":"

Whether to use a fixed value for FixedGOP. Valid values are true and false:

FixedGOP must be set to true for fmp4 containers.

" }, "BitRate":{ "shape":"VideoBitRate", "documentation":"

The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. If you specify auto, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than auto, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile:

Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile)

" }, "FrameRate":{ "shape":"FrameRate", "documentation":"

The frames per second for the video stream in the output file. Valid values include:

auto, 10, 15, 23.97, 24, 25, 29.97, 30, 60

If you specify auto, 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:

Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)

where:

The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (Level - Decoding speed):

" }, "MaxFrameRate":{ "shape":"MaxFrameRate", "documentation":"

If you specify auto for FrameRate, 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: 10, 15, 23.97, 24, 25, 29.97, 30, 60.

" }, "Resolution":{ "shape":"Resolution", "documentation":"

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of the video in the output file, in pixels. Valid values are auto and width x height:

Note the following about specifying the width and height:

" }, "AspectRatio":{ "shape":"AspectRatio", "documentation":"

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The display aspect ratio of the video in the output file. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the input file.

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.

" }, "MaxWidth":{ "shape":"DigitsOrAuto", "documentation":"

The maximum width of the output video 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 128 and 4096.

" }, "MaxHeight":{ "shape":"DigitsOrAuto", "documentation":"

The maximum height of the output video 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 96 and 3072.

" }, "DisplayAspectRatio":{ "shape":"AspectRatio", "documentation":"

The value that Elastic Transcoder adds to the metadata in the output file.

" }, "SizingPolicy":{ "shape":"SizingPolicy", "documentation":"

Specify one of the following values to control scaling of the output video:

" }, "PaddingPolicy":{ "shape":"PaddingPolicy", "documentation":"

When you set PaddingPolicy to Pad, 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 MaxWidth and MaxHeight.

" }, "Watermarks":{ "shape":"PresetWatermarks", "documentation":"

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.

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.

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.

" } }, "documentation":"

The VideoParameters structure.

" }, "WatermarkKey":{ "type":"string", "min":1, "max":255, "pattern":"(^.{1,}.jpg$)|(^.{1,}.jpeg$)|(^.{1,}.png$)" }, "WatermarkSizingPolicy":{ "type":"string", "pattern":"(^Fit$)|(^Stretch$)|(^ShrinkToFit$)" } } }