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

Class: Aws::SWF::Types::RespondActivityTaskFailedInput

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

Overview

Note:

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

{
  task_token: "TaskToken", # required
  reason: "FailureReason",
  details: "Data",
}

Instance Attribute Summary collapse

Instance Attribute Details

#detailsString

Detailed information about the failure.

Returns:

  • (String)


4458
4459
4460
4461
4462
4463
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4458

class RespondActivityTaskFailedInput < Struct.new(
  :task_token,
  :reason,
  :details)
  include Aws::Structure
end

#reasonString

Description of the error that may assist in diagnostics.

Returns:

  • (String)


4458
4459
4460
4461
4462
4463
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4458

class RespondActivityTaskFailedInput < Struct.new(
  :task_token,
  :reason,
  :details)
  include Aws::Structure
end

#task_tokenString

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

Returns:

  • (String)


4458
4459
4460
4461
4462
4463
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4458

class RespondActivityTaskFailedInput < Struct.new(
  :task_token,
  :reason,
  :details)
  include Aws::Structure
end