AWS SDK for .NET Documentation
SetTaskStatusRequest Class
AmazonAmazon.DataPipeline.ModelSetTaskStatusRequest Did this page help you?   Yes   No    Tell us about it...
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 MembersConstructorsMethodsProperties



IconMemberDescription
SetTaskStatusRequest()()()()
Initializes a new instance of the SetTaskStatusRequest class

Equals(Object)
Determines whether the specified Object is equal to the current 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:

Length
0 - 1024
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


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:

Length
0 - 1024
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


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:

Length
1 - 2048
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


TaskStatus
If FINISHED, the task successfully completed. If FAILED the task ended unsuccessfully. The FALSE value is used by preconditions.

Constraints:

Allowed Values
FINISHED, FAILED, FALSE


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
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)