ElasticTranscoder / Client / delete_preset

delete_preset#

ElasticTranscoder.Client.delete_preset(**kwargs)#

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

Note

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

See also: AWS API Documentation

Request Syntax

response = client.delete_preset(
    Id='string'
)
Parameters:

Id (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    The DeletePresetResponse structure.

Exceptions

  • ElasticTranscoder.Client.exceptions.ValidationException

  • ElasticTranscoder.Client.exceptions.IncompatibleVersionException

  • ElasticTranscoder.Client.exceptions.ResourceNotFoundException

  • ElasticTranscoder.Client.exceptions.AccessDeniedException

  • ElasticTranscoder.Client.exceptions.InternalServiceException