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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::States::Types::SendTaskFailureInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SendTaskFailureInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  task_token: "TaskToken", # required
  error: "SensitiveError",
  cause: "SensitiveCause",
}

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

A more detailed explanation of the cause of the failure.

Returns:

  • (String)

    A more detailed explanation of the cause of the failure.

#errorString

The error code of the failure.

Returns:

  • (String)

    The error code of the failure.

#task_tokenString

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.

Returns:

  • (String)

    The token that represents this task.