lexmodelbuildingservice

package
v0.0.0-...-93f74c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package lexmodelbuildingservice provides the client and types for making API requests to Amazon Lex Model Building Service.

Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications.

See https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19 for more information on this service.

See lexmodelbuildingservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelbuildingservice/

Using the Client

To contact Amazon Lex Model Building Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Lex Model Building Service client LexModelBuildingService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelbuildingservice/#New

Index

Constants

View Source
const (
	// ChannelStatusInProgress is a ChannelStatus enum value
	ChannelStatusInProgress = "IN_PROGRESS"

	// ChannelStatusCreated is a ChannelStatus enum value
	ChannelStatusCreated = "CREATED"

	// ChannelStatusFailed is a ChannelStatus enum value
	ChannelStatusFailed = "FAILED"
)
View Source
const (
	// ChannelTypeFacebook is a ChannelType enum value
	ChannelTypeFacebook = "Facebook"

	// ChannelTypeSlack is a ChannelType enum value
	ChannelTypeSlack = "Slack"

	// ChannelTypeTwilioSms is a ChannelType enum value
	ChannelTypeTwilioSms = "Twilio-Sms"

	// ChannelTypeKik is a ChannelType enum value
	ChannelTypeKik = "Kik"
)
View Source
const (
	// ContentTypePlainText is a ContentType enum value
	ContentTypePlainText = "PlainText"

	// ContentTypeSsml is a ContentType enum value
	ContentTypeSsml = "SSML"

	// ContentTypeCustomPayload is a ContentType enum value
	ContentTypeCustomPayload = "CustomPayload"
)
View Source
const (
	// DestinationCloudwatchLogs is a Destination enum value
	DestinationCloudwatchLogs = "CLOUDWATCH_LOGS"

	// DestinationS3 is a Destination enum value
	DestinationS3 = "S3"
)
View Source
const (
	// ExportStatusInProgress is a ExportStatus enum value
	ExportStatusInProgress = "IN_PROGRESS"

	// ExportStatusReady is a ExportStatus enum value
	ExportStatusReady = "READY"

	// ExportStatusFailed is a ExportStatus enum value
	ExportStatusFailed = "FAILED"
)
View Source
const (
	// ExportTypeAlexaSkillsKit is a ExportType enum value
	ExportTypeAlexaSkillsKit = "ALEXA_SKILLS_KIT"

	// ExportTypeLex is a ExportType enum value
	ExportTypeLex = "LEX"
)
View Source
const (
	// FulfillmentActivityTypeReturnIntent is a FulfillmentActivityType enum value
	FulfillmentActivityTypeReturnIntent = "ReturnIntent"

	// FulfillmentActivityTypeCodeHook is a FulfillmentActivityType enum value
	FulfillmentActivityTypeCodeHook = "CodeHook"
)
View Source
const (
	// ImportStatusInProgress is a ImportStatus enum value
	ImportStatusInProgress = "IN_PROGRESS"

	// ImportStatusComplete is a ImportStatus enum value
	ImportStatusComplete = "COMPLETE"

	// ImportStatusFailed is a ImportStatus enum value
	ImportStatusFailed = "FAILED"
)
View Source
const (
	// LocaleDeDe is a Locale enum value
	LocaleDeDe = "de-DE"

	// LocaleEnAu is a Locale enum value
	LocaleEnAu = "en-AU"

	// LocaleEnGb is a Locale enum value
	LocaleEnGb = "en-GB"

	// LocaleEnIn is a Locale enum value
	LocaleEnIn = "en-IN"

	// LocaleEnUs is a Locale enum value
	LocaleEnUs = "en-US"

	// LocaleEs419 is a Locale enum value
	LocaleEs419 = "es-419"

	// LocaleEsEs is a Locale enum value
	LocaleEsEs = "es-ES"

	// LocaleEsUs is a Locale enum value
	LocaleEsUs = "es-US"

	// LocaleFrFr is a Locale enum value
	LocaleFrFr = "fr-FR"

	// LocaleFrCa is a Locale enum value
	LocaleFrCa = "fr-CA"

	// LocaleItIt is a Locale enum value
	LocaleItIt = "it-IT"

	// LocaleJaJp is a Locale enum value
	LocaleJaJp = "ja-JP"

	// LocaleKoKr is a Locale enum value
	LocaleKoKr = "ko-KR"
)
View Source
const (
	// LogTypeAudio is a LogType enum value
	LogTypeAudio = "AUDIO"

	// LogTypeText is a LogType enum value
	LogTypeText = "TEXT"
)
View Source
const (
	// MergeStrategyOverwriteLatest is a MergeStrategy enum value
	MergeStrategyOverwriteLatest = "OVERWRITE_LATEST"

	// MergeStrategyFailOnConflict is a MergeStrategy enum value
	MergeStrategyFailOnConflict = "FAIL_ON_CONFLICT"
)
View Source
const (
	// MigrationAlertTypeError is a MigrationAlertType enum value
	MigrationAlertTypeError = "ERROR"

	// MigrationAlertTypeWarn is a MigrationAlertType enum value
	MigrationAlertTypeWarn = "WARN"
)
View Source
const (
	// MigrationSortAttributeV1BotName is a MigrationSortAttribute enum value
	MigrationSortAttributeV1BotName = "V1_BOT_NAME"

	// MigrationSortAttributeMigrationDateTime is a MigrationSortAttribute enum value
	MigrationSortAttributeMigrationDateTime = "MIGRATION_DATE_TIME"
)
View Source
const (
	// MigrationStatusInProgress is a MigrationStatus enum value
	MigrationStatusInProgress = "IN_PROGRESS"

	// MigrationStatusCompleted is a MigrationStatus enum value
	MigrationStatusCompleted = "COMPLETED"

	// MigrationStatusFailed is a MigrationStatus enum value
	MigrationStatusFailed = "FAILED"
)
View Source
const (
	// MigrationStrategyCreateNew is a MigrationStrategy enum value
	MigrationStrategyCreateNew = "CREATE_NEW"

	// MigrationStrategyUpdateExisting is a MigrationStrategy enum value
	MigrationStrategyUpdateExisting = "UPDATE_EXISTING"
)
View Source
const (
	// ObfuscationSettingNone is a ObfuscationSetting enum value
	ObfuscationSettingNone = "NONE"

	// ObfuscationSettingDefaultObfuscation is a ObfuscationSetting enum value
	ObfuscationSettingDefaultObfuscation = "DEFAULT_OBFUSCATION"
)
View Source
const (
	// ProcessBehaviorSave is a ProcessBehavior enum value
	ProcessBehaviorSave = "SAVE"

	// ProcessBehaviorBuild is a ProcessBehavior enum value
	ProcessBehaviorBuild = "BUILD"
)
View Source
const (
	// ReferenceTypeIntent is a ReferenceType enum value
	ReferenceTypeIntent = "Intent"

	// ReferenceTypeBot is a ReferenceType enum value
	ReferenceTypeBot = "Bot"

	// ReferenceTypeBotAlias is a ReferenceType enum value
	ReferenceTypeBotAlias = "BotAlias"

	// ReferenceTypeBotChannel is a ReferenceType enum value
	ReferenceTypeBotChannel = "BotChannel"
)
View Source
const (
	// ResourceTypeBot is a ResourceType enum value
	ResourceTypeBot = "BOT"

	// ResourceTypeIntent is a ResourceType enum value
	ResourceTypeIntent = "INTENT"

	// ResourceTypeSlotType is a ResourceType enum value
	ResourceTypeSlotType = "SLOT_TYPE"
)
View Source
const (
	// SlotConstraintRequired is a SlotConstraint enum value
	SlotConstraintRequired = "Required"

	// SlotConstraintOptional is a SlotConstraint enum value
	SlotConstraintOptional = "Optional"
)
View Source
const (
	// SlotValueSelectionStrategyOriginalValue is a SlotValueSelectionStrategy enum value
	SlotValueSelectionStrategyOriginalValue = "ORIGINAL_VALUE"

	// SlotValueSelectionStrategyTopResolution is a SlotValueSelectionStrategy enum value
	SlotValueSelectionStrategyTopResolution = "TOP_RESOLUTION"
)
View Source
const (
	// SortOrderAscending is a SortOrder enum value
	SortOrderAscending = "ASCENDING"

	// SortOrderDescending is a SortOrder enum value
	SortOrderDescending = "DESCENDING"
)
View Source
const (
	// StatusBuilding is a Status enum value
	StatusBuilding = "BUILDING"

	// StatusReady is a Status enum value
	StatusReady = "READY"

	// StatusReadyBasicTesting is a Status enum value
	StatusReadyBasicTesting = "READY_BASIC_TESTING"

	// StatusFailed is a Status enum value
	StatusFailed = "FAILED"

	// StatusNotBuilt is a Status enum value
	StatusNotBuilt = "NOT_BUILT"
)
View Source
const (
	// StatusTypeDetected is a StatusType enum value
	StatusTypeDetected = "Detected"

	// StatusTypeMissed is a StatusType enum value
	StatusTypeMissed = "Missed"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// Your IAM user or role does not have permission to call the Amazon Lex V2
	// APIs required to migrate your bot.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The request is not well formed. For example, a value is invalid or a required
	// field is missing. Check the field values, and try again.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// There was a conflict processing the request. Try your request again.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// An internal Amazon Lex error occurred. Try your request again.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The request exceeded a limit. Try your request again.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// The resource specified in the request was not found. Check the resource and
	// try again.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodePreconditionFailedException for service response error code
	// "PreconditionFailedException".
	//
	// The checksum of the resource that you are trying to change does not match
	// the checksum in the request. Check the resource's checksum and try again.
	ErrCodePreconditionFailedException = "PreconditionFailedException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The resource that you are attempting to delete is referred to by another
	// resource. Use this information to remove references to the resource that
	// you are trying to delete.
	//
	// The body of the exception contains a JSON object that describes the resource.
	//
	// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,
	//
	// "resourceReference": {
	//
	// "name": string, "version": string } }
	ErrCodeResourceInUseException = "ResourceInUseException"
)
View Source
const (
	ServiceName = "models.lex"                 // Name of service.
	EndpointsID = ServiceName                  // ID to lookup a service endpoint with.
	ServiceID   = "Lex Model Building Service" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ChannelStatus_Values

func ChannelStatus_Values() []string

ChannelStatus_Values returns all elements of the ChannelStatus enum

func ChannelType_Values

func ChannelType_Values() []string

ChannelType_Values returns all elements of the ChannelType enum

func ContentType_Values

func ContentType_Values() []string

ContentType_Values returns all elements of the ContentType enum

func Destination_Values

func Destination_Values() []string

Destination_Values returns all elements of the Destination enum

func ExportStatus_Values

func ExportStatus_Values() []string

ExportStatus_Values returns all elements of the ExportStatus enum

func ExportType_Values

func ExportType_Values() []string

ExportType_Values returns all elements of the ExportType enum

func FulfillmentActivityType_Values

func FulfillmentActivityType_Values() []string

FulfillmentActivityType_Values returns all elements of the FulfillmentActivityType enum

func ImportStatus_Values

func ImportStatus_Values() []string

ImportStatus_Values returns all elements of the ImportStatus enum

func Locale_Values

func Locale_Values() []string

Locale_Values returns all elements of the Locale enum

func LogType_Values

func LogType_Values() []string

LogType_Values returns all elements of the LogType enum

func MergeStrategy_Values

func MergeStrategy_Values() []string

MergeStrategy_Values returns all elements of the MergeStrategy enum

func MigrationAlertType_Values

func MigrationAlertType_Values() []string

MigrationAlertType_Values returns all elements of the MigrationAlertType enum

func MigrationSortAttribute_Values

func MigrationSortAttribute_Values() []string

MigrationSortAttribute_Values returns all elements of the MigrationSortAttribute enum

func MigrationStatus_Values

func MigrationStatus_Values() []string

MigrationStatus_Values returns all elements of the MigrationStatus enum

func MigrationStrategy_Values

func MigrationStrategy_Values() []string

MigrationStrategy_Values returns all elements of the MigrationStrategy enum

func ObfuscationSetting_Values

func ObfuscationSetting_Values() []string

ObfuscationSetting_Values returns all elements of the ObfuscationSetting enum

func ProcessBehavior_Values

func ProcessBehavior_Values() []string

ProcessBehavior_Values returns all elements of the ProcessBehavior enum

func ReferenceType_Values

func ReferenceType_Values() []string

ReferenceType_Values returns all elements of the ReferenceType enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func SlotConstraint_Values

func SlotConstraint_Values() []string

SlotConstraint_Values returns all elements of the SlotConstraint enum

func SlotValueSelectionStrategy_Values

func SlotValueSelectionStrategy_Values() []string

SlotValueSelectionStrategy_Values returns all elements of the SlotValueSelectionStrategy enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func StatusType_Values

func StatusType_Values() []string

StatusType_Values returns all elements of the StatusType enum

func Status_Values

func Status_Values() []string

Status_Values returns all elements of the Status enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your IAM user or role does not have permission to call the Amazon Lex V2 APIs required to migrate your bot.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BadRequestException

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BotAliasMetadata

type BotAliasMetadata struct {

	// The name of the bot to which the alias points.
	BotName *string `locationName:"botName" min:"2" type:"string"`

	// The version of the Amazon Lex bot to which the alias points.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Checksum of the bot alias.
	Checksum *string `locationName:"checksum" type:"string"`

	// Settings that determine how Amazon Lex uses conversation logs for the alias.
	ConversationLogs *ConversationLogsResponse `locationName:"conversationLogs" type:"structure"`

	// The date that the bot alias was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the bot alias.
	Description *string `locationName:"description" type:"string"`

	// The date that the bot alias was updated. When you create a resource, the
	// creation date and last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the bot alias.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a bot alias.

func (BotAliasMetadata) GoString

func (s BotAliasMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BotAliasMetadata) SetBotName

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

SetBotName sets the BotName field's value.

func (*BotAliasMetadata) SetBotVersion

func (s *BotAliasMetadata) SetBotVersion(v string) *BotAliasMetadata

SetBotVersion sets the BotVersion field's value.

func (*BotAliasMetadata) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*BotAliasMetadata) SetConversationLogs

func (s *BotAliasMetadata) SetConversationLogs(v *ConversationLogsResponse) *BotAliasMetadata

SetConversationLogs sets the ConversationLogs field's value.

func (*BotAliasMetadata) SetCreatedDate

func (s *BotAliasMetadata) SetCreatedDate(v time.Time) *BotAliasMetadata

SetCreatedDate sets the CreatedDate field's value.

func (*BotAliasMetadata) SetDescription

func (s *BotAliasMetadata) SetDescription(v string) *BotAliasMetadata

SetDescription sets the Description field's value.

func (*BotAliasMetadata) SetLastUpdatedDate

func (s *BotAliasMetadata) SetLastUpdatedDate(v time.Time) *BotAliasMetadata

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*BotAliasMetadata) SetName

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

SetName sets the Name field's value.

func (BotAliasMetadata) String

