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

Class: Aws::States::Types::GetActivityTaskInput

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

{
  activity_arn: "Arn", # required
  worker_name: "Name",
}

Instance Attribute Summary collapse

Instance Attribute Details

#activity_arnString

The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)

Returns:

  • (String)


735
736
737
738
739
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 735

class GetActivityTaskInput < Struct.new(
  :activity_arn,
  :worker_name)
  include Aws::Structure
end

#worker_nameString

You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.

Returns:

  • (String)


735
736
737
738
739
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 735

class GetActivityTaskInput < Struct.new(
  :activity_arn,
  :worker_name)
  include Aws::Structure
end