AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

NotifyWorkersInput

import "github.com/aws/aws-sdk-go/service/mturk"

type NotifyWorkersInput struct { MessageText *string `type:"string" required:"true"` Subject *string `type:"string" required:"true"` WorkerIds []*string `type:"list" required:"true"` }

MessageText

Type: *string

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

MessageText is a required field

Subject

Type: *string

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

Subject is a required field

WorkerIds

Type: []*string

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

WorkerIds is a required field

Method

GoString

func (s NotifyWorkersInput) GoString() string

GoString returns the string representation

SetMessageText

func (s *NotifyWorkersInput) SetMessageText(v string) *NotifyWorkersInput

SetMessageText sets the MessageText field's value.

SetSubject

func (s *NotifyWorkersInput) SetSubject(v string) *NotifyWorkersInput

SetSubject sets the Subject field's value.

SetWorkerIds

func (s *NotifyWorkersInput) SetWorkerIds(v []*string) *NotifyWorkersInput

SetWorkerIds sets the WorkerIds field's value.

String

func (s NotifyWorkersInput) String() string

String returns the string representation

Validate

func (s *NotifyWorkersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: