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.

GetBuiltinSlotTypesInput

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

type GetBuiltinSlotTypesInput struct { Locale *string `location:"querystring" locationName:"locale" type:"string" enum:"Locale"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` SignatureContains *string `location:"querystring" locationName:"signatureContains" type:"string"` }

Locale

Type: *string

A list of locales that the slot type supports.

MaxResults

Type: *int64

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

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 the next page of slot types, specify the pagination token in the next request.

SignatureContains

Type: *string

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

Method

GoString

func (s GetBuiltinSlotTypesInput) GoString() string

GoString returns the string representation

SetLocale

func (s *GetBuiltinSlotTypesInput) SetLocale(v string) *GetBuiltinSlotTypesInput

SetLocale sets the Locale field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetSignatureContains

func (s *GetBuiltinSlotTypesInput) SetSignatureContains(v string) *GetBuiltinSlotTypesInput

SetSignatureContains sets the SignatureContains field's value.

String

func (s GetBuiltinSlotTypesInput) String() string

String returns the string representation

Validate

func (s *GetBuiltinSlotTypesInput) Validate() error

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

On this page: