Struct aws_sdk_elastictranscoder::input::CreatePresetInput
source · [−]#[non_exhaustive]pub struct CreatePresetInput {
pub name: Option<String>,
pub description: Option<String>,
pub container: Option<String>,
pub video: Option<VideoParameters>,
pub audio: Option<AudioParameters>,
pub thumbnails: Option<Thumbnails>,
}
Expand description
The CreatePresetRequest
structure.
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.name: Option<String>
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
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
.
video: Option<VideoParameters>
A section of the request body that specifies the video parameters.
audio: Option<AudioParameters>
A section of the request body that specifies the audio parameters.
thumbnails: Option<Thumbnails>
A section of the request body that specifies the thumbnail parameters, if any.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePreset, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePreset, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreatePreset
>
Creates a new builder-style object to manufacture CreatePresetInput
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
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 request body that specifies the video parameters.
A section of the request body that specifies the audio parameters.
A section of the request body that specifies the thumbnail parameters, if any.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreatePresetInput
impl Send for CreatePresetInput
impl Sync for CreatePresetInput
impl Unpin for CreatePresetInput
impl UnwindSafe for CreatePresetInput
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