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

Class: Aws::SWF::Types::RespondActivityTaskCompletedInput

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 RespondActivityTaskCompletedInput data as a hash:

{
  task_token: "TaskToken", # required
  result: "Data",
}

Instance Attribute Summary collapse

Instance Attribute Details

#resultString

The result of the activity task. It is a free form string that is implementation specific.

Returns:

  • (String)


4426
4427
4428
4429
4430
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4426

class RespondActivityTaskCompletedInput < Struct.new(
  :task_token,
  :result)
  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)


4426
4427
4428
4429
4430
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4426

class RespondActivityTaskCompletedInput < Struct.new(
  :task_token,
  :result)
  include Aws::Structure
end