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

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: "Error",
  cause: "Cause",
}

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

A more detailed explanation of the cause of the failure.

Returns:

  • (String)


1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1047

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

#errorString

An arbitrary error code that identifies the cause of the failure.

Returns:

  • (String)


1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1047

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

#task_tokenString

The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).

Returns:

  • (String)


1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1047

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