You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MTurk::Types::CreateWorkerBlockRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MTurk::Types::CreateWorkerBlockRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateWorkerBlockRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
worker_id: "CustomerId", # required
reason: "String", # required
}
Instance Attribute Summary collapse
-
#reason ⇒ String
A message explaining the reason for blocking the Worker.
-
#worker_id ⇒ String
The ID of the Worker to block.
Instance Attribute Details
#reason ⇒ String
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.
#worker_id ⇒ String
The ID of the Worker to block.