Skip to main content

id_mapping_jobs

Creates, updates, deletes, gets or lists an id_mapping_jobs resource.

Overview

Nameid_mapping_jobs
TypeResource
Idaws.entityresolution.id_mapping_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 ID of the job. (pattern: <code>[a-f0-9]{32}</code>)
job_typestringThe job type of the ID mapping job. A value of INCREMENTAL indicates that only new or changed data was processed since the last job run. This is the default job type if the workflow was created with an incrementalRunConfig. A value of BATCH indicates that all data was processed from the input source, regardless of previous job runs. This is the default job type if the workflow wasn't created with an incrementalRunConfig. A value of DELETE_ONLY indicates that only deletion requests from BatchDeleteUniqueIds were processed. (BATCH, INCREMENTAL, DELETE_ONLY)
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_id_mapping_jobselectworkflow_name, job_id, regionReturns the status, metrics, and errors (if there are any) that are associated with a job.
list_id_mapping_jobsselectworkflow_name, regionnextToken, maxResultsLists all ID mapping 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,
job_type,
metrics,
output_source_config,
start_time,
status
FROM aws.entityresolution.id_mapping_jobs
WHERE workflow_name = '{{ workflow_name }}' -- required
AND job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
;