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.

DeleteWorkerBlockInput

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

type DeleteWorkerBlockInput struct { Reason *string `type:"string"` WorkerId *string `min:"1" type:"string" required:"true"` }

Reason

Type: *string

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

WorkerId

Type: *string

The ID of the Worker to unblock.

WorkerId is a required field

Method

GoString

func (s DeleteWorkerBlockInput) GoString() string

GoString returns the string representation

SetReason

func (s *DeleteWorkerBlockInput) SetReason(v string) *DeleteWorkerBlockInput

SetReason sets the Reason field's value.

SetWorkerId

func (s *DeleteWorkerBlockInput) SetWorkerId(v string) *DeleteWorkerBlockInput

SetWorkerId sets the WorkerId field's value.

String

func (s DeleteWorkerBlockInput) String() string

String returns the string representation

Validate

func (s *DeleteWorkerBlockInput) Validate() error

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

On this page: