AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
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.

Namespace: Amazon.ElasticTranscoder
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CreatePresetResponse CreatePreset(
         CreatePresetRequest request
)

Parameters

request
Type: Amazon.ElasticTranscoder.Model.CreatePresetRequest

Container for the necessary parameters to execute the CreatePreset service method.

Return Value
Type: Amazon.ElasticTranscoder.Model.CreatePresetResponse
The response from the CreatePreset service method, as returned by ElasticTranscoder.

Exceptions

ExceptionCondition
AccessDeniedException General authentication failure. The request was not signed correctly.
IncompatibleVersionException
InternalServiceException Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.
LimitExceededException Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.
ValidationException One or more required parameter values were not provided in the request.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5