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

Class: Aws::MTurk::Types::DeleteWorkerBlockRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

A message that explains the reason for unblocking the Worker. The Worker does not see this message.

Returns:

  • (String)


994
995
996
997
998
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 994

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

#worker_idString

The ID of the Worker to unblock.

Returns:

  • (String)


994
995
996
997
998
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 994

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