Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.MediaConvert.Types.Job
Description
Synopsis
- data Job = Job' {
- accelerationSettings :: Maybe AccelerationSettings
- accelerationStatus :: Maybe AccelerationStatus
- arn :: Maybe Text
- billingTagsSource :: Maybe BillingTagsSource
- createdAt :: Maybe POSIX
- currentPhase :: Maybe JobPhase
- errorCode :: Maybe Int
- errorMessage :: Maybe Text
- hopDestinations :: Maybe [HopDestination]
- id :: Maybe Text
- jobPercentComplete :: Maybe Int
- jobTemplate :: Maybe Text
- messages :: Maybe JobMessages
- outputGroupDetails :: Maybe [OutputGroupDetail]
- priority :: Maybe Int
- queue :: Maybe Text
- queueTransitions :: Maybe [QueueTransition]
- retryCount :: Maybe Int
- simulateReservedQueue :: Maybe SimulateReservedQueue
- status :: Maybe JobStatus
- statusUpdateInterval :: Maybe StatusUpdateInterval
- timing :: Maybe Timing
- userMetadata :: Maybe (HashMap Text Text)
- role' :: Text
- settings :: JobSettings
- newJob :: Text -> JobSettings -> Job
- job_accelerationSettings :: Lens' Job (Maybe AccelerationSettings)
- job_accelerationStatus :: Lens' Job (Maybe AccelerationStatus)
- job_arn :: Lens' Job (Maybe Text)
- job_billingTagsSource :: Lens' Job (Maybe BillingTagsSource)
- job_createdAt :: Lens' Job (Maybe UTCTime)
- job_currentPhase :: Lens' Job (Maybe JobPhase)
- job_errorCode :: Lens' Job (Maybe Int)
- job_errorMessage :: Lens' Job (Maybe Text)
- job_hopDestinations :: Lens' Job (Maybe [HopDestination])
- job_id :: Lens' Job (Maybe Text)
- job_jobPercentComplete :: Lens' Job (Maybe Int)
- job_jobTemplate :: Lens' Job (Maybe Text)
- job_messages :: Lens' Job (Maybe JobMessages)
- job_outputGroupDetails :: Lens' Job (Maybe [OutputGroupDetail])
- job_priority :: Lens' Job (Maybe Int)
- job_queue :: Lens' Job (Maybe Text)
- job_queueTransitions :: Lens' Job (Maybe [QueueTransition])
- job_retryCount :: Lens' Job (Maybe Int)
- job_simulateReservedQueue :: Lens' Job (Maybe SimulateReservedQueue)
- job_status :: Lens' Job (Maybe JobStatus)
- job_statusUpdateInterval :: Lens' Job (Maybe StatusUpdateInterval)
- job_timing :: Lens' Job (Maybe Timing)
- job_userMetadata :: Lens' Job (Maybe (HashMap Text Text))
- job_role :: Lens' Job Text
- job_settings :: Lens' Job JobSettings
Documentation
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
|
Instances
Arguments
:: Text | |
-> JobSettings | |
-> Job |
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:accelerationSettings:Job'
, job_accelerationSettings
- Accelerated transcoding can significantly speed up jobs with long,
visually complex content.
$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:arn:Job'
, job_arn
- An identifier for this resource that is unique within all of AWS.
$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:createdAt:Job'
, job_createdAt
- The time, in Unix epoch format in seconds, when the job got created.
$sel:currentPhase:Job'
, job_currentPhase
- A job's phase can be PROBING, TRANSCODING OR UPLOADING
$sel:errorCode:Job'
, job_errorCode
- Error code for the job
$sel:errorMessage:Job'
, job_errorMessage
- Error message of Job
$sel:hopDestinations:Job'
, job_hopDestinations
- Optional list of hop destinations.
$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:jobTemplate:Job'
, job_jobTemplate
- The job template that the job is created from, if it is created from a
job template.
$sel:messages:Job'
, job_messages
- Provides messages from the service about jobs that you have already
successfully submitted.
$sel:outputGroupDetails:Job'
, job_outputGroupDetails
- List of output group details
Job
, job_priority
- Relative priority on the job.
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:queueTransitions:Job'
, job_queueTransitions
- The job's queue hopping history.
$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:status:Job'
, job_status
- A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or
ERROR.
$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:timing:Job'
, job_timing
- Information about when jobs are submitted, started, and finished is
specified in Unix epoch format in seconds.
$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: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_accelerationSettings :: Lens' Job (Maybe AccelerationSettings) Source #
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
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_arn :: Lens' Job (Maybe Text) Source #
An identifier for this resource that is unique within all of AWS.
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_createdAt :: Lens' Job (Maybe UTCTime) Source #
The time, in Unix epoch format in seconds, when the job got created.
job_currentPhase :: Lens' Job (Maybe JobPhase) Source #
A job's phase can be PROBING, TRANSCODING OR UPLOADING
job_hopDestinations :: Lens' Job (Maybe [HopDestination]) Source #
Optional list of hop destinations.
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_jobTemplate :: Lens' Job (Maybe Text) Source #
The job template that the job is created from, if it is created from a job template.
job_messages :: Lens' Job (Maybe JobMessages) Source #
Provides messages from the service about jobs that you have already successfully submitted.
job_outputGroupDetails :: Lens' Job (Maybe [OutputGroupDetail]) Source #
List of output group details
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_queueTransitions :: Lens' Job (Maybe [QueueTransition]) Source #
The job's queue hopping history.
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_status :: Lens' Job (Maybe JobStatus) Source #
A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
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_timing :: Lens' Job (Maybe Timing) Source #
Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.
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_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.