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.

ListWorkteamsInput

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

type ListWorkteamsInput struct { MaxResults *int64 `min:"1" type:"integer"` NameContains *string `min:"1" type:"string"` NextToken *string `type:"string"` SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"` SortOrder *string `type:"string" enum:"SortOrder"` }

MaxResults

Type: *int64

The maximum number of work teams to return in each page of the response.

NameContains

Type: *string

A string in the work team's name. This filter returns only work teams whose name contains the specified string.

NextToken

Type: *string

If the result of the previous ListWorkteams request was truncated, the response includes a NextToken. To retrieve the next set of labeling jobs, use the token in the next request.

SortBy

Type: *string

The field to sort results by. The default is CreationTime.

SortOrder

Type: *string

The sort order for results. The default is Ascending.

Method

GoString

func (s ListWorkteamsInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput

SetMaxResults sets the MaxResults field's value.

SetNameContains

func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput

SetNameContains sets the NameContains field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetSortBy

func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput

SetSortBy sets the SortBy field's value.

SetSortOrder

func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput

SetSortOrder sets the SortOrder field's value.

String

func (s ListWorkteamsInput) String() string

String returns the string representation

Validate

func (s *ListWorkteamsInput) Validate() error

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

On this page: