Skip to main content

task_status

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

Overview

Nametask_status
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
set_task_statusupdateregion, taskId, taskStatusTask 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.

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

UPDATE examples

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;