Skip to main content

media_analysis_jobs

Creates, updates, deletes, gets or lists a media_analysis_jobs resource.

Overview

Namemedia_analysis_jobs
TypeResource
Idaws.rekognition.media_analysis_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
completion_timestampstring (date-time)The Unix date and time when the job finished.
creation_timestampstring (date-time)The Unix date and time when the job was started.
failure_detailsobjectDetails about the error that resulted in failure of the job.
inputobjectReference to the input manifest that was provided in the job creation request.
job_idstringThe identifier for the media analysis job. (pattern: <code>^[a-zA-Z0-9-_]+$</code>)
job_namestringThe name of the media analysis job. (pattern: <code>[a-zA-Z0-9_.-]+</code>)
kms_key_idstringKMS Key that was provided in the creation request. (pattern: <code>^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$</code>)
manifest_summaryobjectThe summary manifest provides statistics on input manifest and errors identified in the input manifest.
operations_configobjectOperation configurations that were provided during job creation.
output_configobjectOutput configuration that was provided in the creation request.
resultsobjectOutput manifest that contains prediction results.
statusstringThe current status of the media analysis job. (CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_media_analysis_jobselectregionRetrieves the results for a given media analysis job. Takes a JobId returned by StartMediaAnalysisJob.
list_media_analysis_jobsselectregionReturns a list of media analysis jobs. Results are sorted by CreationTimestamp in descending order.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the results for a given media analysis job. Takes a JobId returned by StartMediaAnalysisJob.

SELECT
completion_timestamp,
creation_timestamp,
failure_details,
input,
job_id,
job_name,
kms_key_id,
manifest_summary,
operations_config,
output_config,
results,
status
FROM aws.rekognition.media_analysis_jobs
WHERE region = '{{ region }}' -- required
;