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.

DeleteSlotTypeVersionInput

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

type DeleteSlotTypeVersionInput struct { Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"` }

Name

Type: *string

The name of the slot type.

Name is a required field

Version

Type: *string

The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

Version is a required field

Method

GoString

func (s DeleteSlotTypeVersionInput) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetVersion

func (s *DeleteSlotTypeVersionInput) SetVersion(v string) *DeleteSlotTypeVersionInput

SetVersion sets the Version field's value.

String

func (s DeleteSlotTypeVersionInput) String() string

String returns the string representation

Validate

func (s *DeleteSlotTypeVersionInput) Validate() error

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

On this page: