Skip to main content

matching_jobs

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

Overview​

Namematching_jobs
TypeResource
Idaws.entityresolution.matching_jobs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
end_timestring (date-time)The time at which the job has finished.
error_detailsobjectAn object containing an error message, if there was an error.
job_idstringThe unique identifier of the matching job. (pattern: <code>[a-f0-9]{32}</code>)
metricsobjectMetrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
output_source_configarrayA list of OutputSource objects.
start_timestring (date-time)The time at which the job was started.
statusstringThe current status of the job. (RUNNING, SUCCEEDED, FAILED, QUEUED)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_matching_jobselectworkflow_name, job_id, regionReturns the status, metrics, and errors (if there are any) that are associated with a job.
list_matching_jobsselectworkflow_name, regionnextToken, maxResultsLists all jobs for a given workflow.

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
job_idstringThe ID of the job.
regionstringAWS region (default: us-east-1)
workflow_namestringThe name of the workflow to be retrieved.
maxResultsintegerThe maximum number of objects returned per page.
nextTokenstringThe pagination token from the previous API call.

SELECT examples​

Returns the status, metrics, and errors (if there are any) that are associated with a job.

SELECT
end_time,
error_details,
job_id,
metrics,
output_source_config,
start_time,
status
FROM aws.entityresolution.matching_jobs
WHERE workflow_name = '{{ workflow_name }}' -- required
AND job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
;