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.

GetSlotTypesInput

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

type GetSlotTypesInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

MaxResults

Type: *int64

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

NameContains

Type: *string

Substring to match in slot type names. A slot type will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

NextToken

Type: *string

A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch next page of slot types, specify the pagination token in the next request.

Method

GoString

func (s GetSlotTypesInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNameContains

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

SetNameContains sets the NameContains field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s GetSlotTypesInput) String() string

String returns the string representation

Validate

func (s *GetSlotTypesInput) Validate() error

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

On this page: