Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Job

import type { Job } from "https://aws-api.deno.dev/v0.4/services/mediaconvert.ts?docs=full";

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

interface Job {
AccelerationSettings?: AccelerationSettings | null;
AccelerationStatus?: AccelerationStatus | null;
Arn?: string | null;
BillingTagsSource?: BillingTagsSource | null;
CreatedAt?: Date | number | null;
CurrentPhase?: JobPhase | null;
ErrorCode?: number | null;
ErrorMessage?: string | null;
HopDestinations?: HopDestination[] | null;
Id?: string | null;
JobPercentComplete?: number | null;
JobTemplate?: string | null;
Messages?: JobMessages | null;
OutputGroupDetails?: OutputGroupDetail[] | null;
Priority?: number | null;
Queue?: string | null;
QueueTransitions?: QueueTransition[] | null;
RetryCount?: number | null;
Role: string;
Settings: JobSettings;
SimulateReservedQueue?: SimulateReservedQueue | null;
Status?: JobStatus | null;
StatusUpdateInterval?: StatusUpdateInterval | null;
Timing?: Timing | null;
UserMetadata?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
AccelerationSettings?: AccelerationSettings | null
[src]

Accelerated transcoding can significantly speed up jobs with long, visually complex content.

§
AccelerationStatus?: AccelerationStatus | null
[src]

Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.

§
Arn?: string | null
[src]

An identifier for this resource that is unique within all of AWS.

§
BillingTagsSource?: BillingTagsSource | null
[src]

The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.

§
CreatedAt?: Date | number | null
[src]

The time, in Unix epoch format in seconds, when the job got created.

§
CurrentPhase?: JobPhase | null
[src]

A job's phase can be PROBING, TRANSCODING OR UPLOADING

§
ErrorCode?: number | null
[src]

Error code for the job

§
ErrorMessage?: string | null
[src]

Error message of Job

§
HopDestinations?: HopDestination[] | null
[src]

Optional list of hop destinations.

§
Id?: string | null
[src]

A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources

§
JobPercentComplete?: number | null
[src]

An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.

§
JobTemplate?: string | null
[src]

The job template that the job is created from, if it is created from a job template.

§
Messages?: JobMessages | null
[src]

Provides messages from the service about jobs that you have already successfully submitted.

§
OutputGroupDetails?: OutputGroupDetail[] | null
[src]

List of output group details

§
Priority?: number | null
[src]

Relative priority on the job.

§
Queue?: string | null
[src]

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

§
QueueTransitions?: QueueTransition[] | null
[src]

The job's queue hopping history.

§
RetryCount?: number | null
[src]

The number of times that the service automatically attempted to process your job after encountering an error.

§
Role: string
[src]

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

§

JobSettings contains all the transcode settings for a job.

§
SimulateReservedQueue?: SimulateReservedQueue | null
[src]

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.

§
Status?: JobStatus | null
[src]

A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.

§
StatusUpdateInterval?: StatusUpdateInterval | null
[src]

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.

§
Timing?: Timing | null
[src]

Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.

§
UserMetadata?: {
[key: string]: string | null | undefined;
}
| null
[src]

User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.