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.

GetSlotTypeVersionsInput

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

type GetSlotTypeVersionsInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

MaxResults

Type: *int64

The maximum number of slot type versions to return in the response. The default is 10.

Name

Type: *string

The name of the slot type for which versions should be returned.

Name is a required field

NextToken

Type: *string

A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.

Method

GoString

func (s GetSlotTypeVersionsInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetName

func (s *GetSlotTypeVersionsInput) SetName(v string) *GetSlotTypeVersionsInput

SetName sets the Name field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s GetSlotTypeVersionsInput) String() string

String returns the string representation

Validate

func (s *GetSlotTypeVersionsInput) Validate() error

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

On this page: