AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.DataPipeline.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class SetTaskStatusRequest : AmazonDataPipelineRequest IRequestEvents
The SetTaskStatusRequest type exposes the following members
Name | Description | |
---|---|---|
SetTaskStatusRequest() |
Name | Type | Description | |
---|---|---|---|
ErrorId | System.String |
Gets and sets the property ErrorId.
If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system. |
|
ErrorMessage | System.String |
Gets and sets the property ErrorMessage.
If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value. |
|
ErrorStackTrace | System.String |
Gets and sets the property ErrorStackTrace.
If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value. |
|
TaskId | System.String |
Gets and sets the property TaskId.
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask. |
|
TaskStatus | Amazon.DataPipeline.TaskStatus |
Gets and sets the property TaskStatus.
If |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8