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.

ListWorkerBlocksOutput

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

type ListWorkerBlocksOutput struct { NextToken *string `min:"1" type:"string"` NumResults *int64 `type:"integer"` WorkerBlocks []*WorkerBlock `type:"list"` }

NextToken

Type: *string

If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

NumResults

Type: *int64

The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.

WorkerBlocks

The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.

Method

GoString

func (s ListWorkerBlocksOutput) GoString() string

GoString returns the string representation

SetNextToken

func (s *ListWorkerBlocksOutput) SetNextToken(v string) *ListWorkerBlocksOutput

SetNextToken sets the NextToken field's value.

SetNumResults

func (s *ListWorkerBlocksOutput) SetNumResults(v int64) *ListWorkerBlocksOutput

SetNumResults sets the NumResults field's value.

SetWorkerBlocks

func (s *ListWorkerBlocksOutput) SetWorkerBlocks(v []*WorkerBlock) *ListWorkerBlocksOutput

SetWorkerBlocks sets the WorkerBlocks field's value.

String

func (s ListWorkerBlocksOutput) String() string

String returns the string representation

On this page: