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.

GetUtterancesViewInput

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

type GetUtterancesViewInput struct { BotName *string `location:"uri" locationName:"botname" min:"2" type:"string" required:"true"` BotVersions []*string `location:"querystring" locationName:"bot_versions" min:"1" type:"list" required:"true"` StatusType *string `location:"querystring" locationName:"status_type" type:"string" required:"true" enum:"StatusType"` }

BotName

Type: *string

The name of the bot for which utterance information should be returned.

BotName is a required field

BotVersions

Type: []*string

An array of bot versions for which utterance information should be returned. The limit is 5 versions per request.

BotVersions is a required field

StatusType

Type: *string

To return utterances that were recognized and handled, useDetected. To return utterances that were not recognized, use Missed.

StatusType is a required field

Method

GoString

func (s GetUtterancesViewInput) GoString() string

GoString returns the string representation

SetBotName

func (s *GetUtterancesViewInput) SetBotName(v string) *GetUtterancesViewInput

SetBotName sets the BotName field's value.

SetBotVersions

func (s *GetUtterancesViewInput) SetBotVersions(v []*string) *GetUtterancesViewInput

SetBotVersions sets the BotVersions field's value.

SetStatusType

func (s *GetUtterancesViewInput) SetStatusType(v string) *GetUtterancesViewInput

SetStatusType sets the StatusType field's value.

String

func (s GetUtterancesViewInput) String() string

String returns the string representation

Validate

func (s *GetUtterancesViewInput) Validate() error

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

On this page: