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

Class: Aws::SWF::Types::PollForActivityTaskInput

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

{
  domain: "DomainName", # required
  task_list: { # required
    name: "Name", # required
  },
  identity: "Identity",
}

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that contains the task lists being polled.

Returns:

  • (String)


3593
3594
3595
3596
3597
3598
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 3593

class PollForActivityTaskInput < Struct.new(
  :domain,
  :task_list,
  :identity)
  include Aws::Structure
end

#identityString

Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

Returns:

  • (String)


3593
3594
3595
3596
3597
3598
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 3593

class PollForActivityTaskInput < Struct.new(
  :domain,
  :task_list,
  :identity)
  include Aws::Structure
end

#task_listTypes::TaskList

Specifies the task list to poll for activity tasks.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string arn.

Returns:



3593
3594
3595
3596
3597
3598
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 3593

class PollForActivityTaskInput < Struct.new(
  :domain,
  :task_list,
  :identity)
  include Aws::Structure
end