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.

CreateIntentVersionInput

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

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

Checksum

Type: *string

Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

Name

Type: *string

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

Name is a required field

Method

GoString

func (s CreateIntentVersionInput) GoString() string

GoString returns the string representation

SetChecksum

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

SetChecksum sets the Checksum field's value.

SetName

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

SetName sets the Name field's value.

String

func (s CreateIntentVersionInput) String() string

String returns the string representation

Validate

func (s *CreateIntentVersionInput) Validate() error

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

On this page: