Struct aws_sdk_elastictranscoder::client::fluent_builders::CreateJob
source · [−]pub struct CreateJob<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateJob
.
When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.
If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).
Implementations
impl<C, M, R> CreateJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<CreateJobOutput, SdkError<CreateJobError>> where
R::Policy: SmithyRetryPolicy<CreateJobInputOperationOutputAlias, CreateJobOutput, CreateJobError, CreateJobInputOperationRetryAlias>,
pub async fn send(self) -> Result<CreateJobOutput, SdkError<CreateJobError>> where
R::Policy: SmithyRetryPolicy<CreateJobInputOperationOutputAlias, CreateJobOutput, CreateJobError, CreateJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Id
of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
The Id
of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
A section of the request body that provides information about the file that is being transcoded.
A section of the request body that provides information about the file that is being transcoded.
Appends an item to Inputs
.
To override the contents of this collection use set_inputs
.
A section of the request body that provides information about the files that are being transcoded.
A section of the request body that provides information about the files that are being transcoded.
A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs
syntax instead of the Output
syntax.
A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs
syntax instead of the Output
syntax.
Appends an item to Outputs
.
To override the contents of this collection use set_outputs
.
A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs
syntax instead of the Output
syntax.
A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs
syntax instead of the Output
syntax.
The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
Appends an item to Playlists
.
To override the contents of this collection use set_playlists
.
If you specify a preset in PresetId
for which the value of Container
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.
The maximum number of master playlists in a job is 30.
If you specify a preset in PresetId
for which the value of Container
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.
The maximum number of master playlists in a job is 30.
Adds a key-value pair to UserMetadata
.
To override the contents of this collection use set_user_metadata
.
User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value
pairs, and you can add up to 10 key/value
pairs per job. Elastic Transcoder does not guarantee that key/value
pairs are returned in the same order in which you specify them.
User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value
pairs, and you can add up to 10 key/value
pairs per job. Elastic Transcoder does not guarantee that key/value
pairs are returned in the same order in which you specify them.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateJob<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateJob<C, M, R>
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