Container for the parameters to the SetTaskStatus operation.
Notifies AWS Data Pipeline that a task is completed and provides information about the final status. The task runner calls this action regardless of whether the task was sucessful. The task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress.
Declaration Syntax
C# |
public class SetTaskStatusRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
SetTaskStatusRequest()()()() | Initializes a new instance of the SetTaskStatusRequest class | |
Equals(Object) | (Inherited from Object.) | |
ErrorId |
If an error occurred during the task, this value specifies an id value that represents the error. 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.
Constraints: | |
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 |
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.
Constraints: | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
TaskId |
Identifies the task assigned to the task runner. This value is set in the TaskObject that is returned by the PollForTask
action.
Constraints: | |
TaskStatus |
If FINISHED, the task successfully completed. If FAILED the task ended unsuccessfully. The FALSE value is used by
preconditions.
Constraints: | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithErrorId(String) | Obsolete.
Sets the ErrorId property
| |
WithErrorMessage(String) | Obsolete.
Sets the ErrorMessage property
| |
WithErrorStackTrace(String) | Obsolete.
Sets the ErrorStackTrace property
| |
WithTaskId(String) | Obsolete.
Sets the TaskId property
| |
WithTaskStatus(String) | Obsolete.
Sets the TaskStatus property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
SetTaskStatusRequest |