libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.Types.Job

Description

 
Synopsis

Documentation

data Job Source #

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

See: newJob smart constructor.

Constructors

Job' 

Fields

  • status :: Maybe JobStatus

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

  • jobTemplate :: Maybe Text

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

  • accelerationSettings :: Maybe AccelerationSettings

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

  • priority :: Maybe Int

    Relative priority on the job.

  • statusUpdateInterval :: Maybe StatusUpdateInterval

    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.

  • arn :: Maybe Text

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

  • createdAt :: Maybe POSIX

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

  • hopDestinations :: Maybe [HopDestination]

    Optional list of hop destinations.

  • retryCount :: Maybe Int

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

  • simulateReservedQueue :: Maybe SimulateReservedQueue

    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.

  • currentPhase :: Maybe JobPhase

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

  • queue :: Maybe Text

    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

  • userMetadata :: Maybe (HashMap Text Text)

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

  • billingTagsSource :: Maybe BillingTagsSource

    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.

  • outputGroupDetails :: Maybe [OutputGroupDetail]

    List of output group details

  • errorCode :: Maybe Int

    Error code for the job

  • queueTransitions :: Maybe [QueueTransition]

    The job's queue hopping history.

  • id :: Maybe Text

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

  • jobPercentComplete :: Maybe Int

    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.

  • timing :: Maybe Timing

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

  • messages :: Maybe JobMessages

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

  • errorMessage :: Maybe Text

    Error message of Job

  • accelerationStatus :: Maybe AccelerationStatus

    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.

  • role' :: Text

    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

  • settings :: JobSettings

    JobSettings contains all the transcode settings for a job.

Instances

Instances details
Eq Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

Methods

(==) :: Job -> Job -> Bool #

(/=) :: Job -> Job -> Bool #

Read Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

Show Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

Associated Types

type Rep Job :: Type -> Type #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

NFData Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

Methods

rnf :: Job -> () #

Hashable Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

Methods

hashWithSalt :: Int -> Job -> Int #

hash :: Job -> Int #

FromJSON Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

type Rep Job Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Job

type Rep Job = D1 ('MetaData "Job" "Amazonka.MediaConvert.Types.Job" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "Job'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "jobTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accelerationSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccelerationSettings)))) :*: (S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "statusUpdateInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusUpdateInterval)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "hopDestinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HopDestination])) :*: S1 ('MetaSel ('Just "retryCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "simulateReservedQueue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimulateReservedQueue)) :*: (S1 ('MetaSel ('Just "currentPhase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobPhase)) :*: S1 ('MetaSel ('Just "queue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "userMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "billingTagsSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingTagsSource)) :*: S1 ('MetaSel ('Just "outputGroupDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OutputGroupDetail])))) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "queueTransitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueueTransition])) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobPercentComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "timing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Timing)) :*: S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobMessages)))) :*: ((S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accelerationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccelerationStatus))) :*: (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobSettings)))))))

newJob Source #

Create a value of Job with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Job', job_status - A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.

$sel:jobTemplate:Job', job_jobTemplate - The job template that the job is created from, if it is created from a job template.

$sel:accelerationSettings:Job', job_accelerationSettings - Accelerated transcoding can significantly speed up jobs with long, visually complex content.

$sel:priority:Job', job_priority - Relative priority on the job.

$sel:statusUpdateInterval:Job', job_statusUpdateInterval - 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.

$sel:arn:Job', job_arn - An identifier for this resource that is unique within all of AWS.

$sel:createdAt:Job', job_createdAt - The time, in Unix epoch format in seconds, when the job got created.

$sel:hopDestinations:Job', job_hopDestinations - Optional list of hop destinations.

$sel:retryCount:Job', job_retryCount - The number of times that the service automatically attempted to process your job after encountering an error.

$sel:simulateReservedQueue:Job', job_simulateReservedQueue - 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.

$sel:currentPhase:Job', job_currentPhase - A job's phase can be PROBING, TRANSCODING OR UPLOADING

$sel:queue:Job', job_queue - 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

$sel:userMetadata:Job', job_userMetadata - User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.

$sel:billingTagsSource:Job', job_billingTagsSource - 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.

$sel:outputGroupDetails:Job', job_outputGroupDetails - List of output group details

$sel:errorCode:Job', job_errorCode - Error code for the job

$sel:queueTransitions:Job', job_queueTransitions - The job's queue hopping history.

$sel:id:Job', job_id - A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources

$sel:jobPercentComplete:Job', job_jobPercentComplete - 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.

$sel:timing:Job', job_timing - Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.

$sel:messages:Job', job_messages - Provides messages from the service about jobs that you have already successfully submitted.

$sel:errorMessage:Job', job_errorMessage - Error message of Job

$sel:accelerationStatus:Job', job_accelerationStatus - 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.

$sel:role':Job', job_role - 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

$sel:settings:Job', job_settings - JobSettings contains all the transcode settings for a job.

job_status :: Lens' Job (Maybe JobStatus) Source #

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

job_jobTemplate :: Lens' Job (Maybe Text) Source #

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

job_accelerationSettings :: Lens' Job (Maybe AccelerationSettings) Source #

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

job_priority :: Lens' Job (Maybe Int) Source #

Relative priority on the job.

job_statusUpdateInterval :: Lens' Job (Maybe StatusUpdateInterval) Source #

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.

job_arn :: Lens' Job (Maybe Text) Source #

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

job_createdAt :: Lens' Job (Maybe UTCTime) Source #

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

job_hopDestinations :: Lens' Job (Maybe [HopDestination]) Source #

Optional list of hop destinations.

job_retryCount :: Lens' Job (Maybe Int) Source #

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

job_simulateReservedQueue :: Lens' Job (Maybe SimulateReservedQueue) Source #

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.

job_currentPhase :: Lens' Job (Maybe JobPhase) Source #

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

job_queue :: Lens' Job (Maybe Text) Source #

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

job_userMetadata :: Lens' Job (Maybe (HashMap Text Text)) Source #

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

job_billingTagsSource :: Lens' Job (Maybe BillingTagsSource) Source #

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.

job_outputGroupDetails :: Lens' Job (Maybe [OutputGroupDetail]) Source #

List of output group details

job_errorCode :: Lens' Job (Maybe Int) Source #

Error code for the job

job_queueTransitions :: Lens' Job (Maybe [QueueTransition]) Source #

The job's queue hopping history.

job_id :: Lens' Job (Maybe Text) Source #

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

job_jobPercentComplete :: Lens' Job (Maybe Int) Source #

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.

job_timing :: Lens' Job (Maybe Timing) Source #

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

job_messages :: Lens' Job (Maybe JobMessages) Source #

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

job_errorMessage :: Lens' Job (Maybe Text) Source #

Error message of Job

job_accelerationStatus :: Lens' Job (Maybe AccelerationStatus) Source #

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.

job_role :: Lens' Job Text Source #

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

job_settings :: Lens' Job JobSettings Source #

JobSettings contains all the transcode settings for a job.