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.

CreateSlotTypeVersionInput

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

type CreateSlotTypeVersionInput struct { Checksum *string `locationName:"checksum" type:"string"` Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` }

Checksum

Type: *string

Checksum for the $LATEST version of the slot type that you want to publish. If you specify a checksum and the $LATEST version of the slot type has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

Name

Type: *string

The name of the slot type that you want to create a new version for. The name is case sensitive.

Name is a required field

Method

GoString

func (s CreateSlotTypeVersionInput) GoString() string

GoString returns the string representation

SetChecksum

func (s *CreateSlotTypeVersionInput) SetChecksum(v string) *CreateSlotTypeVersionInput

SetChecksum sets the Checksum field's value.

SetName

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

SetName sets the Name field's value.

String

func (s CreateSlotTypeVersionInput) String() string

String returns the string representation

Validate

func (s *CreateSlotTypeVersionInput) Validate() error

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

On this page: