task_status
Creates, updates, deletes, gets or lists a task_status resource.
Overview
| Name | task_status |
| Type | Resource |
| Id | aws.datapipeline.task_status |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
set_task_status | update | region, taskId, taskStatus | Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
UPDATE examples
- set_task_status
Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress.
UPDATE aws.datapipeline.task_status
SET
taskId = '{{ taskId }}',
taskStatus = '{{ taskStatus }}',
errorId = '{{ errorId }}',
errorMessage = '{{ errorMessage }}',
errorStackTrace = '{{ errorStackTrace }}'
WHERE
region = '{{ region }}' --required
AND taskId = '{{ taskId }}' --required
AND taskStatus = '{{ taskStatus }}' --required;