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

Class: Aws::MTurk::Types::NotifyWorkersRequest

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

{
  subject: "String", # required
  message_text: "String", # required
  worker_ids: ["CustomerId"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#message_textString

The text of the email message to send. Can include up to 4,096 characters

Returns:

  • (String)


2168
2169
2170
2171
2172
2173
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2168

class NotifyWorkersRequest < Struct.new(
  :subject,
  :message_text,
  :worker_ids)
  include Aws::Structure
end

#subjectString

The subject line of the email message to send. Can include up to 200 characters.

Returns:

  • (String)


2168
2169
2170
2171
2172
2173
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2168

class NotifyWorkersRequest < Struct.new(
  :subject,
  :message_text,
  :worker_ids)
  include Aws::Structure
end

#worker_idsArray<String>

A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.

Returns:

  • (Array<String>)


2168
2169
2170
2171
2172
2173
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2168

class NotifyWorkersRequest < Struct.new(
  :subject,
  :message_text,
  :worker_ids)
  include Aws::Structure
end