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

Class: Aws::MTurk::Types::CreateWorkerBlockRequest

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

Overview

Note:

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

{
  worker_id: "CustomerId", # required
  reason: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.

Returns:

  • (String)


921
922
923
924
925
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 921

class CreateWorkerBlockRequest < Struct.new(
  :worker_id,
  :reason)
  include Aws::Structure
end

#worker_idString

The ID of the Worker to block.

Returns:

  • (String)


921
922
923
924
925
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 921

class CreateWorkerBlockRequest < Struct.new(
  :worker_id,
  :reason)
  include Aws::Structure
end