Class: Aws::ElasticTranscoder::Types::CreatePresetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb

Overview

The CreatePresetRequest structure.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#audioTypes::AudioParameters

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



1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1235

class CreatePresetRequest < Struct.new(
  :name,
  :description,
  :container,
  :video,
  :audio,
  :thumbnails)
  SENSITIVE = []
  include Aws::Structure
end

#containerString

The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

Returns:

  • (String)


1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1235

class CreatePresetRequest < Struct.new(
  :name,
  :description,
  :container,
  :video,
  :audio,
  :thumbnails)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the preset.

Returns:

  • (String)


1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1235

class CreatePresetRequest < Struct.new(
  :name,
  :description,
  :container,
  :video,
  :audio,
  :thumbnails)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1235

class CreatePresetRequest < Struct.new(
  :name,
  :description,
  :container,
  :video,
  :audio,
  :thumbnails)
  SENSITIVE = []
  include Aws::Structure
end

#thumbnailsTypes::Thumbnails

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

Returns:



1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1235

class CreatePresetRequest < Struct.new(
  :name,
  :description,
  :container,
  :video,
  :audio,
  :thumbnails)
  SENSITIVE = []
  include Aws::Structure
end

#videoTypes::VideoParameters

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



1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1235

class CreatePresetRequest < Struct.new(
  :name,
  :description,
  :container,
  :video,
  :audio,
  :thumbnails)
  SENSITIVE = []
  include Aws::Structure
end