aws-sdk-mediaconvert 1.115.0

AWS SDK for AWS Elemental MediaConvert
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateJob`](crate::operation::create_job::builders::CreateJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`acceleration_settings(AccelerationSettings)`](crate::operation::create_job::builders::CreateJobFluentBuilder::acceleration_settings) / [`set_acceleration_settings(Option<AccelerationSettings>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_acceleration_settings):<br>required: **false**<br>Optional. Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.<br>
    ///   - [`billing_tags_source(BillingTagsSource)`](crate::operation::create_job::builders::CreateJobFluentBuilder::billing_tags_source) / [`set_billing_tags_source(Option<BillingTagsSource>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_billing_tags_source):<br>required: **false**<br>Optionally choose a Billing tags source that AWS Billing and Cost Management will use to display tags for individual output costs on any billing report that you set up. Leave blank to use the default value, Job.<br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_client_request_token):<br>required: **false**<br>Prevent duplicate jobs from being created and ensure idempotency for your requests. A client request token can be any string that includes up to 64 ASCII characters. If you reuse a client request token within one minute of a successful request, the API returns the job details of the original request instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html.<br>
    ///   - [`hop_destinations(HopDestination)`](crate::operation::create_job::builders::CreateJobFluentBuilder::hop_destinations) / [`set_hop_destinations(Option<Vec::<HopDestination>>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_hop_destinations):<br>required: **false**<br>Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide.<br>
    ///   - [`job_engine_version(impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::job_engine_version) / [`set_job_engine_version(Option<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_job_engine_version):<br>required: **false**<br>Use Job engine versions to run jobs for your production workflow on one version, while you test and validate the latest version. Job engine versions represent periodically grouped MediaConvert releases with new features, updates, improvements, and fixes. Job engine versions are in a YYYY-MM-DD format. Note that the Job engine version feature is not publicly available at this time. To request access, contact AWS support.<br>
    ///   - [`job_template(impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::job_template) / [`set_job_template(Option<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_job_template):<br>required: **false**<br>Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually.<br>
    ///   - [`priority(i32)`](crate::operation::create_job::builders::CreateJobFluentBuilder::priority) / [`set_priority(Option<i32>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_priority):<br>required: **false**<br>Optional. Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.<br>
    ///   - [`queue(impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::queue) / [`set_queue(Option<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_queue):<br>required: **false**<br>Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.<br>
    ///   - [`role(impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::role) / [`set_role(Option<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_role):<br>required: **true**<br>Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.<br>
    ///   - [`settings(JobSettings)`](crate::operation::create_job::builders::CreateJobFluentBuilder::settings) / [`set_settings(Option<JobSettings>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_settings):<br>required: **true**<br>JobSettings contains all the transcode settings for a job.<br>
    ///   - [`simulate_reserved_queue(SimulateReservedQueue)`](crate::operation::create_job::builders::CreateJobFluentBuilder::simulate_reserved_queue) / [`set_simulate_reserved_queue(Option<SimulateReservedQueue>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_simulate_reserved_queue):<br>required: **false**<br>Optional. Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.<br>
    ///   - [`status_update_interval(StatusUpdateInterval)`](crate::operation::create_job::builders::CreateJobFluentBuilder::status_update_interval) / [`set_status_update_interval(Option<StatusUpdateInterval>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_status_update_interval):<br>required: **false**<br>Optional. Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_tags):<br>required: **false**<br>Optional. The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. Use standard AWS tags on your job for automatic integration with AWS services and for custom integrations and workflows.<br>
    ///   - [`user_metadata(impl Into<String>, impl Into<String>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::user_metadata) / [`set_user_metadata(Option<HashMap::<String, String>>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_user_metadata):<br>required: **false**<br>Optional. User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs. Use only for existing integrations or workflows that rely on job metadata tags. Otherwise, we recommend that you use standard AWS tags.<br>
    /// - On success, responds with [`CreateJobOutput`](crate::operation::create_job::CreateJobOutput) with field(s):
    ///   - [`job(Option<Job>)`](crate::operation::create_job::CreateJobOutput::job): Each job converts an input file into an output file or files. For more information, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
    /// - On failure, responds with [`SdkError<CreateJobError>`](crate::operation::create_job::CreateJobError)
    pub fn create_job(&self) -> crate::operation::create_job::builders::CreateJobFluentBuilder {
        crate::operation::create_job::builders::CreateJobFluentBuilder::new(self.handle.clone())
    }
}