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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-states/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:error, :cause]

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

A more detailed explanation of the cause of the failure.

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
# File 'lib/aws-sdk-states/types.rb', line 3138

class SendTaskFailureInput < Struct.new(
  :task_token,
  :error,
  :cause)
  SENSITIVE = [:error, :cause]
  include Aws::Structure
end

#errorString

The error code of the failure.

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
# File 'lib/aws-sdk-states/types.rb', line 3138

class SendTaskFailureInput < Struct.new(
  :task_token,
  :error,
  :cause)
  SENSITIVE = [:error, :cause]
  include Aws::Structure
end

#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][1

when a workflow enters a task state. See

GetActivityTaskOutput$taskToken.

[1]: docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
# File 'lib/aws-sdk-states/types.rb', line 3138

class SendTaskFailureInput < Struct.new(
  :task_token,
  :error,
  :cause)
  SENSITIVE = [:error, :cause]
  include Aws::Structure
end