func (s BotAliasMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BotChannelAssociation

type BotChannelAssociation struct {

	// An alias pointing to the specific version of the Amazon Lex bot to which
	// this association is being made.
	BotAlias *string `locationName:"botAlias" min:"1" type:"string"`

	// Provides information necessary to communicate with the messaging platform.
	//
	// BotConfiguration is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by BotChannelAssociation's
	// String and GoString methods.
	BotConfiguration map[string]*string `locationName:"botConfiguration" min:"1" type:"map" sensitive:"true"`

	// The name of the Amazon Lex bot to which this association is being made.
	//
	// Currently, Amazon Lex supports associations with Facebook and Slack, and
	// Twilio.
	BotName *string `locationName:"botName" min:"2" type:"string"`

	// The date that the association between the Amazon Lex bot and the channel
	// was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A text description of the association you are creating.
	Description *string `locationName:"description" type:"string"`

	// If status is FAILED, Amazon Lex provides the reason that it failed to create
	// the association.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The name of the association between the bot and the channel.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The status of the bot channel.
	//
	//    * CREATED - The channel has been created and is ready for use.
	//
	//    * IN_PROGRESS - Channel creation is in progress.
	//
	//    * FAILED - There was an error creating the channel. For information about
	//    the reason for the failure, see the failureReason field.
	Status *string `locationName:"status" type:"string" enum:"ChannelStatus"`

	// Specifies the type of association by indicating the type of channel being
	// established between the Amazon Lex bot and the external messaging platform.
	Type *string `locationName:"type" type:"string" enum:"ChannelType"`
	// contains filtered or unexported fields
}

Represents an association between an Amazon Lex bot and an external messaging platform.

func (BotChannelAssociation) GoString

func (s BotChannelAssociation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BotChannelAssociation) SetBotAlias

SetBotAlias sets the BotAlias field's value.

func (*BotChannelAssociation) SetBotConfiguration

func (s *BotChannelAssociation) SetBotConfiguration(v map[string]*string) *BotChannelAssociation

SetBotConfiguration sets the BotConfiguration field's value.

func (*BotChannelAssociation) SetBotName

SetBotName sets the BotName field's value.

func (*BotChannelAssociation) SetCreatedDate

func (s *BotChannelAssociation) SetCreatedDate(v time.Time) *BotChannelAssociation

SetCreatedDate sets the CreatedDate field's value.

func (*BotChannelAssociation) SetDescription

func (s *BotChannelAssociation) SetDescription(v string) *BotChannelAssociation

SetDescription sets the Description field's value.

func (*BotChannelAssociation) SetFailureReason

func (s *BotChannelAssociation) SetFailureReason(v string) *BotChannelAssociation

SetFailureReason sets the FailureReason field's value.

func (*BotChannelAssociation) SetName

SetName sets the Name field's value.

func (*BotChannelAssociation) SetStatus

SetStatus sets the Status field's value.

func (*BotChannelAssociation) SetType

SetType sets the Type field's value.

func (BotChannelAssociation) String

func (s BotChannelAssociation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BotMetadata

type BotMetadata struct {

	// The date that the bot was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the bot.
	Description *string `locationName:"description" type:"string"`

	// The date that the bot was updated. When you create a bot, the creation date
	// and last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the bot.
	Name *string `locationName:"name" min:"2" type:"string"`

	// The status of the bot.
	Status *string `locationName:"status" type:"string" enum:"Status"`

	// The version of the bot. For a new bot, the version is always $LATEST.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a bot. .

func (BotMetadata) GoString

func (s BotMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BotMetadata) SetCreatedDate

func (s *BotMetadata) SetCreatedDate(v time.Time) *BotMetadata

SetCreatedDate sets the CreatedDate field's value.

func (*BotMetadata) SetDescription

func (s *BotMetadata) SetDescription(v string) *BotMetadata

SetDescription sets the Description field's value.

func (*BotMetadata) SetLastUpdatedDate

func (s *BotMetadata) SetLastUpdatedDate(v time.Time) *BotMetadata

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*BotMetadata) SetName

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

SetName sets the Name field's value.

func (*BotMetadata) SetStatus

func (s *BotMetadata) SetStatus(v string) *BotMetadata

SetStatus sets the Status field's value.

func (*BotMetadata) SetVersion

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

SetVersion sets the Version field's value.

func (BotMetadata) String

func (s BotMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuiltinIntentMetadata

type BuiltinIntentMetadata struct {

	// A unique identifier for the built-in intent. To find the signature for an
	// intent, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents)
	// in the Alexa Skills Kit.
	Signature *string `locationName:"signature" type:"string"`

	// A list of identifiers for the locales that the intent supports.
	SupportedLocales []*string `locationName:"supportedLocales" type:"list" enum:"Locale"`
	// contains filtered or unexported fields
}

Provides metadata for a built-in intent.

func (BuiltinIntentMetadata) GoString

func (s BuiltinIntentMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuiltinIntentMetadata) SetSignature

SetSignature sets the Signature field's value.

func (*BuiltinIntentMetadata) SetSupportedLocales

func (s *BuiltinIntentMetadata) SetSupportedLocales(v []*string) *BuiltinIntentMetadata

SetSupportedLocales sets the SupportedLocales field's value.

func (BuiltinIntentMetadata) String

func (s BuiltinIntentMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuiltinIntentSlot

type BuiltinIntentSlot struct {

	// A list of the slots defined for the intent.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a slot used in a built-in intent.

func (BuiltinIntentSlot) GoString

func (s BuiltinIntentSlot) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuiltinIntentSlot) SetName

SetName sets the Name field's value.

func (BuiltinIntentSlot) String

func (s BuiltinIntentSlot) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuiltinSlotTypeMetadata

type BuiltinSlotTypeMetadata struct {

	// A unique identifier for the built-in slot type. To find the signature for
	// a slot type, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference)
	// in the Alexa Skills Kit.
	Signature *string `locationName:"signature" type:"string"`

	// A list of target locales for the slot.
	SupportedLocales []*string `locationName:"supportedLocales" type:"list" enum:"Locale"`
	// contains filtered or unexported fields
}

Provides information about a built in slot type.

func (BuiltinSlotTypeMetadata) GoString

func (s BuiltinSlotTypeMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuiltinSlotTypeMetadata) SetSignature

SetSignature sets the Signature field's value.

func (*BuiltinSlotTypeMetadata) SetSupportedLocales

func (s *BuiltinSlotTypeMetadata) SetSupportedLocales(v []*string) *BuiltinSlotTypeMetadata

SetSupportedLocales sets the SupportedLocales field's value.

func (BuiltinSlotTypeMetadata) String

func (s BuiltinSlotTypeMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeHook

type CodeHook struct {

	// The version of the request-response that you want Amazon Lex to use to invoke
	// your Lambda function. For more information, see using-lambda.
	//
	// MessageVersion is a required field
	MessageVersion *string `locationName:"messageVersion" min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the Lambda function.
	//
	// Uri is a required field
	Uri *string `locationName:"uri" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot..

func (CodeHook) GoString

func (s CodeHook) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeHook) SetMessageVersion

func (s *CodeHook) SetMessageVersion(v string) *CodeHook

SetMessageVersion sets the MessageVersion field's value.

func (*CodeHook) SetUri

func (s *CodeHook) SetUri(v string) *CodeHook

SetUri sets the Uri field's value.

func (CodeHook) String

func (s CodeHook) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeHook) Validate

func (s *CodeHook) Validate() error

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

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

There was a conflict processing the request. Try your request again.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConversationLogsRequest

type ConversationLogsRequest struct {

	// The Amazon Resource Name (ARN) of an IAM role with permission to write to
	// your CloudWatch Logs for text logs and your S3 bucket for audio logs. If
	// audio encryption is enabled, this role also provides access permission for
	// the AWS KMS key used for encrypting audio logs. For more information, see
	// Creating an IAM Role and Policy for Conversation Logs (https://docs.aws.amazon.com/lex/latest/dg/conversation-logs-role-and-policy.html).
	//
	// IamRoleArn is a required field
	IamRoleArn *string `locationName:"iamRoleArn" min:"20" type:"string" required:"true"`

	// The settings for your conversation logs. You can log the conversation text,
	// conversation audio, or both.
	//
	// LogSettings is a required field
	LogSettings []*LogSettingsRequest `locationName:"logSettings" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Provides the settings needed for conversation logs.

func (ConversationLogsRequest) GoString

func (s ConversationLogsRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConversationLogsRequest) SetIamRoleArn

SetIamRoleArn sets the IamRoleArn field's value.

func (*ConversationLogsRequest) SetLogSettings

SetLogSettings sets the LogSettings field's value.

func (ConversationLogsRequest) String

func (s ConversationLogsRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConversationLogsRequest) Validate

func (s *ConversationLogsRequest) Validate() error

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

type ConversationLogsResponse

type ConversationLogsResponse struct {

	// The Amazon Resource Name (ARN) of the IAM role used to write your logs to
	// CloudWatch Logs or an S3 bucket.
	IamRoleArn *string `locationName:"iamRoleArn" min:"20" type:"string"`

	// The settings for your conversation logs. You can log text, audio, or both.
	LogSettings []*LogSettingsResponse `locationName:"logSettings" type:"list"`
	// contains filtered or unexported fields
}

Contains information about conversation log settings.

func (ConversationLogsResponse) GoString

func (s ConversationLogsResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConversationLogsResponse) SetIamRoleArn

SetIamRoleArn sets the IamRoleArn field's value.

func (*ConversationLogsResponse) SetLogSettings

SetLogSettings sets the LogSettings field's value.

func (ConversationLogsResponse) String

func (s ConversationLogsResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBotVersionInput

type CreateBotVersionInput struct {

	// Identifies a specific revision of the $LATEST version of the bot. If you
	// specify a checksum and the $LATEST version of the bot has a different checksum,
	// a PreconditionFailedException exception is returned and Amazon Lex doesn't
	// publish a new version. If you don't specify a checksum, Amazon Lex publishes
	// the $LATEST version.
	Checksum *string `locationName:"checksum" type:"string"`

	// The name of the bot that you want to create a new version of. The name is
	// case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateBotVersionInput) GoString

func (s CreateBotVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBotVersionInput) SetChecksum

SetChecksum sets the Checksum field's value.

func (*CreateBotVersionInput) SetName

SetName sets the Name field's value.

func (CreateBotVersionInput) String

func (s CreateBotVersionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBotVersionInput) Validate

func (s *CreateBotVersionInput) Validate() error

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

type CreateBotVersionOutput

type CreateBotVersionOutput struct {

	// The message that Amazon Lex uses to cancel a conversation. For more information,
	// see PutBot.
	AbortStatement *Statement `locationName:"abortStatement" type:"structure"`

	// Checksum identifying the version of the bot that was created.
	Checksum *string `locationName:"checksum" type:"string"`

	// For each Amazon Lex bot created with the Amazon Lex Model Building Service,
	// you must specify whether your use of Amazon Lex is related to a website,
	// program, or other application that is directed or targeted, in whole or in
	// part, to children under age 13 and subject to the Children's Online Privacy
	// Protection Act (COPPA) by specifying true or false in the childDirected field.
	// By specifying true in the childDirected field, you confirm that your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA. By specifying false in the childDirected field, you confirm
	// that your use of Amazon Lex is not related to a website, program, or other
	// application that is directed or targeted, in whole or in part, to children
	// under age 13 and subject to COPPA. You may not specify a default value for
	// the childDirected field that does not accurately reflect whether your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA.
	//
	// If your use of Amazon Lex relates to a website, program, or other application
	// that is directed in whole or in part, to children under age 13, you must
	// obtain any required verifiable parental consent under COPPA. For information
	// regarding the use of Amazon Lex in connection with websites, programs, or
	// other applications that are directed or targeted, in whole or in part, to
	// children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security)
	ChildDirected *bool `locationName:"childDirected" type:"boolean"`

	// The message that Amazon Lex uses when it doesn't understand the user's request.
	// For more information, see PutBot.
	ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"`

	// The date when the bot version was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the bot.
	Description *string `locationName:"description" type:"string"`

	// Indicates whether utterances entered by the user should be sent to Amazon
	// Comprehend for sentiment analysis.
	DetectSentiment *bool `locationName:"detectSentiment" type:"boolean"`

	// Indicates whether the bot uses accuracy improvements. true indicates that
	// the bot is using the improvements, otherwise, false.
	EnableModelImprovements *bool `locationName:"enableModelImprovements" type:"boolean"`

	// If status is FAILED, Amazon Lex provides the reason that it failed to build
	// the bot.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The maximum time in seconds that Amazon Lex retains the data gathered in
	// a conversation. For more information, see PutBot.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// An array of Intent objects. For more information, see PutBot.
	Intents []*Intent `locationName:"intents" type:"list"`

	// The date when the $LATEST version of this bot was updated.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// Specifies the target locale for the bot.
	Locale *string `locationName:"locale" type:"string" enum:"Locale"`

	// The name of the bot.
	Name *string `locationName:"name" min:"2" type:"string"`

	// When you send a request to create or update a bot, Amazon Lex sets the status
	// response element to BUILDING. After Amazon Lex builds the bot, it sets status
	// to READY. If Amazon Lex can't build the bot, it sets status to FAILED. Amazon
	// Lex returns the reason for the failure in the failureReason response element.
	Status *string `locationName:"status" type:"string" enum:"Status"`

	// The version of the bot.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The Amazon Polly voice ID that Amazon Lex uses for voice interactions with
	// the user.
	VoiceId *string `locationName:"voiceId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBotVersionOutput) GoString

func (s CreateBotVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBotVersionOutput) SetAbortStatement

func (s *CreateBotVersionOutput) SetAbortStatement(v *Statement) *CreateBotVersionOutput

SetAbortStatement sets the AbortStatement field's value.

func (*CreateBotVersionOutput) SetChecksum

SetChecksum sets the Checksum field's value.

func (*CreateBotVersionOutput) SetChildDirected

func (s *CreateBotVersionOutput) SetChildDirected(v bool) *CreateBotVersionOutput

SetChildDirected sets the ChildDirected field's value.

func (*CreateBotVersionOutput) SetClarificationPrompt

func (s *CreateBotVersionOutput) SetClarificationPrompt(v *Prompt) *CreateBotVersionOutput

SetClarificationPrompt sets the ClarificationPrompt field's value.

func (*CreateBotVersionOutput) SetCreatedDate

SetCreatedDate sets the CreatedDate field's value.

func (*CreateBotVersionOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateBotVersionOutput) SetDetectSentiment

func (s *CreateBotVersionOutput) SetDetectSentiment(v bool) *CreateBotVersionOutput

SetDetectSentiment sets the DetectSentiment field's value.

func (*CreateBotVersionOutput) SetEnableModelImprovements

func (s *CreateBotVersionOutput) SetEnableModelImprovements(v bool) *CreateBotVersionOutput

SetEnableModelImprovements sets the EnableModelImprovements field's value.

func (*CreateBotVersionOutput) SetFailureReason

func (s *CreateBotVersionOutput) SetFailureReason(v string) *CreateBotVersionOutput

SetFailureReason sets the FailureReason field's value.

func (*CreateBotVersionOutput) SetIdleSessionTTLInSeconds

func (s *CreateBotVersionOutput) SetIdleSessionTTLInSeconds(v int64) *CreateBotVersionOutput

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*CreateBotVersionOutput) SetIntents

SetIntents sets the Intents field's value.

func (*CreateBotVersionOutput) SetLastUpdatedDate

func (s *CreateBotVersionOutput) SetLastUpdatedDate(v time.Time) *CreateBotVersionOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*CreateBotVersionOutput) SetLocale

SetLocale sets the Locale field's value.

func (*CreateBotVersionOutput) SetName

SetName sets the Name field's value.

func (*CreateBotVersionOutput) SetStatus

SetStatus sets the Status field's value.

func (*CreateBotVersionOutput) SetVersion

SetVersion sets the Version field's value.

func (*CreateBotVersionOutput) SetVoiceId

SetVoiceId sets the VoiceId field's value.

func (CreateBotVersionOutput) String

func (s CreateBotVersionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateIntentVersionInput

type CreateIntentVersionInput struct {

	// 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.
	Checksum *string `locationName:"checksum" 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
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateIntentVersionInput) GoString

func (s CreateIntentVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateIntentVersionInput) SetChecksum

SetChecksum sets the Checksum field's value.

func (*CreateIntentVersionInput) SetName

SetName sets the Name field's value.

func (CreateIntentVersionInput) String

func (s CreateIntentVersionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateIntentVersionInput) Validate

func (s *CreateIntentVersionInput) Validate() error

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

type CreateIntentVersionOutput

type CreateIntentVersionOutput struct {

	// Checksum of the intent version created.
	Checksum *string `locationName:"checksum" type:"string"`

	// After the Lambda function specified in the fulfillmentActivity field fulfills
	// the intent, Amazon Lex conveys this statement to the user.
	ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"`

	// If defined, the prompt that Amazon Lex uses to confirm the user's intent
	// before fulfilling it.
	ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"`

	// The date that the intent was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the intent.
	Description *string `locationName:"description" type:"string"`

	// If defined, Amazon Lex invokes this Lambda function for each user input.
	DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"`

	// If defined, Amazon Lex uses this prompt to solicit additional user activity
	// after the intent is fulfilled.
	FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"`

	// Describes how the intent is fulfilled.
	FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"`

	// An array of InputContext objects that lists the contexts that must be active
	// for Amazon Lex to choose the intent in a conversation with the user.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// Configuration information, if any, for connecting an Amazon Kendra index
	// with the AMAZON.KendraSearchIntent intent.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The date that the intent was updated.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the intent.
	Name *string `locationName:"name" min:"1" type:"string"`

	// An array of OutputContext objects that lists the contexts that the intent
	// activates when the intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// A unique identifier for a built-in intent.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// If the user answers "no" to the question defined in confirmationPrompt, Amazon
	// Lex responds with this statement to acknowledge that the intent was canceled.
	RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"`

	// An array of sample utterances configured for the intent.
	SampleUtterances []*string `locationName:"sampleUtterances" type:"list"`

	// An array of slot types that defines the information required to fulfill the
	// intent.
	Slots []*Slot `locationName:"slots" type:"list"`

	// The version number assigned to the new version of the intent.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateIntentVersionOutput) GoString

func (s CreateIntentVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateIntentVersionOutput) SetChecksum

SetChecksum sets the Checksum field's value.

func (*CreateIntentVersionOutput) SetConclusionStatement

func (s *CreateIntentVersionOutput) SetConclusionStatement(v *Statement) *CreateIntentVersionOutput

SetConclusionStatement sets the ConclusionStatement field's value.

func (*CreateIntentVersionOutput) SetConfirmationPrompt

func (s *CreateIntentVersionOutput) SetConfirmationPrompt(v *Prompt) *CreateIntentVersionOutput

SetConfirmationPrompt sets the ConfirmationPrompt field's value.

func (*CreateIntentVersionOutput) SetCreatedDate

SetCreatedDate sets the CreatedDate field's value.

func (*CreateIntentVersionOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateIntentVersionOutput) SetDialogCodeHook

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*CreateIntentVersionOutput) SetFollowUpPrompt

SetFollowUpPrompt sets the FollowUpPrompt field's value.

func (*CreateIntentVersionOutput) SetFulfillmentActivity

SetFulfillmentActivity sets the FulfillmentActivity field's value.

func (*CreateIntentVersionOutput) SetInputContexts

SetInputContexts sets the InputContexts field's value.

func (*CreateIntentVersionOutput) SetKendraConfiguration

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*CreateIntentVersionOutput) SetLastUpdatedDate

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*CreateIntentVersionOutput) SetName

SetName sets the Name field's value.

func (*CreateIntentVersionOutput) SetOutputContexts

SetOutputContexts sets the OutputContexts field's value.

func (*CreateIntentVersionOutput) SetParentIntentSignature

func (s *CreateIntentVersionOutput) SetParentIntentSignature(v string) *CreateIntentVersionOutput

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*CreateIntentVersionOutput) SetRejectionStatement

func (s *CreateIntentVersionOutput) SetRejectionStatement(v *Statement) *CreateIntentVersionOutput

SetRejectionStatement sets the RejectionStatement field's value.

func (*CreateIntentVersionOutput) SetSampleUtterances

func (s *CreateIntentVersionOutput) SetSampleUtterances(v []*string) *CreateIntentVersionOutput

SetSampleUtterances sets the SampleUtterances field's value.

func (*CreateIntentVersionOutput) SetSlots

SetSlots sets the Slots field's value.

func (*CreateIntentVersionOutput) SetVersion

SetVersion sets the Version field's value.

func (CreateIntentVersionOutput) String

func (s CreateIntentVersionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSlotTypeVersionInput

type CreateSlotTypeVersionInput struct {

	// 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.
	Checksum *string `locationName:"checksum" 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
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateSlotTypeVersionInput) GoString

func (s CreateSlotTypeVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSlotTypeVersionInput) SetChecksum

SetChecksum sets the Checksum field's value.

func (*CreateSlotTypeVersionInput) SetName

SetName sets the Name field's value.

func (CreateSlotTypeVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSlotTypeVersionInput) Validate

func (s *CreateSlotTypeVersionInput) Validate() error

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

type CreateSlotTypeVersionOutput

type CreateSlotTypeVersionOutput struct {

	// Checksum of the $LATEST version of the slot type.
	Checksum *string `locationName:"checksum" type:"string"`

	// The date that the slot type was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the slot type.
	Description *string `locationName:"description" type:"string"`

	// A list of EnumerationValue objects that defines the values that the slot
	// type can take.
	EnumerationValues []*EnumerationValue `locationName:"enumerationValues" type:"list"`

	// The date that the slot type was updated. When you create a resource, the
	// creation date and last update date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the slot type.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The built-in slot type used a the parent of the slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" min:"1" type:"string"`

	// Configuration information that extends the parent built-in slot type.
	SlotTypeConfigurations []*SlotTypeConfiguration `locationName:"slotTypeConfigurations" type:"list"`

	// The strategy that Amazon Lex uses to determine the value of the slot. For
	// more information, see PutSlotType.
	ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"`

	// The version assigned to the new slot type version.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateSlotTypeVersionOutput) GoString

func (s CreateSlotTypeVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSlotTypeVersionOutput) SetChecksum

SetChecksum sets the Checksum field's value.

func (*CreateSlotTypeVersionOutput) SetCreatedDate

SetCreatedDate sets the CreatedDate field's value.

func (*CreateSlotTypeVersionOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateSlotTypeVersionOutput) SetEnumerationValues

SetEnumerationValues sets the EnumerationValues field's value.

func (*CreateSlotTypeVersionOutput) SetLastUpdatedDate

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*CreateSlotTypeVersionOutput) SetName

SetName sets the Name field's value.

func (*CreateSlotTypeVersionOutput) SetParentSlotTypeSignature

func (s *CreateSlotTypeVersionOutput) SetParentSlotTypeSignature(v string) *CreateSlotTypeVersionOutput

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*CreateSlotTypeVersionOutput) SetSlotTypeConfigurations

SetSlotTypeConfigurations sets the SlotTypeConfigurations field's value.

func (*CreateSlotTypeVersionOutput) SetValueSelectionStrategy

func (s *CreateSlotTypeVersionOutput) SetValueSelectionStrategy(v string) *CreateSlotTypeVersionOutput

SetValueSelectionStrategy sets the ValueSelectionStrategy field's value.

func (*CreateSlotTypeVersionOutput) SetVersion

SetVersion sets the Version field's value.

func (CreateSlotTypeVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBotAliasInput

type DeleteBotAliasInput struct {

	// The name of the bot that the alias points to.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The name of the alias to delete. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBotAliasInput) GoString

func (s DeleteBotAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotAliasInput) SetBotName

SetBotName sets the BotName field's value.

func (*DeleteBotAliasInput) SetName

SetName sets the Name field's value.

func (DeleteBotAliasInput) String

func (s DeleteBotAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotAliasInput) Validate

func (s *DeleteBotAliasInput) Validate() error

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

type DeleteBotAliasOutput

type DeleteBotAliasOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBotAliasOutput) GoString

func (s DeleteBotAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBotAliasOutput) String

func (s DeleteBotAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBotChannelAssociationInput

type DeleteBotChannelAssociationInput struct {

	// An alias that points to the specific version of the Amazon Lex bot to which
	// this association is being made.
	//
	// BotAlias is a required field
	BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"`

	// The name of the Amazon Lex bot.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The name of the association. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBotChannelAssociationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotChannelAssociationInput) SetBotAlias

SetBotAlias sets the BotAlias field's value.

func (*DeleteBotChannelAssociationInput) SetBotName

SetBotName sets the BotName field's value.

func (*DeleteBotChannelAssociationInput) SetName

SetName sets the Name field's value.

func (DeleteBotChannelAssociationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotChannelAssociationInput) Validate

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

type DeleteBotChannelAssociationOutput

type DeleteBotChannelAssociationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBotChannelAssociationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBotChannelAssociationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBotInput

type DeleteBotInput struct {

	// The name of the bot. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBotInput) GoString

func (s DeleteBotInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotInput) SetName

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

SetName sets the Name field's value.

func (DeleteBotInput) String

func (s DeleteBotInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotInput) Validate

func (s *DeleteBotInput) Validate() error

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

type DeleteBotOutput

type DeleteBotOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBotOutput) GoString

func (s DeleteBotOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBotOutput) String

func (s DeleteBotOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBotVersionInput

type DeleteBotVersionInput struct {

	// The name of the bot.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"`

	// The version of the bot to delete. You cannot delete the $LATEST version of
	// the bot. To delete the $LATEST version, use the DeleteBot operation.
	//
	// Version is a required field
	Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBotVersionInput) GoString

func (s DeleteBotVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotVersionInput) SetName

SetName sets the Name field's value.

func (*DeleteBotVersionInput) SetVersion

SetVersion sets the Version field's value.

func (DeleteBotVersionInput) String

func (s DeleteBotVersionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBotVersionInput) Validate

func (s *DeleteBotVersionInput) Validate() error

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

type DeleteBotVersionOutput

type DeleteBotVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBotVersionOutput) GoString

func (s DeleteBotVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBotVersionOutput) String

func (s DeleteBotVersionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteIntentInput

type DeleteIntentInput struct {

	// The name of the intent. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteIntentInput) GoString

func (s DeleteIntentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntentInput) SetName

SetName sets the Name field's value.

func (DeleteIntentInput) String

func (s DeleteIntentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntentInput) Validate

func (s *DeleteIntentInput) Validate() error

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

type DeleteIntentOutput

type DeleteIntentOutput struct {
	// contains filtered or unexported fields
}

func (DeleteIntentOutput) GoString

func (s DeleteIntentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteIntentOutput) String

func (s DeleteIntentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteIntentVersionInput

type DeleteIntentVersionInput struct {

	// The name of the intent.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// The version of the intent to delete. You cannot delete the $LATEST version
	// of the intent. To delete the $LATEST version, use the DeleteIntent operation.
	//
	// Version is a required field
	Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteIntentVersionInput) GoString

func (s DeleteIntentVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntentVersionInput) SetName

SetName sets the Name field's value.

func (*DeleteIntentVersionInput) SetVersion

SetVersion sets the Version field's value.

func (DeleteIntentVersionInput) String

func (s DeleteIntentVersionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntentVersionInput) Validate

func (s *DeleteIntentVersionInput) Validate() error

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

type DeleteIntentVersionOutput

type DeleteIntentVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteIntentVersionOutput) GoString

func (s DeleteIntentVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteIntentVersionOutput) String

func (s DeleteIntentVersionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSlotTypeInput

type DeleteSlotTypeInput struct {

	// The name of the slot type. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSlotTypeInput) GoString

func (s DeleteSlotTypeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlotTypeInput) SetName

SetName sets the Name field's value.

func (DeleteSlotTypeInput) String

func (s DeleteSlotTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlotTypeInput) Validate

func (s *DeleteSlotTypeInput) Validate() error

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

type DeleteSlotTypeOutput

type DeleteSlotTypeOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSlotTypeOutput) GoString

func (s DeleteSlotTypeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSlotTypeOutput) String

func (s DeleteSlotTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSlotTypeVersionInput

type DeleteSlotTypeVersionInput struct {

	// The name of the slot type.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// 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
	Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSlotTypeVersionInput) GoString

func (s DeleteSlotTypeVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlotTypeVersionInput) SetName

SetName sets the Name field's value.

func (*DeleteSlotTypeVersionInput) SetVersion

SetVersion sets the Version field's value.

func (DeleteSlotTypeVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlotTypeVersionInput) Validate

func (s *DeleteSlotTypeVersionInput) Validate() error

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

type DeleteSlotTypeVersionOutput

type DeleteSlotTypeVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSlotTypeVersionOutput) GoString

func (s DeleteSlotTypeVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSlotTypeVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteUtterancesInput

type DeleteUtterancesInput struct {

	// The name of the bot that stored the utterances.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The unique identifier for the user that made the utterances. This is the
	// user ID that was sent in the PostContent (http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html)
	// or PostText (http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html)
	// operation request that contained the utterance.
	//
	// UserId is a required field
	UserId *string `location:"uri" locationName:"userId" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteUtterancesInput) GoString

func (s DeleteUtterancesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUtterancesInput) SetBotName

SetBotName sets the BotName field's value.

func (*DeleteUtterancesInput) SetUserId

SetUserId sets the UserId field's value.

func (DeleteUtterancesInput) String

func (s DeleteUtterancesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUtterancesInput) Validate

func (s *DeleteUtterancesInput) Validate() error

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

type DeleteUtterancesOutput

type DeleteUtterancesOutput struct {
	// contains filtered or unexported fields
}

func (DeleteUtterancesOutput) GoString

func (s DeleteUtterancesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteUtterancesOutput) String

func (s DeleteUtterancesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EnumerationValue

type EnumerationValue struct {

	// Additional values related to the slot type value.
	Synonyms []*string `locationName:"synonyms" type:"list"`

	// The value of the slot type.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.

For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values

  • thick

  • thin

  • stuffed

func (EnumerationValue) GoString

func (s EnumerationValue) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnumerationValue) SetSynonyms

func (s *EnumerationValue) SetSynonyms(v []*string) *EnumerationValue

SetSynonyms sets the Synonyms field's value.

func (*EnumerationValue) SetValue

func (s *EnumerationValue) SetValue(v string) *EnumerationValue

SetValue sets the Value field's value.

func (EnumerationValue) String

func (s EnumerationValue) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnumerationValue) Validate

func (s *EnumerationValue) Validate() error

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

type FollowUpPrompt

type FollowUpPrompt struct {

	// Prompts for information from the user.
	//
	// Prompt is a required field
	Prompt *Prompt `locationName:"prompt" type:"structure" required:"true"`

	// If the user answers "no" to the question defined in the prompt field, Amazon
	// Lex responds with this statement to acknowledge that the intent was canceled.
	//
	// RejectionStatement is a required field
	RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.

func (FollowUpPrompt) GoString

func (s FollowUpPrompt) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FollowUpPrompt) SetPrompt

func (s *FollowUpPrompt) SetPrompt(v *Prompt) *FollowUpPrompt

SetPrompt sets the Prompt field's value.

func (*FollowUpPrompt) SetRejectionStatement

func (s *FollowUpPrompt) SetRejectionStatement(v *Statement) *FollowUpPrompt

SetRejectionStatement sets the RejectionStatement field's value.

func (FollowUpPrompt) String

func (s FollowUpPrompt) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FollowUpPrompt) Validate

func (s *FollowUpPrompt) Validate() error

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

type FulfillmentActivity

type FulfillmentActivity struct {

	// A description of the Lambda function that is run to fulfill the intent.
	CodeHook *CodeHook `locationName:"codeHook" type:"structure"`

	// How the intent should be fulfilled, either by running a Lambda function or
	// by returning the slot data to the client application.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"FulfillmentActivityType"`
	// contains filtered or unexported fields
}

Describes how the intent is fulfilled after the user provides all of the information required for the intent. You can provide a Lambda function to process the intent, or you can return the intent information to the client application. We recommend that you use a Lambda function so that the relevant logic lives in the Cloud and limit the client-side code primarily to presentation. If you need to update the logic, you only update the Lambda function; you don't need to upgrade your client application.

Consider the following examples:

  • In a pizza ordering application, after the user provides all of the information for placing an order, you use a Lambda function to place an order with a pizzeria.

  • In a gaming application, when a user says "pick up a rock," this information must go back to the client application so that it can perform the operation and update the graphics. In this case, you want Amazon Lex to return the intent data to the client.

func (FulfillmentActivity) GoString

func (s FulfillmentActivity) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FulfillmentActivity) SetCodeHook

func (s *FulfillmentActivity) SetCodeHook(v *CodeHook) *FulfillmentActivity

SetCodeHook sets the CodeHook field's value.

func (*FulfillmentActivity) SetType

SetType sets the Type field's value.

func (FulfillmentActivity) String

func (s FulfillmentActivity) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FulfillmentActivity) Validate

func (s *FulfillmentActivity) Validate() error

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

type GetBotAliasInput

type GetBotAliasInput struct {

	// The name of the bot.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The name of the bot alias. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBotAliasInput) GoString

func (s GetBotAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotAliasInput) SetBotName

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

SetBotName sets the BotName field's value.

func (*GetBotAliasInput) SetName

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

SetName sets the Name field's value.

func (GetBotAliasInput) String

func (s GetBotAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotAliasInput) Validate

func (s *GetBotAliasInput) Validate() error

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

type GetBotAliasOutput

type GetBotAliasOutput struct {

	// The name of the bot that the alias points to.
	BotName *string `locationName:"botName" min:"2" type:"string"`

	// The version of the bot that the alias points to.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Checksum of the bot alias.
	Checksum *string `locationName:"checksum" type:"string"`

	// The settings that determine how Amazon Lex uses conversation logs for the
	// alias.
	ConversationLogs *ConversationLogsResponse `locationName:"conversationLogs" type:"structure"`

	// The date that the bot alias was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the bot alias.
	Description *string `locationName:"description" type:"string"`

	// The date that the bot alias was updated. When you create a resource, the
	// creation date and the last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the bot alias.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotAliasOutput) GoString

func (s GetBotAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotAliasOutput) SetBotName

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

SetBotName sets the BotName field's value.

func (*GetBotAliasOutput) SetBotVersion

func (s *GetBotAliasOutput) SetBotVersion(v string) *GetBotAliasOutput

SetBotVersion sets the BotVersion field's value.

func (*GetBotAliasOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*GetBotAliasOutput) SetConversationLogs

func (s *GetBotAliasOutput) SetConversationLogs(v *ConversationLogsResponse) *GetBotAliasOutput

SetConversationLogs sets the ConversationLogs field's value.

func (*GetBotAliasOutput) SetCreatedDate

func (s *GetBotAliasOutput) SetCreatedDate(v time.Time) *GetBotAliasOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetBotAliasOutput) SetDescription

func (s *GetBotAliasOutput) SetDescription(v string) *GetBotAliasOutput

SetDescription sets the Description field's value.

func (*GetBotAliasOutput) SetLastUpdatedDate

func (s *GetBotAliasOutput) SetLastUpdatedDate(v time.Time) *GetBotAliasOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*GetBotAliasOutput) SetName

SetName sets the Name field's value.

func (GetBotAliasOutput) String

func (s GetBotAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBotAliasesInput

type GetBotAliasesInput struct {

	// The name of the bot.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The maximum number of aliases to return in the response. The default is 50. .
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Substring to match in bot alias names. An alias will be returned if any part
	// of its name matches the substring. For example, "xyz" matches both "xyzabc"
	// and "abcxyz."
	NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"`

	// A pagination token for fetching the next page of aliases. If the response
	// to this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of aliases, specify the pagination token in the next
	// request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotAliasesInput) GoString

func (s GetBotAliasesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotAliasesInput) SetBotName

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

SetBotName sets the BotName field's value.

func (*GetBotAliasesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetBotAliasesInput) SetNameContains

func (s *GetBotAliasesInput) SetNameContains(v string) *GetBotAliasesInput

SetNameContains sets the NameContains field's value.

func (*GetBotAliasesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetBotAliasesInput) String

func (s GetBotAliasesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotAliasesInput) Validate

func (s *GetBotAliasesInput) Validate() error

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

type GetBotAliasesOutput

type GetBotAliasesOutput struct {

	// An array of BotAliasMetadata objects, each describing a bot alias.
	BotAliases []*BotAliasMetadata `type:"list"`

	// A pagination token for fetching next page of aliases. If the response to
	// this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of aliases, specify the pagination token in the next
	// request.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotAliasesOutput) GoString

func (s GetBotAliasesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotAliasesOutput) SetBotAliases

SetBotAliases sets the BotAliases field's value.

func (*GetBotAliasesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetBotAliasesOutput) String

func (s GetBotAliasesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBotChannelAssociationInput

type GetBotChannelAssociationInput struct {

	// An alias pointing to the specific version of the Amazon Lex bot to which
	// this association is being made.
	//
	// BotAlias is a required field
	BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"`

	// The name of the Amazon Lex bot.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The name of the association between the bot and the channel. The name is
	// case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBotChannelAssociationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotChannelAssociationInput) SetBotAlias

SetBotAlias sets the BotAlias field's value.

func (*GetBotChannelAssociationInput) SetBotName

SetBotName sets the BotName field's value.

func (*GetBotChannelAssociationInput) SetName

SetName sets the Name field's value.

func (GetBotChannelAssociationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotChannelAssociationInput) Validate

func (s *GetBotChannelAssociationInput) Validate() error

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

type GetBotChannelAssociationOutput

type GetBotChannelAssociationOutput struct {

	// An alias pointing to the specific version of the Amazon Lex bot to which
	// this association is being made.
	BotAlias *string `locationName:"botAlias" min:"1" type:"string"`

	// Provides information that the messaging platform needs to communicate with
	// the Amazon Lex bot.
	//
	// BotConfiguration is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetBotChannelAssociationOutput's
	// String and GoString methods.
	BotConfiguration map[string]*string `locationName:"botConfiguration" min:"1" type:"map" sensitive:"true"`

	// The name of the Amazon Lex bot.
	BotName *string `locationName:"botName" min:"2" type:"string"`

	// The date that the association between the bot and the channel was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the association between the bot and the channel.
	Description *string `locationName:"description" type:"string"`

	// If status is FAILED, Amazon Lex provides the reason that it failed to create
	// the association.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The name of the association between the bot and the channel.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The status of the bot channel.
	//
	//    * CREATED - The channel has been created and is ready for use.
	//
	//    * IN_PROGRESS - Channel creation is in progress.
	//
	//    * FAILED - There was an error creating the channel. For information about
	//    the reason for the failure, see the failureReason field.
	Status *string `locationName:"status" type:"string" enum:"ChannelStatus"`

	// The type of the messaging platform.
	Type *string `locationName:"type" type:"string" enum:"ChannelType"`
	// contains filtered or unexported fields
}

func (GetBotChannelAssociationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotChannelAssociationOutput) SetBotAlias

SetBotAlias sets the BotAlias field's value.

func (*GetBotChannelAssociationOutput) SetBotConfiguration

SetBotConfiguration sets the BotConfiguration field's value.

func (*GetBotChannelAssociationOutput) SetBotName

SetBotName sets the BotName field's value.

func (*GetBotChannelAssociationOutput) SetCreatedDate

SetCreatedDate sets the CreatedDate field's value.

func (*GetBotChannelAssociationOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetBotChannelAssociationOutput) SetFailureReason

SetFailureReason sets the FailureReason field's value.

func (*GetBotChannelAssociationOutput) SetName

SetName sets the Name field's value.

func (*GetBotChannelAssociationOutput) SetStatus

SetStatus sets the Status field's value.

func (*GetBotChannelAssociationOutput) SetType

SetType sets the Type field's value.

func (GetBotChannelAssociationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBotChannelAssociationsInput

type GetBotChannelAssociationsInput struct {

	// An alias pointing to the specific version of the Amazon Lex bot to which
	// this association is being made.
	//
	// BotAlias is a required field
	BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"`

	// The name of the Amazon Lex bot in the association.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The maximum number of associations to return in the response. The default
	// is 50.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Substring to match in channel association names. An association will be returned
	// if any part of its name matches the substring. For example, "xyz" matches
	// both "xyzabc" and "abcxyz." To return all bot channel associations, use a
	// hyphen ("-") as the nameContains parameter.
	NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"`

	// A pagination token for fetching the next page of associations. If the response
	// to this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of associations, specify the pagination token in the
	// next request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotChannelAssociationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotChannelAssociationsInput) SetBotAlias

SetBotAlias sets the BotAlias field's value.

func (*GetBotChannelAssociationsInput) SetBotName

SetBotName sets the BotName field's value.

func (*GetBotChannelAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetBotChannelAssociationsInput) SetNameContains

SetNameContains sets the NameContains field's value.

func (*GetBotChannelAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetBotChannelAssociationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotChannelAssociationsInput) Validate

func (s *GetBotChannelAssociationsInput) Validate() error

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

type GetBotChannelAssociationsOutput

type GetBotChannelAssociationsOutput struct {

	// An array of objects, one for each association, that provides information
	// about the Amazon Lex bot and its association with the channel.
	BotChannelAssociations []*BotChannelAssociation `locationName:"botChannelAssociations" type:"list"`

	// A pagination token that fetches the next page of associations. If the response
	// to this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of associations, specify the pagination token in the
	// next request.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotChannelAssociationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotChannelAssociationsOutput) SetBotChannelAssociations

SetBotChannelAssociations sets the BotChannelAssociations field's value.

func (*GetBotChannelAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetBotChannelAssociationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBotInput

type GetBotInput struct {

	// The name of the bot. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"`

	// The version or alias of the bot.
	//
	// VersionOrAlias is a required field
	VersionOrAlias *string `location:"uri" locationName:"versionoralias" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBotInput) GoString

func (s GetBotInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotInput) SetName

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

SetName sets the Name field's value.

func (*GetBotInput) SetVersionOrAlias

func (s *GetBotInput) SetVersionOrAlias(v string) *GetBotInput

SetVersionOrAlias sets the VersionOrAlias field's value.

func (GetBotInput) String

func (s GetBotInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotInput) Validate

func (s *GetBotInput) Validate() error

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

type GetBotOutput

type GetBotOutput struct {

	// The message that Amazon Lex returns when the user elects to end the conversation
	// without completing it. For more information, see PutBot.
	AbortStatement *Statement `locationName:"abortStatement" type:"structure"`

	// Checksum of the bot used to identify a specific revision of the bot's $LATEST
	// version.
	Checksum *string `locationName:"checksum" type:"string"`

	// For each Amazon Lex bot created with the Amazon Lex Model Building Service,
	// you must specify whether your use of Amazon Lex is related to a website,
	// program, or other application that is directed or targeted, in whole or in
	// part, to children under age 13 and subject to the Children's Online Privacy
	// Protection Act (COPPA) by specifying true or false in the childDirected field.
	// By specifying true in the childDirected field, you confirm that your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA. By specifying false in the childDirected field, you confirm
	// that your use of Amazon Lex is not related to a website, program, or other
	// application that is directed or targeted, in whole or in part, to children
	// under age 13 and subject to COPPA. You may not specify a default value for
	// the childDirected field that does not accurately reflect whether your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA.
	//
	// If your use of Amazon Lex relates to a website, program, or other application
	// that is directed in whole or in part, to children under age 13, you must
	// obtain any required verifiable parental consent under COPPA. For information
	// regarding the use of Amazon Lex in connection with websites, programs, or
	// other applications that are directed or targeted, in whole or in part, to
	// children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security)
	ChildDirected *bool `locationName:"childDirected" type:"boolean"`

	// The message Amazon Lex uses when it doesn't understand the user's request.
	// For more information, see PutBot.
	ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"`

	// The date that the bot was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the bot.
	Description *string `locationName:"description" type:"string"`

	// Indicates whether user utterances should be sent to Amazon Comprehend for
	// sentiment analysis.
	DetectSentiment *bool `locationName:"detectSentiment" type:"boolean"`

	// Indicates whether the bot uses accuracy improvements. true indicates that
	// the bot is using the improvements, otherwise, false.
	EnableModelImprovements *bool `locationName:"enableModelImprovements" type:"boolean"`

	// If status is FAILED, Amazon Lex explains why it failed to build the bot.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The maximum time in seconds that Amazon Lex retains the data gathered in
	// a conversation. For more information, see PutBot.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// An array of intent objects. For more information, see PutBot.
	Intents []*Intent `locationName:"intents" type:"list"`

	// The date that the bot was updated. When you create a resource, the creation
	// date and last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The target locale for the bot.
	Locale *string `locationName:"locale" type:"string" enum:"Locale"`

	// The name of the bot.
	Name *string `locationName:"name" min:"2" type:"string"`

	// The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent,
	// AMAZON.KendraSearchIntent, or both when returning alternative intents in
	// a PostContent (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html)
	// or PostText (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html)
	// response. AMAZON.FallbackIntent is inserted if the confidence score for all
	// intents is below this value. AMAZON.KendraSearchIntent is only inserted if
	// it is configured for the bot.
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double"`

	// The status of the bot.
	//
	// When the status is BUILDING Amazon Lex is building the bot for testing and
	// use.
	//
	// If the status of the bot is READY_BASIC_TESTING, you can test the bot using
	// the exact utterances specified in the bot's intents. When the bot is ready
	// for full testing or to run, the status is READY.
	//
	// If there was a problem with building the bot, the status is FAILED and the
	// failureReason field explains why the bot did not build.
	//
	// If the bot was saved but not built, the status is NOT_BUILT.
	Status *string `locationName:"status" type:"string" enum:"Status"`

	// The version of the bot. For a new bot, the version is always $LATEST.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The Amazon Polly voice ID that Amazon Lex uses for voice interaction with
	// the user. For more information, see PutBot.
	VoiceId *string `locationName:"voiceId" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotOutput) GoString

func (s GetBotOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotOutput) SetAbortStatement

func (s *GetBotOutput) SetAbortStatement(v *Statement) *GetBotOutput

SetAbortStatement sets the AbortStatement field's value.

func (*GetBotOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*GetBotOutput) SetChildDirected

func (s *GetBotOutput) SetChildDirected(v bool) *GetBotOutput

SetChildDirected sets the ChildDirected field's value.

func (*GetBotOutput) SetClarificationPrompt

func (s *GetBotOutput) SetClarificationPrompt(v *Prompt) *GetBotOutput

SetClarificationPrompt sets the ClarificationPrompt field's value.

func (*GetBotOutput) SetCreatedDate

func (s *GetBotOutput) SetCreatedDate(v time.Time) *GetBotOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetBotOutput) SetDescription

func (s *GetBotOutput) SetDescription(v string) *GetBotOutput

SetDescription sets the Description field's value.

func (*GetBotOutput) SetDetectSentiment

func (s *GetBotOutput) SetDetectSentiment(v bool) *GetBotOutput

SetDetectSentiment sets the DetectSentiment field's value.

func (*GetBotOutput) SetEnableModelImprovements

func (s *GetBotOutput) SetEnableModelImprovements(v bool) *GetBotOutput

SetEnableModelImprovements sets the EnableModelImprovements field's value.

func (*GetBotOutput) SetFailureReason

func (s *GetBotOutput) SetFailureReason(v string) *GetBotOutput

SetFailureReason sets the FailureReason field's value.

func (*GetBotOutput) SetIdleSessionTTLInSeconds

func (s *GetBotOutput) SetIdleSessionTTLInSeconds(v int64) *GetBotOutput

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*GetBotOutput) SetIntents

func (s *GetBotOutput) SetIntents(v []*Intent) *GetBotOutput

SetIntents sets the Intents field's value.

func (*GetBotOutput) SetLastUpdatedDate

func (s *GetBotOutput) SetLastUpdatedDate(v time.Time) *GetBotOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*GetBotOutput) SetLocale

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

SetLocale sets the Locale field's value.

func (*GetBotOutput) SetName

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

SetName sets the Name field's value.

func (*GetBotOutput) SetNluIntentConfidenceThreshold

func (s *GetBotOutput) SetNluIntentConfidenceThreshold(v float64) *GetBotOutput

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*GetBotOutput) SetStatus

func (s *GetBotOutput) SetStatus(v string) *GetBotOutput

SetStatus sets the Status field's value.

func (*GetBotOutput) SetVersion

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

SetVersion sets the Version field's value.

func (*GetBotOutput) SetVoiceId

func (s *GetBotOutput) SetVoiceId(v string) *GetBotOutput

SetVoiceId sets the VoiceId field's value.

func (GetBotOutput) String

func (s GetBotOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBotVersionsInput

type GetBotVersionsInput struct {

	// The maximum number of bot versions to return in the response. The default
	// is 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The name of the bot for which versions should be returned.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"`

	// A pagination token for fetching the next page of bot versions. If the response
	// to this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of versions, specify the pagination token in the next
	// request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotVersionsInput) GoString

func (s GetBotVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotVersionsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetBotVersionsInput) SetName

SetName sets the Name field's value.

func (*GetBotVersionsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetBotVersionsInput) String

func (s GetBotVersionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotVersionsInput) Validate

func (s *GetBotVersionsInput) Validate() error

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

type GetBotVersionsOutput

type GetBotVersionsOutput struct {

	// An array of BotMetadata objects, one for each numbered version of the bot
	// plus one for the $LATEST version.
	Bots []*BotMetadata `locationName:"bots" type:"list"`

	// A pagination token for fetching the next page of bot versions. If the response
	// to this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of versions, specify the pagination token in the next
	// request.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotVersionsOutput) GoString

func (s GetBotVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotVersionsOutput) SetBots

SetBots sets the Bots field's value.

func (*GetBotVersionsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetBotVersionsOutput) String

func (s GetBotVersionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBotsInput

type GetBotsInput struct {

	// The maximum number of bots to return in the response that the request will
	// return. The default is 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Substring to match in bot names. A bot will be returned if any part of its
	// name matches the substring. For example, "xyz" matches both "xyzabc" and
	// "abcxyz."
	NameContains *string `location:"querystring" locationName:"nameContains" min:"2" type:"string"`

	// A pagination token that fetches the next page of bots. If the response to
	// this call is truncated, Amazon Lex returns a pagination token in the response.
	// To fetch the next page of bots, specify the pagination token in the next
	// request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotsInput) GoString

func (s GetBotsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetBotsInput) SetNameContains

func (s *GetBotsInput) SetNameContains(v string) *GetBotsInput

SetNameContains sets the NameContains field's value.

func (*GetBotsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetBotsInput) String

func (s GetBotsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotsInput) Validate

func (s *GetBotsInput) Validate() error

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

type GetBotsOutput

type GetBotsOutput struct {

	// An array of botMetadata objects, with one entry for each bot.
	Bots []*BotMetadata `locationName:"bots" type:"list"`

	// If the response is truncated, it includes a pagination token that you can
	// specify in your next request to fetch the next page of bots.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBotsOutput) GoString

func (s GetBotsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBotsOutput) SetBots

func (s *GetBotsOutput) SetBots(v []*BotMetadata) *GetBotsOutput

SetBots sets the Bots field's value.

func (*GetBotsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetBotsOutput) String

func (s GetBotsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBuiltinIntentInput

type GetBuiltinIntentInput struct {

	// The unique identifier for a built-in intent. To find the signature for an
	// intent, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents)
	// in the Alexa Skills Kit.
	//
	// Signature is a required field
	Signature *string `location:"uri" locationName:"signature" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBuiltinIntentInput) GoString

func (s GetBuiltinIntentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinIntentInput) SetSignature

SetSignature sets the Signature field's value.

func (GetBuiltinIntentInput) String

func (s GetBuiltinIntentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinIntentInput) Validate

func (s *GetBuiltinIntentInput) Validate() error

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

type GetBuiltinIntentOutput

type GetBuiltinIntentOutput struct {

	// The unique identifier for a built-in intent.
	Signature *string `locationName:"signature" type:"string"`

	// An array of BuiltinIntentSlot objects, one entry for each slot type in the
	// intent.
	Slots []*BuiltinIntentSlot `locationName:"slots" type:"list"`

	// A list of locales that the intent supports.
	SupportedLocales []*string `locationName:"supportedLocales" type:"list" enum:"Locale"`
	// contains filtered or unexported fields
}

func (GetBuiltinIntentOutput) GoString

func (s GetBuiltinIntentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinIntentOutput) SetSignature

SetSignature sets the Signature field's value.

func (*GetBuiltinIntentOutput) SetSlots

SetSlots sets the Slots field's value.

func (*GetBuiltinIntentOutput) SetSupportedLocales

func (s *GetBuiltinIntentOutput) SetSupportedLocales(v []*string) *GetBuiltinIntentOutput

SetSupportedLocales sets the SupportedLocales field's value.

func (GetBuiltinIntentOutput) String

func (s GetBuiltinIntentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBuiltinIntentsInput

type GetBuiltinIntentsInput struct {

	// A list of locales that the intent supports.
	Locale *string `location:"querystring" locationName:"locale" type:"string" enum:"Locale"`

	// The maximum number of intents to return in the response. The default is 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A pagination token that fetches the next page of intents. If this API call
	// is truncated, Amazon Lex returns a pagination token in the response. To fetch
	// the next page of intents, use the pagination token in the next request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// Substring to match in built-in intent signatures. An intent will be returned
	// if any part of its signature matches the substring. For example, "xyz" matches
	// both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard
	// Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents)
	// in the Alexa Skills Kit.
	SignatureContains *string `location:"querystring" locationName:"signatureContains" type:"string"`
	// contains filtered or unexported fields
}

func (GetBuiltinIntentsInput) GoString

func (s GetBuiltinIntentsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinIntentsInput) SetLocale

SetLocale sets the Locale field's value.

func (*GetBuiltinIntentsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetBuiltinIntentsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetBuiltinIntentsInput) SetSignatureContains

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

SetSignatureContains sets the SignatureContains field's value.

func (GetBuiltinIntentsInput) String

func (s GetBuiltinIntentsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinIntentsInput) Validate

func (s *GetBuiltinIntentsInput) Validate() error

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

type GetBuiltinIntentsOutput

type GetBuiltinIntentsOutput struct {

	// An array of builtinIntentMetadata objects, one for each intent in the response.
	Intents []*BuiltinIntentMetadata `locationName:"intents" type:"list"`

	// A pagination token that fetches the next page of intents. If the response
	// to this API call is truncated, Amazon Lex returns a pagination token in the
	// response. To fetch the next page of intents, specify the pagination token
	// in the next request.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBuiltinIntentsOutput) GoString

func (s GetBuiltinIntentsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinIntentsOutput) SetIntents

SetIntents sets the Intents field's value.

func (*GetBuiltinIntentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetBuiltinIntentsOutput) String

func (s GetBuiltinIntentsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBuiltinSlotTypesInput

type GetBuiltinSlotTypesInput struct {

	// A list of locales that the slot type supports.
	Locale *string `location:"querystring" locationName:"locale" type:"string" enum:"Locale"`

	// The maximum number of slot types to return in the response. The default is
	// 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" 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."
	SignatureContains *string `location:"querystring" locationName:"signatureContains" type:"string"`
	// contains filtered or unexported fields
}

func (GetBuiltinSlotTypesInput) GoString

func (s GetBuiltinSlotTypesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinSlotTypesInput) SetLocale

SetLocale sets the Locale field's value.

func (*GetBuiltinSlotTypesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetBuiltinSlotTypesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetBuiltinSlotTypesInput) SetSignatureContains

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

SetSignatureContains sets the SignatureContains field's value.

func (GetBuiltinSlotTypesInput) String

func (s GetBuiltinSlotTypesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinSlotTypesInput) Validate

func (s *GetBuiltinSlotTypesInput) Validate() error

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

type GetBuiltinSlotTypesOutput

type GetBuiltinSlotTypesOutput struct {

	// If the response is truncated, the response includes a pagination token that
	// you can use in your next request to fetch the next page of slot types.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of BuiltInSlotTypeMetadata objects, one entry for each slot type
	// returned.
	SlotTypes []*BuiltinSlotTypeMetadata `locationName:"slotTypes" type:"list"`
	// contains filtered or unexported fields
}

func (GetBuiltinSlotTypesOutput) GoString

func (s GetBuiltinSlotTypesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBuiltinSlotTypesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetBuiltinSlotTypesOutput) SetSlotTypes

SetSlotTypes sets the SlotTypes field's value.

func (GetBuiltinSlotTypesOutput) String

func (s GetBuiltinSlotTypesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetExportInput

type GetExportInput struct {

	// The format of the exported data.
	//
	// ExportType is a required field
	ExportType *string `location:"querystring" locationName:"exportType" type:"string" required:"true" enum:"ExportType"`

	// The name of the bot to export.
	//
	// Name is a required field
	Name *string `location:"querystring" locationName:"name" min:"1" type:"string" required:"true"`

	// The type of resource to export.
	//
	// ResourceType is a required field
	ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

	// The version of the bot to export.
	//
	// Version is a required field
	Version *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetExportInput) GoString

func (s GetExportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExportInput) SetExportType

func (s *GetExportInput) SetExportType(v string) *GetExportInput

SetExportType sets the ExportType field's value.

func (*GetExportInput) SetName

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

SetName sets the Name field's value.

func (*GetExportInput) SetResourceType

func (s *GetExportInput) SetResourceType(v string) *GetExportInput

SetResourceType sets the ResourceType field's value.

func (*GetExportInput) SetVersion

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

SetVersion sets the Version field's value.

func (GetExportInput) String

func (s GetExportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExportInput) Validate

func (s *GetExportInput) Validate() error

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

type GetExportOutput

type GetExportOutput struct {

	// The status of the export.
	//
	//    * IN_PROGRESS - The export is in progress.
	//
	//    * READY - The export is complete.
	//
	//    * FAILED - The export could not be completed.
	ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"`

	// The format of the exported data.
	ExportType *string `locationName:"exportType" type:"string" enum:"ExportType"`

	// If status is FAILED, Amazon Lex provides the reason that it failed to export
	// the resource.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The name of the bot being exported.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The type of the exported resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`

	// An S3 pre-signed URL that provides the location of the exported resource.
	// The exported resource is a ZIP archive that contains the exported resource
	// in JSON format. The structure of the archive may change. Your code should
	// not rely on the archive structure.
	Url *string `locationName:"url" type:"string"`

	// The version of the bot being exported.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetExportOutput) GoString

func (s GetExportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExportOutput) SetExportStatus

func (s *GetExportOutput) SetExportStatus(v string) *GetExportOutput

SetExportStatus sets the ExportStatus field's value.

func (*GetExportOutput) SetExportType

func (s *GetExportOutput) SetExportType(v string) *GetExportOutput

SetExportType sets the ExportType field's value.

func (*GetExportOutput) SetFailureReason

func (s *GetExportOutput) SetFailureReason(v string) *GetExportOutput

SetFailureReason sets the FailureReason field's value.

func (*GetExportOutput) SetName

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

SetName sets the Name field's value.

func (*GetExportOutput) SetResourceType

func (s *GetExportOutput) SetResourceType(v string) *GetExportOutput

SetResourceType sets the ResourceType field's value.

func (*GetExportOutput) SetUrl

func (s *GetExportOutput) SetUrl(v string) *GetExportOutput

SetUrl sets the Url field's value.

func (*GetExportOutput) SetVersion

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

SetVersion sets the Version field's value.

func (GetExportOutput) String

func (s GetExportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetImportInput

type GetImportInput struct {

	// The identifier of the import job information to return.
	//
	// ImportId is a required field
	ImportId *string `location:"uri" locationName:"importId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetImportInput) GoString

func (s GetImportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImportInput) SetImportId

func (s *GetImportInput) SetImportId(v string) *GetImportInput

SetImportId sets the ImportId field's value.

func (GetImportInput) String

func (s GetImportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImportInput) Validate

func (s *GetImportInput) Validate() error

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

type GetImportOutput

type GetImportOutput struct {

	// A timestamp for the date and time that the import job was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A string that describes why an import job failed to complete.
	FailureReason []*string `locationName:"failureReason" type:"list"`

	// The identifier for the specific import job.
	ImportId *string `locationName:"importId" type:"string"`

	// The status of the import job. If the status is FAILED, you can get the reason
	// for the failure from the failureReason field.
	ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"`

	// The action taken when there was a conflict between an existing resource and
	// a resource in the import file.
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" enum:"MergeStrategy"`

	// The name given to the import job.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The type of resource imported.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

func (GetImportOutput) GoString

func (s GetImportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImportOutput) SetCreatedDate

func (s *GetImportOutput) SetCreatedDate(v time.Time) *GetImportOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetImportOutput) SetFailureReason

func (s *GetImportOutput) SetFailureReason(v []*string) *GetImportOutput

SetFailureReason sets the FailureReason field's value.

func (*GetImportOutput) SetImportId

func (s *GetImportOutput) SetImportId(v string) *GetImportOutput

SetImportId sets the ImportId field's value.

func (*GetImportOutput) SetImportStatus

func (s *GetImportOutput) SetImportStatus(v string) *GetImportOutput

SetImportStatus sets the ImportStatus field's value.

func (*GetImportOutput) SetMergeStrategy

func (s *GetImportOutput) SetMergeStrategy(v string) *GetImportOutput

SetMergeStrategy sets the MergeStrategy field's value.

func (*GetImportOutput) SetName

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

SetName sets the Name field's value.

func (*GetImportOutput) SetResourceType

func (s *GetImportOutput) SetResourceType(v string) *GetImportOutput

SetResourceType sets the ResourceType field's value.

func (GetImportOutput) String

func (s GetImportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetIntentInput

type GetIntentInput struct {

	// The name of the intent. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// The version of the intent.
	//
	// Version is a required field
	Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetIntentInput) GoString

func (s GetIntentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentInput) SetName

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

SetName sets the Name field's value.

func (*GetIntentInput) SetVersion

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

SetVersion sets the Version field's value.

func (GetIntentInput) String

func (s GetIntentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentInput) Validate

func (s *GetIntentInput) Validate() error

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

type GetIntentOutput

type GetIntentOutput struct {

	// Checksum of the intent.
	Checksum *string `locationName:"checksum" type:"string"`

	// After the Lambda function specified in the fulfillmentActivity element fulfills
	// the intent, Amazon Lex conveys this statement to the user.
	ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"`

	// If defined in the bot, Amazon Lex uses prompt to confirm the intent before
	// fulfilling the user's request. For more information, see PutIntent.
	ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"`

	// The date that the intent was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the intent.
	Description *string `locationName:"description" type:"string"`

	// If defined in the bot, Amazon Amazon Lex invokes this Lambda function for
	// each user input. For more information, see PutIntent.
	DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"`

	// If defined in the bot, Amazon Lex uses this prompt to solicit additional
	// user activity after the intent is fulfilled. For more information, see PutIntent.
	FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"`

	// Describes how the intent is fulfilled. For more information, see PutIntent.
	FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"`

	// An array of InputContext objects that lists the contexts that must be active
	// for Amazon Lex to choose the intent in a conversation with the user.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// Configuration information, if any, to connect to an Amazon Kendra index with
	// the AMAZON.KendraSearchIntent intent.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The date that the intent was updated. When you create a resource, the creation
	// date and the last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the intent.
	Name *string `locationName:"name" min:"1" type:"string"`

	// An array of OutputContext objects that lists the contexts that the intent
	// activates when the intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// A unique identifier for a built-in intent.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// If the user answers "no" to the question defined in confirmationPrompt, Amazon
	// Lex responds with this statement to acknowledge that the intent was canceled.
	RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"`

	// An array of sample utterances configured for the intent.
	SampleUtterances []*string `locationName:"sampleUtterances" type:"list"`

	// An array of intent slots configured for the intent.
	Slots []*Slot `locationName:"slots" type:"list"`

	// The version of the intent.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntentOutput) GoString

func (s GetIntentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*GetIntentOutput) SetConclusionStatement

func (s *GetIntentOutput) SetConclusionStatement(v *Statement) *GetIntentOutput

SetConclusionStatement sets the ConclusionStatement field's value.

func (*GetIntentOutput) SetConfirmationPrompt

func (s *GetIntentOutput) SetConfirmationPrompt(v *Prompt) *GetIntentOutput

SetConfirmationPrompt sets the ConfirmationPrompt field's value.

func (*GetIntentOutput) SetCreatedDate

func (s *GetIntentOutput) SetCreatedDate(v time.Time) *GetIntentOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetIntentOutput) SetDescription

func (s *GetIntentOutput) SetDescription(v string) *GetIntentOutput

SetDescription sets the Description field's value.

func (*GetIntentOutput) SetDialogCodeHook

func (s *GetIntentOutput) SetDialogCodeHook(v *CodeHook) *GetIntentOutput

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*GetIntentOutput) SetFollowUpPrompt

func (s *GetIntentOutput) SetFollowUpPrompt(v *FollowUpPrompt) *GetIntentOutput

SetFollowUpPrompt sets the FollowUpPrompt field's value.

func (*GetIntentOutput) SetFulfillmentActivity

func (s *GetIntentOutput) SetFulfillmentActivity(v *FulfillmentActivity) *GetIntentOutput

SetFulfillmentActivity sets the FulfillmentActivity field's value.

func (*GetIntentOutput) SetInputContexts

func (s *GetIntentOutput) SetInputContexts(v []*InputContext) *GetIntentOutput

SetInputContexts sets the InputContexts field's value.

func (*GetIntentOutput) SetKendraConfiguration

func (s *GetIntentOutput) SetKendraConfiguration(v *KendraConfiguration) *GetIntentOutput

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*GetIntentOutput) SetLastUpdatedDate

func (s *GetIntentOutput) SetLastUpdatedDate(v time.Time) *GetIntentOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*GetIntentOutput) SetName

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

SetName sets the Name field's value.

func (*GetIntentOutput) SetOutputContexts

func (s *GetIntentOutput) SetOutputContexts(v []*OutputContext) *GetIntentOutput

SetOutputContexts sets the OutputContexts field's value.

func (*GetIntentOutput) SetParentIntentSignature

func (s *GetIntentOutput) SetParentIntentSignature(v string) *GetIntentOutput

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*GetIntentOutput) SetRejectionStatement

func (s *GetIntentOutput) SetRejectionStatement(v *Statement) *GetIntentOutput

SetRejectionStatement sets the RejectionStatement field's value.

func (*GetIntentOutput) SetSampleUtterances

func (s *GetIntentOutput) SetSampleUtterances(v []*string) *GetIntentOutput

SetSampleUtterances sets the SampleUtterances field's value.

func (*GetIntentOutput) SetSlots

func (s *GetIntentOutput) SetSlots(v []*Slot) *GetIntentOutput

SetSlots sets the Slots field's value.

func (*GetIntentOutput) SetVersion

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

SetVersion sets the Version field's value.

func (GetIntentOutput) String

func (s GetIntentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetIntentVersionsInput

type GetIntentVersionsInput struct {

	// The maximum number of intent versions to return in the response. The default
	// is 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The name of the intent for which versions should be returned.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// A pagination token for fetching the next page of intent versions. If the
	// response to this call is truncated, Amazon Lex returns a pagination token
	// in the response. To fetch the next page of versions, specify the pagination
	// token in the next request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntentVersionsInput) GoString

func (s GetIntentVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetIntentVersionsInput) SetName

SetName sets the Name field's value.

func (*GetIntentVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetIntentVersionsInput) String

func (s GetIntentVersionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentVersionsInput) Validate

func (s *GetIntentVersionsInput) Validate() error

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

type GetIntentVersionsOutput

type GetIntentVersionsOutput struct {

	// An array of IntentMetadata objects, one for each numbered version of the
	// intent plus one for the $LATEST version.
	Intents []*IntentMetadata `locationName:"intents" type:"list"`

	// A pagination token for fetching the next page of intent versions. If the
	// response to this call is truncated, Amazon Lex returns a pagination token
	// in the response. To fetch the next page of versions, specify the pagination
	// token in the next request.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntentVersionsOutput) GoString

func (s GetIntentVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentVersionsOutput) SetIntents

SetIntents sets the Intents field's value.

func (*GetIntentVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetIntentVersionsOutput) String

func (s GetIntentVersionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetIntentsInput

type GetIntentsInput struct {

	// The maximum number of intents to return in the response. The default is 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Substring to match in intent names. An intent will be returned if any part
	// of its name matches the substring. For example, "xyz" matches both "xyzabc"
	// and "abcxyz."
	NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"`

	// A pagination token that fetches the next page of intents. If the response
	// to this API call is truncated, Amazon Lex returns a pagination token in the
	// response. To fetch the next page of intents, specify the pagination token
	// in the next request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntentsInput) GoString

func (s GetIntentsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetIntentsInput) SetNameContains

func (s *GetIntentsInput) SetNameContains(v string) *GetIntentsInput

SetNameContains sets the NameContains field's value.

func (*GetIntentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetIntentsInput) String

func (s GetIntentsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentsInput) Validate

func (s *GetIntentsInput) Validate() error

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

type GetIntentsOutput

type GetIntentsOutput struct {

	// An array of Intent objects. For more information, see PutBot.
	Intents []*IntentMetadata `locationName:"intents" type:"list"`

	// If the response is truncated, the response includes a pagination token that
	// you can specify in your next request to fetch the next page of intents.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntentsOutput) GoString

func (s GetIntentsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetIntentsOutput) SetIntents

func (s *GetIntentsOutput) SetIntents(v []*IntentMetadata) *GetIntentsOutput

SetIntents sets the Intents field's value.

func (*GetIntentsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetIntentsOutput) String

func (s GetIntentsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMigrationInput

type GetMigrationInput struct {

	// The unique identifier of the migration to view. The migrationID is returned
	// by the operation.
	//
	// MigrationId is a required field
	MigrationId *string `location:"uri" locationName:"migrationId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMigrationInput) GoString

func (s GetMigrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMigrationInput) SetMigrationId

func (s *GetMigrationInput) SetMigrationId(v string) *GetMigrationInput

SetMigrationId sets the MigrationId field's value.

func (GetMigrationInput) String

func (s GetMigrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMigrationInput) Validate

func (s *GetMigrationInput) Validate() error

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

type GetMigrationOutput

type GetMigrationOutput struct {

	// A list of alerts and warnings that indicate issues with the migration for
	// the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon
	// Lex V1 feature has a different implementation if Amazon Lex V2.
	//
	// For more information, see Migrating a bot (https://docs.aws.amazon.com/lexv2/latest/dg/migrate.html)
	// in the Amazon Lex V2 developer guide.
	Alerts []*MigrationAlert `locationName:"alerts" type:"list"`

	// The unique identifier of the migration. This is the same as the identifier
	// used when calling the GetMigration operation.
	MigrationId *string `locationName:"migrationId" min:"10" type:"string"`

	// Indicates the status of the migration. When the status is COMPLETE the migration
	// is finished and the bot is available in Amazon Lex V2. There may be alerts
	// and warnings that need to be resolved to complete the migration.
	MigrationStatus *string `locationName:"migrationStatus" type:"string" enum:"MigrationStatus"`

	// The strategy used to conduct the migration.
	//
	//    * CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon
	//    Lex V1 bot to the new bot.
	//
	//    * UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata
	//    and the locale being migrated. It doesn't change any other locales in
	//    the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is created
	//    in the Amazon Lex V2 bot.
	MigrationStrategy *string `locationName:"migrationStrategy" type:"string" enum:"MigrationStrategy"`

	// The date and time that the migration started.
	MigrationTimestamp *time.Time `locationName:"migrationTimestamp" type:"timestamp"`

	// The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
	V1BotLocale *string `locationName:"v1BotLocale" type:"string" enum:"Locale"`

	// The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
	V1BotName *string `locationName:"v1BotName" min:"2" type:"string"`

	// The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
	V1BotVersion *string `locationName:"v1BotVersion" min:"1" type:"string"`

	// The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is
	// being migrated to.
	V2BotId *string `locationName:"v2BotId" min:"10" type:"string"`

	// The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
	V2BotRole *string `locationName:"v2BotRole" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (GetMigrationOutput) GoString

func (s GetMigrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMigrationOutput) SetAlerts

SetAlerts sets the Alerts field's value.

func (*GetMigrationOutput) SetMigrationId

func (s *GetMigrationOutput) SetMigrationId(v string) *GetMigrationOutput

SetMigrationId sets the MigrationId field's value.

func (*GetMigrationOutput) SetMigrationStatus

func (s *GetMigrationOutput) SetMigrationStatus(v string) *GetMigrationOutput

SetMigrationStatus sets the MigrationStatus field's value.

func (*GetMigrationOutput) SetMigrationStrategy

func (s *GetMigrationOutput) SetMigrationStrategy(v string) *GetMigrationOutput

SetMigrationStrategy sets the MigrationStrategy field's value.

func (*GetMigrationOutput) SetMigrationTimestamp

func (s *GetMigrationOutput) SetMigrationTimestamp(v time.Time) *GetMigrationOutput

SetMigrationTimestamp sets the MigrationTimestamp field's value.

func (*GetMigrationOutput) SetV1BotLocale

func (s *GetMigrationOutput) SetV1BotLocale(v string) *GetMigrationOutput

SetV1BotLocale sets the V1BotLocale field's value.

func (*GetMigrationOutput) SetV1BotName

func (s *GetMigrationOutput) SetV1BotName(v string) *GetMigrationOutput

SetV1BotName sets the V1BotName field's value.

func (*GetMigrationOutput) SetV1BotVersion

func (s *GetMigrationOutput) SetV1BotVersion(v string) *GetMigrationOutput

SetV1BotVersion sets the V1BotVersion field's value.

func (*GetMigrationOutput) SetV2BotId

func (s *GetMigrationOutput) SetV2BotId(v string) *GetMigrationOutput

SetV2BotId sets the V2BotId field's value.

func (*GetMigrationOutput) SetV2BotRole

func (s *GetMigrationOutput) SetV2BotRole(v string) *GetMigrationOutput

SetV2BotRole sets the V2BotRole field's value.

func (GetMigrationOutput) String

func (s GetMigrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMigrationsInput

type GetMigrationsInput struct {

	// The maximum number of migrations to return in the response. The default is
	// 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Filters the list to contain only migrations in the specified state.
	MigrationStatusEquals *string `location:"querystring" locationName:"migrationStatusEquals" type:"string" enum:"MigrationStatus"`

	// A pagination token that fetches the next page of migrations. If the response
	// to this operation is truncated, Amazon Lex returns a pagination token in
	// the response. To fetch the next page of migrations, specify the pagination
	// token in the request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The field to sort the list of migrations by. You can sort by the Amazon Lex
	// V1 bot name or the date and time that the migration was started.
	SortByAttribute *string `location:"querystring" locationName:"sortByAttribute" type:"string" enum:"MigrationSortAttribute"`

	// The order so sort the list.
	SortByOrder *string `location:"querystring" locationName:"sortByOrder" type:"string" enum:"SortOrder"`

	// Filters the list to contain only bots whose name contains the specified string.
	// The string is matched anywhere in bot name.
	V1BotNameContains *string `location:"querystring" locationName:"v1BotNameContains" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (GetMigrationsInput) GoString

func (s GetMigrationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMigrationsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetMigrationsInput) SetMigrationStatusEquals

func (s *GetMigrationsInput) SetMigrationStatusEquals(v string) *GetMigrationsInput

SetMigrationStatusEquals sets the MigrationStatusEquals field's value.

func (*GetMigrationsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*GetMigrationsInput) SetSortByAttribute

func (s *GetMigrationsInput) SetSortByAttribute(v string) *GetMigrationsInput

SetSortByAttribute sets the SortByAttribute field's value.

func (*GetMigrationsInput) SetSortByOrder

func (s *GetMigrationsInput) SetSortByOrder(v string) *GetMigrationsInput

SetSortByOrder sets the SortByOrder field's value.

func (*GetMigrationsInput) SetV1BotNameContains

func (s *GetMigrationsInput) SetV1BotNameContains(v string) *GetMigrationsInput

SetV1BotNameContains sets the V1BotNameContains field's value.

func (GetMigrationsInput) String

func (s GetMigrationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMigrationsInput) Validate

func (s *GetMigrationsInput) Validate() error

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

type GetMigrationsOutput

type GetMigrationsOutput struct {

	// An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2.
	// To see details of the migration, use the migrationId from the summary in
	// a call to the operation.
	MigrationSummaries []*MigrationSummary `locationName:"migrationSummaries" type:"list"`

	// If the response is truncated, it includes a pagination token that you can
	// specify in your next request to fetch the next page of migrations.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetMigrationsOutput) GoString

func (s GetMigrationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMigrationsOutput) SetMigrationSummaries

func (s *GetMigrationsOutput) SetMigrationSummaries(v []*MigrationSummary) *GetMigrationsOutput

SetMigrationSummaries sets the MigrationSummaries field's value.

func (*GetMigrationsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetMigrationsOutput) String

func (s GetMigrationsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetSlotTypeInput

type GetSlotTypeInput struct {

	// The name of the slot type. The name is case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// The version of the slot type.
	//
	// Version is a required field
	Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSlotTypeInput) GoString

func (s GetSlotTypeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypeInput) SetName

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

SetName sets the Name field's value.

func (*GetSlotTypeInput) SetVersion

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

SetVersion sets the Version field's value.

func (GetSlotTypeInput) String

func (s GetSlotTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypeInput) Validate

func (s *GetSlotTypeInput) Validate() error

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

type GetSlotTypeOutput

type GetSlotTypeOutput struct {

	// Checksum of the $LATEST version of the slot type.
	Checksum *string `locationName:"checksum" type:"string"`

	// The date that the slot type was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the slot type.
	Description *string `locationName:"description" type:"string"`

	// A list of EnumerationValue objects that defines the values that the slot
	// type can take.
	EnumerationValues []*EnumerationValue `locationName:"enumerationValues" type:"list"`

	// The date that the slot type was updated. When you create a resource, the
	// creation date and last update date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the slot type.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The built-in slot type used as a parent for the slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" min:"1" type:"string"`

	// Configuration information that extends the parent built-in slot type.
	SlotTypeConfigurations []*SlotTypeConfiguration `locationName:"slotTypeConfigurations" type:"list"`

	// The strategy that Amazon Lex uses to determine the value of the slot. For
	// more information, see PutSlotType.
	ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"`

	// The version of the slot type.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetSlotTypeOutput) GoString

func (s GetSlotTypeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypeOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*GetSlotTypeOutput) SetCreatedDate

func (s *GetSlotTypeOutput) SetCreatedDate(v time.Time) *GetSlotTypeOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetSlotTypeOutput) SetDescription

func (s *GetSlotTypeOutput) SetDescription(v string) *GetSlotTypeOutput

SetDescription sets the Description field's value.

func (*GetSlotTypeOutput) SetEnumerationValues

func (s *GetSlotTypeOutput) SetEnumerationValues(v []*EnumerationValue) *GetSlotTypeOutput

SetEnumerationValues sets the EnumerationValues field's value.

func (*GetSlotTypeOutput) SetLastUpdatedDate

func (s *GetSlotTypeOutput) SetLastUpdatedDate(v time.Time) *GetSlotTypeOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*GetSlotTypeOutput) SetName

SetName sets the Name field's value.

func (*GetSlotTypeOutput) SetParentSlotTypeSignature

func (s *GetSlotTypeOutput) SetParentSlotTypeSignature(v string) *GetSlotTypeOutput

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*GetSlotTypeOutput) SetSlotTypeConfigurations

func (s *GetSlotTypeOutput) SetSlotTypeConfigurations(v []*SlotTypeConfiguration) *GetSlotTypeOutput

SetSlotTypeConfigurations sets the SlotTypeConfigurations field's value.

func (*GetSlotTypeOutput) SetValueSelectionStrategy

func (s *GetSlotTypeOutput) SetValueSelectionStrategy(v string) *GetSlotTypeOutput

SetValueSelectionStrategy sets the ValueSelectionStrategy field's value.

func (*GetSlotTypeOutput) SetVersion

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

SetVersion sets the Version field's value.

func (GetSlotTypeOutput) String

func (s GetSlotTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetSlotTypeVersionsInput

type GetSlotTypeVersionsInput struct {

	// The maximum number of slot type versions to return in the response. The default
	// is 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The name of the slot type for which versions should be returned.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// A pagination token for fetching the next page of slot type versions. If the
	// response to this call is truncated, Amazon Lex returns a pagination token
	// in the response. To fetch the next page of versions, specify the pagination
	// token in the next request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetSlotTypeVersionsInput) GoString

func (s GetSlotTypeVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypeVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetSlotTypeVersionsInput) SetName

SetName sets the Name field's value.

func (*GetSlotTypeVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetSlotTypeVersionsInput) String

func (s GetSlotTypeVersionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypeVersionsInput) Validate

func (s *GetSlotTypeVersionsInput) Validate() error

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

type GetSlotTypeVersionsOutput

type GetSlotTypeVersionsOutput struct {

	// A pagination token for fetching the next page of slot type versions. If the
	// response to this call is truncated, Amazon Lex returns a pagination token
	// in the response. To fetch the next page of versions, specify the pagination
	// token in the next request.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of SlotTypeMetadata objects, one for each numbered version of the
	// slot type plus one for the $LATEST version.
	SlotTypes []*SlotTypeMetadata `locationName:"slotTypes" type:"list"`
	// contains filtered or unexported fields
}

func (GetSlotTypeVersionsOutput) GoString

func (s GetSlotTypeVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypeVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetSlotTypeVersionsOutput) SetSlotTypes

SetSlotTypes sets the SlotTypes field's value.

func (GetSlotTypeVersionsOutput) String

func (s GetSlotTypeVersionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetSlotTypesInput

type GetSlotTypesInput struct {

	// The maximum number of slot types to return in the response. The default is
	// 10.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Substring to match in slot type names. A slot type will be returned if any
	// part of its name matches the substring. For example, "xyz" matches both "xyzabc"
	// and "abcxyz."
	NameContains *string `location:"querystring" locationName:"nameContains" min:"1" 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 next page of slot types, specify the pagination token
	// in the next request.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetSlotTypesInput) GoString

func (s GetSlotTypesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetSlotTypesInput) SetNameContains

func (s *GetSlotTypesInput) SetNameContains(v string) *GetSlotTypesInput

SetNameContains sets the NameContains field's value.

func (*GetSlotTypesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetSlotTypesInput) String

func (s GetSlotTypesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypesInput) Validate

func (s *GetSlotTypesInput) Validate() error

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

type GetSlotTypesOutput

type GetSlotTypesOutput struct {

	// If the response is truncated, it includes a pagination token that you can
	// specify in your next request to fetch the next page of slot types.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects, one for each slot type, that provides information such
	// as the name of the slot type, the version, and a description.
	SlotTypes []*SlotTypeMetadata `locationName:"slotTypes" type:"list"`
	// contains filtered or unexported fields
}

func (GetSlotTypesOutput) GoString

func (s GetSlotTypesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSlotTypesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*GetSlotTypesOutput) SetSlotTypes

SetSlotTypes sets the SlotTypes field's value.

func (GetSlotTypesOutput) String

func (s GetSlotTypesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetUtterancesViewInput

type GetUtterancesViewInput struct {

	// The name of the bot for which utterance information should be returned.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botname" min:"2" type:"string" required:"true"`

	// An array of bot versions for which utterance information should be returned.
	// The limit is 5 versions per request.
	//
	// BotVersions is a required field
	BotVersions []*string `location:"querystring" locationName:"bot_versions" min:"1" type:"list" required:"true"`

	// To return utterances that were recognized and handled, use Detected. To return
	// utterances that were not recognized, use Missed.
	//
	// StatusType is a required field
	StatusType *string `location:"querystring" locationName:"status_type" type:"string" required:"true" enum:"StatusType"`
	// contains filtered or unexported fields
}

func (GetUtterancesViewInput) GoString

func (s GetUtterancesViewInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetUtterancesViewInput) SetBotName

SetBotName sets the BotName field's value.

func (*GetUtterancesViewInput) SetBotVersions

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

SetBotVersions sets the BotVersions field's value.

func (*GetUtterancesViewInput) SetStatusType

SetStatusType sets the StatusType field's value.

func (GetUtterancesViewInput) String

func (s GetUtterancesViewInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetUtterancesViewInput) Validate

func (s *GetUtterancesViewInput) Validate() error

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

type GetUtterancesViewOutput

type GetUtterancesViewOutput struct {

	// The name of the bot for which utterance information was returned.
	BotName *string `locationName:"botName" min:"2" type:"string"`

	// An array of UtteranceList objects, each containing a list of UtteranceData
	// objects describing the utterances that were processed by your bot. The response
	// contains a maximum of 100 UtteranceData objects for each version. Amazon
	// Lex returns the most frequent utterances received by the bot in the last
	// 15 days.
	Utterances []*UtteranceList `locationName:"utterances" type:"list"`
	// contains filtered or unexported fields
}

func (GetUtterancesViewOutput) GoString

func (s GetUtterancesViewOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetUtterancesViewOutput) SetBotName

SetBotName sets the BotName field's value.

func (*GetUtterancesViewOutput) SetUtterances

SetUtterances sets the Utterances field's value.

func (GetUtterancesViewOutput) String

func (s GetUtterancesViewOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InputContext

type InputContext struct {

	// The name of the context.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The name of a context that must be active for an intent to be selected by Amazon Lex.

func (InputContext) GoString

func (s InputContext) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InputContext) SetName

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

SetName sets the Name field's value.

func (InputContext) String

func (s InputContext) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InputContext) Validate

func (s *InputContext) Validate() error

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

type Intent

type Intent struct {

	// The name of the intent.
	//
	// IntentName is a required field
	IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"`

	// The version of the intent.
	//
	// IntentVersion is a required field
	IntentVersion *string `locationName:"intentVersion" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Identifies the specific version of an intent.

func (Intent) GoString

func (s Intent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Intent) SetIntentName

func (s *Intent) SetIntentName(v string) *Intent

SetIntentName sets the IntentName field's value.

func (*Intent) SetIntentVersion

func (s *Intent) SetIntentVersion(v string) *Intent

SetIntentVersion sets the IntentVersion field's value.

func (Intent) String

func (s Intent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Intent) Validate

func (s *Intent) Validate() error

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

type IntentMetadata

type IntentMetadata struct {

	// The date that the intent was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the intent.
	Description *string `locationName:"description" type:"string"`

	// The date that the intent was updated. When you create an intent, the creation
	// date and last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the intent.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The version of the intent.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides information about an intent.

func (IntentMetadata) GoString

func (s IntentMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IntentMetadata) SetCreatedDate

func (s *IntentMetadata) SetCreatedDate(v time.Time) *IntentMetadata

SetCreatedDate sets the CreatedDate field's value.

func (*IntentMetadata) SetDescription

func (s *IntentMetadata) SetDescription(v string) *IntentMetadata

SetDescription sets the Description field's value.

func (*IntentMetadata) SetLastUpdatedDate

func (s *IntentMetadata) SetLastUpdatedDate(v time.Time) *IntentMetadata

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*IntentMetadata) SetName

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

SetName sets the Name field's value.

func (*IntentMetadata) SetVersion

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

SetVersion sets the Version field's value.

func (IntentMetadata) String

func (s IntentMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalFailureException

type InternalFailureException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An internal Amazon Lex error occurred. Try your request again.

func (*InternalFailureException) Code

func (s *InternalFailureException) Code() string

Code returns the exception type name.

func (*InternalFailureException) Error

func (s *InternalFailureException) Error() string

func (InternalFailureException) GoString

func (s InternalFailureException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalFailureException) Message

func (s *InternalFailureException) Message() string

Message returns the exception's message.

func (*InternalFailureException) OrigErr

func (s *InternalFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalFailureException) RequestID

func (s *InternalFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalFailureException) StatusCode

func (s *InternalFailureException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalFailureException) String

func (s InternalFailureException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KendraConfiguration

type KendraConfiguration struct {

	// The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
	// AMAZON.KendraSearchIntent intent to search. The index must be in the same
	// account and Region as the Amazon Lex bot. If the Amazon Kendra index does
	// not exist, you get an exception when you call the PutIntent operation.
	//
	// KendraIndex is a required field
	KendraIndex *string `locationName:"kendraIndex" min:"20" type:"string" required:"true"`

	// A query filter that Amazon Lex sends to Amazon Kendra to filter the response
	// from the query. The filter is in the format defined by Amazon Kendra. For
	// more information, see Filtering queries (http://docs.aws.amazon.com/kendra/latest/dg/filtering.html).
	//
	// You can override this filter string with a new filter string at runtime.
	QueryFilterString *string `locationName:"queryFilterString" type:"string"`

	// The Amazon Resource Name (ARN) of an IAM role that has permission to search
	// the Amazon Kendra index. The role must be in the same account and Region
	// as the Amazon Lex bot. If the role does not exist, you get an exception when
	// you call the PutIntent operation.
	//
	// Role is a required field
	Role *string `locationName:"role" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides configuration information for the AMAZON.KendraSearchIntent intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance. For more information, see AMAZON.KendraSearchIntent (http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html).

func (KendraConfiguration) GoString

func (s KendraConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KendraConfiguration) SetKendraIndex

func (s *KendraConfiguration) SetKendraIndex(v string) *KendraConfiguration

SetKendraIndex sets the KendraIndex field's value.

func (*KendraConfiguration) SetQueryFilterString

func (s *KendraConfiguration) SetQueryFilterString(v string) *KendraConfiguration

SetQueryFilterString sets the QueryFilterString field's value.

func (*KendraConfiguration) SetRole

SetRole sets the Role field's value.

func (KendraConfiguration) String

func (s KendraConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KendraConfiguration) Validate

func (s *KendraConfiguration) Validate() error

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

type LexModelBuildingService

type LexModelBuildingService struct {
	*client.Client
}

LexModelBuildingService provides the API operation methods for making requests to Amazon Lex Model Building Service. See this package's package overview docs for details on the service.

LexModelBuildingService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the LexModelBuildingService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a LexModelBuildingService client from just a session.
svc := lexmodelbuildingservice.New(mySession)

// Create a LexModelBuildingService client with additional configuration
svc := lexmodelbuildingservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*LexModelBuildingService) CreateBotVersion

CreateBotVersion API operation for Amazon Lex Model Building Service.

Creates a new version of the bot based on the $LATEST version. If the $LATEST version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version. It returns the last created version.

You can update only the $LATEST version of the bot. You can't update the numbered versions that you create with the CreateBotVersion operation.

When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro.

This operation requires permission for the lex:CreateBotVersion action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation CreateBotVersion for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion

func (*LexModelBuildingService) CreateBotVersionRequest

func (c *LexModelBuildingService) CreateBotVersionRequest(input *CreateBotVersionInput) (req *request.Request, output *CreateBotVersionOutput)

CreateBotVersionRequest generates a "aws/request.Request" representing the client's request for the CreateBotVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBotVersion for more information on using the CreateBotVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBotVersionRequest method.
req, resp := client.CreateBotVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion

func (*LexModelBuildingService) CreateBotVersionWithContext

func (c *LexModelBuildingService) CreateBotVersionWithContext(ctx aws.Context, input *CreateBotVersionInput, opts ...request.Option) (*CreateBotVersionOutput, error)

CreateBotVersionWithContext is the same as CreateBotVersion with the addition of the ability to pass a context and additional request options.

See CreateBotVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) CreateIntentVersion

CreateIntentVersion API operation for Amazon Lex Model Building Service.

Creates a new version of an intent based on the $LATEST version of the intent. If the $LATEST version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created.

You can update only the $LATEST version of the intent. You can't update the numbered versions that you create with the CreateIntentVersion operation.

When you create a version of an intent, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro.

This operation requires permissions to perform the lex:CreateIntentVersion action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation CreateIntentVersion for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion

func (*LexModelBuildingService) CreateIntentVersionRequest

func (c *LexModelBuildingService) CreateIntentVersionRequest(input *CreateIntentVersionInput) (req *request.Request, output *CreateIntentVersionOutput)

CreateIntentVersionRequest generates a "aws/request.Request" representing the client's request for the CreateIntentVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateIntentVersion for more information on using the CreateIntentVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateIntentVersionRequest method.
req, resp := client.CreateIntentVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion

func (*LexModelBuildingService) CreateIntentVersionWithContext

func (c *LexModelBuildingService) CreateIntentVersionWithContext(ctx aws.Context, input *CreateIntentVersionInput, opts ...request.Option) (*CreateIntentVersionOutput, error)

CreateIntentVersionWithContext is the same as CreateIntentVersion with the addition of the ability to pass a context and additional request options.

See CreateIntentVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) CreateSlotTypeVersion

CreateSlotTypeVersion API operation for Amazon Lex Model Building Service.

Creates a new version of a slot type based on the $LATEST version of the specified slot type. If the $LATEST version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created.

You can update only the $LATEST version of a slot type. You can't update the numbered versions that you create with the CreateSlotTypeVersion operation.

When you create a version of a slot type, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro.

This operation requires permissions for the lex:CreateSlotTypeVersion action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation CreateSlotTypeVersion for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion

func (*LexModelBuildingService) CreateSlotTypeVersionRequest

func (c *LexModelBuildingService) CreateSlotTypeVersionRequest(input *CreateSlotTypeVersionInput) (req *request.Request, output *CreateSlotTypeVersionOutput)

CreateSlotTypeVersionRequest generates a "aws/request.Request" representing the client's request for the CreateSlotTypeVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSlotTypeVersion for more information on using the CreateSlotTypeVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSlotTypeVersionRequest method.
req, resp := client.CreateSlotTypeVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion

func (*LexModelBuildingService) CreateSlotTypeVersionWithContext

func (c *LexModelBuildingService) CreateSlotTypeVersionWithContext(ctx aws.Context, input *CreateSlotTypeVersionInput, opts ...request.Option) (*CreateSlotTypeVersionOutput, error)

CreateSlotTypeVersionWithContext is the same as CreateSlotTypeVersion with the addition of the ability to pass a context and additional request options.

See CreateSlotTypeVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteBot

DeleteBot API operation for Amazon Lex Model Building Service.

Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot operation doesn't immediately remove the bot schema. Instead, it is marked for deletion and removed later.

Amazon Lex stores utterances indefinitely for improving the ability of your bot to respond to user inputs. These utterances are not removed when the bot is deleted. To remove the utterances, use the DeleteUtterances operation.

If a bot has an alias, you can't delete it. Instead, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot operation is successful.

This operation requires permissions for the lex:DeleteBot action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteBot for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot

func (*LexModelBuildingService) DeleteBotAlias

DeleteBotAlias API operation for Amazon Lex Model Building Service.

Deletes an alias for the specified bot.

You can't delete an alias that is used in the association between a bot and a messaging channel. If an alias is used in a channel association, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the channel association that refers to the bot. You can remove the reference to the alias by deleting the channel association. If you get the same exception again, delete the referring association until the DeleteBotAlias operation is successful.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteBotAlias for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAlias

func (*LexModelBuildingService) DeleteBotAliasRequest

func (c *LexModelBuildingService) DeleteBotAliasRequest(input *DeleteBotAliasInput) (req *request.Request, output *DeleteBotAliasOutput)

DeleteBotAliasRequest generates a "aws/request.Request" representing the client's request for the DeleteBotAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBotAlias for more information on using the DeleteBotAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBotAliasRequest method.
req, resp := client.DeleteBotAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAlias

func (*LexModelBuildingService) DeleteBotAliasWithContext

func (c *LexModelBuildingService) DeleteBotAliasWithContext(ctx aws.Context, input *DeleteBotAliasInput, opts ...request.Option) (*DeleteBotAliasOutput, error)

DeleteBotAliasWithContext is the same as DeleteBotAlias with the addition of the ability to pass a context and additional request options.

See DeleteBotAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteBotChannelAssociation

DeleteBotChannelAssociation API operation for Amazon Lex Model Building Service.

Deletes the association between an Amazon Lex bot and a messaging platform.

This operation requires permission for the lex:DeleteBotChannelAssociation action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteBotChannelAssociation for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation

func (*LexModelBuildingService) DeleteBotChannelAssociationRequest

func (c *LexModelBuildingService) DeleteBotChannelAssociationRequest(input *DeleteBotChannelAssociationInput) (req *request.Request, output *DeleteBotChannelAssociationOutput)

DeleteBotChannelAssociationRequest generates a "aws/request.Request" representing the client's request for the DeleteBotChannelAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBotChannelAssociation for more information on using the DeleteBotChannelAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBotChannelAssociationRequest method.
req, resp := client.DeleteBotChannelAssociationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation

func (*LexModelBuildingService) DeleteBotChannelAssociationWithContext

func (c *LexModelBuildingService) DeleteBotChannelAssociationWithContext(ctx aws.Context, input *DeleteBotChannelAssociationInput, opts ...request.Option) (*DeleteBotChannelAssociationOutput, error)

DeleteBotChannelAssociationWithContext is the same as DeleteBotChannelAssociation with the addition of the ability to pass a context and additional request options.

See DeleteBotChannelAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteBotRequest

func (c *LexModelBuildingService) DeleteBotRequest(input *DeleteBotInput) (req *request.Request, output *DeleteBotOutput)

DeleteBotRequest generates a "aws/request.Request" representing the client's request for the DeleteBot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBot for more information on using the DeleteBot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBotRequest method.
req, resp := client.DeleteBotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot

func (*LexModelBuildingService) DeleteBotVersion

DeleteBotVersion API operation for Amazon Lex Model Building Service.

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

This operation requires permissions for the lex:DeleteBotVersion action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteBotVersion for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion

func (*LexModelBuildingService) DeleteBotVersionRequest

func (c *LexModelBuildingService) DeleteBotVersionRequest(input *DeleteBotVersionInput) (req *request.Request, output *DeleteBotVersionOutput)

DeleteBotVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteBotVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBotVersion for more information on using the DeleteBotVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBotVersionRequest method.
req, resp := client.DeleteBotVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion

func (*LexModelBuildingService) DeleteBotVersionWithContext

func (c *LexModelBuildingService) DeleteBotVersionWithContext(ctx aws.Context, input *DeleteBotVersionInput, opts ...request.Option) (*DeleteBotVersionOutput, error)

DeleteBotVersionWithContext is the same as DeleteBotVersion with the addition of the ability to pass a context and additional request options.

See DeleteBotVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteBotWithContext

func (c *LexModelBuildingService) DeleteBotWithContext(ctx aws.Context, input *DeleteBotInput, opts ...request.Option) (*DeleteBotOutput, error)

DeleteBotWithContext is the same as DeleteBot with the addition of the ability to pass a context and additional request options.

See DeleteBot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteIntent

DeleteIntent API operation for Amazon Lex Model Building Service.

Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the DeleteIntentVersion operation.

You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first.

If you get the ResourceInUseException exception, it provides an example reference that shows where the intent is referenced. To remove the reference to the intent, either update the bot or delete it. If you get the same exception when you attempt to delete the intent again, repeat until the intent has no references and the call to DeleteIntent is successful.

This operation requires permission for the lex:DeleteIntent action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteIntent for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent

func (*LexModelBuildingService) DeleteIntentRequest

func (c *LexModelBuildingService) DeleteIntentRequest(input *DeleteIntentInput) (req *request.Request, output *DeleteIntentOutput)

DeleteIntentRequest generates a "aws/request.Request" representing the client's request for the DeleteIntent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteIntent for more information on using the DeleteIntent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteIntentRequest method.
req, resp := client.DeleteIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent

func (*LexModelBuildingService) DeleteIntentVersion

DeleteIntentVersion API operation for Amazon Lex Model Building Service.

Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation.

This operation requires permissions for the lex:DeleteIntentVersion action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteIntentVersion for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion

func (*LexModelBuildingService) DeleteIntentVersionRequest

func (c *LexModelBuildingService) DeleteIntentVersionRequest(input *DeleteIntentVersionInput) (req *request.Request, output *DeleteIntentVersionOutput)

DeleteIntentVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteIntentVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteIntentVersion for more information on using the DeleteIntentVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteIntentVersionRequest method.
req, resp := client.DeleteIntentVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion

func (*LexModelBuildingService) DeleteIntentVersionWithContext

func (c *LexModelBuildingService) DeleteIntentVersionWithContext(ctx aws.Context, input *DeleteIntentVersionInput, opts ...request.Option) (*DeleteIntentVersionOutput, error)

DeleteIntentVersionWithContext is the same as DeleteIntentVersion with the addition of the ability to pass a context and additional request options.

See DeleteIntentVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteIntentWithContext

func (c *LexModelBuildingService) DeleteIntentWithContext(ctx aws.Context, input *DeleteIntentInput, opts ...request.Option) (*DeleteIntentOutput, error)

DeleteIntentWithContext is the same as DeleteIntent with the addition of the ability to pass a context and additional request options.

See DeleteIntent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteSlotType

DeleteSlotType API operation for Amazon Lex Model Building Service.

Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the DeleteSlotTypeVersion operation.

You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first.

If you get the ResourceInUseException exception, the exception provides an example reference that shows the intent where the slot type is referenced. To remove the reference to the slot type, either update the intent or delete it. If you get the same exception when you attempt to delete the slot type again, repeat until the slot type has no references and the DeleteSlotType call is successful.

This operation requires permission for the lex:DeleteSlotType action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteSlotType for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType

func (*LexModelBuildingService) DeleteSlotTypeRequest

func (c *LexModelBuildingService) DeleteSlotTypeRequest(input *DeleteSlotTypeInput) (req *request.Request, output *DeleteSlotTypeOutput)

DeleteSlotTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteSlotType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSlotType for more information on using the DeleteSlotType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSlotTypeRequest method.
req, resp := client.DeleteSlotTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType

func (*LexModelBuildingService) DeleteSlotTypeVersion

DeleteSlotTypeVersion API operation for Amazon Lex Model Building Service.

Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.

This operation requires permissions for the lex:DeleteSlotTypeVersion action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteSlotTypeVersion for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ResourceInUseException The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

    The body of the exception contains a JSON object that describes the resource.

    { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

    "resourceReference": {

    "name": string, "version": string } }

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion

func (*LexModelBuildingService) DeleteSlotTypeVersionRequest

func (c *LexModelBuildingService) DeleteSlotTypeVersionRequest(input *DeleteSlotTypeVersionInput) (req *request.Request, output *DeleteSlotTypeVersionOutput)

DeleteSlotTypeVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteSlotTypeVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSlotTypeVersion for more information on using the DeleteSlotTypeVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSlotTypeVersionRequest method.
req, resp := client.DeleteSlotTypeVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion

func (*LexModelBuildingService) DeleteSlotTypeVersionWithContext

func (c *LexModelBuildingService) DeleteSlotTypeVersionWithContext(ctx aws.Context, input *DeleteSlotTypeVersionInput, opts ...request.Option) (*DeleteSlotTypeVersionOutput, error)

DeleteSlotTypeVersionWithContext is the same as DeleteSlotTypeVersion with the addition of the ability to pass a context and additional request options.

See DeleteSlotTypeVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteSlotTypeWithContext

func (c *LexModelBuildingService) DeleteSlotTypeWithContext(ctx aws.Context, input *DeleteSlotTypeInput, opts ...request.Option) (*DeleteSlotTypeOutput, error)

DeleteSlotTypeWithContext is the same as DeleteSlotType with the addition of the ability to pass a context and additional request options.

See DeleteSlotType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) DeleteUtterances

DeleteUtterances API operation for Amazon Lex Model Building Service.

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the GetUtterancesView operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input.

Use the DeleteUtterances operation to manually delete stored utterances for a specific user. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the GetUtterancesView operation are deleted after 15 days.

This operation requires permissions for the lex:DeleteUtterances action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation DeleteUtterances for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterances

func (*LexModelBuildingService) DeleteUtterancesRequest

func (c *LexModelBuildingService) DeleteUtterancesRequest(input *DeleteUtterancesInput) (req *request.Request, output *DeleteUtterancesOutput)

DeleteUtterancesRequest generates a "aws/request.Request" representing the client's request for the DeleteUtterances operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteUtterances for more information on using the DeleteUtterances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteUtterancesRequest method.
req, resp := client.DeleteUtterancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterances

func (*LexModelBuildingService) DeleteUtterancesWithContext

func (c *LexModelBuildingService) DeleteUtterancesWithContext(ctx aws.Context, input *DeleteUtterancesInput, opts ...request.Option) (*DeleteUtterancesOutput, error)

DeleteUtterancesWithContext is the same as DeleteUtterances with the addition of the ability to pass a context and additional request options.

See DeleteUtterances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBot

func (c *LexModelBuildingService) GetBot(input *GetBotInput) (*GetBotOutput, error)

GetBot API operation for Amazon Lex Model Building Service.

Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias.

This operation requires permissions for the lex:GetBot action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBot for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot

func (*LexModelBuildingService) GetBotAlias

GetBotAlias API operation for Amazon Lex Model Building Service.

Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases.

This operation requires permissions for the lex:GetBotAlias action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBotAlias for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias

func (*LexModelBuildingService) GetBotAliasRequest

func (c *LexModelBuildingService) GetBotAliasRequest(input *GetBotAliasInput) (req *request.Request, output *GetBotAliasOutput)

GetBotAliasRequest generates a "aws/request.Request" representing the client's request for the GetBotAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBotAlias for more information on using the GetBotAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotAliasRequest method.
req, resp := client.GetBotAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias

func (*LexModelBuildingService) GetBotAliasWithContext

func (c *LexModelBuildingService) GetBotAliasWithContext(ctx aws.Context, input *GetBotAliasInput, opts ...request.Option) (*GetBotAliasOutput, error)

GetBotAliasWithContext is the same as GetBotAlias with the addition of the ability to pass a context and additional request options.

See GetBotAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotAliases

GetBotAliases API operation for Amazon Lex Model Building Service.

Returns a list of aliases for a specified Amazon Lex bot.

This operation requires permissions for the lex:GetBotAliases action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBotAliases for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases

func (*LexModelBuildingService) GetBotAliasesPages

func (c *LexModelBuildingService) GetBotAliasesPages(input *GetBotAliasesInput, fn func(*GetBotAliasesOutput, bool) bool) error

GetBotAliasesPages iterates over the pages of a GetBotAliases operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBotAliases method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBotAliases operation.
pageNum := 0
err := client.GetBotAliasesPages(params,
    func(page *lexmodelbuildingservice.GetBotAliasesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetBotAliasesPagesWithContext

func (c *LexModelBuildingService) GetBotAliasesPagesWithContext(ctx aws.Context, input *GetBotAliasesInput, fn func(*GetBotAliasesOutput, bool) bool, opts ...request.Option) error

GetBotAliasesPagesWithContext same as GetBotAliasesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotAliasesRequest

func (c *LexModelBuildingService) GetBotAliasesRequest(input *GetBotAliasesInput) (req *request.Request, output *GetBotAliasesOutput)

GetBotAliasesRequest generates a "aws/request.Request" representing the client's request for the GetBotAliases operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBotAliases for more information on using the GetBotAliases API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotAliasesRequest method.
req, resp := client.GetBotAliasesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases

func (*LexModelBuildingService) GetBotAliasesWithContext

func (c *LexModelBuildingService) GetBotAliasesWithContext(ctx aws.Context, input *GetBotAliasesInput, opts ...request.Option) (*GetBotAliasesOutput, error)

GetBotAliasesWithContext is the same as GetBotAliases with the addition of the ability to pass a context and additional request options.

See GetBotAliases for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotChannelAssociation

GetBotChannelAssociation API operation for Amazon Lex Model Building Service.

Returns information about the association between an Amazon Lex bot and a messaging platform.

This operation requires permissions for the lex:GetBotChannelAssociation action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBotChannelAssociation for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation

func (*LexModelBuildingService) GetBotChannelAssociationRequest

func (c *LexModelBuildingService) GetBotChannelAssociationRequest(input *GetBotChannelAssociationInput) (req *request.Request, output *GetBotChannelAssociationOutput)

GetBotChannelAssociationRequest generates a "aws/request.Request" representing the client's request for the GetBotChannelAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBotChannelAssociation for more information on using the GetBotChannelAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotChannelAssociationRequest method.
req, resp := client.GetBotChannelAssociationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation

func (*LexModelBuildingService) GetBotChannelAssociationWithContext

func (c *LexModelBuildingService) GetBotChannelAssociationWithContext(ctx aws.Context, input *GetBotChannelAssociationInput, opts ...request.Option) (*GetBotChannelAssociationOutput, error)

GetBotChannelAssociationWithContext is the same as GetBotChannelAssociation with the addition of the ability to pass a context and additional request options.

See GetBotChannelAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotChannelAssociations

GetBotChannelAssociations API operation for Amazon Lex Model Building Service.

Returns a list of all of the channels associated with the specified bot.

The GetBotChannelAssociations operation requires permissions for the lex:GetBotChannelAssociations action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBotChannelAssociations for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations

func (*LexModelBuildingService) GetBotChannelAssociationsPages

func (c *LexModelBuildingService) GetBotChannelAssociationsPages(input *GetBotChannelAssociationsInput, fn func(*GetBotChannelAssociationsOutput, bool) bool) error

GetBotChannelAssociationsPages iterates over the pages of a GetBotChannelAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBotChannelAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBotChannelAssociations operation.
pageNum := 0
err := client.GetBotChannelAssociationsPages(params,
    func(page *lexmodelbuildingservice.GetBotChannelAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetBotChannelAssociationsPagesWithContext

func (c *LexModelBuildingService) GetBotChannelAssociationsPagesWithContext(ctx aws.Context, input *GetBotChannelAssociationsInput, fn func(*GetBotChannelAssociationsOutput, bool) bool, opts ...request.Option) error

GetBotChannelAssociationsPagesWithContext same as GetBotChannelAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotChannelAssociationsRequest

func (c *LexModelBuildingService) GetBotChannelAssociationsRequest(input *GetBotChannelAssociationsInput) (req *request.Request, output *GetBotChannelAssociationsOutput)

GetBotChannelAssociationsRequest generates a "aws/request.Request" representing the client's request for the GetBotChannelAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBotChannelAssociations for more information on using the GetBotChannelAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotChannelAssociationsRequest method.
req, resp := client.GetBotChannelAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations

func (*LexModelBuildingService) GetBotChannelAssociationsWithContext

func (c *LexModelBuildingService) GetBotChannelAssociationsWithContext(ctx aws.Context, input *GetBotChannelAssociationsInput, opts ...request.Option) (*GetBotChannelAssociationsOutput, error)

GetBotChannelAssociationsWithContext is the same as GetBotChannelAssociations with the addition of the ability to pass a context and additional request options.

See GetBotChannelAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotRequest

func (c *LexModelBuildingService) GetBotRequest(input *GetBotInput) (req *request.Request, output *GetBotOutput)

GetBotRequest generates a "aws/request.Request" representing the client's request for the GetBot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBot for more information on using the GetBot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotRequest method.
req, resp := client.GetBotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot

func (*LexModelBuildingService) GetBotVersions

GetBotVersions API operation for Amazon Lex Model Building Service.

Gets information about all of the versions of a bot.

The GetBotVersions operation returns a BotMetadata object for each version of a bot. For example, if a bot has three numbered versions, the GetBotVersions operation returns four BotMetadata objects in the response, one for each numbered version and one for the $LATEST version.

The GetBotVersions operation always returns at least one version, the $LATEST version.

This operation requires permissions for the lex:GetBotVersions action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBotVersions for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions

func (*LexModelBuildingService) GetBotVersionsPages

func (c *LexModelBuildingService) GetBotVersionsPages(input *GetBotVersionsInput, fn func(*GetBotVersionsOutput, bool) bool) error

GetBotVersionsPages iterates over the pages of a GetBotVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBotVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBotVersions operation.
pageNum := 0
err := client.GetBotVersionsPages(params,
    func(page *lexmodelbuildingservice.GetBotVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetBotVersionsPagesWithContext

func (c *LexModelBuildingService) GetBotVersionsPagesWithContext(ctx aws.Context, input *GetBotVersionsInput, fn func(*GetBotVersionsOutput, bool) bool, opts ...request.Option) error

GetBotVersionsPagesWithContext same as GetBotVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotVersionsRequest

func (c *LexModelBuildingService) GetBotVersionsRequest(input *GetBotVersionsInput) (req *request.Request, output *GetBotVersionsOutput)

GetBotVersionsRequest generates a "aws/request.Request" representing the client's request for the GetBotVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBotVersions for more information on using the GetBotVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotVersionsRequest method.
req, resp := client.GetBotVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions

func (*LexModelBuildingService) GetBotVersionsWithContext

func (c *LexModelBuildingService) GetBotVersionsWithContext(ctx aws.Context, input *GetBotVersionsInput, opts ...request.Option) (*GetBotVersionsOutput, error)

GetBotVersionsWithContext is the same as GetBotVersions with the addition of the ability to pass a context and additional request options.

See GetBotVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotWithContext

func (c *LexModelBuildingService) GetBotWithContext(ctx aws.Context, input *GetBotInput, opts ...request.Option) (*GetBotOutput, error)

GetBotWithContext is the same as GetBot with the addition of the ability to pass a context and additional request options.

See GetBot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBots

GetBots API operation for Amazon Lex Model Building Service.

Returns bot information as follows:

  • If you provide the nameContains field, the response includes information for the $LATEST version of all bots whose name contains the specified string.

  • If you don't specify the nameContains field, the operation returns information about the $LATEST version of all of your bots.

This operation requires permission for the lex:GetBots action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBots for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBots

func (*LexModelBuildingService) GetBotsPages

func (c *LexModelBuildingService) GetBotsPages(input *GetBotsInput, fn func(*GetBotsOutput, bool) bool) error

GetBotsPages iterates over the pages of a GetBots operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBots method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBots operation.
pageNum := 0
err := client.GetBotsPages(params,
    func(page *lexmodelbuildingservice.GetBotsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetBotsPagesWithContext

func (c *LexModelBuildingService) GetBotsPagesWithContext(ctx aws.Context, input *GetBotsInput, fn func(*GetBotsOutput, bool) bool, opts ...request.Option) error

GetBotsPagesWithContext same as GetBotsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBotsRequest

func (c *LexModelBuildingService) GetBotsRequest(input *GetBotsInput) (req *request.Request, output *GetBotsOutput)

GetBotsRequest generates a "aws/request.Request" representing the client's request for the GetBots operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBots for more information on using the GetBots API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBotsRequest method.
req, resp := client.GetBotsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBots

func (*LexModelBuildingService) GetBotsWithContext

func (c *LexModelBuildingService) GetBotsWithContext(ctx aws.Context, input *GetBotsInput, opts ...request.Option) (*GetBotsOutput, error)

GetBotsWithContext is the same as GetBots with the addition of the ability to pass a context and additional request options.

See GetBots for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBuiltinIntent

GetBuiltinIntent API operation for Amazon Lex Model Building Service.

Returns information about a built-in intent.

This operation requires permission for the lex:GetBuiltinIntent action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBuiltinIntent for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntent

func (*LexModelBuildingService) GetBuiltinIntentRequest

func (c *LexModelBuildingService) GetBuiltinIntentRequest(input *GetBuiltinIntentInput) (req *request.Request, output *GetBuiltinIntentOutput)

GetBuiltinIntentRequest generates a "aws/request.Request" representing the client's request for the GetBuiltinIntent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBuiltinIntent for more information on using the GetBuiltinIntent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBuiltinIntentRequest method.
req, resp := client.GetBuiltinIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntent

func (*LexModelBuildingService) GetBuiltinIntentWithContext

func (c *LexModelBuildingService) GetBuiltinIntentWithContext(ctx aws.Context, input *GetBuiltinIntentInput, opts ...request.Option) (*GetBuiltinIntentOutput, error)

GetBuiltinIntentWithContext is the same as GetBuiltinIntent with the addition of the ability to pass a context and additional request options.

See GetBuiltinIntent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBuiltinIntents

GetBuiltinIntents API operation for Amazon Lex Model Building Service.

Gets a list of built-in intents that meet the specified criteria.

This operation requires permission for the lex:GetBuiltinIntents action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBuiltinIntents for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents

func (*LexModelBuildingService) GetBuiltinIntentsPages

func (c *LexModelBuildingService) GetBuiltinIntentsPages(input *GetBuiltinIntentsInput, fn func(*GetBuiltinIntentsOutput, bool) bool) error

GetBuiltinIntentsPages iterates over the pages of a GetBuiltinIntents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBuiltinIntents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBuiltinIntents operation.
pageNum := 0
err := client.GetBuiltinIntentsPages(params,
    func(page *lexmodelbuildingservice.GetBuiltinIntentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetBuiltinIntentsPagesWithContext

func (c *LexModelBuildingService) GetBuiltinIntentsPagesWithContext(ctx aws.Context, input *GetBuiltinIntentsInput, fn func(*GetBuiltinIntentsOutput, bool) bool, opts ...request.Option) error

GetBuiltinIntentsPagesWithContext same as GetBuiltinIntentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBuiltinIntentsRequest

func (c *LexModelBuildingService) GetBuiltinIntentsRequest(input *GetBuiltinIntentsInput) (req *request.Request, output *GetBuiltinIntentsOutput)

GetBuiltinIntentsRequest generates a "aws/request.Request" representing the client's request for the GetBuiltinIntents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBuiltinIntents for more information on using the GetBuiltinIntents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBuiltinIntentsRequest method.
req, resp := client.GetBuiltinIntentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents

func (*LexModelBuildingService) GetBuiltinIntentsWithContext

func (c *LexModelBuildingService) GetBuiltinIntentsWithContext(ctx aws.Context, input *GetBuiltinIntentsInput, opts ...request.Option) (*GetBuiltinIntentsOutput, error)

GetBuiltinIntentsWithContext is the same as GetBuiltinIntents with the addition of the ability to pass a context and additional request options.

See GetBuiltinIntents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBuiltinSlotTypes

GetBuiltinSlotTypes API operation for Amazon Lex Model Building Service.

Gets a list of built-in slot types that meet the specified criteria.

For a list of built-in slot types, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference) in the Alexa Skills Kit.

This operation requires permission for the lex:GetBuiltInSlotTypes action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetBuiltinSlotTypes for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes

func (*LexModelBuildingService) GetBuiltinSlotTypesPages

func (c *LexModelBuildingService) GetBuiltinSlotTypesPages(input *GetBuiltinSlotTypesInput, fn func(*GetBuiltinSlotTypesOutput, bool) bool) error

GetBuiltinSlotTypesPages iterates over the pages of a GetBuiltinSlotTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBuiltinSlotTypes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBuiltinSlotTypes operation.
pageNum := 0
err := client.GetBuiltinSlotTypesPages(params,
    func(page *lexmodelbuildingservice.GetBuiltinSlotTypesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetBuiltinSlotTypesPagesWithContext

func (c *LexModelBuildingService) GetBuiltinSlotTypesPagesWithContext(ctx aws.Context, input *GetBuiltinSlotTypesInput, fn func(*GetBuiltinSlotTypesOutput, bool) bool, opts ...request.Option) error

GetBuiltinSlotTypesPagesWithContext same as GetBuiltinSlotTypesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetBuiltinSlotTypesRequest

func (c *LexModelBuildingService) GetBuiltinSlotTypesRequest(input *GetBuiltinSlotTypesInput) (req *request.Request, output *GetBuiltinSlotTypesOutput)

GetBuiltinSlotTypesRequest generates a "aws/request.Request" representing the client's request for the GetBuiltinSlotTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBuiltinSlotTypes for more information on using the GetBuiltinSlotTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBuiltinSlotTypesRequest method.
req, resp := client.GetBuiltinSlotTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes

func (*LexModelBuildingService) GetBuiltinSlotTypesWithContext

func (c *LexModelBuildingService) GetBuiltinSlotTypesWithContext(ctx aws.Context, input *GetBuiltinSlotTypesInput, opts ...request.Option) (*GetBuiltinSlotTypesOutput, error)

GetBuiltinSlotTypesWithContext is the same as GetBuiltinSlotTypes with the addition of the ability to pass a context and additional request options.

See GetBuiltinSlotTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetExport

GetExport API operation for Amazon Lex Model Building Service.

Exports the contents of a Amazon Lex resource in a specified format.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetExport for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport

func (*LexModelBuildingService) GetExportRequest

func (c *LexModelBuildingService) GetExportRequest(input *GetExportInput) (req *request.Request, output *GetExportOutput)

GetExportRequest generates a "aws/request.Request" representing the client's request for the GetExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetExport for more information on using the GetExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetExportRequest method.
req, resp := client.GetExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport

func (*LexModelBuildingService) GetExportWithContext

func (c *LexModelBuildingService) GetExportWithContext(ctx aws.Context, input *GetExportInput, opts ...request.Option) (*GetExportOutput, error)

GetExportWithContext is the same as GetExport with the addition of the ability to pass a context and additional request options.

See GetExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetImport

GetImport API operation for Amazon Lex Model Building Service.

Gets information about an import job started with the StartImport operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetImport for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImport

func (*LexModelBuildingService) GetImportRequest

func (c *LexModelBuildingService) GetImportRequest(input *GetImportInput) (req *request.Request, output *GetImportOutput)

GetImportRequest generates a "aws/request.Request" representing the client's request for the GetImport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetImport for more information on using the GetImport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetImportRequest method.
req, resp := client.GetImportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImport

func (*LexModelBuildingService) GetImportWithContext

func (c *LexModelBuildingService) GetImportWithContext(ctx aws.Context, input *GetImportInput, opts ...request.Option) (*GetImportOutput, error)

GetImportWithContext is the same as GetImport with the addition of the ability to pass a context and additional request options.

See GetImport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetIntent

GetIntent API operation for Amazon Lex Model Building Service.

Returns information about an intent. In addition to the intent name, you must specify the intent version.

This operation requires permissions to perform the lex:GetIntent action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetIntent for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent

func (*LexModelBuildingService) GetIntentRequest

func (c *LexModelBuildingService) GetIntentRequest(input *GetIntentInput) (req *request.Request, output *GetIntentOutput)

GetIntentRequest generates a "aws/request.Request" representing the client's request for the GetIntent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntent for more information on using the GetIntent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntentRequest method.
req, resp := client.GetIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent

func (*LexModelBuildingService) GetIntentVersions

GetIntentVersions API operation for Amazon Lex Model Building Service.

Gets information about all of the versions of an intent.

The GetIntentVersions operation returns an IntentMetadata object for each version of an intent. For example, if an intent has three numbered versions, the GetIntentVersions operation returns four IntentMetadata objects in the response, one for each numbered version and one for the $LATEST version.

The GetIntentVersions operation always returns at least one version, the $LATEST version.

This operation requires permissions for the lex:GetIntentVersions action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetIntentVersions for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions

func (*LexModelBuildingService) GetIntentVersionsPages

func (c *LexModelBuildingService) GetIntentVersionsPages(input *GetIntentVersionsInput, fn func(*GetIntentVersionsOutput, bool) bool) error

GetIntentVersionsPages iterates over the pages of a GetIntentVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetIntentVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetIntentVersions operation.
pageNum := 0
err := client.GetIntentVersionsPages(params,
    func(page *lexmodelbuildingservice.GetIntentVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetIntentVersionsPagesWithContext

func (c *LexModelBuildingService) GetIntentVersionsPagesWithContext(ctx aws.Context, input *GetIntentVersionsInput, fn func(*GetIntentVersionsOutput, bool) bool, opts ...request.Option) error

GetIntentVersionsPagesWithContext same as GetIntentVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetIntentVersionsRequest

func (c *LexModelBuildingService) GetIntentVersionsRequest(input *GetIntentVersionsInput) (req *request.Request, output *GetIntentVersionsOutput)

GetIntentVersionsRequest generates a "aws/request.Request" representing the client's request for the GetIntentVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntentVersions for more information on using the GetIntentVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntentVersionsRequest method.
req, resp := client.GetIntentVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions

func (*LexModelBuildingService) GetIntentVersionsWithContext

func (c *LexModelBuildingService) GetIntentVersionsWithContext(ctx aws.Context, input *GetIntentVersionsInput, opts ...request.Option) (*GetIntentVersionsOutput, error)

GetIntentVersionsWithContext is the same as GetIntentVersions with the addition of the ability to pass a context and additional request options.

See GetIntentVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetIntentWithContext

func (c *LexModelBuildingService) GetIntentWithContext(ctx aws.Context, input *GetIntentInput, opts ...request.Option) (*GetIntentOutput, error)

GetIntentWithContext is the same as GetIntent with the addition of the ability to pass a context and additional request options.

See GetIntent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetIntents

GetIntents API operation for Amazon Lex Model Building Service.

Returns intent information as follows:

  • If you specify the nameContains field, returns the $LATEST version of all intents that contain the specified string.

  • If you don't specify the nameContains field, returns information about the $LATEST version of all intents.

The operation requires permission for the lex:GetIntents action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetIntents for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents

func (*LexModelBuildingService) GetIntentsPages

func (c *LexModelBuildingService) GetIntentsPages(input *GetIntentsInput, fn func(*GetIntentsOutput, bool) bool) error

GetIntentsPages iterates over the pages of a GetIntents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetIntents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetIntents operation.
pageNum := 0
err := client.GetIntentsPages(params,
    func(page *lexmodelbuildingservice.GetIntentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetIntentsPagesWithContext

func (c *LexModelBuildingService) GetIntentsPagesWithContext(ctx aws.Context, input *GetIntentsInput, fn func(*GetIntentsOutput, bool) bool, opts ...request.Option) error

GetIntentsPagesWithContext same as GetIntentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetIntentsRequest

func (c *LexModelBuildingService) GetIntentsRequest(input *GetIntentsInput) (req *request.Request, output *GetIntentsOutput)

GetIntentsRequest generates a "aws/request.Request" representing the client's request for the GetIntents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntents for more information on using the GetIntents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntentsRequest method.
req, resp := client.GetIntentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents

func (*LexModelBuildingService) GetIntentsWithContext

func (c *LexModelBuildingService) GetIntentsWithContext(ctx aws.Context, input *GetIntentsInput, opts ...request.Option) (*GetIntentsOutput, error)

GetIntentsWithContext is the same as GetIntents with the addition of the ability to pass a context and additional request options.

See GetIntents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetMigration

GetMigration API operation for Amazon Lex Model Building Service.

Provides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration alerts and warnings related to the migration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetMigration for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigration

func (*LexModelBuildingService) GetMigrationRequest

func (c *LexModelBuildingService) GetMigrationRequest(input *GetMigrationInput) (req *request.Request, output *GetMigrationOutput)

GetMigrationRequest generates a "aws/request.Request" representing the client's request for the GetMigration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMigration for more information on using the GetMigration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMigrationRequest method.
req, resp := client.GetMigrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigration

func (*LexModelBuildingService) GetMigrationWithContext

func (c *LexModelBuildingService) GetMigrationWithContext(ctx aws.Context, input *GetMigrationInput, opts ...request.Option) (*GetMigrationOutput, error)

GetMigrationWithContext is the same as GetMigration with the addition of the ability to pass a context and additional request options.

See GetMigration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetMigrations

GetMigrations API operation for Amazon Lex Model Building Service.

Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetMigrations for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrations

func (*LexModelBuildingService) GetMigrationsPages

func (c *LexModelBuildingService) GetMigrationsPages(input *GetMigrationsInput, fn func(*GetMigrationsOutput, bool) bool) error

GetMigrationsPages iterates over the pages of a GetMigrations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetMigrations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetMigrations operation.
pageNum := 0
err := client.GetMigrationsPages(params,
    func(page *lexmodelbuildingservice.GetMigrationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetMigrationsPagesWithContext

func (c *LexModelBuildingService) GetMigrationsPagesWithContext(ctx aws.Context, input *GetMigrationsInput, fn func(*GetMigrationsOutput, bool) bool, opts ...request.Option) error

GetMigrationsPagesWithContext same as GetMigrationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetMigrationsRequest

func (c *LexModelBuildingService) GetMigrationsRequest(input *GetMigrationsInput) (req *request.Request, output *GetMigrationsOutput)

GetMigrationsRequest generates a "aws/request.Request" representing the client's request for the GetMigrations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMigrations for more information on using the GetMigrations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMigrationsRequest method.
req, resp := client.GetMigrationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrations

func (*LexModelBuildingService) GetMigrationsWithContext

func (c *LexModelBuildingService) GetMigrationsWithContext(ctx aws.Context, input *GetMigrationsInput, opts ...request.Option) (*GetMigrationsOutput, error)

GetMigrationsWithContext is the same as GetMigrations with the addition of the ability to pass a context and additional request options.

See GetMigrations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetSlotType

GetSlotType API operation for Amazon Lex Model Building Service.

Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.

This operation requires permissions for the lex:GetSlotType action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetSlotType for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType

func (*LexModelBuildingService) GetSlotTypeRequest

func (c *LexModelBuildingService) GetSlotTypeRequest(input *GetSlotTypeInput) (req *request.Request, output *GetSlotTypeOutput)

GetSlotTypeRequest generates a "aws/request.Request" representing the client's request for the GetSlotType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSlotType for more information on using the GetSlotType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSlotTypeRequest method.
req, resp := client.GetSlotTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType

func (*LexModelBuildingService) GetSlotTypeVersions

GetSlotTypeVersions API operation for Amazon Lex Model Building Service.

Gets information about all versions of a slot type.

The GetSlotTypeVersions operation returns a SlotTypeMetadata object for each version of a slot type. For example, if a slot type has three numbered versions, the GetSlotTypeVersions operation returns four SlotTypeMetadata objects in the response, one for each numbered version and one for the $LATEST version.

The GetSlotTypeVersions operation always returns at least one version, the $LATEST version.

This operation requires permissions for the lex:GetSlotTypeVersions action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetSlotTypeVersions for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersions

func (*LexModelBuildingService) GetSlotTypeVersionsPages

func (c *LexModelBuildingService) GetSlotTypeVersionsPages(input *GetSlotTypeVersionsInput, fn func(*GetSlotTypeVersionsOutput, bool) bool) error

GetSlotTypeVersionsPages iterates over the pages of a GetSlotTypeVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetSlotTypeVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetSlotTypeVersions operation.
pageNum := 0
err := client.GetSlotTypeVersionsPages(params,
    func(page *lexmodelbuildingservice.GetSlotTypeVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetSlotTypeVersionsPagesWithContext

func (c *LexModelBuildingService) GetSlotTypeVersionsPagesWithContext(ctx aws.Context, input *GetSlotTypeVersionsInput, fn func(*GetSlotTypeVersionsOutput, bool) bool, opts ...request.Option) error

GetSlotTypeVersionsPagesWithContext same as GetSlotTypeVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetSlotTypeVersionsRequest

func (c *LexModelBuildingService) GetSlotTypeVersionsRequest(input *GetSlotTypeVersionsInput) (req *request.Request, output *GetSlotTypeVersionsOutput)

GetSlotTypeVersionsRequest generates a "aws/request.Request" representing the client's request for the GetSlotTypeVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSlotTypeVersions for more information on using the GetSlotTypeVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSlotTypeVersionsRequest method.
req, resp := client.GetSlotTypeVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersions

func (*LexModelBuildingService) GetSlotTypeVersionsWithContext

func (c *LexModelBuildingService) GetSlotTypeVersionsWithContext(ctx aws.Context, input *GetSlotTypeVersionsInput, opts ...request.Option) (*GetSlotTypeVersionsOutput, error)

GetSlotTypeVersionsWithContext is the same as GetSlotTypeVersions with the addition of the ability to pass a context and additional request options.

See GetSlotTypeVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetSlotTypeWithContext

func (c *LexModelBuildingService) GetSlotTypeWithContext(ctx aws.Context, input *GetSlotTypeInput, opts ...request.Option) (*GetSlotTypeOutput, error)

GetSlotTypeWithContext is the same as GetSlotType with the addition of the ability to pass a context and additional request options.

See GetSlotType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetSlotTypes

GetSlotTypes API operation for Amazon Lex Model Building Service.

Returns slot type information as follows:

  • If you specify the nameContains field, returns the $LATEST version of all slot types that contain the specified string.

  • If you don't specify the nameContains field, returns information about the $LATEST version of all slot types.

The operation requires permission for the lex:GetSlotTypes action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetSlotTypes for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypes

func (*LexModelBuildingService) GetSlotTypesPages

func (c *LexModelBuildingService) GetSlotTypesPages(input *GetSlotTypesInput, fn func(*GetSlotTypesOutput, bool) bool) error

GetSlotTypesPages iterates over the pages of a GetSlotTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetSlotTypes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetSlotTypes operation.
pageNum := 0
err := client.GetSlotTypesPages(params,
    func(page *lexmodelbuildingservice.GetSlotTypesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelBuildingService) GetSlotTypesPagesWithContext

func (c *LexModelBuildingService) GetSlotTypesPagesWithContext(ctx aws.Context, input *GetSlotTypesInput, fn func(*GetSlotTypesOutput, bool) bool, opts ...request.Option) error

GetSlotTypesPagesWithContext same as GetSlotTypesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetSlotTypesRequest

func (c *LexModelBuildingService) GetSlotTypesRequest(input *GetSlotTypesInput) (req *request.Request, output *GetSlotTypesOutput)

GetSlotTypesRequest generates a "aws/request.Request" representing the client's request for the GetSlotTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSlotTypes for more information on using the GetSlotTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSlotTypesRequest method.
req, resp := client.GetSlotTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypes

func (*LexModelBuildingService) GetSlotTypesWithContext

func (c *LexModelBuildingService) GetSlotTypesWithContext(ctx aws.Context, input *GetSlotTypesInput, opts ...request.Option) (*GetSlotTypesOutput, error)

GetSlotTypesWithContext is the same as GetSlotTypes with the addition of the ability to pass a context and additional request options.

See GetSlotTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) GetUtterancesView

GetUtterancesView API operation for Amazon Lex Model Building Service.

Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to.

For example, say that you have created a bot to order flowers. After your users have used your bot for a while, use the GetUtterancesView operation to see the requests that they have made and whether they have been successful. You might find that the utterance "I want flowers" is not being recognized. You could add this utterance to the OrderFlowers intent so that your bot recognizes that utterance.

After you publish a new version of a bot, you can get information about the old version and the new so that you can compare the performance across the two versions.

Utterance statistics are generated once a day. Data is available for the last 15 days. You can request information for up to 5 versions of your bot in each request. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days. The response contains information about a maximum of 100 utterances for each version.

If you set childDirected field to true when you created your bot, if you are using slot obfuscation with one or more slots, or if you opted out of participating in improving Amazon Lex, utterances are not available.

This operation requires permissions for the lex:GetUtterancesView action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation GetUtterancesView for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesView

func (*LexModelBuildingService) GetUtterancesViewRequest

func (c *LexModelBuildingService) GetUtterancesViewRequest(input *GetUtterancesViewInput) (req *request.Request, output *GetUtterancesViewOutput)

GetUtterancesViewRequest generates a "aws/request.Request" representing the client's request for the GetUtterancesView operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUtterancesView for more information on using the GetUtterancesView API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUtterancesViewRequest method.
req, resp := client.GetUtterancesViewRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesView

func (*LexModelBuildingService) GetUtterancesViewWithContext

func (c *LexModelBuildingService) GetUtterancesViewWithContext(ctx aws.Context, input *GetUtterancesViewInput, opts ...request.Option) (*GetUtterancesViewOutput, error)

GetUtterancesViewWithContext is the same as GetUtterancesView with the addition of the ability to pass a context and additional request options.

See GetUtterancesView for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) ListTagsForResource

ListTagsForResource API operation for Amazon Lex Model Building Service.

Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can have tags associated with them.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ListTagsForResource

func (*LexModelBuildingService) ListTagsForResourceRequest

func (c *LexModelBuildingService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ListTagsForResource

func (*LexModelBuildingService) ListTagsForResourceWithContext

func (c *LexModelBuildingService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) PutBot

func (c *LexModelBuildingService) PutBot(input *PutBotInput) (*PutBotOutput, error)

PutBot API operation for Amazon Lex Model Building Service.

Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you are only required to specify a name, a locale, and whether the bot is directed toward children under age 13. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with the minimum information, the bot is created or updated but Amazon Lex returns the response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.

If you specify the name of an existing bot, the fields in the request replace the existing values in the $LATEST version of the bot. Amazon Lex removes any fields that you don't provide values for in the request, except for the idleTTLInSeconds and privacySettings fields, which are set to their default values. If you don't specify values for required fields, Amazon Lex throws an exception.

This operation requires permissions for the lex:PutBot action. For more information, see security-iam.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation PutBot for usage and error information.

Returned Error Types:

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot

func (*LexModelBuildingService) PutBotAlias

PutBotAlias API operation for Amazon Lex Model Building Service.

Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases.

This operation requires permissions for the lex:PutBotAlias action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation PutBotAlias for usage and error information.

Returned Error Types:

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias

func (*LexModelBuildingService) PutBotAliasRequest

func (c *LexModelBuildingService) PutBotAliasRequest(input *PutBotAliasInput) (req *request.Request, output *PutBotAliasOutput)

PutBotAliasRequest generates a "aws/request.Request" representing the client's request for the PutBotAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBotAlias for more information on using the PutBotAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBotAliasRequest method.
req, resp := client.PutBotAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias

func (*LexModelBuildingService) PutBotAliasWithContext

func (c *LexModelBuildingService) PutBotAliasWithContext(ctx aws.Context, input *PutBotAliasInput, opts ...request.Option) (*PutBotAliasOutput, error)

PutBotAliasWithContext is the same as PutBotAlias with the addition of the ability to pass a context and additional request options.

See PutBotAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) PutBotRequest

func (c *LexModelBuildingService) PutBotRequest(input *PutBotInput) (req *request.Request, output *PutBotOutput)

PutBotRequest generates a "aws/request.Request" representing the client's request for the PutBot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBot for more information on using the PutBot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBotRequest method.
req, resp := client.PutBotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot

func (*LexModelBuildingService) PutBotWithContext

func (c *LexModelBuildingService) PutBotWithContext(ctx aws.Context, input *PutBotInput, opts ...request.Option) (*PutBotOutput, error)

PutBotWithContext is the same as PutBot with the addition of the ability to pass a context and additional request options.

See PutBot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) PutIntent

PutIntent API operation for Amazon Lex Model Building Service.

Creates an intent or replaces an existing intent.

To define the interaction between the user and your bot, you use one or more intents. For a pizza ordering bot, for example, you would create an OrderPizza intent.

To create an intent or replace an existing intent, you must provide the following:

  • Intent name. For example, OrderPizza.

  • Sample utterances. For example, "Can I order a pizza, please." and "I want to order a pizza."

  • Information to be gathered. You specify slot types for the information that your bot will request from the user. You can specify standard slot types, such as a date or a time, or custom slot types such as the size and crust of a pizza.

  • How the intent will be fulfilled. You can provide a Lambda function or configure the intent to return the intent information to the client application. If you use a Lambda function, when all of the intent information is available, Amazon Lex invokes your Lambda function. If you configure your intent to return the intent information to the client application.

You can specify other optional information in the request, such as:

  • A confirmation prompt to ask the user to confirm an intent. For example, "Shall I order your pizza?"

  • A conclusion statement to send to the user after the intent has been fulfilled. For example, "I placed your pizza order."

  • A follow-up prompt that asks the user for additional activity. For example, asking "Do you want to order a drink with your pizza?"

If you specify an existing intent name to update the intent, Amazon Lex replaces the values in the $LATEST version of the intent with the values in the request. Amazon Lex removes fields that you don't provide in the request. If you don't specify the required fields, Amazon Lex throws an exception. When you update the $LATEST version of an intent, the status field of any bot that uses the $LATEST version of the intent is set to NOT_BUILT.

For more information, see how-it-works.

This operation requires permissions for the lex:PutIntent action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation PutIntent for usage and error information.

Returned Error Types:

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent

func (*LexModelBuildingService) PutIntentRequest

func (c *LexModelBuildingService) PutIntentRequest(input *PutIntentInput) (req *request.Request, output *PutIntentOutput)

PutIntentRequest generates a "aws/request.Request" representing the client's request for the PutIntent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutIntent for more information on using the PutIntent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutIntentRequest method.
req, resp := client.PutIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent

func (*LexModelBuildingService) PutIntentWithContext

func (c *LexModelBuildingService) PutIntentWithContext(ctx aws.Context, input *PutIntentInput, opts ...request.Option) (*PutIntentOutput, error)

PutIntentWithContext is the same as PutIntent with the addition of the ability to pass a context and additional request options.

See PutIntent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) PutSlotType

PutSlotType API operation for Amazon Lex Model Building Service.

Creates a custom slot type or replaces an existing custom slot type.

To create a custom slot type, specify a name for the slot type and a set of enumeration values, which are the values that a slot of this type can assume. For more information, see how-it-works.

If you specify the name of an existing slot type, the fields in the request replace the existing values in the $LATEST version of the slot type. Amazon Lex removes the fields that you don't provide in the request. If you don't specify required fields, Amazon Lex throws an exception. When you update the $LATEST version of a slot type, if a bot uses the $LATEST version of an intent that contains the slot type, the bot's status field is set to NOT_BUILT.

This operation requires permissions for the lex:PutSlotType action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation PutSlotType for usage and error information.

Returned Error Types:

  • ConflictException There was a conflict processing the request. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • PreconditionFailedException The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType

func (*LexModelBuildingService) PutSlotTypeRequest

func (c *LexModelBuildingService) PutSlotTypeRequest(input *PutSlotTypeInput) (req *request.Request, output *PutSlotTypeOutput)

PutSlotTypeRequest generates a "aws/request.Request" representing the client's request for the PutSlotType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutSlotType for more information on using the PutSlotType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutSlotTypeRequest method.
req, resp := client.PutSlotTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType

func (*LexModelBuildingService) PutSlotTypeWithContext

func (c *LexModelBuildingService) PutSlotTypeWithContext(ctx aws.Context, input *PutSlotTypeInput, opts ...request.Option) (*PutSlotTypeOutput, error)

PutSlotTypeWithContext is the same as PutSlotType with the addition of the ability to pass a context and additional request options.

See PutSlotType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) StartImport

StartImport API operation for Amazon Lex Model Building Service.

Starts a job to import a resource to Amazon Lex.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation StartImport for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImport

func (*LexModelBuildingService) StartImportRequest

func (c *LexModelBuildingService) StartImportRequest(input *StartImportInput) (req *request.Request, output *StartImportOutput)

StartImportRequest generates a "aws/request.Request" representing the client's request for the StartImport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartImport for more information on using the StartImport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartImportRequest method.
req, resp := client.StartImportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImport

func (*LexModelBuildingService) StartImportWithContext

func (c *LexModelBuildingService) StartImportWithContext(ctx aws.Context, input *StartImportInput, opts ...request.Option) (*StartImportOutput, error)

StartImportWithContext is the same as StartImport with the addition of the ability to pass a context and additional request options.

See StartImport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) StartMigration

StartMigration API operation for Amazon Lex Model Building Service.

Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when you want to take advantage of the new features of Amazon Lex V2.

For more information, see Migrating a bot (https://docs.aws.amazon.com/lex/latest/dg/migrate.html) in the Amazon Lex developer guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation StartMigration for usage and error information.

Returned Error Types:

  • LimitExceededException The request exceeded a limit. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • AccessDeniedException Your IAM user or role does not have permission to call the Amazon Lex V2 APIs required to migrate your bot.

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartMigration

func (*LexModelBuildingService) StartMigrationRequest

func (c *LexModelBuildingService) StartMigrationRequest(input *StartMigrationInput) (req *request.Request, output *StartMigrationOutput)

StartMigrationRequest generates a "aws/request.Request" representing the client's request for the StartMigration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartMigration for more information on using the StartMigration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartMigrationRequest method.
req, resp := client.StartMigrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartMigration

func (*LexModelBuildingService) StartMigrationWithContext

func (c *LexModelBuildingService) StartMigrationWithContext(ctx aws.Context, input *StartMigrationInput, opts ...request.Option) (*StartMigrationOutput, error)

StartMigrationWithContext is the same as StartMigration with the addition of the ability to pass a context and additional request options.

See StartMigration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) TagResource

TagResource API operation for Amazon Lex Model Building Service.

Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation TagResource for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/TagResource

func (*LexModelBuildingService) TagResourceRequest

func (c *LexModelBuildingService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/TagResource

func (*LexModelBuildingService) TagResourceWithContext

func (c *LexModelBuildingService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LexModelBuildingService) UntagResource

UntagResource API operation for Amazon Lex Model Building Service.

Removes tags from a bot, bot alias or bot channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Lex Model Building Service's API operation UntagResource for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. Check the resource and try again.

  • BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • InternalFailureException An internal Amazon Lex error occurred. Try your request again.

  • LimitExceededException The request exceeded a limit. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UntagResource

func (*LexModelBuildingService) UntagResourceRequest

func (c *LexModelBuildingService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UntagResource

func (*LexModelBuildingService) UntagResourceWithContext

func (c *LexModelBuildingService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type LimitExceededException

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	RetryAfterSeconds *string `location:"header" locationName:"Retry-After" type:"string"`
	// contains filtered or unexported fields
}

The request exceeded a limit. Try your request again.

func (*LimitExceededException) Code

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to get a list of tags for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags associated with a resource.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LogSettingsRequest

type LogSettingsRequest struct {

	// Where the logs will be delivered. Text logs are delivered to a CloudWatch
	// Logs log group. Audio logs are delivered to an S3 bucket.
	//
	// Destination is a required field
	Destination *string `locationName:"destination" type:"string" required:"true" enum:"Destination"`

	// The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting
	// audio logs delivered to an S3 bucket. The key does not apply to CloudWatch
	// Logs and is optional for S3 buckets.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`

	// The type of logging to enable. Text logs are delivered to a CloudWatch Logs
	// log group. Audio logs are delivered to an S3 bucket.
	//
	// LogType is a required field
	LogType *string `locationName:"logType" type:"string" required:"true" enum:"LogType"`

	// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket
	// where the logs should be delivered.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Settings used to configure delivery mode and destination for conversation logs.

func (LogSettingsRequest) GoString

func (s LogSettingsRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LogSettingsRequest) SetDestination

func (s *LogSettingsRequest) SetDestination(v string) *LogSettingsRequest

SetDestination sets the Destination field's value.

func (*LogSettingsRequest) SetKmsKeyArn

func (s *LogSettingsRequest) SetKmsKeyArn(v string) *LogSettingsRequest

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*LogSettingsRequest) SetLogType

func (s *LogSettingsRequest) SetLogType(v string) *LogSettingsRequest

SetLogType sets the LogType field's value.

func (*LogSettingsRequest) SetResourceArn

func (s *LogSettingsRequest) SetResourceArn(v string) *LogSettingsRequest

SetResourceArn sets the ResourceArn field's value.

func (LogSettingsRequest) String

func (s LogSettingsRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LogSettingsRequest) Validate

func (s *LogSettingsRequest) Validate() error

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

type LogSettingsResponse

type LogSettingsResponse struct {

	// The destination where logs are delivered.
	Destination *string `locationName:"destination" type:"string" enum:"Destination"`

	// The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an
	// S3 bucket.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`

	// The type of logging that is enabled.
	LogType *string `locationName:"logType" type:"string" enum:"LogType"`

	// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket
	// where the logs are delivered.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The resource prefix is the first part of the S3 object key within the S3
	// bucket that you specified to contain audio logs. For CloudWatch Logs it is
	// the prefix of the log stream name within the log group that you specified.
	ResourcePrefix *string `locationName:"resourcePrefix" type:"string"`
	// contains filtered or unexported fields
}

The settings for conversation logs.

func (LogSettingsResponse) GoString

func (s LogSettingsResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LogSettingsResponse) SetDestination

func (s *LogSettingsResponse) SetDestination(v string) *LogSettingsResponse

SetDestination sets the Destination field's value.

func (*LogSettingsResponse) SetKmsKeyArn

func (s *LogSettingsResponse) SetKmsKeyArn(v string) *LogSettingsResponse

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*LogSettingsResponse) SetLogType

SetLogType sets the LogType field's value.

func (*LogSettingsResponse) SetResourceArn

func (s *LogSettingsResponse) SetResourceArn(v string) *LogSettingsResponse

SetResourceArn sets the ResourceArn field's value.

func (*LogSettingsResponse) SetResourcePrefix

func (s *LogSettingsResponse) SetResourcePrefix(v string) *LogSettingsResponse

SetResourcePrefix sets the ResourcePrefix field's value.

func (LogSettingsResponse) String

func (s LogSettingsResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Message

type Message struct {

	// The text of the message.
	//
	// Content is a required field
	Content *string `locationName:"content" min:"1" type:"string" required:"true"`

	// The content type of the message string.
	//
	// ContentType is a required field
	ContentType *string `locationName:"contentType" type:"string" required:"true" enum:"ContentType"`

	// Identifies the message group that the message belongs to. When a group is
	// assigned to a message, Amazon Lex returns one message from each group in
	// the response.
	GroupNumber *int64 `locationName:"groupNumber" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The message object that provides the message text and its type.

func (Message) GoString

func (s Message) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Message) SetContent

func (s *Message) SetContent(v string) *Message

SetContent sets the Content field's value.

func (*Message) SetContentType

func (s *Message) SetContentType(v string) *Message

SetContentType sets the ContentType field's value.

func (*Message) SetGroupNumber

func (s *Message) SetGroupNumber(v int64) *Message

SetGroupNumber sets the GroupNumber field's value.

func (Message) String

func (s Message) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Message) Validate

func (s *Message) Validate() error

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

type MigrationAlert

type MigrationAlert struct {

	// Additional details about the alert.
	Details []*string `locationName:"details" type:"list"`

	// A message that describes why the alert was issued.
	Message *string `locationName:"message" type:"string"`

	// A link to the Amazon Lex documentation that describes how to resolve the
	// alert.
	ReferenceURLs []*string `locationName:"referenceURLs" type:"list"`

	// The type of alert. There are two kinds of alerts:
	//
	//    * ERROR - There was an issue with the migration that can't be resolved.
	//    The migration stops.
	//
	//    * WARN - There was an issue with the migration that requires manual changes
	//    to the new Amazon Lex V2 bot. The migration continues.
	Type *string `locationName:"type" type:"string" enum:"MigrationAlertType"`
	// contains filtered or unexported fields
}

Provides information about alerts and warnings that Amazon Lex sends during a migration. The alerts include information about how to resolve the issue.

func (MigrationAlert) GoString

func (s MigrationAlert) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MigrationAlert) SetDetails

func (s *MigrationAlert) SetDetails(v []*string) *MigrationAlert

SetDetails sets the Details field's value.

func (*MigrationAlert) SetMessage

func (s *MigrationAlert) SetMessage(v string) *MigrationAlert

SetMessage sets the Message field's value.

func (*MigrationAlert) SetReferenceURLs

func (s *MigrationAlert) SetReferenceURLs(v []*string) *MigrationAlert

SetReferenceURLs sets the ReferenceURLs field's value.

func (*MigrationAlert) SetType

func (s *MigrationAlert) SetType(v string) *MigrationAlert

SetType sets the Type field's value.

func (MigrationAlert) String

func (s MigrationAlert) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MigrationSummary

type MigrationSummary struct {

	// The unique identifier that Amazon Lex assigned to the migration.
	MigrationId *string `locationName:"migrationId" min:"10" type:"string"`

	// The status of the operation. When the status is COMPLETE the bot is available
	// in Amazon Lex V2. There may be alerts and warnings that need to be resolved
	// to complete the migration.
	MigrationStatus *string `locationName:"migrationStatus" type:"string" enum:"MigrationStatus"`

	// The strategy used to conduct the migration.
	MigrationStrategy *string `locationName:"migrationStrategy" type:"string" enum:"MigrationStrategy"`

	// The date and time that the migration started.
	MigrationTimestamp *time.Time `locationName:"migrationTimestamp" type:"timestamp"`

	// The locale of the Amazon Lex V1 bot that is the source of the migration.
	V1BotLocale *string `locationName:"v1BotLocale" type:"string" enum:"Locale"`

	// The name of the Amazon Lex V1 bot that is the source of the migration.
	V1BotName *string `locationName:"v1BotName" min:"2" type:"string"`

	// The version of the Amazon Lex V1 bot that is the source of the migration.
	V1BotVersion *string `locationName:"v1BotVersion" min:"1" type:"string"`

	// The unique identifier of the Amazon Lex V2 that is the destination of the
	// migration.
	V2BotId *string `locationName:"v2BotId" min:"10" type:"string"`

	// The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
	V2BotRole *string `locationName:"v2BotRole" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Provides information about migrating a bot from Amazon Lex V1 to Amazon Lex V2.

func (MigrationSummary) GoString

func (s MigrationSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MigrationSummary) SetMigrationId

func (s *MigrationSummary) SetMigrationId(v string) *MigrationSummary

SetMigrationId sets the MigrationId field's value.

func (*MigrationSummary) SetMigrationStatus

func (s *MigrationSummary) SetMigrationStatus(v string) *MigrationSummary

SetMigrationStatus sets the MigrationStatus field's value.

func (*MigrationSummary) SetMigrationStrategy

func (s *MigrationSummary) SetMigrationStrategy(v string) *MigrationSummary

SetMigrationStrategy sets the MigrationStrategy field's value.

func (*MigrationSummary) SetMigrationTimestamp

func (s *MigrationSummary) SetMigrationTimestamp(v time.Time) *MigrationSummary

SetMigrationTimestamp sets the MigrationTimestamp field's value.

func (*MigrationSummary) SetV1BotLocale

func (s *MigrationSummary) SetV1BotLocale(v string) *MigrationSummary

SetV1BotLocale sets the V1BotLocale field's value.

func (*MigrationSummary) SetV1BotName

func (s *MigrationSummary) SetV1BotName(v string) *MigrationSummary

SetV1BotName sets the V1BotName field's value.

func (*MigrationSummary) SetV1BotVersion

func (s *MigrationSummary) SetV1BotVersion(v string) *MigrationSummary

SetV1BotVersion sets the V1BotVersion field's value.

func (*MigrationSummary) SetV2BotId

func (s *MigrationSummary) SetV2BotId(v string) *MigrationSummary

SetV2BotId sets the V2BotId field's value.

func (*MigrationSummary) SetV2BotRole

func (s *MigrationSummary) SetV2BotRole(v string) *MigrationSummary

SetV2BotRole sets the V2BotRole field's value.

func (MigrationSummary) String

func (s MigrationSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotFoundException

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource specified in the request was not found. Check the resource and try again.

func (*NotFoundException) Code

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error

func (s *NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotFoundException) Message

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String

func (s NotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OutputContext

type OutputContext struct {

	// The name of the context.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The number of seconds that the context should be active after it is first
	// sent in a PostContent or PostText response. You can set the value between
	// 5 and 86,400 seconds (24 hours).
	//
	// TimeToLiveInSeconds is a required field
	TimeToLiveInSeconds *int64 `locationName:"timeToLiveInSeconds" min:"5" type:"integer" required:"true"`

	// The number of conversation turns that the context should be active. A conversation
	// turn is one PostContent or PostText request and the corresponding response
	// from Amazon Lex.
	//
	// TurnsToLive is a required field
	TurnsToLive *int64 `locationName:"turnsToLive" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

The specification of an output context that is set when an intent is fulfilled.

func (OutputContext) GoString

func (s OutputContext) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OutputContext) SetName

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

SetName sets the Name field's value.

func (*OutputContext) SetTimeToLiveInSeconds

func (s *OutputContext) SetTimeToLiveInSeconds(v int64) *OutputContext

SetTimeToLiveInSeconds sets the TimeToLiveInSeconds field's value.

func (*OutputContext) SetTurnsToLive

func (s *OutputContext) SetTurnsToLive(v int64) *OutputContext

SetTurnsToLive sets the TurnsToLive field's value.

func (OutputContext) String

func (s OutputContext) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OutputContext) Validate

func (s *OutputContext) Validate() error

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

type PreconditionFailedException

type PreconditionFailedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.

func (*PreconditionFailedException) Code

Code returns the exception type name.

func (*PreconditionFailedException) Error

func (PreconditionFailedException) GoString

func (s PreconditionFailedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PreconditionFailedException) Message

func (s *PreconditionFailedException) Message() string

Message returns the exception's message.

func (*PreconditionFailedException) OrigErr

func (s *PreconditionFailedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PreconditionFailedException) RequestID

func (s *PreconditionFailedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PreconditionFailedException) StatusCode

func (s *PreconditionFailedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PreconditionFailedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Prompt

type Prompt struct {

	// The number of times to prompt the user for information.
	//
	// MaxAttempts is a required field
	MaxAttempts *int64 `locationName:"maxAttempts" min:"1" type:"integer" required:"true"`

	// An array of objects, each of which provides a message string and its type.
	// You can specify the message string in plain text or in Speech Synthesis Markup
	// Language (SSML).
	//
	// Messages is a required field
	Messages []*Message `locationName:"messages" min:"1" type:"list" required:"true"`

	// A response card. Amazon Lex uses this prompt at runtime, in the PostText
	// API response. It substitutes session attributes and slot values for placeholders
	// in the response card. For more information, see ex-resp-card.
	ResponseCard *string `locationName:"responseCard" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Obtains information from the user. To define a prompt, provide one or more messages and specify the number of attempts to get information from the user. If you provide more than one message, Amazon Lex chooses one of the messages to use to prompt the user. For more information, see how-it-works.

func (Prompt) GoString

func (s Prompt) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Prompt) SetMaxAttempts

func (s *Prompt) SetMaxAttempts(v int64) *Prompt

SetMaxAttempts sets the MaxAttempts field's value.

func (*Prompt) SetMessages

func (s *Prompt) SetMessages(v []*Message) *Prompt

SetMessages sets the Messages field's value.

func (*Prompt) SetResponseCard

func (s *Prompt) SetResponseCard(v string) *Prompt

SetResponseCard sets the ResponseCard field's value.

func (Prompt) String

func (s Prompt) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Prompt) Validate

func (s *Prompt) Validate() error

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

type PutBotAliasInput

type PutBotAliasInput struct {

	// The name of the bot.
	//
	// BotName is a required field
	BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"`

	// The version of the bot.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"`

	// Identifies a specific revision of the $LATEST version.
	//
	// When you create a new bot alias, leave the checksum field blank. If you specify
	// a checksum you get a BadRequestException exception.
	//
	// When you want to update a bot alias, set the checksum field to the checksum
	// of the most recent revision of the $LATEST version. If you don't specify
	// the checksum field, or if the checksum does not match the $LATEST version,
	// you get a PreconditionFailedException exception.
	Checksum *string `locationName:"checksum" type:"string"`

	// Settings for conversation logs for the alias.
	ConversationLogs *ConversationLogsRequest `locationName:"conversationLogs" type:"structure"`

	// A description of the alias.
	Description *string `locationName:"description" type:"string"`

	// The name of the alias. The name is not case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// A list of tags to add to the bot alias. You can only add tags when you create
	// an alias, you can't use the PutBotAlias operation to update the tags on a
	// bot alias. To update tags, use the TagResource operation.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (PutBotAliasInput) GoString

func (s PutBotAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBotAliasInput) SetBotName

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

SetBotName sets the BotName field's value.

func (*PutBotAliasInput) SetBotVersion

func (s *PutBotAliasInput) SetBotVersion(v string) *PutBotAliasInput

SetBotVersion sets the BotVersion field's value.

func (*PutBotAliasInput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutBotAliasInput) SetConversationLogs

func (s *PutBotAliasInput) SetConversationLogs(v *ConversationLogsRequest) *PutBotAliasInput

SetConversationLogs sets the ConversationLogs field's value.

func (*PutBotAliasInput) SetDescription

func (s *PutBotAliasInput) SetDescription(v string) *PutBotAliasInput

SetDescription sets the Description field's value.

func (*PutBotAliasInput) SetName

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

SetName sets the Name field's value.

func (*PutBotAliasInput) SetTags

func (s *PutBotAliasInput) SetTags(v []*Tag) *PutBotAliasInput

SetTags sets the Tags field's value.

func (PutBotAliasInput) String

func (s PutBotAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBotAliasInput) Validate

func (s *PutBotAliasInput) Validate() error

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

type PutBotAliasOutput

type PutBotAliasOutput struct {

	// The name of the bot that the alias points to.
	BotName *string `locationName:"botName" min:"2" type:"string"`

	// The version of the bot that the alias points to.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The checksum for the current version of the alias.
	Checksum *string `locationName:"checksum" type:"string"`

	// The settings that determine how Amazon Lex uses conversation logs for the
	// alias.
	ConversationLogs *ConversationLogsResponse `locationName:"conversationLogs" type:"structure"`

	// The date that the bot alias was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the alias.
	Description *string `locationName:"description" type:"string"`

	// The date that the bot alias was updated. When you create a resource, the
	// creation date and the last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the alias.
	Name *string `locationName:"name" min:"1" type:"string"`

	// A list of tags associated with a bot.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (PutBotAliasOutput) GoString

func (s PutBotAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBotAliasOutput) SetBotName

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

SetBotName sets the BotName field's value.

func (*PutBotAliasOutput) SetBotVersion

func (s *PutBotAliasOutput) SetBotVersion(v string) *PutBotAliasOutput

SetBotVersion sets the BotVersion field's value.

func (*PutBotAliasOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutBotAliasOutput) SetConversationLogs

func (s *PutBotAliasOutput) SetConversationLogs(v *ConversationLogsResponse) *PutBotAliasOutput

SetConversationLogs sets the ConversationLogs field's value.

func (*PutBotAliasOutput) SetCreatedDate

func (s *PutBotAliasOutput) SetCreatedDate(v time.Time) *PutBotAliasOutput

SetCreatedDate sets the CreatedDate field's value.

func (*PutBotAliasOutput) SetDescription

func (s *PutBotAliasOutput) SetDescription(v string) *PutBotAliasOutput

SetDescription sets the Description field's value.

func (*PutBotAliasOutput) SetLastUpdatedDate

func (s *PutBotAliasOutput) SetLastUpdatedDate(v time.Time) *PutBotAliasOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*PutBotAliasOutput) SetName

SetName sets the Name field's value.

func (*PutBotAliasOutput) SetTags

func (s *PutBotAliasOutput) SetTags(v []*Tag) *PutBotAliasOutput

SetTags sets the Tags field's value.

func (PutBotAliasOutput) String

func (s PutBotAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBotInput

type PutBotInput struct {

	// When Amazon Lex can't understand the user's input in context, it tries to
	// elicit the information a few times. After that, Amazon Lex sends the message
	// defined in abortStatement to the user, and then cancels the conversation.
	// To set the number of retries, use the valueElicitationPrompt field for the
	// slot type.
	//
	// For example, in a pizza ordering bot, Amazon Lex might ask a user "What type
	// of crust would you like?" If the user's response is not one of the expected
	// responses (for example, "thin crust, "deep dish," etc.), Amazon Lex tries
	// to elicit a correct response a few more times.
	//
	// For example, in a pizza ordering application, OrderPizza might be one of
	// the intents. This intent might require the CrustType slot. You specify the
	// valueElicitationPrompt field when you create the CrustType slot.
	//
	// If you have defined a fallback intent the cancel statement will not be sent
	// to the user, the fallback intent is used instead. For more information, see
	// AMAZON.FallbackIntent (https://docs.aws.amazon.com/lex/latest/dg/built-in-intent-fallback.html).
	AbortStatement *Statement `locationName:"abortStatement" type:"structure"`

	// Identifies a specific revision of the $LATEST version.
	//
	// When you create a new bot, leave the checksum field blank. If you specify
	// a checksum you get a BadRequestException exception.
	//
	// When you want to update a bot, set the checksum field to the checksum of
	// the most recent revision of the $LATEST version. If you don't specify the
	// checksum field, or if the checksum does not match the $LATEST version, you
	// get a PreconditionFailedException exception.
	Checksum *string `locationName:"checksum" type:"string"`

	// For each Amazon Lex bot created with the Amazon Lex Model Building Service,
	// you must specify whether your use of Amazon Lex is related to a website,
	// program, or other application that is directed or targeted, in whole or in
	// part, to children under age 13 and subject to the Children's Online Privacy
	// Protection Act (COPPA) by specifying true or false in the childDirected field.
	// By specifying true in the childDirected field, you confirm that your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA. By specifying false in the childDirected field, you confirm
	// that your use of Amazon Lex is not related to a website, program, or other
	// application that is directed or targeted, in whole or in part, to children
	// under age 13 and subject to COPPA. You may not specify a default value for
	// the childDirected field that does not accurately reflect whether your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA.
	//
	// If your use of Amazon Lex relates to a website, program, or other application
	// that is directed in whole or in part, to children under age 13, you must
	// obtain any required verifiable parental consent under COPPA. For information
	// regarding the use of Amazon Lex in connection with websites, programs, or
	// other applications that are directed or targeted, in whole or in part, to
	// children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security)
	//
	// ChildDirected is a required field
	ChildDirected *bool `locationName:"childDirected" type:"boolean" required:"true"`

	// When Amazon Lex doesn't understand the user's intent, it uses this message
	// to get clarification. To specify how many times Amazon Lex should repeat
	// the clarification prompt, use the maxAttempts field. If Amazon Lex still
	// doesn't understand, it sends the message in the abortStatement field.
	//
	// When you create a clarification prompt, make sure that it suggests the correct
	// response from the user. for example, for a bot that orders pizza and drinks,
	// you might create this clarification prompt: "What would you like to do? You
	// can say 'Order a pizza' or 'Order a drink.'"
	//
	// If you have defined a fallback intent, it will be invoked if the clarification
	// prompt is repeated the number of times defined in the maxAttempts field.
	// For more information, see AMAZON.FallbackIntent (https://docs.aws.amazon.com/lex/latest/dg/built-in-intent-fallback.html).
	//
	// If you don't define a clarification prompt, at runtime Amazon Lex will return
	// a 400 Bad Request exception in three cases:
	//
	//    * Follow-up prompt - When the user responds to a follow-up prompt but
	//    does not provide an intent. For example, in response to a follow-up prompt
	//    that says "Would you like anything else today?" the user says "Yes." Amazon
	//    Lex will return a 400 Bad Request exception because it does not have a
	//    clarification prompt to send to the user to get an intent.
	//
	//    * Lambda function - When using a Lambda function, you return an ElicitIntent
	//    dialog type. Since Amazon Lex does not have a clarification prompt to
	//    get an intent from the user, it returns a 400 Bad Request exception.
	//
	//    * PutSession operation - When using the PutSession operation, you send
	//    an ElicitIntent dialog type. Since Amazon Lex does not have a clarification
	//    prompt to get an intent from the user, it returns a 400 Bad Request exception.
	ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"`

	// When set to true a new numbered version of the bot is created. This is the
	// same as calling the CreateBotVersion operation. If you don't specify createVersion,
	// the default is false.
	CreateVersion *bool `locationName:"createVersion" type:"boolean"`

	// A description of the bot.
	Description *string `locationName:"description" type:"string"`

	// When set to true user utterances are sent to Amazon Comprehend for sentiment
	// analysis. If you don't specify detectSentiment, the default is false.
	DetectSentiment *bool `locationName:"detectSentiment" type:"boolean"`

	// Set to true to enable access to natural language understanding improvements.
	//
	// When you set the enableModelImprovements parameter to true you can use the
	// nluIntentConfidenceThreshold parameter to configure confidence scores. For
	// more information, see Confidence Scores (https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html).
	//
	// You can only set the enableModelImprovements parameter in certain Regions.
	// If you set the parameter to true, your bot has access to accuracy improvements.
	//
	// The Regions where you can set the enableModelImprovements parameter to true
	// are:
	//
	//    * US East (N. Virginia) (us-east-1)
	//
	//    * US West (Oregon) (us-west-2)
	//
	//    * Asia Pacific (Sydney) (ap-southeast-2)
	//
	//    * EU (Ireland) (eu-west-1)
	//
	// In other Regions, the enableModelImprovements parameter is set to true by
	// default. In these Regions setting the parameter to false throws a ValidationException
	// exception.
	EnableModelImprovements *bool `locationName:"enableModelImprovements" type:"boolean"`

	// The maximum time in seconds that Amazon Lex retains the data gathered in
	// a conversation.
	//
	// A user interaction session remains active for the amount of time specified.
	// If no conversation occurs during this time, the session expires and Amazon
	// Lex deletes any data provided before the timeout.
	//
	// For example, suppose that a user chooses the OrderPizza intent, but gets
	// sidetracked halfway through placing an order. If the user doesn't complete
	// the order within the specified time, Amazon Lex discards the slot information
	// that it gathered, and the user must start over.
	//
	// If you don't include the idleSessionTTLInSeconds element in a PutBot operation
	// request, Amazon Lex uses the default value. This is also true if the request
	// replaces an existing bot.
	//
	// The default is 300 seconds (5 minutes).
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// An array of Intent objects. Each intent represents a command that a user
	// can express. For example, a pizza ordering bot might support an OrderPizza
	// intent. For more information, see how-it-works.
	Intents []*Intent `locationName:"intents" type:"list"`

	// Specifies the target locale for the bot. Any intent used in the bot must
	// be compatible with the locale of the bot.
	//
	// The default is en-US.
	//
	// Locale is a required field
	Locale *string `locationName:"locale" type:"string" required:"true" enum:"Locale"`

	// The name of the bot. The name is not case sensitive.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"`

	// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,
	// AMAZON.KendraSearchIntent, or both when returning alternative intents in
	// a PostContent (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html)
	// or PostText (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html)
	// response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted
	// if they are configured for the bot.
	//
	// You must set the enableModelImprovements parameter to true to use confidence
	// scores in the following regions.
	//
	//    * US East (N. Virginia) (us-east-1)
	//
	//    * US West (Oregon) (us-west-2)
	//
	//    * Asia Pacific (Sydney) (ap-southeast-2)
	//
	//    * EU (Ireland) (eu-west-1)
	//
	// In other Regions, the enableModelImprovements parameter is set to true by
	// default.
	//
	// For example, suppose a bot is configured with the confidence threshold of
	// 0.80 and the AMAZON.FallbackIntent. Amazon Lex returns three alternative
	// intents with the following confidence scores: IntentA (0.70), IntentB (0.60),
	// IntentC (0.50). The response from the PostText operation would be:
	//
	//    * AMAZON.FallbackIntent
	//
	//    * IntentA
	//
	//    * IntentB
	//
	//    * IntentC
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double"`

	// If you set the processBehavior element to BUILD, Amazon Lex builds the bot
	// so that it can be run. If you set the element to SAVE Amazon Lex saves the
	// bot, but doesn't build it.
	//
	// If you don't specify this value, the default value is BUILD.
	ProcessBehavior *string `locationName:"processBehavior" type:"string" enum:"ProcessBehavior"`

	// A list of tags to add to the bot. You can only add tags when you create a
	// bot, you can't use the PutBot operation to update the tags on a bot. To update
	// tags, use the TagResource operation.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions
	// with the user. The locale configured for the voice must match the locale
	// of the bot. For more information, see Voices in Amazon Polly (https://docs.aws.amazon.com/polly/latest/dg/voicelist.html)
	// in the Amazon Polly Developer Guide.
	VoiceId *string `locationName:"voiceId" type:"string"`
	// contains filtered or unexported fields
}

func (PutBotInput) GoString

func (s PutBotInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBotInput) SetAbortStatement

func (s *PutBotInput) SetAbortStatement(v *Statement) *PutBotInput

SetAbortStatement sets the AbortStatement field's value.

func (*PutBotInput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutBotInput) SetChildDirected

func (s *PutBotInput) SetChildDirected(v bool) *PutBotInput

SetChildDirected sets the ChildDirected field's value.

func (*PutBotInput) SetClarificationPrompt

func (s *PutBotInput) SetClarificationPrompt(v *Prompt) *PutBotInput

SetClarificationPrompt sets the ClarificationPrompt field's value.

func (*PutBotInput) SetCreateVersion

func (s *PutBotInput) SetCreateVersion(v bool) *PutBotInput

SetCreateVersion sets the CreateVersion field's value.

func (*PutBotInput) SetDescription

func (s *PutBotInput) SetDescription(v string) *PutBotInput

SetDescription sets the Description field's value.

func (*PutBotInput) SetDetectSentiment

func (s *PutBotInput) SetDetectSentiment(v bool) *PutBotInput

SetDetectSentiment sets the DetectSentiment field's value.

func (*PutBotInput) SetEnableModelImprovements

func (s *PutBotInput) SetEnableModelImprovements(v bool) *PutBotInput

SetEnableModelImprovements sets the EnableModelImprovements field's value.

func (*PutBotInput) SetIdleSessionTTLInSeconds

func (s *PutBotInput) SetIdleSessionTTLInSeconds(v int64) *PutBotInput

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*PutBotInput) SetIntents

func (s *PutBotInput) SetIntents(v []*Intent) *PutBotInput

SetIntents sets the Intents field's value.

func (*PutBotInput) SetLocale

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

SetLocale sets the Locale field's value.

func (*PutBotInput) SetName

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

SetName sets the Name field's value.

func (*PutBotInput) SetNluIntentConfidenceThreshold

func (s *PutBotInput) SetNluIntentConfidenceThreshold(v float64) *PutBotInput

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*PutBotInput) SetProcessBehavior

func (s *PutBotInput) SetProcessBehavior(v string) *PutBotInput

SetProcessBehavior sets the ProcessBehavior field's value.

func (*PutBotInput) SetTags

func (s *PutBotInput) SetTags(v []*Tag) *PutBotInput

SetTags sets the Tags field's value.

func (*PutBotInput) SetVoiceId

func (s *PutBotInput) SetVoiceId(v string) *PutBotInput

SetVoiceId sets the VoiceId field's value.

func (PutBotInput) String

func (s PutBotInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBotInput) Validate

func (s *PutBotInput) Validate() error

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

type PutBotOutput

type PutBotOutput struct {

	// The message that Amazon Lex uses to cancel a conversation. For more information,
	// see PutBot.
	AbortStatement *Statement `locationName:"abortStatement" type:"structure"`

	// Checksum of the bot that you created.
	Checksum *string `locationName:"checksum" type:"string"`

	// For each Amazon Lex bot created with the Amazon Lex Model Building Service,
	// you must specify whether your use of Amazon Lex is related to a website,
	// program, or other application that is directed or targeted, in whole or in
	// part, to children under age 13 and subject to the Children's Online Privacy
	// Protection Act (COPPA) by specifying true or false in the childDirected field.
	// By specifying true in the childDirected field, you confirm that your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA. By specifying false in the childDirected field, you confirm
	// that your use of Amazon Lex is not related to a website, program, or other
	// application that is directed or targeted, in whole or in part, to children
	// under age 13 and subject to COPPA. You may not specify a default value for
	// the childDirected field that does not accurately reflect whether your use
	// of Amazon Lex is related to a website, program, or other application that
	// is directed or targeted, in whole or in part, to children under age 13 and
	// subject to COPPA.
	//
	// If your use of Amazon Lex relates to a website, program, or other application
	// that is directed in whole or in part, to children under age 13, you must
	// obtain any required verifiable parental consent under COPPA. For information
	// regarding the use of Amazon Lex in connection with websites, programs, or
	// other applications that are directed or targeted, in whole or in part, to
	// children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security)
	ChildDirected *bool `locationName:"childDirected" type:"boolean"`

	// The prompts that Amazon Lex uses when it doesn't understand the user's intent.
	// For more information, see PutBot.
	ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"`

	// True if a new version of the bot was created. If the createVersion field
	// was not specified in the request, the createVersion field is set to false
	// in the response.
	CreateVersion *bool `locationName:"createVersion" type:"boolean"`

	// The date that the bot was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the bot.
	Description *string `locationName:"description" type:"string"`

	// true if the bot is configured to send user utterances to Amazon Comprehend
	// for sentiment analysis. If the detectSentiment field was not specified in
	// the request, the detectSentiment field is false in the response.
	DetectSentiment *bool `locationName:"detectSentiment" type:"boolean"`

	// Indicates whether the bot uses accuracy improvements. true indicates that
	// the bot is using the improvements, otherwise, false.
	EnableModelImprovements *bool `locationName:"enableModelImprovements" type:"boolean"`

	// If status is FAILED, Amazon Lex provides the reason that it failed to build
	// the bot.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The maximum length of time that Amazon Lex retains the data gathered in a
	// conversation. For more information, see PutBot.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// An array of Intent objects. For more information, see PutBot.
	Intents []*Intent `locationName:"intents" type:"list"`

	// The date that the bot was updated. When you create a resource, the creation
	// date and last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The target locale for the bot.
	Locale *string `locationName:"locale" type:"string" enum:"Locale"`

	// The name of the bot.
	Name *string `locationName:"name" min:"2" type:"string"`

	// The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent,
	// AMAZON.KendraSearchIntent, or both when returning alternative intents in
	// a PostContent (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html)
	// or PostText (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html)
	// response. AMAZON.FallbackIntent is inserted if the confidence score for all
	// intents is below this value. AMAZON.KendraSearchIntent is only inserted if
	// it is configured for the bot.
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double"`

	// When you send a request to create a bot with processBehavior set to BUILD,
	// Amazon Lex sets the status response element to BUILDING.
	//
	// In the READY_BASIC_TESTING state you can test the bot with user inputs that
	// exactly match the utterances configured for the bot's intents and values
	// in the slot types.
	//
	// If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED. Amazon
	// Lex returns the reason for the failure in the failureReason response element.
	//
	// When you set processBehavior to SAVE, Amazon Lex sets the status code to
	// NOT BUILT.
	//
	// When the bot is in the READY state you can test and publish the bot.
	Status *string `locationName:"status" type:"string" enum:"Status"`

	// A list of tags associated with the bot.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The version of the bot. For a new bot, the version is always $LATEST.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The Amazon Polly voice ID that Amazon Lex uses for voice interaction with
	// the user. For more information, see PutBot.
	VoiceId *string `locationName:"voiceId" type:"string"`
	// contains filtered or unexported fields
}

func (PutBotOutput) GoString

func (s PutBotOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBotOutput) SetAbortStatement

func (s *PutBotOutput) SetAbortStatement(v *Statement) *PutBotOutput

SetAbortStatement sets the AbortStatement field's value.

func (*PutBotOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutBotOutput) SetChildDirected

func (s *PutBotOutput) SetChildDirected(v bool) *PutBotOutput

SetChildDirected sets the ChildDirected field's value.

func (*PutBotOutput) SetClarificationPrompt

func (s *PutBotOutput) SetClarificationPrompt(v *Prompt) *PutBotOutput

SetClarificationPrompt sets the ClarificationPrompt field's value.

func (*PutBotOutput) SetCreateVersion

func (s *PutBotOutput) SetCreateVersion(v bool) *PutBotOutput

SetCreateVersion sets the CreateVersion field's value.

func (*PutBotOutput) SetCreatedDate

func (s *PutBotOutput) SetCreatedDate(v time.Time) *PutBotOutput

SetCreatedDate sets the CreatedDate field's value.

func (*PutBotOutput) SetDescription

func (s *PutBotOutput) SetDescription(v string) *PutBotOutput

SetDescription sets the Description field's value.

func (*PutBotOutput) SetDetectSentiment

func (s *PutBotOutput) SetDetectSentiment(v bool) *PutBotOutput

SetDetectSentiment sets the DetectSentiment field's value.

func (*PutBotOutput) SetEnableModelImprovements

func (s *PutBotOutput) SetEnableModelImprovements(v bool) *PutBotOutput

SetEnableModelImprovements sets the EnableModelImprovements field's value.

func (*PutBotOutput) SetFailureReason

func (s *PutBotOutput) SetFailureReason(v string) *PutBotOutput

SetFailureReason sets the FailureReason field's value.

func (*PutBotOutput) SetIdleSessionTTLInSeconds

func (s *PutBotOutput) SetIdleSessionTTLInSeconds(v int64) *PutBotOutput

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*PutBotOutput) SetIntents

func (s *PutBotOutput) SetIntents(v []*Intent) *PutBotOutput

SetIntents sets the Intents field's value.

func (*PutBotOutput) SetLastUpdatedDate

func (s *PutBotOutput) SetLastUpdatedDate(v time.Time) *PutBotOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*PutBotOutput) SetLocale

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

SetLocale sets the Locale field's value.

func (*PutBotOutput) SetName

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

SetName sets the Name field's value.

func (*PutBotOutput) SetNluIntentConfidenceThreshold

func (s *PutBotOutput) SetNluIntentConfidenceThreshold(v float64) *PutBotOutput

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*PutBotOutput) SetStatus

func (s *PutBotOutput) SetStatus(v string) *PutBotOutput

SetStatus sets the Status field's value.

func (*PutBotOutput) SetTags

func (s *PutBotOutput) SetTags(v []*Tag) *PutBotOutput

SetTags sets the Tags field's value.

func (*PutBotOutput) SetVersion

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

SetVersion sets the Version field's value.

func (*PutBotOutput) SetVoiceId

func (s *PutBotOutput) SetVoiceId(v string) *PutBotOutput

SetVoiceId sets the VoiceId field's value.

func (PutBotOutput) String

func (s PutBotOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutIntentInput

type PutIntentInput struct {

	// Identifies a specific revision of the $LATEST version.
	//
	// When you create a new intent, leave the checksum field blank. If you specify
	// a checksum you get a BadRequestException exception.
	//
	// When you want to update a intent, set the checksum field to the checksum
	// of the most recent revision of the $LATEST version. If you don't specify
	// the checksum field, or if the checksum does not match the $LATEST version,
	// you get a PreconditionFailedException exception.
	Checksum *string `locationName:"checksum" type:"string"`

	// The statement that you want Amazon Lex to convey to the user after the intent
	// is successfully fulfilled by the Lambda function.
	//
	// This element is relevant only if you provide a Lambda function in the fulfillmentActivity.
	// If you return the intent to the client application, you can't specify this
	// element.
	//
	// The followUpPrompt and conclusionStatement are mutually exclusive. You can
	// specify only one.
	ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"`

	// Prompts the user to confirm the intent. This question should have a yes or
	// no answer.
	//
	// Amazon Lex uses this prompt to ensure that the user acknowledges that the
	// intent is ready for fulfillment. For example, with the OrderPizza intent,
	// you might want to confirm that the order is correct before placing it. For
	// other intents, such as intents that simply respond to user questions, you
	// might not need to ask the user for confirmation before providing the information.
	//
	// You you must provide both the rejectionStatement and the confirmationPrompt,
	// or neither.
	ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"`

	// When set to true a new numbered version of the intent is created. This is
	// the same as calling the CreateIntentVersion operation. If you do not specify
	// createVersion, the default is false.
	CreateVersion *bool `locationName:"createVersion" type:"boolean"`

	// A description of the intent.
	Description *string `locationName:"description" type:"string"`

	// Specifies a Lambda function to invoke for each user input. You can invoke
	// this Lambda function to personalize user interaction.
	//
	// For example, suppose your bot determines that the user is John. Your Lambda
	// function might retrieve John's information from a backend database and prepopulate
	// some of the values. For example, if you find that John is gluten intolerant,
	// you might set the corresponding intent slot, GlutenIntolerant, to true. You
	// might find John's phone number and set the corresponding session attribute.
	DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"`

	// Amazon Lex uses this prompt to solicit additional activity after fulfilling
	// an intent. For example, after the OrderPizza intent is fulfilled, you might
	// prompt the user to order a drink.
	//
	// The action that Amazon Lex takes depends on the user's response, as follows:
	//
	//    * If the user says "Yes" it responds with the clarification prompt that
	//    is configured for the bot.
	//
	//    * if the user says "Yes" and continues with an utterance that triggers
	//    an intent it starts a conversation for the intent.
	//
	//    * If the user says "No" it responds with the rejection statement configured
	//    for the the follow-up prompt.
	//
	//    * If it doesn't recognize the utterance it repeats the follow-up prompt
	//    again.
	//
	// The followUpPrompt field and the conclusionStatement field are mutually exclusive.
	// You can specify only one.
	FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"`

	// Required. Describes how the intent is fulfilled. For example, after a user
	// provides all of the information for a pizza order, fulfillmentActivity defines
	// how the bot places an order with a local pizza store.
	//
	// You might configure Amazon Lex to return all of the intent information to
	// the client application, or direct it to invoke a Lambda function that can
	// process the intent (for example, place an order with a pizzeria).
	FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"`

	// An array of InputContext objects that lists the contexts that must be active
	// for Amazon Lex to choose the intent in a conversation with the user.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// Configuration information required to use the AMAZON.KendraSearchIntent intent
	// to connect to an Amazon Kendra index. For more information, see AMAZON.KendraSearchIntent
	// (http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html).
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The name of the intent. The name is not case sensitive.
	//
	// The name can't match a built-in intent name, or a built-in intent name with
	// "AMAZON." removed. For example, because there is a built-in intent called
	// AMAZON.HelpIntent, you can't create a custom intent called HelpIntent.
	//
	// For a list of built-in intents, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents)
	// in the Alexa Skills Kit.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// An array of OutputContext objects that lists the contexts that the intent
	// activates when the intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// A unique identifier for the built-in intent to base this intent on. To find
	// the signature for an intent, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents)
	// in the Alexa Skills Kit.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// When the user answers "no" to the question defined in confirmationPrompt,
	// Amazon Lex responds with this statement to acknowledge that the intent was
	// canceled.
	//
	// You must provide both the rejectionStatement and the confirmationPrompt,
	// or neither.
	RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"`

	// An array of utterances (strings) that a user might say to signal the intent.
	// For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".
	//
	// In each utterance, a slot name is enclosed in curly braces.
	SampleUtterances []*string `locationName:"sampleUtterances" type:"list"`

	// An array of intent slots. At runtime, Amazon Lex elicits required slot values
	// from the user using prompts defined in the slots. For more information, see
	// how-it-works.
	Slots []*Slot `locationName:"slots" type:"list"`
	// contains filtered or unexported fields
}

func (PutIntentInput) GoString

func (s PutIntentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutIntentInput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutIntentInput) SetConclusionStatement

func (s *PutIntentInput) SetConclusionStatement(v *Statement) *PutIntentInput

SetConclusionStatement sets the ConclusionStatement field's value.

func (*PutIntentInput) SetConfirmationPrompt

func (s *PutIntentInput) SetConfirmationPrompt(v *Prompt) *PutIntentInput

SetConfirmationPrompt sets the ConfirmationPrompt field's value.

func (*PutIntentInput) SetCreateVersion

func (s *PutIntentInput) SetCreateVersion(v bool) *PutIntentInput

SetCreateVersion sets the CreateVersion field's value.

func (*PutIntentInput) SetDescription

func (s *PutIntentInput) SetDescription(v string) *PutIntentInput

SetDescription sets the Description field's value.

func (*PutIntentInput) SetDialogCodeHook

func (s *PutIntentInput) SetDialogCodeHook(v *CodeHook) *PutIntentInput

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*PutIntentInput) SetFollowUpPrompt

func (s *PutIntentInput) SetFollowUpPrompt(v *FollowUpPrompt) *PutIntentInput

SetFollowUpPrompt sets the FollowUpPrompt field's value.

func (*PutIntentInput) SetFulfillmentActivity

func (s *PutIntentInput) SetFulfillmentActivity(v *FulfillmentActivity) *PutIntentInput

SetFulfillmentActivity sets the FulfillmentActivity field's value.

func (*PutIntentInput) SetInputContexts

func (s *PutIntentInput) SetInputContexts(v []*InputContext) *PutIntentInput

SetInputContexts sets the InputContexts field's value.

func (*PutIntentInput) SetKendraConfiguration

func (s *PutIntentInput) SetKendraConfiguration(v *KendraConfiguration) *PutIntentInput

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*PutIntentInput) SetName

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

SetName sets the Name field's value.

func (*PutIntentInput) SetOutputContexts

func (s *PutIntentInput) SetOutputContexts(v []*OutputContext) *PutIntentInput

SetOutputContexts sets the OutputContexts field's value.

func (*PutIntentInput) SetParentIntentSignature

func (s *PutIntentInput) SetParentIntentSignature(v string) *PutIntentInput

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*PutIntentInput) SetRejectionStatement

func (s *PutIntentInput) SetRejectionStatement(v *Statement) *PutIntentInput

SetRejectionStatement sets the RejectionStatement field's value.

func (*PutIntentInput) SetSampleUtterances

func (s *PutIntentInput) SetSampleUtterances(v []*string) *PutIntentInput

SetSampleUtterances sets the SampleUtterances field's value.

func (*PutIntentInput) SetSlots

func (s *PutIntentInput) SetSlots(v []*Slot) *PutIntentInput

SetSlots sets the Slots field's value.

func (PutIntentInput) String

func (s PutIntentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutIntentInput) Validate

func (s *PutIntentInput) Validate() error

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

type PutIntentOutput

type PutIntentOutput struct {

	// Checksum of the $LATESTversion of the intent created or updated.
	Checksum *string `locationName:"checksum" type:"string"`

	// After the Lambda function specified in thefulfillmentActivityintent fulfills
	// the intent, Amazon Lex conveys this statement to the user.
	ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"`

	// If defined in the intent, Amazon Lex prompts the user to confirm the intent
	// before fulfilling it.
	ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"`

	// True if a new version of the intent was created. If the createVersion field
	// was not specified in the request, the createVersion field is set to false
	// in the response.
	CreateVersion *bool `locationName:"createVersion" type:"boolean"`

	// The date that the intent was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the intent.
	Description *string `locationName:"description" type:"string"`

	// If defined in the intent, Amazon Lex invokes this Lambda function for each
	// user input.
	DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"`

	// If defined in the intent, Amazon Lex uses this prompt to solicit additional
	// user activity after the intent is fulfilled.
	FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"`

	// If defined in the intent, Amazon Lex invokes this Lambda function to fulfill
	// the intent after the user provides all of the information required by the
	// intent.
	FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"`

	// An array of InputContext objects that lists the contexts that must be active
	// for Amazon Lex to choose the intent in a conversation with the user.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// Configuration information, if any, required to connect to an Amazon Kendra
	// index and use the AMAZON.KendraSearchIntent intent.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The date that the intent was updated. When you create a resource, the creation
	// date and last update dates are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the intent.
	Name *string `locationName:"name" min:"1" type:"string"`

	// An array of OutputContext objects that lists the contexts that the intent
	// activates when the intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// A unique identifier for the built-in intent that this intent is based on.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// If the user answers "no" to the question defined in confirmationPrompt Amazon
	// Lex responds with this statement to acknowledge that the intent was canceled.
	RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"`

	// An array of sample utterances that are configured for the intent.
	SampleUtterances []*string `locationName:"sampleUtterances" type:"list"`

	// An array of intent slots that are configured for the intent.
	Slots []*Slot `locationName:"slots" type:"list"`

	// The version of the intent. For a new intent, the version is always $LATEST.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutIntentOutput) GoString

func (s PutIntentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutIntentOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutIntentOutput) SetConclusionStatement

func (s *PutIntentOutput) SetConclusionStatement(v *Statement) *PutIntentOutput

SetConclusionStatement sets the ConclusionStatement field's value.

func (*PutIntentOutput) SetConfirmationPrompt

func (s *PutIntentOutput) SetConfirmationPrompt(v *Prompt) *PutIntentOutput

SetConfirmationPrompt sets the ConfirmationPrompt field's value.

func (*PutIntentOutput) SetCreateVersion

func (s *PutIntentOutput) SetCreateVersion(v bool) *PutIntentOutput

SetCreateVersion sets the CreateVersion field's value.

func (*PutIntentOutput) SetCreatedDate

func (s *PutIntentOutput) SetCreatedDate(v time.Time) *PutIntentOutput

SetCreatedDate sets the CreatedDate field's value.

func (*PutIntentOutput) SetDescription

func (s *PutIntentOutput) SetDescription(v string) *PutIntentOutput

SetDescription sets the Description field's value.

func (*PutIntentOutput) SetDialogCodeHook

func (s *PutIntentOutput) SetDialogCodeHook(v *CodeHook) *PutIntentOutput

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*PutIntentOutput) SetFollowUpPrompt

func (s *PutIntentOutput) SetFollowUpPrompt(v *FollowUpPrompt) *PutIntentOutput

SetFollowUpPrompt sets the FollowUpPrompt field's value.

func (*PutIntentOutput) SetFulfillmentActivity

func (s *PutIntentOutput) SetFulfillmentActivity(v *FulfillmentActivity) *PutIntentOutput

SetFulfillmentActivity sets the FulfillmentActivity field's value.

func (*PutIntentOutput) SetInputContexts

func (s *PutIntentOutput) SetInputContexts(v []*InputContext) *PutIntentOutput

SetInputContexts sets the InputContexts field's value.

func (*PutIntentOutput) SetKendraConfiguration

func (s *PutIntentOutput) SetKendraConfiguration(v *KendraConfiguration) *PutIntentOutput

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*PutIntentOutput) SetLastUpdatedDate

func (s *PutIntentOutput) SetLastUpdatedDate(v time.Time) *PutIntentOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*PutIntentOutput) SetName

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

SetName sets the Name field's value.

func (*PutIntentOutput) SetOutputContexts

func (s *PutIntentOutput) SetOutputContexts(v []*OutputContext) *PutIntentOutput

SetOutputContexts sets the OutputContexts field's value.

func (*PutIntentOutput) SetParentIntentSignature

func (s *PutIntentOutput) SetParentIntentSignature(v string) *PutIntentOutput

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*PutIntentOutput) SetRejectionStatement

func (s *PutIntentOutput) SetRejectionStatement(v *Statement) *PutIntentOutput

SetRejectionStatement sets the RejectionStatement field's value.

func (*PutIntentOutput) SetSampleUtterances

func (s *PutIntentOutput) SetSampleUtterances(v []*string) *PutIntentOutput

SetSampleUtterances sets the SampleUtterances field's value.

func (*PutIntentOutput) SetSlots

func (s *PutIntentOutput) SetSlots(v []*Slot) *PutIntentOutput

SetSlots sets the Slots field's value.

func (*PutIntentOutput) SetVersion

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

SetVersion sets the Version field's value.

func (PutIntentOutput) String

func (s PutIntentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutSlotTypeInput

type PutSlotTypeInput struct {

	// Identifies a specific revision of the $LATEST version.
	//
	// When you create a new slot type, leave the checksum field blank. If you specify
	// a checksum you get a BadRequestException exception.
	//
	// When you want to update a slot type, set the checksum field to the checksum
	// of the most recent revision of the $LATEST version. If you don't specify
	// the checksum field, or if the checksum does not match the $LATEST version,
	// you get a PreconditionFailedException exception.
	Checksum *string `locationName:"checksum" type:"string"`

	// When set to true a new numbered version of the slot type is created. This
	// is the same as calling the CreateSlotTypeVersion operation. If you do not
	// specify createVersion, the default is false.
	CreateVersion *bool `locationName:"createVersion" type:"boolean"`

	// A description of the slot type.
	Description *string `locationName:"description" type:"string"`

	// A list of EnumerationValue objects that defines the values that the slot
	// type can take. Each value can have a list of synonyms, which are additional
	// values that help train the machine learning model about the values that it
	// resolves for a slot.
	//
	// A regular expression slot type doesn't require enumeration values. All other
	// slot types require a list of enumeration values.
	//
	// When Amazon Lex resolves a slot value, it generates a resolution list that
	// contains up to five possible values for the slot. If you are using a Lambda
	// function, this resolution list is passed to the function. If you are not
	// using a Lambda function you can choose to return the value that the user
	// entered or the first value in the resolution list as the slot value. The
	// valueSelectionStrategy field indicates the option to use.
	EnumerationValues []*EnumerationValue `locationName:"enumerationValues" type:"list"`

	// The name of the slot type. The name is not case sensitive.
	//
	// The name can't match a built-in slot type name, or a built-in slot type name
	// with "AMAZON." removed. For example, because there is a built-in slot type
	// called AMAZON.DATE, you can't create a custom slot type called DATE.
	//
	// For a list of built-in slot types, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference)
	// in the Alexa Skills Kit.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// The built-in slot type used as the parent of the slot type. When you define
	// a parent slot type, the new slot type has all of the same configuration as
	// the parent.
	//
	// Only AMAZON.AlphaNumeric is supported.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" min:"1" type:"string"`

	// Configuration information that extends the parent built-in slot type. The
	// configuration is added to the settings for the parent slot type.
	SlotTypeConfigurations []*SlotTypeConfiguration `locationName:"slotTypeConfigurations" type:"list"`

	// Determines the slot resolution strategy that Amazon Lex uses to return slot
	// type values. The field can be set to one of the following values:
	//
	//    * ORIGINAL_VALUE - Returns the value entered by the user, if the user
	//    value is similar to the slot value.
	//
	//    * TOP_RESOLUTION - If there is a resolution list for the slot, return
	//    the first value in the resolution list as the slot type value. If there
	//    is no resolution list, null is returned.
	//
	// If you don't specify the valueSelectionStrategy, the default is ORIGINAL_VALUE.
	ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"`
	// contains filtered or unexported fields
}

func (PutSlotTypeInput) GoString

func (s PutSlotTypeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutSlotTypeInput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutSlotTypeInput) SetCreateVersion

func (s *PutSlotTypeInput) SetCreateVersion(v bool) *PutSlotTypeInput

SetCreateVersion sets the CreateVersion field's value.

func (*PutSlotTypeInput) SetDescription

func (s *PutSlotTypeInput) SetDescription(v string) *PutSlotTypeInput

SetDescription sets the Description field's value.

func (*PutSlotTypeInput) SetEnumerationValues

func (s *PutSlotTypeInput) SetEnumerationValues(v []*EnumerationValue) *PutSlotTypeInput

SetEnumerationValues sets the EnumerationValues field's value.

func (*PutSlotTypeInput) SetName

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

SetName sets the Name field's value.

func (*PutSlotTypeInput) SetParentSlotTypeSignature

func (s *PutSlotTypeInput) SetParentSlotTypeSignature(v string) *PutSlotTypeInput

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*PutSlotTypeInput) SetSlotTypeConfigurations

func (s *PutSlotTypeInput) SetSlotTypeConfigurations(v []*SlotTypeConfiguration) *PutSlotTypeInput

SetSlotTypeConfigurations sets the SlotTypeConfigurations field's value.

func (*PutSlotTypeInput) SetValueSelectionStrategy

func (s *PutSlotTypeInput) SetValueSelectionStrategy(v string) *PutSlotTypeInput

SetValueSelectionStrategy sets the ValueSelectionStrategy field's value.

func (PutSlotTypeInput) String

func (s PutSlotTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutSlotTypeInput) Validate

func (s *PutSlotTypeInput) Validate() error

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

type PutSlotTypeOutput

type PutSlotTypeOutput struct {

	// Checksum of the $LATEST version of the slot type.
	Checksum *string `locationName:"checksum" type:"string"`

	// True if a new version of the slot type was created. If the createVersion
	// field was not specified in the request, the createVersion field is set to
	// false in the response.
	CreateVersion *bool `locationName:"createVersion" type:"boolean"`

	// The date that the slot type was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the slot type.
	Description *string `locationName:"description" type:"string"`

	// A list of EnumerationValue objects that defines the values that the slot
	// type can take.
	EnumerationValues []*EnumerationValue `locationName:"enumerationValues" type:"list"`

	// The date that the slot type was updated. When you create a slot type, the
	// creation date and last update date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the slot type.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The built-in slot type used as the parent of the slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" min:"1" type:"string"`

	// Configuration information that extends the parent built-in slot type.
	SlotTypeConfigurations []*SlotTypeConfiguration `locationName:"slotTypeConfigurations" type:"list"`

	// The slot resolution strategy that Amazon Lex uses to determine the value
	// of the slot. For more information, see PutSlotType.
	ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"`

	// The version of the slot type. For a new slot type, the version is always
	// $LATEST.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutSlotTypeOutput) GoString

func (s PutSlotTypeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutSlotTypeOutput) SetChecksum

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

SetChecksum sets the Checksum field's value.

func (*PutSlotTypeOutput) SetCreateVersion

func (s *PutSlotTypeOutput) SetCreateVersion(v bool) *PutSlotTypeOutput

SetCreateVersion sets the CreateVersion field's value.

func (*PutSlotTypeOutput) SetCreatedDate

func (s *PutSlotTypeOutput) SetCreatedDate(v time.Time) *PutSlotTypeOutput

SetCreatedDate sets the CreatedDate field's value.

func (*PutSlotTypeOutput) SetDescription

func (s *PutSlotTypeOutput) SetDescription(v string) *PutSlotTypeOutput

SetDescription sets the Description field's value.

func (*PutSlotTypeOutput) SetEnumerationValues

func (s *PutSlotTypeOutput) SetEnumerationValues(v []*EnumerationValue) *PutSlotTypeOutput

SetEnumerationValues sets the EnumerationValues field's value.

func (*PutSlotTypeOutput) SetLastUpdatedDate

func (s *PutSlotTypeOutput) SetLastUpdatedDate(v time.Time) *PutSlotTypeOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*PutSlotTypeOutput) SetName

SetName sets the Name field's value.

func (*PutSlotTypeOutput) SetParentSlotTypeSignature

func (s *PutSlotTypeOutput) SetParentSlotTypeSignature(v string) *PutSlotTypeOutput

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*PutSlotTypeOutput) SetSlotTypeConfigurations

func (s *PutSlotTypeOutput) SetSlotTypeConfigurations(v []*SlotTypeConfiguration) *PutSlotTypeOutput

SetSlotTypeConfigurations sets the SlotTypeConfigurations field's value.

func (*PutSlotTypeOutput) SetValueSelectionStrategy

func (s *PutSlotTypeOutput) SetValueSelectionStrategy(v string) *PutSlotTypeOutput

SetValueSelectionStrategy sets the ValueSelectionStrategy field's value.

func (*PutSlotTypeOutput) SetVersion

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

SetVersion sets the Version field's value.

func (PutSlotTypeOutput) String

func (s PutSlotTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceInUseException

type ResourceInUseException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// Describes the resource that refers to the resource that you are attempting
	// to delete. This object is returned as part of the ResourceInUseException
	// exception.
	ExampleReference *ResourceReference `locationName:"exampleReference" type:"structure"`

	Message_ *string `locationName:"message" type:"string"`

	ReferenceType *string `locationName:"referenceType" type:"string" enum:"ReferenceType"`
	// contains filtered or unexported fields
}

The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

The body of the exception contains a JSON object that describes the resource.

{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

"resourceReference": {

"name": string, "version": string } }

func (*ResourceInUseException) Code

func (s *ResourceInUseException) Code() string

Code returns the exception type name.

func (*ResourceInUseException) Error

func (s *ResourceInUseException) Error() string

func (ResourceInUseException) GoString

func (s ResourceInUseException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceInUseException) Message

func (s *ResourceInUseException) Message() string

Message returns the exception's message.

func (*ResourceInUseException) OrigErr

func (s *ResourceInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceInUseException) RequestID

func (s *ResourceInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceInUseException) StatusCode

func (s *ResourceInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceInUseException) String

func (s ResourceInUseException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceReference

type ResourceReference struct {

	// The name of the resource that is using the resource that you are trying to
	// delete.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The version of the resource that is using the resource that you are trying
	// to delete.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part of the ResourceInUseException exception.

func (ResourceReference) GoString

func (s ResourceReference) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceReference) SetName

SetName sets the Name field's value.

func (*ResourceReference) SetVersion

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

SetVersion sets the Version field's value.

func (ResourceReference) String

func (s ResourceReference) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Slot

type Slot struct {

	// A list of default values for the slot. Default values are used when Amazon
	// Lex hasn't determined a value for a slot. You can specify default values
	// from context variables, session attributes, and defined values.
	DefaultValueSpec *SlotDefaultValueSpec `locationName:"defaultValueSpec" type:"structure"`

	// A description of the slot.
	Description *string `locationName:"description" type:"string"`

	// The name of the slot.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// Determines whether a slot is obfuscated in conversation logs and stored utterances.
	// When you obfuscate a slot, the value is replaced by the slot name in curly
	// braces ({}). For example, if the slot name is "full_name", obfuscated values
	// are replaced with "{full_name}". For more information, see Slot Obfuscation
	// (https://docs.aws.amazon.com/lex/latest/dg/how-obfuscate.html).
	ObfuscationSetting *string `locationName:"obfuscationSetting" type:"string" enum:"ObfuscationSetting"`

	// Directs Amazon Lex the order in which to elicit this slot value from the
	// user. For example, if the intent has two slots with priorities 1 and 2, AWS
	// Amazon Lex first elicits a value for the slot with priority 1.
	//
	// If multiple slots share the same priority, the order in which Amazon Lex
	// elicits values is arbitrary.
	Priority *int64 `locationName:"priority" type:"integer"`

	// A set of possible responses for the slot type used by text-based clients.
	// A user chooses an option from the response card, instead of using text to
	// reply.
	ResponseCard *string `locationName:"responseCard" min:"1" type:"string"`

	// If you know a specific pattern with which users might respond to an Amazon
	// Lex request for a slot value, you can provide those utterances to improve
	// accuracy. This is optional. In most cases, Amazon Lex is capable of understanding
	// user utterances.
	SampleUtterances []*string `locationName:"sampleUtterances" type:"list"`

	// Specifies whether the slot is required or optional.
	//
	// SlotConstraint is a required field
	SlotConstraint *string `locationName:"slotConstraint" type:"string" required:"true" enum:"SlotConstraint"`

	// The type of the slot, either a custom slot type that you defined or one of
	// the built-in slot types.
	SlotType *string `locationName:"slotType" min:"1" type:"string"`

	// The version of the slot type.
	SlotTypeVersion *string `locationName:"slotTypeVersion" min:"1" type:"string"`

	// The prompt that Amazon Lex uses to elicit the slot value from the user.
	ValueElicitationPrompt *Prompt `locationName:"valueElicitationPrompt" type:"structure"`
	// contains filtered or unexported fields
}

Identifies the version of a specific slot.

func (Slot) GoString

func (s Slot) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Slot) SetDefaultValueSpec

func (s *Slot) SetDefaultValueSpec(v *SlotDefaultValueSpec) *Slot

SetDefaultValueSpec sets the DefaultValueSpec field's value.

func (*Slot) SetDescription

func (s *Slot) SetDescription(v string) *Slot

SetDescription sets the Description field's value.

func (*Slot) SetName

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

SetName sets the Name field's value.

func (*Slot) SetObfuscationSetting

func (s *Slot) SetObfuscationSetting(v string) *Slot

SetObfuscationSetting sets the ObfuscationSetting field's value.

func (*Slot) SetPriority

func (s *Slot) SetPriority(v int64) *Slot

SetPriority sets the Priority field's value.

func (*Slot) SetResponseCard

func (s *Slot) SetResponseCard(v string) *Slot

SetResponseCard sets the ResponseCard field's value.

func (*Slot) SetSampleUtterances

func (s *Slot) SetSampleUtterances(v []*string) *Slot

SetSampleUtterances sets the SampleUtterances field's value.

func (*Slot) SetSlotConstraint

func (s *Slot) SetSlotConstraint(v string) *Slot

SetSlotConstraint sets the SlotConstraint field's value.

func (*Slot) SetSlotType

func (s *Slot) SetSlotType(v string) *Slot

SetSlotType sets the SlotType field's value.

func (*Slot) SetSlotTypeVersion

func (s *Slot) SetSlotTypeVersion(v string) *Slot

SetSlotTypeVersion sets the SlotTypeVersion field's value.

func (*Slot) SetValueElicitationPrompt

func (s *Slot) SetValueElicitationPrompt(v *Prompt) *Slot

SetValueElicitationPrompt sets the ValueElicitationPrompt field's value.

func (Slot) String

func (s Slot) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Slot) Validate

func (s *Slot) Validate() error

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

type SlotDefaultValue

type SlotDefaultValue struct {

	// The default value for the slot. You can specify one of the following:
	//
	//    * #context-name.slot-name - The slot value "slot-name" in the context
	//    "context-name."
	//
	//    * {attribute} - The slot value of the session attribute "attribute."
	//
	//    * 'value' - The discrete value "value."
	//
	// DefaultValue is a required field
	DefaultValue *string `locationName:"defaultValue" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A default value for a slot.

func (SlotDefaultValue) GoString

func (s SlotDefaultValue) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotDefaultValue) SetDefaultValue

func (s *SlotDefaultValue) SetDefaultValue(v string) *SlotDefaultValue

SetDefaultValue sets the DefaultValue field's value.

func (SlotDefaultValue) String

func (s SlotDefaultValue) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotDefaultValue) Validate

func (s *SlotDefaultValue) Validate() error

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

type SlotDefaultValueSpec

type SlotDefaultValueSpec struct {

	// The default values for a slot. You can specify more than one default. For
	// example, you can specify a default value to use from a matching context variable,
	// a session attribute, or a fixed value.
	//
	// The default value chosen is selected based on the order that you specify
	// them in the list. For example, if you specify a context variable and a fixed
	// value in that order, Amazon Lex uses the context variable if it is available,
	// else it uses the fixed value.
	//
	// DefaultValueList is a required field
	DefaultValueList []*SlotDefaultValue `locationName:"defaultValueList" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.

func (SlotDefaultValueSpec) GoString

func (s SlotDefaultValueSpec) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotDefaultValueSpec) SetDefaultValueList

func (s *SlotDefaultValueSpec) SetDefaultValueList(v []*SlotDefaultValue) *SlotDefaultValueSpec

SetDefaultValueList sets the DefaultValueList field's value.

func (SlotDefaultValueSpec) String

func (s SlotDefaultValueSpec) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotDefaultValueSpec) Validate

func (s *SlotDefaultValueSpec) Validate() error

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

type SlotTypeConfiguration

type SlotTypeConfiguration struct {

	// A regular expression used to validate the value of a slot.
	RegexConfiguration *SlotTypeRegexConfiguration `locationName:"regexConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

Provides configuration information for a slot type.

func (SlotTypeConfiguration) GoString

func (s SlotTypeConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotTypeConfiguration) SetRegexConfiguration

SetRegexConfiguration sets the RegexConfiguration field's value.

func (SlotTypeConfiguration) String

func (s SlotTypeConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotTypeConfiguration) Validate

func (s *SlotTypeConfiguration) Validate() error

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

type SlotTypeMetadata

type SlotTypeMetadata struct {

	// The date that the slot type was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// A description of the slot type.
	Description *string `locationName:"description" type:"string"`

	// The date that the slot type was updated. When you create a resource, the
	// creation date and last updated date are the same.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

	// The name of the slot type.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The version of the slot type.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a slot type..

func (SlotTypeMetadata) GoString

func (s SlotTypeMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotTypeMetadata) SetCreatedDate

func (s *SlotTypeMetadata) SetCreatedDate(v time.Time) *SlotTypeMetadata

SetCreatedDate sets the CreatedDate field's value.

func (*SlotTypeMetadata) SetDescription

func (s *SlotTypeMetadata) SetDescription(v string) *SlotTypeMetadata

SetDescription sets the Description field's value.

func (*SlotTypeMetadata) SetLastUpdatedDate

func (s *SlotTypeMetadata) SetLastUpdatedDate(v time.Time) *SlotTypeMetadata

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*SlotTypeMetadata) SetName

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

SetName sets the Name field's value.

func (*SlotTypeMetadata) SetVersion

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

SetVersion sets the Version field's value.

func (SlotTypeMetadata) String

func (s SlotTypeMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SlotTypeRegexConfiguration

type SlotTypeRegexConfiguration struct {

	// A regular expression used to validate the value of a slot.
	//
	// Use a standard regular expression. Amazon Lex supports the following characters
	// in the regular expression:
	//
	//    * A-Z, a-z
	//
	//    * 0-9
	//
	//    * Unicode characters ("\ u<Unicode>")
	//
	// Represent Unicode characters with four digits, for example "\u0041" or "\u005A".
	//
	// The following regular expression operators are not supported:
	//
	//    * Infinite repeaters: *, +, or {x,} with no upper bound.
	//
	//    * Wild card (.)
	//
	// Pattern is a required field
	Pattern *string `locationName:"pattern" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides a regular expression used to validate the value of a slot.

func (SlotTypeRegexConfiguration) GoString

func (s SlotTypeRegexConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotTypeRegexConfiguration) SetPattern

SetPattern sets the Pattern field's value.

func (SlotTypeRegexConfiguration) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlotTypeRegexConfiguration) Validate

func (s *SlotTypeRegexConfiguration) Validate() error

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

type StartImportInput

type StartImportInput struct {

	// Specifies the action that the StartImport operation should take when there
	// is an existing resource with the same name.
	//
	//    * FAIL_ON_CONFLICT - The import operation is stopped on the first conflict
	//    between a resource in the import file and an existing resource. The name
	//    of the resource causing the conflict is in the failureReason field of
	//    the response to the GetImport operation. OVERWRITE_LATEST - The import
	//    operation proceeds even if there is a conflict with an existing resource.
	//    The $LASTEST version of the existing resource is overwritten with the
	//    data from the import file.
	//
	// MergeStrategy is a required field
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" required:"true" enum:"MergeStrategy"`

	// A zip archive in binary format. The archive should contain one file, a JSON
	// file containing the resource to import. The resource should match the type
	// specified in the resourceType field.
	// Payload is automatically base64 encoded/decoded by the SDK.
	//
	// Payload is a required field
	Payload []byte `locationName:"payload" type:"blob" required:"true"`

	// Specifies the type of resource to export. Each resource also exports any
	// resources that it depends on.
	//
	//    * A bot exports dependent intents.
	//
	//    * An intent exports dependent slot types.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

	// A list of tags to add to the imported bot. You can only add tags when you
	// import a bot, you can't add tags to an intent or slot type.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (StartImportInput) GoString

func (s StartImportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartImportInput) SetMergeStrategy

func (s *StartImportInput) SetMergeStrategy(v string) *StartImportInput

SetMergeStrategy sets the MergeStrategy field's value.

func (*StartImportInput) SetPayload

func (s *StartImportInput) SetPayload(v []byte) *StartImportInput

SetPayload sets the Payload field's value.

func (*StartImportInput) SetResourceType

func (s *StartImportInput) SetResourceType(v string) *StartImportInput

SetResourceType sets the ResourceType field's value.

func (*StartImportInput) SetTags

func (s *StartImportInput) SetTags(v []*Tag) *StartImportInput

SetTags sets the Tags field's value.

func (StartImportInput) String

func (s StartImportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartImportInput) Validate

func (s *StartImportInput) Validate() error

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

type StartImportOutput

type StartImportOutput struct {

	// A timestamp for the date and time that the import job was requested.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

	// The identifier for the specific import job.
	ImportId *string `locationName:"importId" type:"string"`

	// The status of the import job. If the status is FAILED, you can get the reason
	// for the failure using the GetImport operation.
	ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"`

	// The action to take when there is a merge conflict.
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" enum:"MergeStrategy"`

	// The name given to the import job.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The type of resource to import.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`

	// A list of tags added to the imported bot.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (StartImportOutput) GoString

func (s StartImportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartImportOutput) SetCreatedDate

func (s *StartImportOutput) SetCreatedDate(v time.Time) *StartImportOutput

SetCreatedDate sets the CreatedDate field's value.

func (*StartImportOutput) SetImportId

func (s *StartImportOutput) SetImportId(v string) *StartImportOutput

SetImportId sets the ImportId field's value.

func (*StartImportOutput) SetImportStatus

func (s *StartImportOutput) SetImportStatus(v string) *StartImportOutput

SetImportStatus sets the ImportStatus field's value.

func (*StartImportOutput) SetMergeStrategy

func (s *StartImportOutput) SetMergeStrategy(v string) *StartImportOutput

SetMergeStrategy sets the MergeStrategy field's value.

func (*StartImportOutput) SetName

SetName sets the Name field's value.

func (*StartImportOutput) SetResourceType

func (s *StartImportOutput) SetResourceType(v string) *StartImportOutput

SetResourceType sets the ResourceType field's value.

func (*StartImportOutput) SetTags

func (s *StartImportOutput) SetTags(v []*Tag) *StartImportOutput

SetTags sets the Tags field's value.

func (StartImportOutput) String

func (s StartImportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartMigrationInput

type StartMigrationInput struct {

	// The strategy used to conduct the migration.
	//
	//    * CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon
	//    Lex V1 bot to the new bot.
	//
	//    * UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata
	//    and the locale being migrated. It doesn't change any other locales in
	//    the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is created
	//    in the Amazon Lex V2 bot.
	//
	// MigrationStrategy is a required field
	MigrationStrategy *string `locationName:"migrationStrategy" type:"string" required:"true" enum:"MigrationStrategy"`

	// The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
	//
	// V1BotName is a required field
	V1BotName *string `locationName:"v1BotName" min:"2" type:"string" required:"true"`

	// The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST
	// version as well as any numbered version.
	//
	// V1BotVersion is a required field
	V1BotVersion *string `locationName:"v1BotVersion" min:"1" type:"string" required:"true"`

	// The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1
	// bot to.
	//
	//    * If the Amazon Lex V2 bot doesn't exist, you must use the CREATE_NEW
	//    migration strategy.
	//
	//    * If the Amazon Lex V2 bot exists, you must use the UPDATE_EXISTING migration
	//    strategy to change the contents of the Amazon Lex V2 bot.
	//
	// V2BotName is a required field
	V2BotName *string `locationName:"v2BotName" min:"1" type:"string" required:"true"`

	// The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
	//
	// V2BotRole is a required field
	V2BotRole *string `locationName:"v2BotRole" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartMigrationInput) GoString

func (s StartMigrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMigrationInput) SetMigrationStrategy

func (s *StartMigrationInput) SetMigrationStrategy(v string) *StartMigrationInput

SetMigrationStrategy sets the MigrationStrategy field's value.

func (*StartMigrationInput) SetV1BotName

func (s *StartMigrationInput) SetV1BotName(v string) *StartMigrationInput

SetV1BotName sets the V1BotName field's value.

func (*StartMigrationInput) SetV1BotVersion

func (s *StartMigrationInput) SetV1BotVersion(v string) *StartMigrationInput

SetV1BotVersion sets the V1BotVersion field's value.

func (*StartMigrationInput) SetV2BotName

func (s *StartMigrationInput) SetV2BotName(v string) *StartMigrationInput

SetV2BotName sets the V2BotName field's value.

func (*StartMigrationInput) SetV2BotRole

func (s *StartMigrationInput) SetV2BotRole(v string) *StartMigrationInput

SetV2BotRole sets the V2BotRole field's value.

func (StartMigrationInput) String

func (s StartMigrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMigrationInput) Validate

func (s *StartMigrationInput) Validate() error

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

type StartMigrationOutput

type StartMigrationOutput struct {

	// The unique identifier that Amazon Lex assigned to the migration.
	MigrationId *string `locationName:"migrationId" min:"10" type:"string"`

	// The strategy used to conduct the migration.
	MigrationStrategy *string `locationName:"migrationStrategy" type:"string" enum:"MigrationStrategy"`

	// The date and time that the migration started.
	MigrationTimestamp *time.Time `locationName:"migrationTimestamp" type:"timestamp"`

	// The locale used for the Amazon Lex V1 bot.
	V1BotLocale *string `locationName:"v1BotLocale" type:"string" enum:"Locale"`

	// The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
	V1BotName *string `locationName:"v1BotName" min:"2" type:"string"`

	// The version of the bot to migrate to Amazon Lex V2.
	V1BotVersion *string `locationName:"v1BotVersion" min:"1" type:"string"`

	// The unique identifier for the Amazon Lex V2 bot.
	V2BotId *string `locationName:"v2BotId" min:"10" type:"string"`

	// The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
	V2BotRole *string `locationName:"v2BotRole" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (StartMigrationOutput) GoString

func (s StartMigrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMigrationOutput) SetMigrationId

func (s *StartMigrationOutput) SetMigrationId(v string) *StartMigrationOutput

SetMigrationId sets the MigrationId field's value.

func (*StartMigrationOutput) SetMigrationStrategy

func (s *StartMigrationOutput) SetMigrationStrategy(v string) *StartMigrationOutput

SetMigrationStrategy sets the MigrationStrategy field's value.

func (*StartMigrationOutput) SetMigrationTimestamp

func (s *StartMigrationOutput) SetMigrationTimestamp(v time.Time) *StartMigrationOutput

SetMigrationTimestamp sets the MigrationTimestamp field's value.

func (*StartMigrationOutput) SetV1BotLocale

func (s *StartMigrationOutput) SetV1BotLocale(v string) *StartMigrationOutput

SetV1BotLocale sets the V1BotLocale field's value.

func (*StartMigrationOutput) SetV1BotName

func (s *StartMigrationOutput) SetV1BotName(v string) *StartMigrationOutput

SetV1BotName sets the V1BotName field's value.

func (*StartMigrationOutput) SetV1BotVersion

func (s *StartMigrationOutput) SetV1BotVersion(v string) *StartMigrationOutput

SetV1BotVersion sets the V1BotVersion field's value.

func (*StartMigrationOutput) SetV2BotId

SetV2BotId sets the V2BotId field's value.

func (*StartMigrationOutput) SetV2BotRole

func (s *StartMigrationOutput) SetV2BotRole(v string) *StartMigrationOutput

SetV2BotRole sets the V2BotRole field's value.

func (StartMigrationOutput) String

func (s StartMigrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Statement

type Statement struct {

	// A collection of message objects.
	//
	// Messages is a required field
	Messages []*Message `locationName:"messages" min:"1" type:"list" required:"true"`

	// At runtime, if the client is using the PostText (http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html)
	// API, Amazon Lex includes the response card in the response. It substitutes
	// all of the session attributes and slot values for placeholders in the response
	// card.
	ResponseCard *string `locationName:"responseCard" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.

func (Statement) GoString

func (s Statement) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Statement) SetMessages

func (s *Statement) SetMessages(v []*Message) *Statement

SetMessages sets the Messages field's value.

func (*Statement) SetResponseCard

func (s *Statement) SetResponseCard(v string) *Statement

SetResponseCard sets the ResponseCard field's value.

func (Statement) String

func (s Statement) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Statement) Validate

func (s *Statement) Validate() error

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

type Tag

type Tag struct {

	// The key for the tag. Keys are not case-sensitive and must be unique.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The value associated with a key. The value may be an empty string but it
	// can't be null.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A list of key/value pairs that identify a bot, bot alias, or bot channel. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// A list of tag keys to add to the resource. If a tag key already exists, the
	// existing value is replaced with the new value.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to remove the tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// A list of tag keys to remove from the resource. If a tag key does not exist
	// on the resource, it is ignored.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UtteranceData

type UtteranceData struct {

	// The number of times that the utterance was processed.
	Count *int64 `locationName:"count" type:"integer"`

	// The total number of individuals that used the utterance.
	DistinctUsers *int64 `locationName:"distinctUsers" type:"integer"`

	// The date that the utterance was first recorded.
	FirstUtteredDate *time.Time `locationName:"firstUtteredDate" type:"timestamp"`

	// The date that the utterance was last recorded.
	LastUtteredDate *time.Time `locationName:"lastUtteredDate" type:"timestamp"`

	// The text that was entered by the user or the text representation of an audio
	// clip.
	UtteranceString *string `locationName:"utteranceString" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a single utterance that was made to your bot.

func (UtteranceData) GoString

func (s UtteranceData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UtteranceData) SetCount

func (s *UtteranceData) SetCount(v int64) *UtteranceData

SetCount sets the Count field's value.

func (*UtteranceData) SetDistinctUsers

func (s *UtteranceData) SetDistinctUsers(v int64) *UtteranceData

SetDistinctUsers sets the DistinctUsers field's value.

func (*UtteranceData) SetFirstUtteredDate

func (s *UtteranceData) SetFirstUtteredDate(v time.Time) *UtteranceData

SetFirstUtteredDate sets the FirstUtteredDate field's value.

func (*UtteranceData) SetLastUtteredDate

func (s *UtteranceData) SetLastUtteredDate(v time.Time) *UtteranceData

SetLastUtteredDate sets the LastUtteredDate field's value.

func (*UtteranceData) SetUtteranceString

func (s *UtteranceData) SetUtteranceString(v string) *UtteranceData

SetUtteranceString sets the UtteranceString field's value.

func (UtteranceData) String

func (s UtteranceData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UtteranceList

type UtteranceList struct {

	// The version of the bot that processed the list.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// One or more UtteranceData objects that contain information about the utterances
	// that have been made to a bot. The maximum number of object is 100.
	Utterances []*UtteranceData `locationName:"utterances" type:"list"`
	// contains filtered or unexported fields
}

Provides a list of utterances that have been made to a specific version of your bot. The list contains a maximum of 100 utterances.

func (UtteranceList) GoString

func (s UtteranceList) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UtteranceList) SetBotVersion

func (s *UtteranceList) SetBotVersion(v string) *UtteranceList

SetBotVersion sets the BotVersion field's value.

func (*UtteranceList) SetUtterances

func (s *UtteranceList) SetUtterances(v []*UtteranceData) *UtteranceList

SetUtterances sets the Utterances field's value.

func (UtteranceList) String

func (s UtteranceList) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package lexmodelbuildingserviceiface provides an interface to enable mocking the Amazon Lex Model Building Service service client for testing your code.
Package lexmodelbuildingserviceiface provides an interface to enable mocking the Amazon Lex Model Building Service service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL