id_mapping_jobs
Creates, updates, deletes, gets or lists an id_mapping_jobs resource.
Overview
| Name | id_mapping_jobs |
| Type | Resource |
| Id | aws.entityresolution.id_mapping_jobs |
Fields
The following fields are returned by SELECT queries:
- get_id_mapping_job
- list_id_mapping_jobs
| Name | Datatype | Description |
|---|---|---|
end_time | string (date-time) | The time at which the job has finished. |
error_details | object | An object containing an error message, if there was an error. |
job_id | string | The ID of the job. (pattern: <code>[a-f0-9]{32}</code>) |
job_type | string | The 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) |
metrics | object | Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped. |
output_source_config | array | A list of OutputSource objects. |
start_time | string (date-time) | The time at which the job was started. |
status | string | The current status of the job. (RUNNING, SUCCEEDED, FAILED, QUEUED) |
| Name | Datatype | Description |
|---|---|---|
end_time | string (date-time) | The time at which the job has finished. |
job_id | string | The ID of the job. (pattern: <code>[a-f0-9]{32}</code>) |
start_time | string (date-time) | The time at which the job was started. |
status | string | The current status of the job. (RUNNING, SUCCEEDED, FAILED, QUEUED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_id_mapping_job | select | workflow_name, job_id, region | Returns the status, metrics, and errors (if there are any) that are associated with a job. | |
list_id_mapping_jobs | select | workflow_name, region | nextToken, maxResults | Lists 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.
| Name | Datatype | Description |
|---|---|---|
job_id | string | The ID of the job. |
region | string | AWS region (default: us-east-1) |
workflow_name | string | The name of the workflow to be retrieved. |
maxResults | integer | The maximum number of objects returned per page. |
nextToken | string | The pagination token from the previous API call. |
SELECT examples
- get_id_mapping_job
- list_id_mapping_jobs
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
;
Lists all ID mapping jobs for a given workflow.
SELECT
end_time,
job_id,
start_time,
status
FROM aws.entityresolution.id_mapping_jobs
WHERE workflow_name = '{{ workflow_name }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;