Struct aws_sdk_elastictranscoder::model::Preset [−][src]
#[non_exhaustive]pub struct Preset {
pub id: Option<String>,
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub container: Option<String>,
pub audio: Option<AudioParameters>,
pub video: Option<VideoParameters>,
pub thumbnails: Option<Thumbnails>,
pub type: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
arn: Option<String>
The Amazon Resource Name (ARN) for the preset.
name: Option<String>
The name of the preset.
description: Option<String>
A description of the preset.
container: Option<String>
The container type for the output file. Valid values include flac
,
flv
, fmp4
, gif
, mp3
,
mp4
, mpg
, mxf
, oga
,
ogg
, ts
, and webm
.
audio: Option<AudioParameters>
A section of the response body that provides information about the audio preset values.
video: Option<VideoParameters>
A section of the response body that provides information about the video preset values.
thumbnails: Option<Thumbnails>
A section of the response body that provides information about the thumbnail preset values, if any.
type: Option<String>
Whether the preset is a default preset provided by Elastic Transcoder
(System
) or a preset that you have defined (Custom
).
Implementations
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
A description of the preset.
The container type for the output file. Valid values include flac
,
flv
, fmp4
, gif
, mp3
,
mp4
, mpg
, mxf
, oga
,
ogg
, ts
, and webm
.
A section of the response body that provides information about the audio preset values.
A section of the response body that provides information about the video preset values.
A section of the response body that provides information about the thumbnail preset values, if any.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Preset
impl UnwindSafe for Preset
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more