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

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

Overview

Note:

When making an API call, you may pass SendTaskFailureInput data as a hash:

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

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)


2031
2032
2033
2034
2035
2036
2037
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2031

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

#errorString

The error code of the failure.

Returns:

  • (String)


2031
2032
2033
2034
2035
2036
2037
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2031

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 when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

Returns:

  • (String)


2031
2032
2033
2034
2035
2036
2037
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 2031

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