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.
Container for the parameters to the SendTaskFailure operation.
Used by activity workers, Task states using the callback
pattern, and optionally Task states using the job
run pattern to report that the task identified by the taskToken
failed.
Namespace: Amazon.StepFunctions.Model
Assembly: AWSSDK.StepFunctions.dll
Version: 3.x.y.z
public class SendTaskFailureRequest : AmazonStepFunctionsRequest IAmazonWebServiceRequest
The SendTaskFailureRequest type exposes the following members
Name | Description | |
---|---|---|
SendTaskFailureRequest() |
Name | Type | Description | |
---|---|---|---|
Cause | System.String |
Gets and sets the property Cause. A more detailed explanation of the cause of the failure. |
|
Error | System.String |
Gets and sets the property Error. The error code of the failure. |
|
TaskToken | System.String |
Gets and sets the property TaskToken. The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5