Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Job = Job' {
- status :: Maybe JobStatus
- jobTemplate :: Maybe Text
- accelerationSettings :: Maybe AccelerationSettings
- priority :: Maybe Int
- statusUpdateInterval :: Maybe StatusUpdateInterval
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- hopDestinations :: Maybe [HopDestination]
- retryCount :: Maybe Int
- simulateReservedQueue :: Maybe SimulateReservedQueue
- currentPhase :: Maybe JobPhase
- queue :: Maybe Text
- userMetadata :: Maybe (HashMap Text Text)
- billingTagsSource :: Maybe BillingTagsSource
- outputGroupDetails :: Maybe [OutputGroupDetail]
- errorCode :: Maybe Int
- queueTransitions :: Maybe [QueueTransition]
- id :: Maybe Text
- jobPercentComplete :: Maybe Int
- timing :: Maybe Timing
- messages :: Maybe JobMessages
- errorMessage :: Maybe Text
- accelerationStatus :: Maybe AccelerationStatus
- role' :: Text
- settings :: JobSettings
- newJob :: Text -> JobSettings -> Job
- job_status :: Lens' Job (Maybe JobStatus)
- job_jobTemplate :: Lens' Job (Maybe Text)
- job_accelerationSettings :: Lens' Job (Maybe AccelerationSettings)
- job_priority :: Lens' Job (Maybe Int)
- job_statusUpdateInterval :: Lens' Job (Maybe StatusUpdateInterval)
- job_arn :: Lens' Job (Maybe Text)
- job_createdAt :: Lens' Job (Maybe UTCTime)
- job_hopDestinations :: Lens' Job (Maybe [HopDestination])
- job_retryCount :: Lens' Job (Maybe Int)
- job_simulateReservedQueue :: Lens' Job (Maybe SimulateReservedQueue)
- job_currentPhase :: Lens' Job (Maybe JobPhase)
- job_queue :: Lens' Job (Maybe Text)
- job_userMetadata :: Lens' Job (Maybe (HashMap Text Text))
- job_billingTagsSource :: Lens' Job (Maybe BillingTagsSource)
- job_outputGroupDetails :: Lens' Job (Maybe [OutputGroupDetail])
- job_errorCode :: Lens' Job (Maybe Int)
- job_queueTransitions :: Lens' Job (Maybe [QueueTransition])
- job_id :: Lens' Job (Maybe Text)
- job_jobPercentComplete :: Lens' Job (Maybe Int)
- job_timing :: Lens' Job (Maybe Timing)
- job_messages :: Lens' Job (Maybe JobMessages)
- job_errorMessage :: Lens' Job (Maybe Text)
- job_accelerationStatus :: Lens' Job (Maybe AccelerationStatus)
- 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.
Job' | |
|
Instances
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_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_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_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.