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

Class: Aws::MTurk::Types::ListWorkerBlocksResponse

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#next_tokenString

If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

Returns:

  • (String)


1965
1966
1967
1968
1969
1970
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1965

class ListWorkerBlocksResponse < Struct.new(
  :next_token,
  :num_results,
  :worker_blocks)
  include Aws::Structure
end

#num_resultsInteger

The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.

Returns:

  • (Integer)


1965
1966
1967
1968
1969
1970
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1965

class ListWorkerBlocksResponse < Struct.new(
  :next_token,
  :num_results,
  :worker_blocks)
  include Aws::Structure
end

#worker_blocksArray<Types::WorkerBlock>

The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.

Returns:



1965
1966
1967
1968
1969
1970
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1965

class ListWorkerBlocksResponse < Struct.new(
  :next_token,
  :num_results,
  :worker_blocks)
  include Aws::Structure
end