List of MediaConvert EventBridge events
AWS Elemental MediaConvert emits an event to Amazon EventBridge when the status of a job changes. You can create EventBridge rules for any of these events.
Most jobs will only emit a few of these events, with the most common being:
INPUT_INFORMATION
, PROGRESSING
, and
COMPLETE
.
For more information about each event type, choose the link in the Event column.
Event | Sent when | Contains |
---|---|---|
Soon after MediaConvert begins processing the job. |
Media information, such as frame height and width, frame rate, and codec. Information from MediaConvert about all inputs in a single event. |
|
A job moves from the |
Basic job details. |
|
STATUS_UPDATE | Approximately one minute after MediaConvert begins processing the job. Sent approximately every minute after that, until the job is completed or encounters an error. | Job progress expressed in the number of frames transcoded since the beginning of the job. |
A job is completed and MediaConvert writes all outputs successfully without errors. |
Warnings and output information about the completed job. |
|
A job is canceled. | Basic job details. | |
A job has an error. At least one output has an error. |
The error code or codes and any messages. Includes any other ephemeral job information about the job's error status. |
|
A warning condition arises. |
The warning code or codes and any warning messages. |
|
When a job hops queues. |
The ARNs for both queues and the job's priority within the queue. |
Note
MediaConvert does not emit a SUBMITTED
event. To receive an EventBridge event any
time you make an API call, including calls from the MediaConvert console, you must create a
AWS CloudTrail trail. For more information, see Accessing AWS service
events via AWS CloudTrail and Working with CloudTrail trails.
When MediaConvert sends an event to EventBridge, the following fields are present in the resulting JSON.
-
version — Currently 0 (zero) for all events.
-
id — A Version 4 UUID generated for every event.
-
detail-type — The type of event that's being sent.
-
source — Identifies the service that generated the event.
-
account — The 12-digit AWS account ID that ran the job.
-
time — The time the event occurred.
-
region — Identifies the AWS Region of the job.
-
resources — A JSON array that contains the Amazon Resource Name (ARN) of the job.
-
detail — A JSON object that contains information about the job.
The following sections contain event message details, JSON responses, and event patterns for every EventBridge event that MediaConvert emits.