lexmodelsv2

package
v1.44.279 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 14

Documentation

Overview

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

See https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07 for more information on this service.

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

Using the Client

To contact Amazon Lex Model Building V2 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 V2 client LexModelsV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelsv2/#New

Index

Constants

View Source
const (
	// AggregatedUtterancesFilterOperatorCo is a AggregatedUtterancesFilterOperator enum value
	AggregatedUtterancesFilterOperatorCo = "CO"

	// AggregatedUtterancesFilterOperatorEq is a AggregatedUtterancesFilterOperator enum value
	AggregatedUtterancesFilterOperatorEq = "EQ"
)
View Source
const (
	// AggregatedUtterancesSortAttributeHitCount is a AggregatedUtterancesSortAttribute enum value
	AggregatedUtterancesSortAttributeHitCount = "HitCount"

	// AggregatedUtterancesSortAttributeMissedCount is a AggregatedUtterancesSortAttribute enum value
	AggregatedUtterancesSortAttributeMissedCount = "MissedCount"
)
View Source
const (
	// AssociatedTranscriptFilterNameIntentId is a AssociatedTranscriptFilterName enum value
	AssociatedTranscriptFilterNameIntentId = "IntentId"

	// AssociatedTranscriptFilterNameSlotTypeId is a AssociatedTranscriptFilterName enum value
	AssociatedTranscriptFilterNameSlotTypeId = "SlotTypeId"
)
View Source
const (
	// BotAliasStatusCreating is a BotAliasStatus enum value
	BotAliasStatusCreating = "Creating"

	// BotAliasStatusAvailable is a BotAliasStatus enum value
	BotAliasStatusAvailable = "Available"

	// BotAliasStatusDeleting is a BotAliasStatus enum value
	BotAliasStatusDeleting = "Deleting"

	// BotAliasStatusFailed is a BotAliasStatus enum value
	BotAliasStatusFailed = "Failed"
)
View Source
const (
	// BotFilterNameBotName is a BotFilterName enum value
	BotFilterNameBotName = "BotName"

	// BotFilterNameBotType is a BotFilterName enum value
	BotFilterNameBotType = "BotType"
)
View Source
const (
	// BotFilterOperatorCo is a BotFilterOperator enum value
	BotFilterOperatorCo = "CO"

	// BotFilterOperatorEq is a BotFilterOperator enum value
	BotFilterOperatorEq = "EQ"

	// BotFilterOperatorNe is a BotFilterOperator enum value
	BotFilterOperatorNe = "NE"
)
View Source
const (
	// BotLocaleFilterOperatorCo is a BotLocaleFilterOperator enum value
	BotLocaleFilterOperatorCo = "CO"

	// BotLocaleFilterOperatorEq is a BotLocaleFilterOperator enum value
	BotLocaleFilterOperatorEq = "EQ"
)
View Source
const (
	// BotLocaleStatusCreating is a BotLocaleStatus enum value
	BotLocaleStatusCreating = "Creating"

	// BotLocaleStatusBuilding is a BotLocaleStatus enum value
	BotLocaleStatusBuilding = "Building"

	// BotLocaleStatusBuilt is a BotLocaleStatus enum value
	BotLocaleStatusBuilt = "Built"

	// BotLocaleStatusReadyExpressTesting is a BotLocaleStatus enum value
	BotLocaleStatusReadyExpressTesting = "ReadyExpressTesting"

	// BotLocaleStatusFailed is a BotLocaleStatus enum value
	BotLocaleStatusFailed = "Failed"

	// BotLocaleStatusDeleting is a BotLocaleStatus enum value
	BotLocaleStatusDeleting = "Deleting"

	// BotLocaleStatusNotBuilt is a BotLocaleStatus enum value
	BotLocaleStatusNotBuilt = "NotBuilt"

	// BotLocaleStatusImporting is a BotLocaleStatus enum value
	BotLocaleStatusImporting = "Importing"

	// BotLocaleStatusProcessing is a BotLocaleStatus enum value
	BotLocaleStatusProcessing = "Processing"
)
View Source
const (
	// BotRecommendationStatusProcessing is a BotRecommendationStatus enum value
	BotRecommendationStatusProcessing = "Processing"

	// BotRecommendationStatusDeleting is a BotRecommendationStatus enum value
	BotRecommendationStatusDeleting = "Deleting"

	// BotRecommendationStatusDeleted is a BotRecommendationStatus enum value
	BotRecommendationStatusDeleted = "Deleted"

	// BotRecommendationStatusDownloading is a BotRecommendationStatus enum value
	BotRecommendationStatusDownloading = "Downloading"

	// BotRecommendationStatusUpdating is a BotRecommendationStatus enum value
	BotRecommendationStatusUpdating = "Updating"

	// BotRecommendationStatusAvailable is a BotRecommendationStatus enum value
	BotRecommendationStatusAvailable = "Available"

	// BotRecommendationStatusFailed is a BotRecommendationStatus enum value
	BotRecommendationStatusFailed = "Failed"

	// BotRecommendationStatusStopping is a BotRecommendationStatus enum value
	BotRecommendationStatusStopping = "Stopping"

	// BotRecommendationStatusStopped is a BotRecommendationStatus enum value
	BotRecommendationStatusStopped = "Stopped"
)
View Source
const (
	// BotStatusCreating is a BotStatus enum value
	BotStatusCreating = "Creating"

	// BotStatusAvailable is a BotStatus enum value
	BotStatusAvailable = "Available"

	// BotStatusInactive is a BotStatus enum value
	BotStatusInactive = "Inactive"

	// BotStatusDeleting is a BotStatus enum value
	BotStatusDeleting = "Deleting"

	// BotStatusFailed is a BotStatus enum value
	BotStatusFailed = "Failed"

	// BotStatusVersioning is a BotStatus enum value
	BotStatusVersioning = "Versioning"

	// BotStatusImporting is a BotStatus enum value
	BotStatusImporting = "Importing"

	// BotStatusUpdating is a BotStatus enum value
	BotStatusUpdating = "Updating"
)
View Source
const (
	// BotTypeBot is a BotType enum value
	BotTypeBot = "Bot"

	// BotTypeBotNetwork is a BotType enum value
	BotTypeBotNetwork = "BotNetwork"
)
View Source
const (
	// ConversationLogsInputModeFilterSpeech is a ConversationLogsInputModeFilter enum value
	ConversationLogsInputModeFilterSpeech = "Speech"

	// ConversationLogsInputModeFilterText is a ConversationLogsInputModeFilter enum value
	ConversationLogsInputModeFilterText = "Text"
)
View Source
const (
	// CustomVocabularyStatusReady is a CustomVocabularyStatus enum value
	CustomVocabularyStatusReady = "Ready"

	// CustomVocabularyStatusDeleting is a CustomVocabularyStatus enum value
	CustomVocabularyStatusDeleting = "Deleting"

	// CustomVocabularyStatusExporting is a CustomVocabularyStatus enum value
	CustomVocabularyStatusExporting = "Exporting"

	// CustomVocabularyStatusImporting is a CustomVocabularyStatus enum value
	CustomVocabularyStatusImporting = "Importing"

	// CustomVocabularyStatusCreating is a CustomVocabularyStatus enum value
	CustomVocabularyStatusCreating = "Creating"
)
View Source
const (
	// DialogActionTypeElicitIntent is a DialogActionType enum value
	DialogActionTypeElicitIntent = "ElicitIntent"

	// DialogActionTypeStartIntent is a DialogActionType enum value
	DialogActionTypeStartIntent = "StartIntent"

	// DialogActionTypeElicitSlot is a DialogActionType enum value
	DialogActionTypeElicitSlot = "ElicitSlot"

	// DialogActionTypeEvaluateConditional is a DialogActionType enum value
	DialogActionTypeEvaluateConditional = "EvaluateConditional"

	// DialogActionTypeInvokeDialogCodeHook is a DialogActionType enum value
	DialogActionTypeInvokeDialogCodeHook = "InvokeDialogCodeHook"

	// DialogActionTypeConfirmIntent is a DialogActionType enum value
	DialogActionTypeConfirmIntent = "ConfirmIntent"

	// DialogActionTypeFulfillIntent is a DialogActionType enum value
	DialogActionTypeFulfillIntent = "FulfillIntent"

	// DialogActionTypeCloseIntent is a DialogActionType enum value
	DialogActionTypeCloseIntent = "CloseIntent"

	// DialogActionTypeEndConversation is a DialogActionType enum value
	DialogActionTypeEndConversation = "EndConversation"
)
View Source
const (
	// EffectAllow is a Effect enum value
	EffectAllow = "Allow"

	// EffectDeny is a Effect enum value
	EffectDeny = "Deny"
)
View Source
const (
	// ErrorCodeDuplicateInput is a ErrorCode enum value
	ErrorCodeDuplicateInput = "DUPLICATE_INPUT"

	// ErrorCodeResourceDoesNotExist is a ErrorCode enum value
	ErrorCodeResourceDoesNotExist = "RESOURCE_DOES_NOT_EXIST"

	// ErrorCodeResourceAlreadyExists is a ErrorCode enum value
	ErrorCodeResourceAlreadyExists = "RESOURCE_ALREADY_EXISTS"

	// ErrorCodeInternalServerFailure is a ErrorCode enum value
	ErrorCodeInternalServerFailure = "INTERNAL_SERVER_FAILURE"
)
View Source
const (
	// ExportFilterOperatorCo is a ExportFilterOperator enum value
	ExportFilterOperatorCo = "CO"

	// ExportFilterOperatorEq is a ExportFilterOperator enum value
	ExportFilterOperatorEq = "EQ"
)
View Source
const (
	// ExportStatusInProgress is a ExportStatus enum value
	ExportStatusInProgress = "InProgress"

	// ExportStatusCompleted is a ExportStatus enum value
	ExportStatusCompleted = "Completed"

	// ExportStatusFailed is a ExportStatus enum value
	ExportStatusFailed = "Failed"

	// ExportStatusDeleting is a ExportStatus enum value
	ExportStatusDeleting = "Deleting"
)
View Source
const (
	// ImportExportFileFormatLexJson is a ImportExportFileFormat enum value
	ImportExportFileFormatLexJson = "LexJson"

	// ImportExportFileFormatTsv is a ImportExportFileFormat enum value
	ImportExportFileFormatTsv = "TSV"

	// ImportExportFileFormatCsv is a ImportExportFileFormat enum value
	ImportExportFileFormatCsv = "CSV"
)
View Source
const (
	// ImportFilterOperatorCo is a ImportFilterOperator enum value
	ImportFilterOperatorCo = "CO"

	// ImportFilterOperatorEq is a ImportFilterOperator enum value
	ImportFilterOperatorEq = "EQ"
)
View Source
const (
	// ImportResourceTypeBot is a ImportResourceType enum value
	ImportResourceTypeBot = "Bot"

	// ImportResourceTypeBotLocale is a ImportResourceType enum value
	ImportResourceTypeBotLocale = "BotLocale"

	// ImportResourceTypeCustomVocabulary is a ImportResourceType enum value
	ImportResourceTypeCustomVocabulary = "CustomVocabulary"

	// ImportResourceTypeTestSet is a ImportResourceType enum value
	ImportResourceTypeTestSet = "TestSet"
)
View Source
const (
	// ImportStatusInProgress is a ImportStatus enum value
	ImportStatusInProgress = "InProgress"

	// ImportStatusCompleted is a ImportStatus enum value
	ImportStatusCompleted = "Completed"

	// ImportStatusFailed is a ImportStatus enum value
	ImportStatusFailed = "Failed"

	// ImportStatusDeleting is a ImportStatus enum value
	ImportStatusDeleting = "Deleting"
)
View Source
const (
	// IntentFilterOperatorCo is a IntentFilterOperator enum value
	IntentFilterOperatorCo = "CO"

	// IntentFilterOperatorEq is a IntentFilterOperator enum value
	IntentFilterOperatorEq = "EQ"
)
View Source
const (
	// IntentSortAttributeIntentName is a IntentSortAttribute enum value
	IntentSortAttributeIntentName = "IntentName"

	// IntentSortAttributeLastUpdatedDateTime is a IntentSortAttribute enum value
	IntentSortAttributeLastUpdatedDateTime = "LastUpdatedDateTime"
)
View Source
const (
	// MergeStrategyOverwrite is a MergeStrategy enum value
	MergeStrategyOverwrite = "Overwrite"

	// MergeStrategyFailOnConflict is a MergeStrategy enum value
	MergeStrategyFailOnConflict = "FailOnConflict"

	// MergeStrategyAppend is a MergeStrategy enum value
	MergeStrategyAppend = "Append"
)
View Source
const (
	// MessageSelectionStrategyRandom is a MessageSelectionStrategy enum value
	MessageSelectionStrategyRandom = "Random"

	// MessageSelectionStrategyOrdered is a MessageSelectionStrategy enum value
	MessageSelectionStrategyOrdered = "Ordered"
)
View Source
const (
	// ObfuscationSettingTypeNone is a ObfuscationSettingType enum value
	ObfuscationSettingTypeNone = "None"

	// ObfuscationSettingTypeDefaultObfuscation is a ObfuscationSettingType enum value
	ObfuscationSettingTypeDefaultObfuscation = "DefaultObfuscation"
)
View Source
const (
	// PromptAttemptInitial is a PromptAttempt enum value
	PromptAttemptInitial = "Initial"

	// PromptAttemptRetry1 is a PromptAttempt enum value
	PromptAttemptRetry1 = "Retry1"

	// PromptAttemptRetry2 is a PromptAttempt enum value
	PromptAttemptRetry2 = "Retry2"

	// PromptAttemptRetry3 is a PromptAttempt enum value
	PromptAttemptRetry3 = "Retry3"

	// PromptAttemptRetry4 is a PromptAttempt enum value
	PromptAttemptRetry4 = "Retry4"

	// PromptAttemptRetry5 is a PromptAttempt enum value
	PromptAttemptRetry5 = "Retry5"
)

The attempt name of attempts of a prompt.

View Source
const (
	// SearchOrderAscending is a SearchOrder enum value
	SearchOrderAscending = "Ascending"

	// SearchOrderDescending is a SearchOrder enum value
	SearchOrderDescending = "Descending"
)
View Source
const (
	// SlotConstraintRequired is a SlotConstraint enum value
	SlotConstraintRequired = "Required"

	// SlotConstraintOptional is a SlotConstraint enum value
	SlotConstraintOptional = "Optional"
)
View Source
const (
	// SlotFilterOperatorCo is a SlotFilterOperator enum value
	SlotFilterOperatorCo = "CO"

	// SlotFilterOperatorEq is a SlotFilterOperator enum value
	SlotFilterOperatorEq = "EQ"
)
View Source
const (
	// SlotShapeScalar is a SlotShape enum value
	SlotShapeScalar = "Scalar"

	// SlotShapeList is a SlotShape enum value
	SlotShapeList = "List"
)
View Source
const (
	// SlotSortAttributeSlotName is a SlotSortAttribute enum value
	SlotSortAttributeSlotName = "SlotName"

	// SlotSortAttributeLastUpdatedDateTime is a SlotSortAttribute enum value
	SlotSortAttributeLastUpdatedDateTime = "LastUpdatedDateTime"
)
View Source
const (
	// SlotTypeCategoryCustom is a SlotTypeCategory enum value
	SlotTypeCategoryCustom = "Custom"

	// SlotTypeCategoryExtended is a SlotTypeCategory enum value
	SlotTypeCategoryExtended = "Extended"

	// SlotTypeCategoryExternalGrammar is a SlotTypeCategory enum value
	SlotTypeCategoryExternalGrammar = "ExternalGrammar"

	// SlotTypeCategoryComposite is a SlotTypeCategory enum value
	SlotTypeCategoryComposite = "Composite"
)
View Source
const (
	// SlotTypeFilterNameSlotTypeName is a SlotTypeFilterName enum value
	SlotTypeFilterNameSlotTypeName = "SlotTypeName"

	// SlotTypeFilterNameExternalSourceType is a SlotTypeFilterName enum value
	SlotTypeFilterNameExternalSourceType = "ExternalSourceType"
)
View Source
const (
	// SlotTypeFilterOperatorCo is a SlotTypeFilterOperator enum value
	SlotTypeFilterOperatorCo = "CO"

	// SlotTypeFilterOperatorEq is a SlotTypeFilterOperator enum value
	SlotTypeFilterOperatorEq = "EQ"
)
View Source
const (
	// SlotTypeSortAttributeSlotTypeName is a SlotTypeSortAttribute enum value
	SlotTypeSortAttributeSlotTypeName = "SlotTypeName"

	// SlotTypeSortAttributeLastUpdatedDateTime is a SlotTypeSortAttribute enum value
	SlotTypeSortAttributeLastUpdatedDateTime = "LastUpdatedDateTime"
)
View Source
const (
	// SlotValueResolutionStrategyOriginalValue is a SlotValueResolutionStrategy enum value
	SlotValueResolutionStrategyOriginalValue = "OriginalValue"

	// SlotValueResolutionStrategyTopResolution is a SlotValueResolutionStrategy enum value
	SlotValueResolutionStrategyTopResolution = "TopResolution"

	// SlotValueResolutionStrategyConcatenation is a SlotValueResolutionStrategy enum value
	SlotValueResolutionStrategyConcatenation = "Concatenation"
)
View Source
const (
	// SortOrderAscending is a SortOrder enum value
	SortOrderAscending = "Ascending"

	// SortOrderDescending is a SortOrder enum value
	SortOrderDescending = "Descending"
)
View Source
const (
	// TestExecutionApiModeStreaming is a TestExecutionApiMode enum value
	TestExecutionApiModeStreaming = "Streaming"

	// TestExecutionApiModeNonStreaming is a TestExecutionApiMode enum value
	TestExecutionApiModeNonStreaming = "NonStreaming"
)
View Source
const (
	// TestExecutionModalityText is a TestExecutionModality enum value
	TestExecutionModalityText = "Text"

	// TestExecutionModalityAudio is a TestExecutionModality enum value
	TestExecutionModalityAudio = "Audio"
)
View Source
const (
	// TestExecutionSortAttributeTestSetName is a TestExecutionSortAttribute enum value
	TestExecutionSortAttributeTestSetName = "TestSetName"

	// TestExecutionSortAttributeCreationDateTime is a TestExecutionSortAttribute enum value
	TestExecutionSortAttributeCreationDateTime = "CreationDateTime"
)
View Source
const (
	// TestExecutionStatusPending is a TestExecutionStatus enum value
	TestExecutionStatusPending = "Pending"

	// TestExecutionStatusWaiting is a TestExecutionStatus enum value
	TestExecutionStatusWaiting = "Waiting"

	// TestExecutionStatusInProgress is a TestExecutionStatus enum value
	TestExecutionStatusInProgress = "InProgress"

	// TestExecutionStatusCompleted is a TestExecutionStatus enum value
	TestExecutionStatusCompleted = "Completed"

	// TestExecutionStatusFailed is a TestExecutionStatus enum value
	TestExecutionStatusFailed = "Failed"

	// TestExecutionStatusStopping is a TestExecutionStatus enum value
	TestExecutionStatusStopping = "Stopping"

	// TestExecutionStatusStopped is a TestExecutionStatus enum value
	TestExecutionStatusStopped = "Stopped"
)
View Source
const (
	// TestResultMatchStatusMatched is a TestResultMatchStatus enum value
	TestResultMatchStatusMatched = "Matched"

	// TestResultMatchStatusMismatched is a TestResultMatchStatus enum value
	TestResultMatchStatusMismatched = "Mismatched"

	// TestResultMatchStatusExecutionError is a TestResultMatchStatus enum value
	TestResultMatchStatusExecutionError = "ExecutionError"
)
View Source
const (
	// TestResultTypeFilterOverallTestResults is a TestResultTypeFilter enum value
	TestResultTypeFilterOverallTestResults = "OverallTestResults"

	// TestResultTypeFilterConversationLevelTestResults is a TestResultTypeFilter enum value
	TestResultTypeFilterConversationLevelTestResults = "ConversationLevelTestResults"

	// TestResultTypeFilterIntentClassificationTestResults is a TestResultTypeFilter enum value
	TestResultTypeFilterIntentClassificationTestResults = "IntentClassificationTestResults"

	// TestResultTypeFilterSlotResolutionTestResults is a TestResultTypeFilter enum value
	TestResultTypeFilterSlotResolutionTestResults = "SlotResolutionTestResults"

	// TestResultTypeFilterUtteranceLevelResults is a TestResultTypeFilter enum value
	TestResultTypeFilterUtteranceLevelResults = "UtteranceLevelResults"
)
View Source
const (
	// TestSetDiscrepancyReportStatusInProgress is a TestSetDiscrepancyReportStatus enum value
	TestSetDiscrepancyReportStatusInProgress = "InProgress"

	// TestSetDiscrepancyReportStatusCompleted is a TestSetDiscrepancyReportStatus enum value
	TestSetDiscrepancyReportStatusCompleted = "Completed"

	// TestSetDiscrepancyReportStatusFailed is a TestSetDiscrepancyReportStatus enum value
	TestSetDiscrepancyReportStatusFailed = "Failed"
)
View Source
const (
	// TestSetGenerationStatusGenerating is a TestSetGenerationStatus enum value
	TestSetGenerationStatusGenerating = "Generating"

	// TestSetGenerationStatusReady is a TestSetGenerationStatus enum value
	TestSetGenerationStatusReady = "Ready"

	// TestSetGenerationStatusFailed is a TestSetGenerationStatus enum value
	TestSetGenerationStatusFailed = "Failed"

	// TestSetGenerationStatusPending is a TestSetGenerationStatus enum value
	TestSetGenerationStatusPending = "Pending"
)
View Source
const (
	// TestSetModalityText is a TestSetModality enum value
	TestSetModalityText = "Text"

	// TestSetModalityAudio is a TestSetModality enum value
	TestSetModalityAudio = "Audio"
)
View Source
const (
	// TestSetSortAttributeTestSetName is a TestSetSortAttribute enum value
	TestSetSortAttributeTestSetName = "TestSetName"

	// TestSetSortAttributeLastUpdatedDateTime is a TestSetSortAttribute enum value
	TestSetSortAttributeLastUpdatedDateTime = "LastUpdatedDateTime"
)
View Source
const (
	// TestSetStatusImporting is a TestSetStatus enum value
	TestSetStatusImporting = "Importing"

	// TestSetStatusPendingAnnotation is a TestSetStatus enum value
	TestSetStatusPendingAnnotation = "PendingAnnotation"

	// TestSetStatusDeleting is a TestSetStatus enum value
	TestSetStatusDeleting = "Deleting"

	// TestSetStatusValidationError is a TestSetStatus enum value
	TestSetStatusValidationError = "ValidationError"

	// TestSetStatusReady is a TestSetStatus enum value
	TestSetStatusReady = "Ready"
)
View Source
const (
	// TimeDimensionHours is a TimeDimension enum value
	TimeDimensionHours = "Hours"

	// TimeDimensionDays is a TimeDimension enum value
	TimeDimensionDays = "Days"

	// TimeDimensionWeeks is a TimeDimension enum value
	TimeDimensionWeeks = "Weeks"
)
View Source
const (
	// VoiceEngineStandard is a VoiceEngine enum value
	VoiceEngineStandard = "standard"

	// VoiceEngineNeural is a VoiceEngine enum value
	VoiceEngineNeural = "neural"
)
View Source
const (

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The action that you tried to perform couldn't be completed because the resource
	// is in a conflicting state. For example, deleting a bot that is in the CREATING
	// state. Try your request again.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The service encountered an unexpected condition. Try your request again.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodePreconditionFailedException for service response error code
	// "PreconditionFailedException".
	//
	// Your request couldn't be completed because one or more request fields aren't
	// valid. Check the fields in your request and try again.
	ErrCodePreconditionFailedException = "PreconditionFailedException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// You asked to describe a resource that doesn't exist. Check the resource that
	// you are requesting and try again.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You have reached a quota for your bot.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// Your request rate is too high. Reduce the frequency of requests.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// One of the input parameters in your request isn't valid. Check the parameters
	// and try your request again.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Lex Models V2" // Name of service.
	EndpointsID = "models-v2-lex" // ID to lookup a service endpoint with.
	ServiceID   = "Lex Models V2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AggregatedUtterancesFilterNameUtterance is a AggregatedUtterancesFilterName enum value
	AggregatedUtterancesFilterNameUtterance = "Utterance"
)
View Source
const (
	// AudioRecognitionStrategyUseSlotValuesAsCustomVocabulary is a AudioRecognitionStrategy enum value
	AudioRecognitionStrategyUseSlotValuesAsCustomVocabulary = "UseSlotValuesAsCustomVocabulary"
)
View Source
const (
	// BotLocaleFilterNameBotLocaleName is a BotLocaleFilterName enum value
	BotLocaleFilterNameBotLocaleName = "BotLocaleName"
)
View Source
const (
	// BotLocaleSortAttributeBotLocaleName is a BotLocaleSortAttribute enum value
	BotLocaleSortAttributeBotLocaleName = "BotLocaleName"
)
View Source
const (
	// BotSortAttributeBotName is a BotSortAttribute enum value
	BotSortAttributeBotName = "BotName"
)
View Source
const (
	// BotVersionSortAttributeBotVersion is a BotVersionSortAttribute enum value
	BotVersionSortAttributeBotVersion = "BotVersion"
)
View Source
const (
	// BuiltInIntentSortAttributeIntentSignature is a BuiltInIntentSortAttribute enum value
	BuiltInIntentSortAttributeIntentSignature = "IntentSignature"
)
View Source
const (
	// BuiltInSlotTypeSortAttributeSlotTypeSignature is a BuiltInSlotTypeSortAttribute enum value
	BuiltInSlotTypeSortAttributeSlotTypeSignature = "SlotTypeSignature"
)
View Source
const (
	// ExportFilterNameExportResourceType is a ExportFilterName enum value
	ExportFilterNameExportResourceType = "ExportResourceType"
)
View Source
const (
	// ExportSortAttributeLastUpdatedDateTime is a ExportSortAttribute enum value
	ExportSortAttributeLastUpdatedDateTime = "LastUpdatedDateTime"
)
View Source
const (
	// ImportFilterNameImportResourceType is a ImportFilterName enum value
	ImportFilterNameImportResourceType = "ImportResourceType"
)
View Source
const (
	// ImportSortAttributeLastUpdatedDateTime is a ImportSortAttribute enum value
	ImportSortAttributeLastUpdatedDateTime = "LastUpdatedDateTime"
)
View Source
const (
	// IntentFilterNameIntentName is a IntentFilterName enum value
	IntentFilterNameIntentName = "IntentName"
)
View Source
const (
	// SlotFilterNameSlotName is a SlotFilterName enum value
	SlotFilterNameSlotName = "SlotName"
)
View Source
const (
	// TranscriptFormatLex is a TranscriptFormat enum value
	TranscriptFormatLex = "Lex"
)

Variables

This section is empty.

Functions

func AggregatedUtterancesFilterName_Values added in v1.40.47

func AggregatedUtterancesFilterName_Values() []string

AggregatedUtterancesFilterName_Values returns all elements of the AggregatedUtterancesFilterName enum

func AggregatedUtterancesFilterOperator_Values added in v1.40.47

func AggregatedUtterancesFilterOperator_Values() []string

AggregatedUtterancesFilterOperator_Values returns all elements of the AggregatedUtterancesFilterOperator enum

func AggregatedUtterancesSortAttribute_Values added in v1.40.47

func AggregatedUtterancesSortAttribute_Values() []string

AggregatedUtterancesSortAttribute_Values returns all elements of the AggregatedUtterancesSortAttribute enum

func AssociatedTranscriptFilterName_Values added in v1.42.17

func AssociatedTranscriptFilterName_Values() []string

AssociatedTranscriptFilterName_Values returns all elements of the AssociatedTranscriptFilterName enum

func AudioRecognitionStrategy_Values added in v1.42.33

func AudioRecognitionStrategy_Values() []string

AudioRecognitionStrategy_Values returns all elements of the AudioRecognitionStrategy enum

func BotAliasStatus_Values

func BotAliasStatus_Values() []string

BotAliasStatus_Values returns all elements of the BotAliasStatus enum

func BotFilterName_Values

func BotFilterName_Values() []string

BotFilterName_Values returns all elements of the BotFilterName enum

func BotFilterOperator_Values

func BotFilterOperator_Values() []string

BotFilterOperator_Values returns all elements of the BotFilterOperator enum

func BotLocaleFilterName_Values

func BotLocaleFilterName_Values() []string

BotLocaleFilterName_Values returns all elements of the BotLocaleFilterName enum

func BotLocaleFilterOperator_Values

func BotLocaleFilterOperator_Values() []string

BotLocaleFilterOperator_Values returns all elements of the BotLocaleFilterOperator enum

func BotLocaleSortAttribute_Values

func BotLocaleSortAttribute_Values() []string

BotLocaleSortAttribute_Values returns all elements of the BotLocaleSortAttribute enum

func BotLocaleStatus_Values

func BotLocaleStatus_Values() []string

BotLocaleStatus_Values returns all elements of the BotLocaleStatus enum

func BotRecommendationStatus_Values added in v1.42.17

func BotRecommendationStatus_Values() []string

BotRecommendationStatus_Values returns all elements of the BotRecommendationStatus enum

func BotSortAttribute_Values

func BotSortAttribute_Values() []string

BotSortAttribute_Values returns all elements of the BotSortAttribute enum

func BotStatus_Values

func BotStatus_Values() []string

BotStatus_Values returns all elements of the BotStatus enum

func BotType_Values added in v1.44.198

func BotType_Values() []string

BotType_Values returns all elements of the BotType enum

func BotVersionSortAttribute_Values

func BotVersionSortAttribute_Values() []string

BotVersionSortAttribute_Values returns all elements of the BotVersionSortAttribute enum

func BuiltInIntentSortAttribute_Values

func BuiltInIntentSortAttribute_Values() []string

BuiltInIntentSortAttribute_Values returns all elements of the BuiltInIntentSortAttribute enum

func BuiltInSlotTypeSortAttribute_Values

func BuiltInSlotTypeSortAttribute_Values() []string

BuiltInSlotTypeSortAttribute_Values returns all elements of the BuiltInSlotTypeSortAttribute enum

func ConversationLogsInputModeFilter_Values added in v1.44.277

func ConversationLogsInputModeFilter_Values() []string

ConversationLogsInputModeFilter_Values returns all elements of the ConversationLogsInputModeFilter enum

func CustomVocabularyStatus_Values added in v1.42.33

func CustomVocabularyStatus_Values() []string

CustomVocabularyStatus_Values returns all elements of the CustomVocabularyStatus enum

func DialogActionType_Values added in v1.44.79

func DialogActionType_Values() []string

DialogActionType_Values returns all elements of the DialogActionType enum

func Effect_Values added in v1.38.44

func Effect_Values() []string

Effect_Values returns all elements of the Effect enum

func ErrorCode_Values added in v1.44.132

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func ExportFilterName_Values added in v1.38.42

func ExportFilterName_Values() []string

ExportFilterName_Values returns all elements of the ExportFilterName enum

func ExportFilterOperator_Values added in v1.38.42

func ExportFilterOperator_Values() []string

ExportFilterOperator_Values returns all elements of the ExportFilterOperator enum

func ExportSortAttribute_Values added in v1.38.42

func ExportSortAttribute_Values() []string

ExportSortAttribute_Values returns all elements of the ExportSortAttribute enum

func ExportStatus_Values added in v1.38.42

func ExportStatus_Values() []string

ExportStatus_Values returns all elements of the ExportStatus enum

func ImportExportFileFormat_Values added in v1.38.42

func ImportExportFileFormat_Values() []string

ImportExportFileFormat_Values returns all elements of the ImportExportFileFormat enum

func ImportFilterName_Values added in v1.38.42

func ImportFilterName_Values() []string

ImportFilterName_Values returns all elements of the ImportFilterName enum

func ImportFilterOperator_Values added in v1.38.42

func ImportFilterOperator_Values() []string

ImportFilterOperator_Values returns all elements of the ImportFilterOperator enum

func ImportResourceType_Values added in v1.42.33

func ImportResourceType_Values() []string

ImportResourceType_Values returns all elements of the ImportResourceType enum

func ImportSortAttribute_Values added in v1.38.42

func ImportSortAttribute_Values() []string

ImportSortAttribute_Values returns all elements of the ImportSortAttribute enum

func ImportStatus_Values added in v1.38.42

func ImportStatus_Values() []string

ImportStatus_Values returns all elements of the ImportStatus enum

func IntentFilterName_Values

func IntentFilterName_Values() []string

IntentFilterName_Values returns all elements of the IntentFilterName enum

func IntentFilterOperator_Values

func IntentFilterOperator_Values() []string

IntentFilterOperator_Values returns all elements of the IntentFilterOperator enum

func IntentSortAttribute_Values

func IntentSortAttribute_Values() []string

IntentSortAttribute_Values returns all elements of the IntentSortAttribute enum

func MergeStrategy_Values added in v1.38.42

func MergeStrategy_Values() []string

MergeStrategy_Values returns all elements of the MergeStrategy enum

func MessageSelectionStrategy_Values added in v1.44.48

func MessageSelectionStrategy_Values() []string

MessageSelectionStrategy_Values returns all elements of the MessageSelectionStrategy enum

func ObfuscationSettingType_Values

func ObfuscationSettingType_Values() []string

ObfuscationSettingType_Values returns all elements of the ObfuscationSettingType enum

func PromptAttempt_Values added in v1.44.105

func PromptAttempt_Values() []string

PromptAttempt_Values returns all elements of the PromptAttempt enum

func SearchOrder_Values added in v1.42.17

func SearchOrder_Values() []string

SearchOrder_Values returns all elements of the SearchOrder enum

func SlotConstraint_Values

func SlotConstraint_Values() []string

SlotConstraint_Values returns all elements of the SlotConstraint enum

func SlotFilterName_Values

func SlotFilterName_Values() []string

SlotFilterName_Values returns all elements of the SlotFilterName enum

func SlotFilterOperator_Values

func SlotFilterOperator_Values() []string

SlotFilterOperator_Values returns all elements of the SlotFilterOperator enum

func SlotShape_Values added in v1.44.79

func SlotShape_Values() []string

SlotShape_Values returns all elements of the SlotShape enum

func SlotSortAttribute_Values

func SlotSortAttribute_Values() []string

SlotSortAttribute_Values returns all elements of the SlotSortAttribute enum

func SlotTypeCategory_Values added in v1.42.22

func SlotTypeCategory_Values() []string

SlotTypeCategory_Values returns all elements of the SlotTypeCategory enum

func SlotTypeFilterName_Values

func SlotTypeFilterName_Values() []string

SlotTypeFilterName_Values returns all elements of the SlotTypeFilterName enum

func SlotTypeFilterOperator_Values

func SlotTypeFilterOperator_Values() []string

SlotTypeFilterOperator_Values returns all elements of the SlotTypeFilterOperator enum

func SlotTypeSortAttribute_Values

func SlotTypeSortAttribute_Values() []string

SlotTypeSortAttribute_Values returns all elements of the SlotTypeSortAttribute enum

func SlotValueResolutionStrategy_Values

func SlotValueResolutionStrategy_Values() []string

SlotValueResolutionStrategy_Values returns all elements of the SlotValueResolutionStrategy enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func TestExecutionApiMode_Values added in v1.44.277

func TestExecutionApiMode_Values() []string

TestExecutionApiMode_Values returns all elements of the TestExecutionApiMode enum

func TestExecutionModality_Values added in v1.44.277

func TestExecutionModality_Values() []string

TestExecutionModality_Values returns all elements of the TestExecutionModality enum

func TestExecutionSortAttribute_Values added in v1.44.277

func TestExecutionSortAttribute_Values() []string

TestExecutionSortAttribute_Values returns all elements of the TestExecutionSortAttribute enum

func TestExecutionStatus_Values added in v1.44.277

func TestExecutionStatus_Values() []string

TestExecutionStatus_Values returns all elements of the TestExecutionStatus enum

func TestResultMatchStatus_Values added in v1.44.277

func TestResultMatchStatus_Values() []string

TestResultMatchStatus_Values returns all elements of the TestResultMatchStatus enum

func TestResultTypeFilter_Values added in v1.44.277

func TestResultTypeFilter_Values() []string

TestResultTypeFilter_Values returns all elements of the TestResultTypeFilter enum

func TestSetDiscrepancyReportStatus_Values added in v1.44.277

func TestSetDiscrepancyReportStatus_Values() []string

TestSetDiscrepancyReportStatus_Values returns all elements of the TestSetDiscrepancyReportStatus enum

func TestSetGenerationStatus_Values added in v1.44.277

func TestSetGenerationStatus_Values() []string

TestSetGenerationStatus_Values returns all elements of the TestSetGenerationStatus enum

func TestSetModality_Values added in v1.44.277

func TestSetModality_Values() []string

TestSetModality_Values returns all elements of the TestSetModality enum

func TestSetSortAttribute_Values added in v1.44.277

func TestSetSortAttribute_Values() []string

TestSetSortAttribute_Values returns all elements of the TestSetSortAttribute enum

func TestSetStatus_Values added in v1.44.277

func TestSetStatus_Values() []string

TestSetStatus_Values returns all elements of the TestSetStatus enum

func TimeDimension_Values added in v1.40.47

func TimeDimension_Values() []string

TimeDimension_Values returns all elements of the TimeDimension enum

func TranscriptFormat_Values added in v1.42.17

func TranscriptFormat_Values() []string

TranscriptFormat_Values returns all elements of the TranscriptFormat enum

func VoiceEngine_Values added in v1.42.8

func VoiceEngine_Values() []string

VoiceEngine_Values returns all elements of the VoiceEngine enum

Types

type ActiveContext added in v1.44.277

type ActiveContext struct {

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

The active context used in the test execution.

func (ActiveContext) GoString added in v1.44.277

func (s ActiveContext) 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 (*ActiveContext) SetName added in v1.44.277

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

SetName sets the Name field's value.

func (ActiveContext) String added in v1.44.277

func (s ActiveContext) 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 AdvancedRecognitionSetting added in v1.42.33

type AdvancedRecognitionSetting struct {

	// Enables using the slot values as a custom vocabulary for recognizing user
	// utterances.
	AudioRecognitionStrategy *string `locationName:"audioRecognitionStrategy" type:"string" enum:"AudioRecognitionStrategy"`
	// contains filtered or unexported fields
}

Provides settings that enable advanced recognition settings for slot values.

func (AdvancedRecognitionSetting) GoString added in v1.42.33

func (s AdvancedRecognitionSetting) 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 (*AdvancedRecognitionSetting) SetAudioRecognitionStrategy added in v1.42.33

func (s *AdvancedRecognitionSetting) SetAudioRecognitionStrategy(v string) *AdvancedRecognitionSetting

SetAudioRecognitionStrategy sets the AudioRecognitionStrategy field's value.

func (AdvancedRecognitionSetting) String added in v1.42.33

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 AgentTurnResult added in v1.44.277

type AgentTurnResult struct {

	// The actual agent prompt for the agent turn in a test set execution.
	ActualAgentPrompt *string `locationName:"actualAgentPrompt" min:"1" type:"string"`

	// The actual elicited slot for the agent turn in a test set execution.
	ActualElicitedSlot *string `locationName:"actualElicitedSlot" min:"1" type:"string"`

	// The actual intent for the agent turn in a test set execution.
	ActualIntent *string `locationName:"actualIntent" min:"1" type:"string"`

	// Details about an error in an execution of a test set.
	ErrorDetails *ExecutionErrorDetails `locationName:"errorDetails" type:"structure"`

	// The expected agent prompt for the agent turn in a test set execution.
	//
	// ExpectedAgentPrompt is a required field
	ExpectedAgentPrompt *string `locationName:"expectedAgentPrompt" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The information about the agent turn in a test set execution.

func (AgentTurnResult) GoString added in v1.44.277

func (s AgentTurnResult) 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 (*AgentTurnResult) SetActualAgentPrompt added in v1.44.277

func (s *AgentTurnResult) SetActualAgentPrompt(v string) *AgentTurnResult

SetActualAgentPrompt sets the ActualAgentPrompt field's value.

func (*AgentTurnResult) SetActualElicitedSlot added in v1.44.277

func (s *AgentTurnResult) SetActualElicitedSlot(v string) *AgentTurnResult

SetActualElicitedSlot sets the ActualElicitedSlot field's value.

func (*AgentTurnResult) SetActualIntent added in v1.44.277

func (s *AgentTurnResult) SetActualIntent(v string) *AgentTurnResult

SetActualIntent sets the ActualIntent field's value.

func (*AgentTurnResult) SetErrorDetails added in v1.44.277

func (s *AgentTurnResult) SetErrorDetails(v *ExecutionErrorDetails) *AgentTurnResult

SetErrorDetails sets the ErrorDetails field's value.

func (*AgentTurnResult) SetExpectedAgentPrompt added in v1.44.277

func (s *AgentTurnResult) SetExpectedAgentPrompt(v string) *AgentTurnResult

SetExpectedAgentPrompt sets the ExpectedAgentPrompt field's value.

func (AgentTurnResult) String added in v1.44.277

func (s AgentTurnResult) 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 AgentTurnSpecification added in v1.44.277

type AgentTurnSpecification struct {

	// The agent prompt for the agent turn in a test set.
	//
	// AgentPrompt is a required field
	AgentPrompt *string `locationName:"agentPrompt" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The specification of an agent turn.

func (AgentTurnSpecification) GoString added in v1.44.277

func (s AgentTurnSpecification) 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 (*AgentTurnSpecification) SetAgentPrompt added in v1.44.277

SetAgentPrompt sets the AgentPrompt field's value.

func (AgentTurnSpecification) String added in v1.44.277

func (s AgentTurnSpecification) 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 AggregatedUtterancesFilter added in v1.40.47

type AggregatedUtterancesFilter struct {

	// The name of the field to filter the utterance list.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"AggregatedUtterancesFilterName"`

	// The operator to use for the filter. Specify EQ when the ListAggregatedUtterances
	// operation should return only utterances that equal the specified value. Specify
	// CO when the ListAggregatedUtterances operation should return utterances that
	// contain the specified value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"AggregatedUtterancesFilterOperator"`

	// The value to use for filtering the list of bots.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters responses returned by the ListAggregatedUtterances operation.

func (AggregatedUtterancesFilter) GoString added in v1.40.47

func (s AggregatedUtterancesFilter) 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 (*AggregatedUtterancesFilter) SetName added in v1.40.47

SetName sets the Name field's value.

func (*AggregatedUtterancesFilter) SetOperator added in v1.40.47

SetOperator sets the Operator field's value.

func (*AggregatedUtterancesFilter) SetValues added in v1.40.47

SetValues sets the Values field's value.

func (AggregatedUtterancesFilter) String added in v1.40.47

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 (*AggregatedUtterancesFilter) Validate added in v1.40.47

func (s *AggregatedUtterancesFilter) Validate() error

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

type AggregatedUtterancesSortBy added in v1.40.47

type AggregatedUtterancesSortBy struct {

	// The utterance attribute to sort by.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"AggregatedUtterancesSortAttribute"`

	// Specifies whether to sort the aggregated utterances in ascending or descending
	// order.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of utterances.

func (AggregatedUtterancesSortBy) GoString added in v1.40.47

func (s AggregatedUtterancesSortBy) 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 (*AggregatedUtterancesSortBy) SetAttribute added in v1.40.47

SetAttribute sets the Attribute field's value.

func (*AggregatedUtterancesSortBy) SetOrder added in v1.40.47

SetOrder sets the Order field's value.

func (AggregatedUtterancesSortBy) String added in v1.40.47

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 (*AggregatedUtterancesSortBy) Validate added in v1.40.47

func (s *AggregatedUtterancesSortBy) Validate() error

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

type AggregatedUtterancesSummary added in v1.40.47

type AggregatedUtterancesSummary struct {

	// Aggregated utterance data may contain utterances from versions of your bot
	// that have since been deleted. When the aggregated contains this kind of data,
	// this field is set to true.
	ContainsDataFromDeletedResources *bool `locationName:"containsDataFromDeletedResources" type:"boolean"`

	// The number of times that the utterance was detected by Amazon Lex during
	// the time period. When an utterance is detected, it activates an intent or
	// a slot.
	HitCount *int64 `locationName:"hitCount" type:"integer"`

	// The number of times that the utterance was missed by Amazon Lex An utterance
	// is missed when it doesn't activate an intent or slot.
	MissedCount *int64 `locationName:"missedCount" type:"integer"`

	// The text of the utterance. If the utterance was used with the RecognizeUtterance
	// operation, the text is the transcription of the audio utterance.
	Utterance *string `locationName:"utterance" type:"string"`

	// The date and time that the utterance was first recorded in the time window
	// for aggregation. An utterance may have been sent to Amazon Lex before that
	// time, but only utterances within the time window are counted.
	UtteranceFirstRecordedInAggregationDuration *time.Time `locationName:"utteranceFirstRecordedInAggregationDuration" type:"timestamp"`

	// The last date and time that an utterance was recorded in the time window
	// for aggregation. An utterance may be sent to Amazon Lex after that time,
	// but only utterances within the time window are counted.
	UtteranceLastRecordedInAggregationDuration *time.Time `locationName:"utteranceLastRecordedInAggregationDuration" type:"timestamp"`
	// contains filtered or unexported fields
}

Provides summary information for aggregated utterances. The ListAggregatedUtterances operations combines all instances of the same utterance into a single aggregated summary.

func (AggregatedUtterancesSummary) GoString added in v1.40.47

func (s AggregatedUtterancesSummary) 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 (*AggregatedUtterancesSummary) SetContainsDataFromDeletedResources added in v1.40.47

func (s *AggregatedUtterancesSummary) SetContainsDataFromDeletedResources(v bool) *AggregatedUtterancesSummary

SetContainsDataFromDeletedResources sets the ContainsDataFromDeletedResources field's value.

func (*AggregatedUtterancesSummary) SetHitCount added in v1.40.47

SetHitCount sets the HitCount field's value.

func (*AggregatedUtterancesSummary) SetMissedCount added in v1.40.47

SetMissedCount sets the MissedCount field's value.

func (*AggregatedUtterancesSummary) SetUtterance added in v1.40.47

SetUtterance sets the Utterance field's value.

func (*AggregatedUtterancesSummary) SetUtteranceFirstRecordedInAggregationDuration added in v1.40.47

func (s *AggregatedUtterancesSummary) SetUtteranceFirstRecordedInAggregationDuration(v time.Time) *AggregatedUtterancesSummary

SetUtteranceFirstRecordedInAggregationDuration sets the UtteranceFirstRecordedInAggregationDuration field's value.

func (*AggregatedUtterancesSummary) SetUtteranceLastRecordedInAggregationDuration added in v1.40.47

func (s *AggregatedUtterancesSummary) SetUtteranceLastRecordedInAggregationDuration(v time.Time) *AggregatedUtterancesSummary

SetUtteranceLastRecordedInAggregationDuration sets the UtteranceLastRecordedInAggregationDuration field's value.

func (AggregatedUtterancesSummary) String added in v1.40.47

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 AllowedInputTypes added in v1.44.105

type AllowedInputTypes struct {

	// Indicates whether audio input is allowed.
	//
	// AllowAudioInput is a required field
	AllowAudioInput *bool `locationName:"allowAudioInput" type:"boolean" required:"true"`

	// Indicates whether DTMF input is allowed.
	//
	// AllowDTMFInput is a required field
	AllowDTMFInput *bool `locationName:"allowDTMFInput" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Specifies the allowed input types.

func (AllowedInputTypes) GoString added in v1.44.105

func (s AllowedInputTypes) 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 (*AllowedInputTypes) SetAllowAudioInput added in v1.44.105

func (s *AllowedInputTypes) SetAllowAudioInput(v bool) *AllowedInputTypes

SetAllowAudioInput sets the AllowAudioInput field's value.

func (*AllowedInputTypes) SetAllowDTMFInput added in v1.44.105

func (s *AllowedInputTypes) SetAllowDTMFInput(v bool) *AllowedInputTypes

SetAllowDTMFInput sets the AllowDTMFInput field's value.

func (AllowedInputTypes) String added in v1.44.105

func (s AllowedInputTypes) 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 (*AllowedInputTypes) Validate added in v1.44.105

func (s *AllowedInputTypes) Validate() error

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

type AssociatedTranscript added in v1.42.17

type AssociatedTranscript struct {

	// The content of the transcript that meets the search filter criteria. For
	// the JSON format of the transcript, see Output transcript format (https://docs.aws.amazon.com/lexv2/latest/dg/designing-output-format.html).
	Transcript *string `locationName:"transcript" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The object containing information that associates the recommended intent/slot type with a conversation.

func (AssociatedTranscript) GoString added in v1.42.17

func (s AssociatedTranscript) 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 (*AssociatedTranscript) SetTranscript added in v1.42.17

func (s *AssociatedTranscript) SetTranscript(v string) *AssociatedTranscript

SetTranscript sets the Transcript field's value.

func (AssociatedTranscript) String added in v1.42.17

func (s AssociatedTranscript) 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 AssociatedTranscriptFilter added in v1.42.17

type AssociatedTranscriptFilter struct {

	// The name of the field to use for filtering. The allowed names are IntentId
	// and SlotTypeId.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"AssociatedTranscriptFilterName"`

	// The values to use to filter the transcript.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters to search for the associated transcript.

func (AssociatedTranscriptFilter) GoString added in v1.42.17

func (s AssociatedTranscriptFilter) 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 (*AssociatedTranscriptFilter) SetName added in v1.42.17

SetName sets the Name field's value.

func (*AssociatedTranscriptFilter) SetValues added in v1.42.17

SetValues sets the Values field's value.

func (AssociatedTranscriptFilter) String added in v1.42.17

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 (*AssociatedTranscriptFilter) Validate added in v1.42.17

func (s *AssociatedTranscriptFilter) Validate() error

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

type AudioAndDTMFInputSpecification added in v1.44.105

type AudioAndDTMFInputSpecification struct {

	// Specifies the settings on audio input.
	AudioSpecification *AudioSpecification `locationName:"audioSpecification" type:"structure"`

	// Specifies the settings on DTMF input.
	DtmfSpecification *DTMFSpecification `locationName:"dtmfSpecification" type:"structure"`

	// Time for which a bot waits before assuming that the customer isn't going
	// to speak or press a key. This timeout is shared between Audio and DTMF inputs.
	//
	// StartTimeoutMs is a required field
	StartTimeoutMs *int64 `locationName:"startTimeoutMs" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Specifies the audio and DTMF input specification.

func (AudioAndDTMFInputSpecification) GoString added in v1.44.105

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 (*AudioAndDTMFInputSpecification) SetAudioSpecification added in v1.44.105

SetAudioSpecification sets the AudioSpecification field's value.

func (*AudioAndDTMFInputSpecification) SetDtmfSpecification added in v1.44.105

SetDtmfSpecification sets the DtmfSpecification field's value.

func (*AudioAndDTMFInputSpecification) SetStartTimeoutMs added in v1.44.105

SetStartTimeoutMs sets the StartTimeoutMs field's value.

func (AudioAndDTMFInputSpecification) String added in v1.44.105

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 (*AudioAndDTMFInputSpecification) Validate added in v1.44.105

func (s *AudioAndDTMFInputSpecification) Validate() error

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

type AudioLogDestination

type AudioLogDestination struct {

	// The Amazon S3 bucket where the audio log files are stored. The IAM role specified
	// in the roleArn parameter of the CreateBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html)
	// operation must have permission to write to this bucket.
	//
	// S3Bucket is a required field
	S3Bucket *S3BucketLogDestination `locationName:"s3Bucket" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The location of audio log files collected when conversation logging is enabled for a bot.

func (AudioLogDestination) GoString

func (s AudioLogDestination) 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 (*AudioLogDestination) SetS3Bucket

SetS3Bucket sets the S3Bucket field's value.

func (AudioLogDestination) String

func (s AudioLogDestination) 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 (*AudioLogDestination) Validate

func (s *AudioLogDestination) Validate() error

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

type AudioLogSetting

type AudioLogSetting struct {

	// The location of audio log files collected when conversation logging is enabled
	// for a bot.
	//
	// Destination is a required field
	Destination *AudioLogDestination `locationName:"destination" type:"structure" required:"true"`

	// Determines whether audio logging in enabled for the bot.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Settings for logging audio of conversations between Amazon Lex and a user. You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.

func (AudioLogSetting) GoString

func (s AudioLogSetting) 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 (*AudioLogSetting) SetDestination

func (s *AudioLogSetting) SetDestination(v *AudioLogDestination) *AudioLogSetting

SetDestination sets the Destination field's value.

func (*AudioLogSetting) SetEnabled

func (s *AudioLogSetting) SetEnabled(v bool) *AudioLogSetting

SetEnabled sets the Enabled field's value.

func (AudioLogSetting) String

func (s AudioLogSetting) 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 (*AudioLogSetting) Validate

func (s *AudioLogSetting) Validate() error

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

type AudioSpecification added in v1.44.105

type AudioSpecification struct {

	// Time for which a bot waits after the customer stops speaking to assume the
	// utterance is finished.
	//
	// EndTimeoutMs is a required field
	EndTimeoutMs *int64 `locationName:"endTimeoutMs" min:"1" type:"integer" required:"true"`

	// Time for how long Amazon Lex waits before speech input is truncated and the
	// speech is returned to application.
	//
	// MaxLengthMs is a required field
	MaxLengthMs *int64 `locationName:"maxLengthMs" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Specifies the audio input specifications.

func (AudioSpecification) GoString added in v1.44.105

func (s AudioSpecification) 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 (*AudioSpecification) SetEndTimeoutMs added in v1.44.105

func (s *AudioSpecification) SetEndTimeoutMs(v int64) *AudioSpecification

SetEndTimeoutMs sets the EndTimeoutMs field's value.

func (*AudioSpecification) SetMaxLengthMs added in v1.44.105

func (s *AudioSpecification) SetMaxLengthMs(v int64) *AudioSpecification

SetMaxLengthMs sets the MaxLengthMs field's value.

func (AudioSpecification) String added in v1.44.105

func (s AudioSpecification) 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 (*AudioSpecification) Validate added in v1.44.105

func (s *AudioSpecification) Validate() error

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

type BatchCreateCustomVocabularyItemInput added in v1.44.132

type BatchCreateCustomVocabularyItemInput struct {

	// The identifier of the bot associated with this custom vocabulary.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// A list of new custom vocabulary items. Each entry must contain a phrase and
	// can optionally contain a displayAs and/or a weight.
	//
	// CustomVocabularyItemList is a required field
	CustomVocabularyItemList []*NewCustomVocabularyItem `locationName:"customVocabularyItemList" min:"1" type:"list" required:"true"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchCreateCustomVocabularyItemInput) GoString added in v1.44.132

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 (*BatchCreateCustomVocabularyItemInput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*BatchCreateCustomVocabularyItemInput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*BatchCreateCustomVocabularyItemInput) SetCustomVocabularyItemList added in v1.44.132

SetCustomVocabularyItemList sets the CustomVocabularyItemList field's value.

func (*BatchCreateCustomVocabularyItemInput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (BatchCreateCustomVocabularyItemInput) String added in v1.44.132

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 (*BatchCreateCustomVocabularyItemInput) Validate added in v1.44.132

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

type BatchCreateCustomVocabularyItemOutput added in v1.44.132

type BatchCreateCustomVocabularyItemOutput struct {

	// The identifier of the bot associated with this custom vocabulary.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// A list of custom vocabulary items that failed to create during the operation.
	// The reason for the error is contained within each error object.
	Errors []*FailedCustomVocabularyItem `locationName:"errors" type:"list"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	LocaleId *string `locationName:"localeId" type:"string"`

	// A list of custom vocabulary items that were successfully created during the
	// operation.
	Resources []*CustomVocabularyItem `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

func (BatchCreateCustomVocabularyItemOutput) GoString added in v1.44.132

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 (*BatchCreateCustomVocabularyItemOutput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*BatchCreateCustomVocabularyItemOutput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*BatchCreateCustomVocabularyItemOutput) SetErrors added in v1.44.132

SetErrors sets the Errors field's value.

func (*BatchCreateCustomVocabularyItemOutput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (*BatchCreateCustomVocabularyItemOutput) SetResources added in v1.44.132

SetResources sets the Resources field's value.

func (BatchCreateCustomVocabularyItemOutput) String added in v1.44.132

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 BatchDeleteCustomVocabularyItemInput added in v1.44.132

type BatchDeleteCustomVocabularyItemInput struct {

	// The identifier of the bot associated with this custom vocabulary.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// A list of custom vocabulary items requested to be deleted. Each entry must
	// contain the unique custom vocabulary entry identifier.
	//
	// CustomVocabularyItemList is a required field
	CustomVocabularyItemList []*CustomVocabularyEntryId `locationName:"customVocabularyItemList" min:"1" type:"list" required:"true"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteCustomVocabularyItemInput) GoString added in v1.44.132

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 (*BatchDeleteCustomVocabularyItemInput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*BatchDeleteCustomVocabularyItemInput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*BatchDeleteCustomVocabularyItemInput) SetCustomVocabularyItemList added in v1.44.132

SetCustomVocabularyItemList sets the CustomVocabularyItemList field's value.

func (*BatchDeleteCustomVocabularyItemInput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (BatchDeleteCustomVocabularyItemInput) String added in v1.44.132

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 (*BatchDeleteCustomVocabularyItemInput) Validate added in v1.44.132

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

type BatchDeleteCustomVocabularyItemOutput added in v1.44.132

type BatchDeleteCustomVocabularyItemOutput struct {

	// The identifier of the bot associated with this custom vocabulary.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// A list of custom vocabulary items that failed to delete during the operation.
	// The reason for the error is contained within each error object.
	Errors []*FailedCustomVocabularyItem `locationName:"errors" type:"list"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	LocaleId *string `locationName:"localeId" type:"string"`

	// A list of custom vocabulary items that were successfully deleted during the
	// operation.
	Resources []*CustomVocabularyItem `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

func (BatchDeleteCustomVocabularyItemOutput) GoString added in v1.44.132

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 (*BatchDeleteCustomVocabularyItemOutput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*BatchDeleteCustomVocabularyItemOutput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*BatchDeleteCustomVocabularyItemOutput) SetErrors added in v1.44.132

SetErrors sets the Errors field's value.

func (*BatchDeleteCustomVocabularyItemOutput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (*BatchDeleteCustomVocabularyItemOutput) SetResources added in v1.44.132

SetResources sets the Resources field's value.

func (BatchDeleteCustomVocabularyItemOutput) String added in v1.44.132

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 BatchUpdateCustomVocabularyItemInput added in v1.44.132

type BatchUpdateCustomVocabularyItemInput struct {

	// The identifier of the bot associated with this custom vocabulary
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// A list of custom vocabulary items with updated fields. Each entry must contain
	// a phrase and can optionally contain a displayAs and/or a weight.
	//
	// CustomVocabularyItemList is a required field
	CustomVocabularyItemList []*CustomVocabularyItem `locationName:"customVocabularyItemList" min:"1" type:"list" required:"true"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchUpdateCustomVocabularyItemInput) GoString added in v1.44.132

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 (*BatchUpdateCustomVocabularyItemInput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*BatchUpdateCustomVocabularyItemInput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*BatchUpdateCustomVocabularyItemInput) SetCustomVocabularyItemList added in v1.44.132

SetCustomVocabularyItemList sets the CustomVocabularyItemList field's value.

func (*BatchUpdateCustomVocabularyItemInput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (BatchUpdateCustomVocabularyItemInput) String added in v1.44.132

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 (*BatchUpdateCustomVocabularyItemInput) Validate added in v1.44.132

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

type BatchUpdateCustomVocabularyItemOutput added in v1.44.132

type BatchUpdateCustomVocabularyItemOutput struct {

	// The identifier of the bot associated with this custom vocabulary.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// A list of custom vocabulary items that failed to update during the operation.
	// The reason for the error is contained within each error object.
	Errors []*FailedCustomVocabularyItem `locationName:"errors" type:"list"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	LocaleId *string `locationName:"localeId" type:"string"`

	// A list of custom vocabulary items that were successfully updated during the
	// operation.
	Resources []*CustomVocabularyItem `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

func (BatchUpdateCustomVocabularyItemOutput) GoString added in v1.44.132

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 (*BatchUpdateCustomVocabularyItemOutput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*BatchUpdateCustomVocabularyItemOutput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*BatchUpdateCustomVocabularyItemOutput) SetErrors added in v1.44.132

SetErrors sets the Errors field's value.

func (*BatchUpdateCustomVocabularyItemOutput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (*BatchUpdateCustomVocabularyItemOutput) SetResources added in v1.44.132

SetResources sets the Resources field's value.

func (BatchUpdateCustomVocabularyItemOutput) String added in v1.44.132

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 BotAliasHistoryEvent

type BotAliasHistoryEvent struct {

	// The version of the bot that was used in the event.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The date and time that the event ended.
	EndDate *time.Time `locationName:"endDate" type:"timestamp"`

	// The date and time that the event started.
	StartDate *time.Time `locationName:"startDate" type:"timestamp"`
	// contains filtered or unexported fields
}

Provides a record of an event that affects a bot alias. For example, when the version of a bot that the alias points to changes.

func (BotAliasHistoryEvent) GoString

func (s BotAliasHistoryEvent) 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 (*BotAliasHistoryEvent) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*BotAliasHistoryEvent) SetEndDate

SetEndDate sets the EndDate field's value.

func (*BotAliasHistoryEvent) SetStartDate

func (s *BotAliasHistoryEvent) SetStartDate(v time.Time) *BotAliasHistoryEvent

SetStartDate sets the StartDate field's value.

func (BotAliasHistoryEvent) String

func (s BotAliasHistoryEvent) 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 BotAliasLocaleSettings

type BotAliasLocaleSettings struct {

	// Specifies the Lambda function that should be used in the locale.
	CodeHookSpecification *CodeHookSpecification `locationName:"codeHookSpecification" type:"structure"`

	// Determines whether the locale is enabled for the bot. If the value is false,
	// the locale isn't available for use.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.

func (BotAliasLocaleSettings) GoString

func (s BotAliasLocaleSettings) 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 (*BotAliasLocaleSettings) SetCodeHookSpecification

func (s *BotAliasLocaleSettings) SetCodeHookSpecification(v *CodeHookSpecification) *BotAliasLocaleSettings

SetCodeHookSpecification sets the CodeHookSpecification field's value.

func (*BotAliasLocaleSettings) SetEnabled

SetEnabled sets the Enabled field's value.

func (BotAliasLocaleSettings) String

func (s BotAliasLocaleSettings) 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 (*BotAliasLocaleSettings) Validate

func (s *BotAliasLocaleSettings) Validate() error

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

type BotAliasSummary

type BotAliasSummary struct {

	// The unique identifier assigned to the bot alias. You can use this ID to get
	// detailed information about the alias using the DescribeBotAlias (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBotAlias.html)
	// operation.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// The name of the bot alias.
	BotAliasName *string `locationName:"botAliasName" min:"1" type:"string"`

	// The current state of the bot alias. If the status is Available, the alias
	// is ready for use.
	BotAliasStatus *string `locationName:"botAliasStatus" type:"string" enum:"BotAliasStatus"`

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

	// A timestamp of the date and time that the bot alias was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// A timestamp of the date and time that the bot alias was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`
	// contains filtered or unexported fields
}

Summary information about bot aliases returned from the ListBotAliases (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotAliases.html) operation.

func (BotAliasSummary) GoString

func (s BotAliasSummary) 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 (*BotAliasSummary) SetBotAliasId

func (s *BotAliasSummary) SetBotAliasId(v string) *BotAliasSummary

SetBotAliasId sets the BotAliasId field's value.

func (*BotAliasSummary) SetBotAliasName

func (s *BotAliasSummary) SetBotAliasName(v string) *BotAliasSummary

SetBotAliasName sets the BotAliasName field's value.

func (*BotAliasSummary) SetBotAliasStatus

func (s *BotAliasSummary) SetBotAliasStatus(v string) *BotAliasSummary

SetBotAliasStatus sets the BotAliasStatus field's value.

func (*BotAliasSummary) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*BotAliasSummary) SetCreationDateTime

func (s *BotAliasSummary) SetCreationDateTime(v time.Time) *BotAliasSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*BotAliasSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*BotAliasSummary) SetLastUpdatedDateTime

func (s *BotAliasSummary) SetLastUpdatedDateTime(v time.Time) *BotAliasSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (BotAliasSummary) String

func (s BotAliasSummary) 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 BotAliasTestExecutionTarget added in v1.44.277

type BotAliasTestExecutionTarget struct {

	// The bot alias Id of the bot alias used in the test set execution.
	//
	// BotAliasId is a required field
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string" required:"true"`

	// The bot Id of the bot alias used in the test set execution.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The locale Id of the bot alias used in the test set execution.
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The target Amazon S3 location for the test set execution using a bot alias.

func (BotAliasTestExecutionTarget) GoString added in v1.44.277

func (s BotAliasTestExecutionTarget) 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 (*BotAliasTestExecutionTarget) SetBotAliasId added in v1.44.277

SetBotAliasId sets the BotAliasId field's value.

func (*BotAliasTestExecutionTarget) SetBotId added in v1.44.277

SetBotId sets the BotId field's value.

func (*BotAliasTestExecutionTarget) SetLocaleId added in v1.44.277

SetLocaleId sets the LocaleId field's value.

func (BotAliasTestExecutionTarget) String added in v1.44.277

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 (*BotAliasTestExecutionTarget) Validate added in v1.44.277

func (s *BotAliasTestExecutionTarget) Validate() error

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

type BotExportSpecification added in v1.38.42

type BotExportSpecification struct {

	// The identifier of the bot assigned by Amazon Lex.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that was exported. This will be either DRAFT or the
	// version number.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides the identity of a the bot that was exported.

func (BotExportSpecification) GoString added in v1.38.42

func (s BotExportSpecification) 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 (*BotExportSpecification) SetBotId added in v1.38.42

SetBotId sets the BotId field's value.

func (*BotExportSpecification) SetBotVersion added in v1.38.42

SetBotVersion sets the BotVersion field's value.

func (BotExportSpecification) String added in v1.38.42

func (s BotExportSpecification) 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 (*BotExportSpecification) Validate added in v1.38.42

func (s *BotExportSpecification) Validate() error

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

type BotFilter

type BotFilter struct {

	// The name of the field to filter the list of bots.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"BotFilterName"`

	// The operator to use for the filter. Specify EQ when the ListBots operation
	// should return only aliases that equal the specified value. Specify CO when
	// the ListBots operation should return aliases that contain the specified value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"BotFilterOperator"`

	// The value to use for filtering the list of bots.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters the responses returned by the ListBots operation.

func (BotFilter) GoString

func (s BotFilter) 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 (*BotFilter) SetName

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

SetName sets the Name field's value.

func (*BotFilter) SetOperator

func (s *BotFilter) SetOperator(v string) *BotFilter

SetOperator sets the Operator field's value.

func (*BotFilter) SetValues

func (s *BotFilter) SetValues(v []*string) *BotFilter

SetValues sets the Values field's value.

func (BotFilter) String

func (s BotFilter) 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 (*BotFilter) Validate

func (s *BotFilter) Validate() error

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

type BotImportSpecification added in v1.38.42

type BotImportSpecification struct {

	// The name that Amazon Lex should use for the bot.
	//
	// BotName is a required field
	BotName *string `locationName:"botName" min:"1" type:"string" required:"true"`

	// A list of tags to add to the bot. You can only add tags when you import a
	// bot. You can't use the UpdateBot operation to update tags. To update tags,
	// use the TagResource operation.
	BotTags map[string]*string `locationName:"botTags" type:"map"`

	// By default, data stored by Amazon Lex is encrypted. The DataPrivacy structure
	// provides settings that determine how Amazon Lex handles special cases of
	// securing the data for your bot.
	//
	// DataPrivacy is a required field
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure" required:"true"`

	// The time, in seconds, that Amazon Lex should keep information about a user's
	// conversation with the bot.
	//
	// A user interaction 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.
	//
	// You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// The Amazon Resource Name (ARN) of the IAM role used to build and run the
	// bot.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"`

	// A list of tags to add to the test alias for a bot. You can only add tags
	// when you import a bot. You can't use the UpdateAlias operation to update
	// tags. To update tags on the test alias, use the TagResource operation.
	TestBotAliasTags map[string]*string `locationName:"testBotAliasTags" type:"map"`
	// contains filtered or unexported fields
}

Provides the bot parameters required for importing a bot.

func (BotImportSpecification) GoString added in v1.38.42

func (s BotImportSpecification) 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 (*BotImportSpecification) SetBotName added in v1.38.42

SetBotName sets the BotName field's value.

func (*BotImportSpecification) SetBotTags added in v1.38.42

SetBotTags sets the BotTags field's value.

func (*BotImportSpecification) SetDataPrivacy added in v1.38.42

SetDataPrivacy sets the DataPrivacy field's value.

func (*BotImportSpecification) SetIdleSessionTTLInSeconds added in v1.38.42

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*BotImportSpecification) SetRoleArn added in v1.38.42

SetRoleArn sets the RoleArn field's value.

func (*BotImportSpecification) SetTestBotAliasTags added in v1.38.42

func (s *BotImportSpecification) SetTestBotAliasTags(v map[string]*string) *BotImportSpecification

SetTestBotAliasTags sets the TestBotAliasTags field's value.

func (BotImportSpecification) String added in v1.38.42

func (s BotImportSpecification) 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 (*BotImportSpecification) Validate added in v1.38.42

func (s *BotImportSpecification) Validate() error

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

type BotLocaleExportSpecification added in v1.38.42

type BotLocaleExportSpecification struct {

	// The identifier of the bot to create the locale for.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to export.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The identifier of the language and locale to export. The string must match
	// one of the locales in the bot.
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides the bot locale parameters required for exporting a bot locale.

func (BotLocaleExportSpecification) GoString added in v1.38.42

func (s BotLocaleExportSpecification) 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 (*BotLocaleExportSpecification) SetBotId added in v1.38.42

SetBotId sets the BotId field's value.

func (*BotLocaleExportSpecification) SetBotVersion added in v1.38.42

SetBotVersion sets the BotVersion field's value.

func (*BotLocaleExportSpecification) SetLocaleId added in v1.38.42

SetLocaleId sets the LocaleId field's value.

func (BotLocaleExportSpecification) String added in v1.38.42

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 (*BotLocaleExportSpecification) Validate added in v1.38.42

func (s *BotLocaleExportSpecification) Validate() error

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

type BotLocaleFilter

type BotLocaleFilter struct {

	// The name of the field to filter the list of bots.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"BotLocaleFilterName"`

	// The operator to use for the filter. Specify EQ when the ListBotLocales operation
	// should return only aliases that equal the specified value. Specify CO when
	// the ListBotLocales operation should return aliases that contain the specified
	// value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"BotLocaleFilterOperator"`

	// The value to use for filtering the list of bots.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters responses returned by the ListBotLocales operation.

func (BotLocaleFilter) GoString

func (s BotLocaleFilter) 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 (*BotLocaleFilter) SetName

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

SetName sets the Name field's value.

func (*BotLocaleFilter) SetOperator

func (s *BotLocaleFilter) SetOperator(v string) *BotLocaleFilter

SetOperator sets the Operator field's value.

func (*BotLocaleFilter) SetValues

func (s *BotLocaleFilter) SetValues(v []*string) *BotLocaleFilter

SetValues sets the Values field's value.

func (BotLocaleFilter) String

func (s BotLocaleFilter) 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 (*BotLocaleFilter) Validate

func (s *BotLocaleFilter) Validate() error

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

type BotLocaleHistoryEvent

type BotLocaleHistoryEvent struct {

	// A description of the event that occurred.
	//
	// Event is a required field
	Event *string `locationName:"event" type:"string" required:"true"`

	// A timestamp of the date and time that the event occurred.
	//
	// EventDate is a required field
	EventDate *time.Time `locationName:"eventDate" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Provides information about an event that occurred affecting the bot locale.

func (BotLocaleHistoryEvent) GoString

func (s BotLocaleHistoryEvent) 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 (*BotLocaleHistoryEvent) SetEvent

SetEvent sets the Event field's value.

func (*BotLocaleHistoryEvent) SetEventDate

SetEventDate sets the EventDate field's value.

func (BotLocaleHistoryEvent) String

func (s BotLocaleHistoryEvent) 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 BotLocaleImportSpecification added in v1.38.42

type BotLocaleImportSpecification struct {

	// The identifier of the bot to import the locale to.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to import the locale to. This can only be the DRAFT
	// version of the bot.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale that the bot will be used in. The
	// string must match one of the supported locales. All of the intents, slot
	// types, and slots used in the bot must have the same locale. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`

	// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,
	// AMAZON.KendraSearchIntent, or both when returning alternative intents. AMAZON.FallbackIntent
	// and AMAZON.KendraSearchIntent are only inserted if they are configured for
	// the bot.
	//
	// 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"`

	// Defines settings for using an Amazon Polly voice to communicate with a user.
	VoiceSettings *VoiceSettings `locationName:"voiceSettings" type:"structure"`
	// contains filtered or unexported fields
}

Provides the bot locale parameters required for importing a bot locale.

func (BotLocaleImportSpecification) GoString added in v1.38.42

func (s BotLocaleImportSpecification) 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 (*BotLocaleImportSpecification) SetBotId added in v1.38.42

SetBotId sets the BotId field's value.

func (*BotLocaleImportSpecification) SetBotVersion added in v1.38.42

SetBotVersion sets the BotVersion field's value.

func (*BotLocaleImportSpecification) SetLocaleId added in v1.38.42

SetLocaleId sets the LocaleId field's value.

func (*BotLocaleImportSpecification) SetNluIntentConfidenceThreshold added in v1.38.42

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

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*BotLocaleImportSpecification) SetVoiceSettings added in v1.38.42

SetVoiceSettings sets the VoiceSettings field's value.

func (BotLocaleImportSpecification) String added in v1.38.42

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 (*BotLocaleImportSpecification) Validate added in v1.38.42

func (s *BotLocaleImportSpecification) Validate() error

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

type BotLocaleSortBy

type BotLocaleSortBy struct {

	// The bot locale attribute to sort by.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"BotLocaleSortAttribute"`

	// Specifies whether to sort the bot locales in ascending or descending order.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of bot locales.

func (BotLocaleSortBy) GoString

func (s BotLocaleSortBy) 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 (*BotLocaleSortBy) SetAttribute

func (s *BotLocaleSortBy) SetAttribute(v string) *BotLocaleSortBy

SetAttribute sets the Attribute field's value.

func (*BotLocaleSortBy) SetOrder

func (s *BotLocaleSortBy) SetOrder(v string) *BotLocaleSortBy

SetOrder sets the Order field's value.

func (BotLocaleSortBy) String

func (s BotLocaleSortBy) 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 (*BotLocaleSortBy) Validate

func (s *BotLocaleSortBy) Validate() error

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

type BotLocaleSummary

type BotLocaleSummary struct {

	// The current status of the bot locale. When the status is Built the locale
	// is ready for use.
	BotLocaleStatus *string `locationName:"botLocaleStatus" type:"string" enum:"BotLocaleStatus"`

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

	// A timestamp of the date and time that the bot locale was last built.
	LastBuildSubmittedDateTime *time.Time `locationName:"lastBuildSubmittedDateTime" type:"timestamp"`

	// A timestamp of the date and time that the bot locale was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The language and locale of the bot locale.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The name of the bot locale.
	LocaleName *string `locationName:"localeName" type:"string"`
	// contains filtered or unexported fields
}

Summary information about bot locales returned by the ListBotLocales (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotLocales.html) operation.

func (BotLocaleSummary) GoString

func (s BotLocaleSummary) 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 (*BotLocaleSummary) SetBotLocaleStatus

func (s *BotLocaleSummary) SetBotLocaleStatus(v string) *BotLocaleSummary

SetBotLocaleStatus sets the BotLocaleStatus field's value.

func (*BotLocaleSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*BotLocaleSummary) SetLastBuildSubmittedDateTime

func (s *BotLocaleSummary) SetLastBuildSubmittedDateTime(v time.Time) *BotLocaleSummary

SetLastBuildSubmittedDateTime sets the LastBuildSubmittedDateTime field's value.

func (*BotLocaleSummary) SetLastUpdatedDateTime

func (s *BotLocaleSummary) SetLastUpdatedDateTime(v time.Time) *BotLocaleSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*BotLocaleSummary) SetLocaleId

func (s *BotLocaleSummary) SetLocaleId(v string) *BotLocaleSummary

SetLocaleId sets the LocaleId field's value.

func (*BotLocaleSummary) SetLocaleName

func (s *BotLocaleSummary) SetLocaleName(v string) *BotLocaleSummary

SetLocaleName sets the LocaleName field's value.

func (BotLocaleSummary) String

func (s BotLocaleSummary) 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 BotMember added in v1.44.198

type BotMember struct {

	// The alias ID of a bot that is a member of this network of bots.
	//
	// BotMemberAliasId is a required field
	BotMemberAliasId *string `locationName:"botMemberAliasId" min:"10" type:"string" required:"true"`

	// The alias name of a bot that is a member of this network of bots.
	//
	// BotMemberAliasName is a required field
	BotMemberAliasName *string `locationName:"botMemberAliasName" min:"1" type:"string" required:"true"`

	// The unique ID of a bot that is a member of this network of bots.
	//
	// BotMemberId is a required field
	BotMemberId *string `locationName:"botMemberId" min:"10" type:"string" required:"true"`

	// The unique name of a bot that is a member of this network of bots.
	//
	// BotMemberName is a required field
	BotMemberName *string `locationName:"botMemberName" min:"1" type:"string" required:"true"`

	// The version of a bot that is a member of this network of bots.
	//
	// BotMemberVersion is a required field
	BotMemberVersion *string `locationName:"botMemberVersion" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A bot that is a member of a network of bots.

func (BotMember) GoString added in v1.44.198

func (s BotMember) 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 (*BotMember) SetBotMemberAliasId added in v1.44.198

func (s *BotMember) SetBotMemberAliasId(v string) *BotMember

SetBotMemberAliasId sets the BotMemberAliasId field's value.

func (*BotMember) SetBotMemberAliasName added in v1.44.198

func (s *BotMember) SetBotMemberAliasName(v string) *BotMember

SetBotMemberAliasName sets the BotMemberAliasName field's value.

func (*BotMember) SetBotMemberId added in v1.44.198

func (s *BotMember) SetBotMemberId(v string) *BotMember

SetBotMemberId sets the BotMemberId field's value.

func (*BotMember) SetBotMemberName added in v1.44.198

func (s *BotMember) SetBotMemberName(v string) *BotMember

SetBotMemberName sets the BotMemberName field's value.

func (*BotMember) SetBotMemberVersion added in v1.44.198

func (s *BotMember) SetBotMemberVersion(v string) *BotMember

SetBotMemberVersion sets the BotMemberVersion field's value.

func (BotMember) String added in v1.44.198

func (s BotMember) 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 (*BotMember) Validate added in v1.44.198

func (s *BotMember) Validate() error

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

type BotRecommendationResultStatistics added in v1.42.17

type BotRecommendationResultStatistics struct {

	// Statistical information about about the intents associated with the bot recommendation
	// results.
	Intents *IntentStatistics `locationName:"intents" type:"structure"`

	// Statistical information about the slot types associated with the bot recommendation
	// results.
	SlotTypes *SlotTypeStatistics `locationName:"slotTypes" type:"structure"`
	// contains filtered or unexported fields
}

A statistical summary of the bot recommendation results.

func (BotRecommendationResultStatistics) GoString added in v1.42.17

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 (*BotRecommendationResultStatistics) SetIntents added in v1.42.17

SetIntents sets the Intents field's value.

func (*BotRecommendationResultStatistics) SetSlotTypes added in v1.42.17

SetSlotTypes sets the SlotTypes field's value.

func (BotRecommendationResultStatistics) String added in v1.42.17

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 BotRecommendationResults added in v1.42.17

type BotRecommendationResults struct {

	// The presigned url link of the associated transcript.
	AssociatedTranscriptsUrl *string `locationName:"associatedTranscriptsUrl" min:"1" type:"string"`

	// The presigned URL link of the recommended bot definition.
	BotLocaleExportUrl *string `locationName:"botLocaleExportUrl" min:"1" type:"string"`

	// The statistical summary of the bot recommendation results.
	Statistics *BotRecommendationResultStatistics `locationName:"statistics" type:"structure"`
	// contains filtered or unexported fields
}

The object representing the URL of the bot definition, the URL of the associated transcript, and a statistical summary of the bot recommendation results.

func (BotRecommendationResults) GoString added in v1.42.17

func (s BotRecommendationResults) 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 (*BotRecommendationResults) SetAssociatedTranscriptsUrl added in v1.42.17

func (s *BotRecommendationResults) SetAssociatedTranscriptsUrl(v string) *BotRecommendationResults

SetAssociatedTranscriptsUrl sets the AssociatedTranscriptsUrl field's value.

func (*BotRecommendationResults) SetBotLocaleExportUrl added in v1.42.17

func (s *BotRecommendationResults) SetBotLocaleExportUrl(v string) *BotRecommendationResults

SetBotLocaleExportUrl sets the BotLocaleExportUrl field's value.

func (*BotRecommendationResults) SetStatistics added in v1.42.17

SetStatistics sets the Statistics field's value.

func (BotRecommendationResults) String added in v1.42.17

func (s BotRecommendationResults) 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 BotRecommendationSummary added in v1.42.17

type BotRecommendationSummary struct {

	// The unique identifier of the bot recommendation to be updated.
	//
	// BotRecommendationId is a required field
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string" required:"true"`

	// The status of the bot recommendation.
	//
	// If the status is Failed, then the reasons for the failure are listed in the
	// failureReasons field.
	//
	// BotRecommendationStatus is a required field
	BotRecommendationStatus *string `locationName:"botRecommendationStatus" type:"string" required:"true" enum:"BotRecommendationStatus"`

	// A timestamp of the date and time that the bot recommendation was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// A timestamp of the date and time that the bot recommendation was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`
	// contains filtered or unexported fields
}

A summary of the bot recommendation.

func (BotRecommendationSummary) GoString added in v1.42.17

func (s BotRecommendationSummary) 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 (*BotRecommendationSummary) SetBotRecommendationId added in v1.42.17

func (s *BotRecommendationSummary) SetBotRecommendationId(v string) *BotRecommendationSummary

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*BotRecommendationSummary) SetBotRecommendationStatus added in v1.42.17

func (s *BotRecommendationSummary) SetBotRecommendationStatus(v string) *BotRecommendationSummary

SetBotRecommendationStatus sets the BotRecommendationStatus field's value.

func (*BotRecommendationSummary) SetCreationDateTime added in v1.42.17

func (s *BotRecommendationSummary) SetCreationDateTime(v time.Time) *BotRecommendationSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*BotRecommendationSummary) SetLastUpdatedDateTime added in v1.42.17

func (s *BotRecommendationSummary) SetLastUpdatedDateTime(v time.Time) *BotRecommendationSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (BotRecommendationSummary) String added in v1.42.17

func (s BotRecommendationSummary) 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 BotSortBy

type BotSortBy struct {

	// The attribute to use to sort the list of bots.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"BotSortAttribute"`

	// The order to sort the list. You can choose ascending or descending.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of bots.

func (BotSortBy) GoString

func (s BotSortBy) 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 (*BotSortBy) SetAttribute

func (s *BotSortBy) SetAttribute(v string) *BotSortBy

SetAttribute sets the Attribute field's value.

func (*BotSortBy) SetOrder

func (s *BotSortBy) SetOrder(v string) *BotSortBy

SetOrder sets the Order field's value.

func (BotSortBy) String

func (s BotSortBy) 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 (*BotSortBy) Validate

func (s *BotSortBy) Validate() error

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

type BotSummary

type BotSummary struct {

	// The unique identifier assigned to the bot. Use this ID to get detailed information
	// about the bot with the DescribeBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBot.html)
	// operation.
	BotId *string `locationName:"botId" min:"10" type:"string"`

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

	// The current status of the bot. When the status is Available the bot is ready
	// for use.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The type of the bot.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

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

	// The date and time that the bot was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The latest numerical version in use for the bot.
	LatestBotVersion *string `locationName:"latestBotVersion" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Summary information about a bot returned by the ListBots (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBots.html) operation.

func (BotSummary) GoString

func (s BotSummary) 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 (*BotSummary) SetBotId

func (s *BotSummary) SetBotId(v string) *BotSummary

SetBotId sets the BotId field's value.

func (*BotSummary) SetBotName

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

SetBotName sets the BotName field's value.

func (*BotSummary) SetBotStatus

func (s *BotSummary) SetBotStatus(v string) *BotSummary

SetBotStatus sets the BotStatus field's value.

func (*BotSummary) SetBotType added in v1.44.198

func (s *BotSummary) SetBotType(v string) *BotSummary

SetBotType sets the BotType field's value.

func (*BotSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*BotSummary) SetLastUpdatedDateTime

func (s *BotSummary) SetLastUpdatedDateTime(v time.Time) *BotSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*BotSummary) SetLatestBotVersion

func (s *BotSummary) SetLatestBotVersion(v string) *BotSummary

SetLatestBotVersion sets the LatestBotVersion field's value.

func (BotSummary) String

func (s BotSummary) 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 BotVersionLocaleDetails

type BotVersionLocaleDetails struct {

	// The version of a bot used for a bot locale.
	//
	// SourceBotVersion is a required field
	SourceBotVersion *string `locationName:"sourceBotVersion" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The version of a bot used for a bot locale.

func (BotVersionLocaleDetails) GoString

func (s BotVersionLocaleDetails) 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 (*BotVersionLocaleDetails) SetSourceBotVersion

func (s *BotVersionLocaleDetails) SetSourceBotVersion(v string) *BotVersionLocaleDetails

SetSourceBotVersion sets the SourceBotVersion field's value.

func (BotVersionLocaleDetails) String

func (s BotVersionLocaleDetails) 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 (*BotVersionLocaleDetails) Validate

func (s *BotVersionLocaleDetails) Validate() error

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

type BotVersionSortBy

type BotVersionSortBy struct {

	// The attribute to use to sort the list of versions.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"BotVersionSortAttribute"`

	// The order to sort the list. You can specify ascending or descending order.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of bot versions.

func (BotVersionSortBy) GoString

func (s BotVersionSortBy) 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 (*BotVersionSortBy) SetAttribute

func (s *BotVersionSortBy) SetAttribute(v string) *BotVersionSortBy

SetAttribute sets the Attribute field's value.

func (*BotVersionSortBy) SetOrder

func (s *BotVersionSortBy) SetOrder(v string) *BotVersionSortBy

SetOrder sets the Order field's value.

func (BotVersionSortBy) String

func (s BotVersionSortBy) 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 (*BotVersionSortBy) Validate

func (s *BotVersionSortBy) Validate() error

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

type BotVersionSummary

type BotVersionSummary struct {

	// The name of the bot associated with the version.
	BotName *string `locationName:"botName" min:"1" type:"string"`

	// The status of the bot. When the status is available, the version of the bot
	// is ready for use.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The numeric version of the bot, or DRAFT to indicate that this is the version
	// of the bot that can be updated..
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// A timestamp of the date and time that the version was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description of the version.
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

Summary information about a bot version returned by the ListBotVersions (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotVersions.html) operation.

func (BotVersionSummary) GoString

func (s BotVersionSummary) 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 (*BotVersionSummary) SetBotName

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

SetBotName sets the BotName field's value.

func (*BotVersionSummary) SetBotStatus

func (s *BotVersionSummary) SetBotStatus(v string) *BotVersionSummary

SetBotStatus sets the BotStatus field's value.

func (*BotVersionSummary) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*BotVersionSummary) SetCreationDateTime

func (s *BotVersionSummary) SetCreationDateTime(v time.Time) *BotVersionSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*BotVersionSummary) SetDescription

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

SetDescription sets the Description field's value.

func (BotVersionSummary) String

func (s BotVersionSummary) 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 BuildBotLocaleInput

type BuildBotLocaleInput struct {

	// The identifier of the bot to build. The identifier is returned in the response
	// from the CreateBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html)
	// operation.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to build. This can only be the draft version of the
	// bot.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale that the bot will be used in. The
	// string must match one of the supported locales. All of the intents, slot
	// types, and slots used in the bot must have the same locale. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BuildBotLocaleInput) GoString

func (s BuildBotLocaleInput) 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 (*BuildBotLocaleInput) SetBotId

SetBotId sets the BotId field's value.

func (*BuildBotLocaleInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*BuildBotLocaleInput) SetLocaleId

func (s *BuildBotLocaleInput) SetLocaleId(v string) *BuildBotLocaleInput

SetLocaleId sets the LocaleId field's value.

func (BuildBotLocaleInput) String

func (s BuildBotLocaleInput) 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 (*BuildBotLocaleInput) Validate

func (s *BuildBotLocaleInput) Validate() error

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

type BuildBotLocaleOutput

type BuildBotLocaleOutput struct {

	// The identifier of the specified bot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The bot's build status. When the status is ReadyExpressTesting you can test
	// the bot using the utterances defined for the intents and slot types. When
	// the status is Built, the bot is ready for use and can be tested using any
	// utterance.
	BotLocaleStatus *string `locationName:"botLocaleStatus" type:"string" enum:"BotLocaleStatus"`

	// The version of the bot that was built. This is only the draft version of
	// the bot.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp indicating the date and time that the bot was last built for
	// this locale.
	LastBuildSubmittedDateTime *time.Time `locationName:"lastBuildSubmittedDateTime" type:"timestamp"`

	// The language and locale specified of where the bot can be used.
	LocaleId *string `locationName:"localeId" type:"string"`
	// contains filtered or unexported fields
}

func (BuildBotLocaleOutput) GoString

func (s BuildBotLocaleOutput) 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 (*BuildBotLocaleOutput) SetBotId

SetBotId sets the BotId field's value.

func (*BuildBotLocaleOutput) SetBotLocaleStatus

func (s *BuildBotLocaleOutput) SetBotLocaleStatus(v string) *BuildBotLocaleOutput

SetBotLocaleStatus sets the BotLocaleStatus field's value.

func (*BuildBotLocaleOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*BuildBotLocaleOutput) SetLastBuildSubmittedDateTime

func (s *BuildBotLocaleOutput) SetLastBuildSubmittedDateTime(v time.Time) *BuildBotLocaleOutput

SetLastBuildSubmittedDateTime sets the LastBuildSubmittedDateTime field's value.

func (*BuildBotLocaleOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (BuildBotLocaleOutput) String

func (s BuildBotLocaleOutput) 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 BuiltInIntentSortBy

type BuiltInIntentSortBy struct {

	// The attribute to use to sort the list of built-in intents.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"BuiltInIntentSortAttribute"`

	// The order to sort the list. You can specify ascending or descending order.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of built-in intents.

func (BuiltInIntentSortBy) GoString

func (s BuiltInIntentSortBy) 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 (*BuiltInIntentSortBy) SetAttribute

func (s *BuiltInIntentSortBy) SetAttribute(v string) *BuiltInIntentSortBy

SetAttribute sets the Attribute field's value.

func (*BuiltInIntentSortBy) SetOrder

SetOrder sets the Order field's value.

func (BuiltInIntentSortBy) String

func (s BuiltInIntentSortBy) 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 (*BuiltInIntentSortBy) Validate

func (s *BuiltInIntentSortBy) Validate() error

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

type BuiltInIntentSummary

type BuiltInIntentSummary struct {

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

	// The signature of the built-in intent. Use this to specify the parent intent
	// of a derived intent.
	IntentSignature *string `locationName:"intentSignature" type:"string"`
	// contains filtered or unexported fields
}

Provides summary information about a built-in intent for the ListBuiltInIntents (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInIntents.html) operation.

func (BuiltInIntentSummary) GoString

func (s BuiltInIntentSummary) 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 (*BuiltInIntentSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*BuiltInIntentSummary) SetIntentSignature

func (s *BuiltInIntentSummary) SetIntentSignature(v string) *BuiltInIntentSummary

SetIntentSignature sets the IntentSignature field's value.

func (BuiltInIntentSummary) String

func (s BuiltInIntentSummary) 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 BuiltInSlotTypeSortBy

type BuiltInSlotTypeSortBy struct {

	// The attribute to use to sort the list of built-in intents.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"BuiltInSlotTypeSortAttribute"`

	// The order to sort the list. You can choose ascending or descending.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of built-in slot types.

func (BuiltInSlotTypeSortBy) GoString

func (s BuiltInSlotTypeSortBy) 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 (*BuiltInSlotTypeSortBy) SetAttribute

SetAttribute sets the Attribute field's value.

func (*BuiltInSlotTypeSortBy) SetOrder

SetOrder sets the Order field's value.

func (BuiltInSlotTypeSortBy) String

func (s BuiltInSlotTypeSortBy) 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 (*BuiltInSlotTypeSortBy) Validate

func (s *BuiltInSlotTypeSortBy) Validate() error

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

type BuiltInSlotTypeSummary

type BuiltInSlotTypeSummary struct {

	// The description of the built-in slot type.
	Description *string `locationName:"description" type:"string"`

	// The signature of the built-in slot type. Use this to specify the parent slot
	// type of a derived slot type.
	SlotTypeSignature *string `locationName:"slotTypeSignature" type:"string"`
	// contains filtered or unexported fields
}

Provides summary information about a built-in slot type for the ListBuiltInSlotTypes (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInSlotTypes.html) operation.

func (BuiltInSlotTypeSummary) GoString

func (s BuiltInSlotTypeSummary) 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 (*BuiltInSlotTypeSummary) SetDescription

SetDescription sets the Description field's value.

func (*BuiltInSlotTypeSummary) SetSlotTypeSignature

func (s *BuiltInSlotTypeSummary) SetSlotTypeSignature(v string) *BuiltInSlotTypeSummary

SetSlotTypeSignature sets the SlotTypeSignature field's value.

func (BuiltInSlotTypeSummary) String

func (s BuiltInSlotTypeSummary) 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 Button

type Button struct {

	// The text that appears on the button. Use this to tell the user what value
	// is returned when they choose this button.
	//
	// Text is a required field
	Text *string `locationName:"text" min:"1" type:"string" required:"true"`

	// The value returned to Amazon Lex when the user chooses this button. This
	// must be one of the slot values configured for the slot.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a button to use on a response card used to gather slot values from a user.

func (Button) GoString

func (s Button) 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 (*Button) SetText

func (s *Button) SetText(v string) *Button

SetText sets the Text field's value.

func (*Button) SetValue

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

SetValue sets the Value field's value.

func (Button) String

func (s Button) 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 (*Button) Validate

func (s *Button) Validate() error

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

type CloudWatchLogGroupLogDestination

type CloudWatchLogGroupLogDestination struct {

	// The Amazon Resource Name (ARN) of the log group where text and metadata logs
	// are delivered.
	//
	// CloudWatchLogGroupArn is a required field
	CloudWatchLogGroupArn *string `locationName:"cloudWatchLogGroupArn" min:"1" type:"string" required:"true"`

	// The prefix of the log stream name within the log group that you specified
	//
	// LogPrefix is a required field
	LogPrefix *string `locationName:"logPrefix" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The Amazon CloudWatch Logs log group where the text and metadata logs are delivered. The log group must exist before you enable logging.

func (CloudWatchLogGroupLogDestination) 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 (*CloudWatchLogGroupLogDestination) SetCloudWatchLogGroupArn

SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.

func (*CloudWatchLogGroupLogDestination) SetLogPrefix

SetLogPrefix sets the LogPrefix field's value.

func (CloudWatchLogGroupLogDestination) 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 (*CloudWatchLogGroupLogDestination) Validate

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

type CodeHookSpecification

type CodeHookSpecification struct {

	// Specifies a Lambda function that verifies requests to a bot or fulfills the
	// user's request to a bot.
	//
	// LambdaCodeHook is a required field
	LambdaCodeHook *LambdaCodeHook `locationName:"lambdaCodeHook" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains information about code hooks that Amazon Lex calls during a conversation.

func (CodeHookSpecification) GoString

func (s CodeHookSpecification) 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 (*CodeHookSpecification) SetLambdaCodeHook

SetLambdaCodeHook sets the LambdaCodeHook field's value.

func (CodeHookSpecification) String

func (s CodeHookSpecification) 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 (*CodeHookSpecification) Validate

func (s *CodeHookSpecification) Validate() error

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

type CompositeSlotTypeSetting added in v1.44.95

type CompositeSlotTypeSetting struct {

	// Subslots in the composite slot.
	SubSlots []*SubSlotTypeComposition `locationName:"subSlots" type:"list"`
	// contains filtered or unexported fields
}

A composite slot is a combination of two or more slots that capture multiple pieces of information in a single user input.

func (CompositeSlotTypeSetting) GoString added in v1.44.95

func (s CompositeSlotTypeSetting) 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 (*CompositeSlotTypeSetting) SetSubSlots added in v1.44.95

SetSubSlots sets the SubSlots field's value.

func (CompositeSlotTypeSetting) String added in v1.44.95

func (s CompositeSlotTypeSetting) 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 (*CompositeSlotTypeSetting) Validate added in v1.44.95

func (s *CompositeSlotTypeSetting) Validate() error

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

type Condition added in v1.44.79

type Condition struct {

	// The expression string that is evaluated.
	//
	// ExpressionString is a required field
	ExpressionString *string `locationName:"expressionString" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides an expression that evaluates to true or false.

func (Condition) GoString added in v1.44.79

func (s Condition) 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 (*Condition) SetExpressionString added in v1.44.79

func (s *Condition) SetExpressionString(v string) *Condition

SetExpressionString sets the ExpressionString field's value.

func (Condition) String added in v1.44.79

func (s Condition) 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 (*Condition) Validate added in v1.44.79

func (s *Condition) Validate() error

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

type ConditionalBranch added in v1.44.79

type ConditionalBranch struct {

	// Contains the expression to evaluate. If the condition is true, the branch's
	// actions are taken.
	//
	// Condition is a required field
	Condition *Condition `locationName:"condition" type:"structure" required:"true"`

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

	// The next step in the conversation.
	//
	// NextStep is a required field
	NextStep *DialogState `locationName:"nextStep" type:"structure" required:"true"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	Response *ResponseSpecification `locationName:"response" type:"structure"`
	// contains filtered or unexported fields
}

A set of actions that Amazon Lex should run if the condition is matched.

func (ConditionalBranch) GoString added in v1.44.79

func (s ConditionalBranch) 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 (*ConditionalBranch) SetCondition added in v1.44.79

func (s *ConditionalBranch) SetCondition(v *Condition) *ConditionalBranch

SetCondition sets the Condition field's value.

func (*ConditionalBranch) SetName added in v1.44.79

SetName sets the Name field's value.

func (*ConditionalBranch) SetNextStep added in v1.44.79

func (s *ConditionalBranch) SetNextStep(v *DialogState) *ConditionalBranch

SetNextStep sets the NextStep field's value.

func (*ConditionalBranch) SetResponse added in v1.44.79

SetResponse sets the Response field's value.

func (ConditionalBranch) String added in v1.44.79

func (s ConditionalBranch) 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 (*ConditionalBranch) Validate added in v1.44.79

func (s *ConditionalBranch) Validate() error

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

type ConditionalSpecification added in v1.44.79

type ConditionalSpecification struct {

	// Determines whether a conditional branch is active. When active is false,
	// the conditions are not evaluated.
	//
	// Active is a required field
	Active *bool `locationName:"active" type:"boolean" required:"true"`

	// A list of conditional branches. A conditional branch is made up of a condition,
	// a response and a next step. The response and next step are executed when
	// the condition is true.
	//
	// ConditionalBranches is a required field
	ConditionalBranches []*ConditionalBranch `locationName:"conditionalBranches" min:"1" type:"list" required:"true"`

	// The conditional branch that should be followed when the conditions for other
	// branches are not satisfied. A conditional branch is made up of a condition,
	// a response and a next step.
	//
	// DefaultBranch is a required field
	DefaultBranch *DefaultConditionalBranch `locationName:"defaultBranch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

func (ConditionalSpecification) GoString added in v1.44.79

func (s ConditionalSpecification) 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 (*ConditionalSpecification) SetActive added in v1.44.79

SetActive sets the Active field's value.

func (*ConditionalSpecification) SetConditionalBranches added in v1.44.79

func (s *ConditionalSpecification) SetConditionalBranches(v []*ConditionalBranch) *ConditionalSpecification

SetConditionalBranches sets the ConditionalBranches field's value.

func (*ConditionalSpecification) SetDefaultBranch added in v1.44.79

SetDefaultBranch sets the DefaultBranch field's value.

func (ConditionalSpecification) String added in v1.44.79

func (s ConditionalSpecification) 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 (*ConditionalSpecification) Validate added in v1.44.79

func (s *ConditionalSpecification) 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
}

The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. 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 ConversationLevelIntentClassificationResultItem added in v1.44.277

type ConversationLevelIntentClassificationResultItem struct {

	// The intent name used in the evaluation of intent level success or failure.
	//
	// IntentName is a required field
	IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"`

	// The number of times the specific intent is used in the evaluation of intent
	// level success or failure.
	//
	// MatchResult is a required field
	MatchResult *string `locationName:"matchResult" type:"string" required:"true" enum:"TestResultMatchStatus"`
	// contains filtered or unexported fields
}

The item listing the evaluation of intent level success or failure.

func (ConversationLevelIntentClassificationResultItem) GoString added in v1.44.277

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 (*ConversationLevelIntentClassificationResultItem) SetIntentName added in v1.44.277

SetIntentName sets the IntentName field's value.

func (*ConversationLevelIntentClassificationResultItem) SetMatchResult added in v1.44.277

SetMatchResult sets the MatchResult field's value.

func (ConversationLevelIntentClassificationResultItem) String added in v1.44.277

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 ConversationLevelResultDetail added in v1.44.277

type ConversationLevelResultDetail struct {

	// The success or failure of the streaming of the conversation.
	//
	// EndToEndResult is a required field
	EndToEndResult *string `locationName:"endToEndResult" type:"string" required:"true" enum:"TestResultMatchStatus"`

	// The speech transcription success or failure details of the conversation.
	SpeechTranscriptionResult *string `locationName:"speechTranscriptionResult" type:"string" enum:"TestResultMatchStatus"`
	// contains filtered or unexported fields
}

The conversation level details of the conversation used in the test set.

func (ConversationLevelResultDetail) GoString added in v1.44.277

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 (*ConversationLevelResultDetail) SetEndToEndResult added in v1.44.277

SetEndToEndResult sets the EndToEndResult field's value.

func (*ConversationLevelResultDetail) SetSpeechTranscriptionResult added in v1.44.277

func (s *ConversationLevelResultDetail) SetSpeechTranscriptionResult(v string) *ConversationLevelResultDetail

SetSpeechTranscriptionResult sets the SpeechTranscriptionResult field's value.

func (ConversationLevelResultDetail) String added in v1.44.277

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 ConversationLevelSlotResolutionResultItem added in v1.44.277

type ConversationLevelSlotResolutionResultItem struct {

	// The intents used in the slots list for the slot resolution details.
	//
	// IntentName is a required field
	IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"`

	// The number of matching slots used in the slots listings for the slot resolution
	// evaluation.
	//
	// MatchResult is a required field
	MatchResult *string `locationName:"matchResult" type:"string" required:"true" enum:"TestResultMatchStatus"`

	// The slot name in the slots list for the slot resolution details.
	//
	// SlotName is a required field
	SlotName *string `locationName:"slotName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The slots used for the slot resolution in the conversation.

func (ConversationLevelSlotResolutionResultItem) GoString added in v1.44.277

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 (*ConversationLevelSlotResolutionResultItem) SetIntentName added in v1.44.277

SetIntentName sets the IntentName field's value.

func (*ConversationLevelSlotResolutionResultItem) SetMatchResult added in v1.44.277

SetMatchResult sets the MatchResult field's value.

func (*ConversationLevelSlotResolutionResultItem) SetSlotName added in v1.44.277

SetSlotName sets the SlotName field's value.

func (ConversationLevelSlotResolutionResultItem) String added in v1.44.277

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 ConversationLevelTestResultItem added in v1.44.277

type ConversationLevelTestResultItem struct {

	// The conversation Id of the test result evaluation item.
	//
	// ConversationId is a required field
	ConversationId *string `locationName:"conversationId" min:"1" type:"string" required:"true"`

	// The end-to-end success or failure of the test result evaluation item.
	//
	// EndToEndResult is a required field
	EndToEndResult *string `locationName:"endToEndResult" type:"string" required:"true" enum:"TestResultMatchStatus"`

	// The intent classification of the test result evaluation item.
	//
	// IntentClassificationResults is a required field
	IntentClassificationResults []*ConversationLevelIntentClassificationResultItem `locationName:"intentClassificationResults" type:"list" required:"true"`

	// The slot success or failure of the test result evaluation item.
	//
	// SlotResolutionResults is a required field
	SlotResolutionResults []*ConversationLevelSlotResolutionResultItem `locationName:"slotResolutionResults" type:"list" required:"true"`

	// The speech transcription success or failure of the test result evaluation
	// item.
	SpeechTranscriptionResult *string `locationName:"speechTranscriptionResult" type:"string" enum:"TestResultMatchStatus"`
	// contains filtered or unexported fields
}

The test result evaluation item at the conversation level.

func (ConversationLevelTestResultItem) GoString added in v1.44.277

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 (*ConversationLevelTestResultItem) SetConversationId added in v1.44.277

SetConversationId sets the ConversationId field's value.

func (*ConversationLevelTestResultItem) SetEndToEndResult added in v1.44.277

SetEndToEndResult sets the EndToEndResult field's value.

func (*ConversationLevelTestResultItem) SetIntentClassificationResults added in v1.44.277

SetIntentClassificationResults sets the IntentClassificationResults field's value.

func (*ConversationLevelTestResultItem) SetSlotResolutionResults added in v1.44.277

SetSlotResolutionResults sets the SlotResolutionResults field's value.

func (*ConversationLevelTestResultItem) SetSpeechTranscriptionResult added in v1.44.277

func (s *ConversationLevelTestResultItem) SetSpeechTranscriptionResult(v string) *ConversationLevelTestResultItem

SetSpeechTranscriptionResult sets the SpeechTranscriptionResult field's value.

func (ConversationLevelTestResultItem) String added in v1.44.277

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 ConversationLevelTestResults added in v1.44.277

type ConversationLevelTestResults struct {

	// The item list in the test set results data at the conversation level.
	//
	// Items is a required field
	Items []*ConversationLevelTestResultItem `locationName:"items" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The test set results data at the conversation level.

func (ConversationLevelTestResults) GoString added in v1.44.277

func (s ConversationLevelTestResults) 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 (*ConversationLevelTestResults) SetItems added in v1.44.277

SetItems sets the Items field's value.

func (ConversationLevelTestResults) String added in v1.44.277

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 ConversationLevelTestResultsFilterBy added in v1.44.277

type ConversationLevelTestResultsFilterBy struct {

	// The selection of matched or mismatched end-to-end status to filter test set
	// results data at the conversation level.
	EndToEndResult *string `locationName:"endToEndResult" type:"string" enum:"TestResultMatchStatus"`
	// contains filtered or unexported fields
}

The selection to filter the test set results data at the conversation level.

func (ConversationLevelTestResultsFilterBy) GoString added in v1.44.277

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 (*ConversationLevelTestResultsFilterBy) SetEndToEndResult added in v1.44.277

SetEndToEndResult sets the EndToEndResult field's value.

func (ConversationLevelTestResultsFilterBy) String added in v1.44.277

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 ConversationLogSettings

type ConversationLogSettings struct {

	// The Amazon S3 settings for logging audio to an S3 bucket.
	AudioLogSettings []*AudioLogSetting `locationName:"audioLogSettings" min:"1" type:"list"`

	// The Amazon CloudWatch Logs settings for logging text and metadata.
	TextLogSettings []*TextLogSetting `locationName:"textLogSettings" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Configures conversation logging that saves audio, text, and metadata for the conversations with your users.

func (ConversationLogSettings) GoString

func (s ConversationLogSettings) 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 (*ConversationLogSettings) SetAudioLogSettings

func (s *ConversationLogSettings) SetAudioLogSettings(v []*AudioLogSetting) *ConversationLogSettings

SetAudioLogSettings sets the AudioLogSettings field's value.

func (*ConversationLogSettings) SetTextLogSettings

func (s *ConversationLogSettings) SetTextLogSettings(v []*TextLogSetting) *ConversationLogSettings

SetTextLogSettings sets the TextLogSettings field's value.

func (ConversationLogSettings) String

func (s ConversationLogSettings) 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 (*ConversationLogSettings) Validate

func (s *ConversationLogSettings) Validate() error

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

type ConversationLogsDataSource added in v1.44.277

type ConversationLogsDataSource struct {

	// The bot alias Id from the conversation logs.
	//
	// BotAliasId is a required field
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string" required:"true"`

	// The bot Id from the conversation logs.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The filter for the data source of the conversation log.
	//
	// Filter is a required field
	Filter *ConversationLogsDataSourceFilterBy `locationName:"filter" type:"structure" required:"true"`

	// The locale Id of the conversation log.
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The data source that uses conversation logs.

func (ConversationLogsDataSource) GoString added in v1.44.277

func (s ConversationLogsDataSource) 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 (*ConversationLogsDataSource) SetBotAliasId added in v1.44.277

SetBotAliasId sets the BotAliasId field's value.

func (*ConversationLogsDataSource) SetBotId added in v1.44.277

SetBotId sets the BotId field's value.

func (*ConversationLogsDataSource) SetFilter added in v1.44.277

SetFilter sets the Filter field's value.

func (*ConversationLogsDataSource) SetLocaleId added in v1.44.277

SetLocaleId sets the LocaleId field's value.

func (ConversationLogsDataSource) String added in v1.44.277

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 (*ConversationLogsDataSource) Validate added in v1.44.277

func (s *ConversationLogsDataSource) Validate() error

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

type ConversationLogsDataSourceFilterBy added in v1.44.277

type ConversationLogsDataSourceFilterBy struct {

	// The end time for the conversation log.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"`

	// The selection to filter by input mode for the conversation logs.
	//
	// InputMode is a required field
	InputMode *string `locationName:"inputMode" type:"string" required:"true" enum:"ConversationLogsInputModeFilter"`

	// The start time for the conversation log.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

The selected data source to filter the conversation log.

func (ConversationLogsDataSourceFilterBy) GoString added in v1.44.277

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 (*ConversationLogsDataSourceFilterBy) SetEndTime added in v1.44.277

SetEndTime sets the EndTime field's value.

func (*ConversationLogsDataSourceFilterBy) SetInputMode added in v1.44.277

SetInputMode sets the InputMode field's value.

func (*ConversationLogsDataSourceFilterBy) SetStartTime added in v1.44.277

SetStartTime sets the StartTime field's value.

func (ConversationLogsDataSourceFilterBy) String added in v1.44.277

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 (*ConversationLogsDataSourceFilterBy) Validate added in v1.44.277

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

type CreateBotAliasInput

type CreateBotAliasInput struct {

	// Maps configuration information to a specific locale. You can use this parameter
	// to specify a specific Lambda function to run different functions in different
	// locales.
	BotAliasLocaleSettings map[string]*BotAliasLocaleSettings `locationName:"botAliasLocaleSettings" min:"1" type:"map"`

	// The alias to create. The name must be unique for the bot.
	//
	// BotAliasName is a required field
	BotAliasName *string `locationName:"botAliasName" min:"1" type:"string" required:"true"`

	// The unique identifier of the bot that the alias applies to.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that this alias points to. You can use the UpdateBotAlias
	// (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html)
	// operation to change the bot version associated with the alias.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Specifies whether Amazon Lex logs text and audio for a conversation with
	// the bot. When you enable conversation logs, text logs store text input, transcripts
	// of audio input, and associated metadata in Amazon CloudWatch Logs. Audio
	// logs store audio input in Amazon S3.
	ConversationLogSettings *ConversationLogSettings `locationName:"conversationLogSettings" type:"structure"`

	// A description of the alias. Use this description to help identify the alias.
	Description *string `locationName:"description" type:"string"`

	// Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment
	// of user utterances.
	SentimentAnalysisSettings *SentimentAnalysisSettings `locationName:"sentimentAnalysisSettings" type:"structure"`

	// 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 UpdateBotAlias operation to update the tags on
	// a bot alias. To update tags, use the TagResource operation.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateBotAliasInput) GoString

func (s CreateBotAliasInput) 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 (*CreateBotAliasInput) SetBotAliasLocaleSettings

func (s *CreateBotAliasInput) SetBotAliasLocaleSettings(v map[string]*BotAliasLocaleSettings) *CreateBotAliasInput

SetBotAliasLocaleSettings sets the BotAliasLocaleSettings field's value.

func (*CreateBotAliasInput) SetBotAliasName

func (s *CreateBotAliasInput) SetBotAliasName(v string) *CreateBotAliasInput

SetBotAliasName sets the BotAliasName field's value.

func (*CreateBotAliasInput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateBotAliasInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateBotAliasInput) SetConversationLogSettings

func (s *CreateBotAliasInput) SetConversationLogSettings(v *ConversationLogSettings) *CreateBotAliasInput

SetConversationLogSettings sets the ConversationLogSettings field's value.

func (*CreateBotAliasInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateBotAliasInput) SetSentimentAnalysisSettings

func (s *CreateBotAliasInput) SetSentimentAnalysisSettings(v *SentimentAnalysisSettings) *CreateBotAliasInput

SetSentimentAnalysisSettings sets the SentimentAnalysisSettings field's value.

func (*CreateBotAliasInput) SetTags

SetTags sets the Tags field's value.

func (CreateBotAliasInput) String

func (s CreateBotAliasInput) 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 (*CreateBotAliasInput) Validate

func (s *CreateBotAliasInput) Validate() error

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

type CreateBotAliasOutput

type CreateBotAliasOutput struct {

	// The unique identifier of the bot alias.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// Configuration information for a specific locale.
	BotAliasLocaleSettings map[string]*BotAliasLocaleSettings `locationName:"botAliasLocaleSettings" min:"1" type:"map"`

	// The name specified for the bot alias.
	BotAliasName *string `locationName:"botAliasName" min:"1" type:"string"`

	// The current status of the alias. The alias is first put into the Creating
	// state. When the alias is ready to be used, it is put into the Available state.
	// You can use the DescribeBotAlias operation to get the current state of an
	// alias.
	BotAliasStatus *string `locationName:"botAliasStatus" type:"string" enum:"BotAliasStatus"`

	// The unique identifier of the bot that this alias applies to.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with this alias.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The conversation log settings specified for the alias.
	ConversationLogSettings *ConversationLogSettings `locationName:"conversationLogSettings" type:"structure"`

	// A Unix timestamp indicating the date and time that the bot alias was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description specified for the bot alias.
	Description *string `locationName:"description" type:"string"`

	// Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment
	// of user utterances.
	SentimentAnalysisSettings *SentimentAnalysisSettings `locationName:"sentimentAnalysisSettings" type:"structure"`

	// A list of tags associated with the bot alias.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateBotAliasOutput) GoString

func (s CreateBotAliasOutput) 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 (*CreateBotAliasOutput) SetBotAliasId

func (s *CreateBotAliasOutput) SetBotAliasId(v string) *CreateBotAliasOutput

SetBotAliasId sets the BotAliasId field's value.

func (*CreateBotAliasOutput) SetBotAliasLocaleSettings

func (s *CreateBotAliasOutput) SetBotAliasLocaleSettings(v map[string]*BotAliasLocaleSettings) *CreateBotAliasOutput

SetBotAliasLocaleSettings sets the BotAliasLocaleSettings field's value.

func (*CreateBotAliasOutput) SetBotAliasName

func (s *CreateBotAliasOutput) SetBotAliasName(v string) *CreateBotAliasOutput

SetBotAliasName sets the BotAliasName field's value.

func (*CreateBotAliasOutput) SetBotAliasStatus

func (s *CreateBotAliasOutput) SetBotAliasStatus(v string) *CreateBotAliasOutput

SetBotAliasStatus sets the BotAliasStatus field's value.

func (*CreateBotAliasOutput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateBotAliasOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateBotAliasOutput) SetConversationLogSettings

func (s *CreateBotAliasOutput) SetConversationLogSettings(v *ConversationLogSettings) *CreateBotAliasOutput

SetConversationLogSettings sets the ConversationLogSettings field's value.

func (*CreateBotAliasOutput) SetCreationDateTime

func (s *CreateBotAliasOutput) SetCreationDateTime(v time.Time) *CreateBotAliasOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateBotAliasOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateBotAliasOutput) SetSentimentAnalysisSettings

func (s *CreateBotAliasOutput) SetSentimentAnalysisSettings(v *SentimentAnalysisSettings) *CreateBotAliasOutput

SetSentimentAnalysisSettings sets the SentimentAnalysisSettings field's value.

func (*CreateBotAliasOutput) SetTags

SetTags sets the Tags field's value.

func (CreateBotAliasOutput) String

func (s CreateBotAliasOutput) 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 CreateBotInput

type CreateBotInput struct {

	// The list of bot members in a network to be created.
	BotMembers []*BotMember `locationName:"botMembers" type:"list"`

	// The name of the bot. The bot name must be unique in the account that creates
	// the bot.
	//
	// BotName is a required field
	BotName *string `locationName:"botName" min:"1" type:"string" required:"true"`

	// A list of tags to add to the bot. You can only add tags when you create a
	// bot. You can't use the UpdateBot operation to update tags. To update tags,
	// use the TagResource operation.
	BotTags map[string]*string `locationName:"botTags" type:"map"`

	// The type of a bot to create.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

	// Provides information on additional privacy protections Amazon Lex should
	// use with the bot's data.
	//
	// DataPrivacy is a required field
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure" required:"true"`

	// A description of the bot. It appears in lists to help you identify a particular
	// bot.
	Description *string `locationName:"description" type:"string"`

	// The time, in seconds, that Amazon Lex should keep information about a user's
	// conversation with the bot.
	//
	// A user interaction 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.
	//
	// You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
	//
	// IdleSessionTTLInSeconds is a required field
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer" required:"true"`

	// The Amazon Resource Name (ARN) of an IAM role that has permission to access
	// the bot.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"`

	// A list of tags to add to the test alias for a bot. You can only add tags
	// when you create a bot. You can't use the UpdateAlias operation to update
	// tags. To update tags on the test alias, use the TagResource operation.
	TestBotAliasTags map[string]*string `locationName:"testBotAliasTags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateBotInput) GoString

func (s CreateBotInput) 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 (*CreateBotInput) SetBotMembers added in v1.44.198

func (s *CreateBotInput) SetBotMembers(v []*BotMember) *CreateBotInput

SetBotMembers sets the BotMembers field's value.

func (*CreateBotInput) SetBotName

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

SetBotName sets the BotName field's value.

func (*CreateBotInput) SetBotTags

func (s *CreateBotInput) SetBotTags(v map[string]*string) *CreateBotInput

SetBotTags sets the BotTags field's value.

func (*CreateBotInput) SetBotType added in v1.44.198

func (s *CreateBotInput) SetBotType(v string) *CreateBotInput

SetBotType sets the BotType field's value.

func (*CreateBotInput) SetDataPrivacy

func (s *CreateBotInput) SetDataPrivacy(v *DataPrivacy) *CreateBotInput

SetDataPrivacy sets the DataPrivacy field's value.

func (*CreateBotInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateBotInput) SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*CreateBotInput) SetRoleArn

func (s *CreateBotInput) SetRoleArn(v string) *CreateBotInput

SetRoleArn sets the RoleArn field's value.

func (*CreateBotInput) SetTestBotAliasTags

func (s *CreateBotInput) SetTestBotAliasTags(v map[string]*string) *CreateBotInput

SetTestBotAliasTags sets the TestBotAliasTags field's value.

func (CreateBotInput) String

func (s CreateBotInput) 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 (*CreateBotInput) Validate

func (s *CreateBotInput) Validate() error

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

type CreateBotLocaleInput

type CreateBotLocaleInput struct {

	// The identifier of the bot to create the locale for.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to create the locale for. This can only be the draft
	// version of the bot.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// A description of the bot locale. Use this to help identify the bot locale
	// in lists.
	Description *string `locationName:"description" type:"string"`

	// The identifier of the language and locale that the bot will be used in. The
	// string must match one of the supported locales. All of the intents, slot
	// types, and slots used in the bot must have the same locale. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`

	// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,
	// AMAZON.KendraSearchIntent, or both when returning alternative intents. AMAZON.FallbackIntent
	// and AMAZON.KendraSearchIntent are only inserted if they are configured for
	// the bot.
	//
	// 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 RecognizeText operation would be:
	//
	//    * AMAZON.FallbackIntent
	//
	//    * IntentA
	//
	//    * IntentB
	//
	//    * IntentC
	//
	// NluIntentConfidenceThreshold is a required field
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double" required:"true"`

	// The Amazon Polly voice ID that Amazon Lex uses for voice interaction with
	// the user.
	VoiceSettings *VoiceSettings `locationName:"voiceSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateBotLocaleInput) GoString

func (s CreateBotLocaleInput) 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 (*CreateBotLocaleInput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateBotLocaleInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateBotLocaleInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateBotLocaleInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*CreateBotLocaleInput) SetNluIntentConfidenceThreshold

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

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*CreateBotLocaleInput) SetVoiceSettings

func (s *CreateBotLocaleInput) SetVoiceSettings(v *VoiceSettings) *CreateBotLocaleInput

SetVoiceSettings sets the VoiceSettings field's value.

func (CreateBotLocaleInput) String

func (s CreateBotLocaleInput) 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 (*CreateBotLocaleInput) Validate

func (s *CreateBotLocaleInput) Validate() error

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

type CreateBotLocaleOutput

type CreateBotLocaleOutput struct {

	// The specified bot identifier.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The status of the bot.
	//
	// When the status is Creating the bot locale is being configured. When the
	// status is Building Amazon Lex is building the bot for testing and use.
	//
	// If the status of the bot is ReadyExpressTesting, you can test the bot using
	// the exact utterances specified in the bots' intents. When the bot is ready
	// for full testing or to run, the status is Built.
	//
	// If there was a problem with building the bot, the status is Failed. If the
	// bot was saved but not built, the status is NotBuilt.
	BotLocaleStatus *string `locationName:"botLocaleStatus" type:"string" enum:"BotLocaleStatus"`

	// The specified bot version.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp specifying the date and time that the bot locale was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The specified description of the bot locale.
	Description *string `locationName:"description" type:"string"`

	// The specified locale identifier.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The specified locale name.
	LocaleName *string `locationName:"localeName" type:"string"`

	// The specified confidence threshold for inserting the AMAZON.FallbackIntent
	// and AMAZON.KendraSearchIntent intents.
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double"`

	// The Amazon Polly voice ID that Amazon Lex uses for voice interaction with
	// the user.
	VoiceSettings *VoiceSettings `locationName:"voiceSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateBotLocaleOutput) GoString

func (s CreateBotLocaleOutput) 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 (*CreateBotLocaleOutput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateBotLocaleOutput) SetBotLocaleStatus

func (s *CreateBotLocaleOutput) SetBotLocaleStatus(v string) *CreateBotLocaleOutput

SetBotLocaleStatus sets the BotLocaleStatus field's value.

func (*CreateBotLocaleOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateBotLocaleOutput) SetCreationDateTime

func (s *CreateBotLocaleOutput) SetCreationDateTime(v time.Time) *CreateBotLocaleOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateBotLocaleOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateBotLocaleOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*CreateBotLocaleOutput) SetLocaleName

func (s *CreateBotLocaleOutput) SetLocaleName(v string) *CreateBotLocaleOutput

SetLocaleName sets the LocaleName field's value.

func (*CreateBotLocaleOutput) SetNluIntentConfidenceThreshold

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

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*CreateBotLocaleOutput) SetVoiceSettings

SetVoiceSettings sets the VoiceSettings field's value.

func (CreateBotLocaleOutput) String

func (s CreateBotLocaleOutput) 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 CreateBotOutput

type CreateBotOutput struct {

	// A unique identifier for a particular bot. You use this to identify the bot
	// when you call other Amazon Lex API operations.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The list of bots in a network that was created.
	BotMembers []*BotMember `locationName:"botMembers" type:"list"`

	// The name specified for the bot.
	BotName *string `locationName:"botName" min:"1" type:"string"`

	// Shows the current status of the bot. The bot is first in the Creating status.
	// Once the bot is read for use, it changes to the Available status. After the
	// bot is created, you can use the DRAFT version of the bot.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// A list of tags associated with the bot.
	BotTags map[string]*string `locationName:"botTags" type:"map"`

	// The type of a bot that was created.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

	// A timestamp indicating the date and time that the bot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The data privacy settings specified for the bot.
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure"`

	// The description specified for the bot.
	Description *string `locationName:"description" type:"string"`

	// The session idle time specified for the bot.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// The IAM role specified for the bot.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`

	// A list of tags associated with the test alias for the bot.
	TestBotAliasTags map[string]*string `locationName:"testBotAliasTags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateBotOutput) GoString

func (s CreateBotOutput) 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 (*CreateBotOutput) SetBotId

func (s *CreateBotOutput) SetBotId(v string) *CreateBotOutput

SetBotId sets the BotId field's value.

func (*CreateBotOutput) SetBotMembers added in v1.44.198

func (s *CreateBotOutput) SetBotMembers(v []*BotMember) *CreateBotOutput

SetBotMembers sets the BotMembers field's value.

func (*CreateBotOutput) SetBotName

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

SetBotName sets the BotName field's value.

func (*CreateBotOutput) SetBotStatus

func (s *CreateBotOutput) SetBotStatus(v string) *CreateBotOutput

SetBotStatus sets the BotStatus field's value.

func (*CreateBotOutput) SetBotTags

func (s *CreateBotOutput) SetBotTags(v map[string]*string) *CreateBotOutput

SetBotTags sets the BotTags field's value.

func (*CreateBotOutput) SetBotType added in v1.44.198

func (s *CreateBotOutput) SetBotType(v string) *CreateBotOutput

SetBotType sets the BotType field's value.

func (*CreateBotOutput) SetCreationDateTime

func (s *CreateBotOutput) SetCreationDateTime(v time.Time) *CreateBotOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateBotOutput) SetDataPrivacy

func (s *CreateBotOutput) SetDataPrivacy(v *DataPrivacy) *CreateBotOutput

SetDataPrivacy sets the DataPrivacy field's value.

func (*CreateBotOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateBotOutput) SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*CreateBotOutput) SetRoleArn

func (s *CreateBotOutput) SetRoleArn(v string) *CreateBotOutput

SetRoleArn sets the RoleArn field's value.

func (*CreateBotOutput) SetTestBotAliasTags

func (s *CreateBotOutput) SetTestBotAliasTags(v map[string]*string) *CreateBotOutput

SetTestBotAliasTags sets the TestBotAliasTags field's value.

func (CreateBotOutput) String

func (s CreateBotOutput) 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 {

	// The identifier of the bot to create the version for.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// Specifies the locales that Amazon Lex adds to this version. You can choose
	// the Draft version or any other previously published version for each locale.
	// When you specify a source version, the locale data is copied from the source
	// version to the new version.
	//
	// BotVersionLocaleSpecification is a required field
	BotVersionLocaleSpecification map[string]*BotVersionLocaleDetails `locationName:"botVersionLocaleSpecification" min:"1" type:"map" required:"true"`

	// A description of the version. Use the description to help identify the version
	// in lists.
	Description *string `locationName:"description" type:"string"`
	// 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) SetBotId

SetBotId sets the BotId field's value.

func (*CreateBotVersionInput) SetBotVersionLocaleSpecification

func (s *CreateBotVersionInput) SetBotVersionLocaleSpecification(v map[string]*BotVersionLocaleDetails) *CreateBotVersionInput

SetBotVersionLocaleSpecification sets the BotVersionLocaleSpecification field's value.

func (*CreateBotVersionInput) SetDescription

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

SetDescription sets the Description 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 bot identifier specified in the request.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// When you send a request to create or update a bot, Amazon Lex sets the status
	// response element to Creating. After Amazon Lex builds the bot, it sets status
	// to Available. If Amazon Lex can't build the bot, it sets status to Failed.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The version number assigned to the version.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The source versions used for each locale in the new version.
	BotVersionLocaleSpecification map[string]*BotVersionLocaleDetails `locationName:"botVersionLocaleSpecification" min:"1" type:"map"`

	// A timestamp of the date and time that the version was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description of the version specified in the request.
	Description *string `locationName:"description" 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) SetBotId

SetBotId sets the BotId field's value.

func (*CreateBotVersionOutput) SetBotStatus

SetBotStatus sets the BotStatus field's value.

func (*CreateBotVersionOutput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (*CreateBotVersionOutput) SetBotVersionLocaleSpecification

func (s *CreateBotVersionOutput) SetBotVersionLocaleSpecification(v map[string]*BotVersionLocaleDetails) *CreateBotVersionOutput

SetBotVersionLocaleSpecification sets the BotVersionLocaleSpecification field's value.

func (*CreateBotVersionOutput) SetCreationDateTime

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateBotVersionOutput) SetDescription

SetDescription sets the Description 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 CreateExportInput added in v1.38.42

type CreateExportInput struct {

	// The file format of the bot or bot locale definition files.
	//
	// FileFormat is a required field
	FileFormat *string `locationName:"fileFormat" type:"string" required:"true" enum:"ImportExportFileFormat"`

	// An password to use to encrypt the exported archive. Using a password is optional,
	// but you should encrypt the archive to protect the data in transit between
	// Amazon Lex and your local computer.
	//
	// FilePassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateExportInput's
	// String and GoString methods.
	FilePassword *string `locationName:"filePassword" min:"1" type:"string" sensitive:"true"`

	// Specifies the type of resource to export, either a bot or a bot locale. You
	// can only specify one type of resource to export.
	//
	// ResourceSpecification is a required field
	ResourceSpecification *ExportResourceSpecification `locationName:"resourceSpecification" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateExportInput) GoString added in v1.38.42

func (s CreateExportInput) 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 (*CreateExportInput) SetFileFormat added in v1.38.42

func (s *CreateExportInput) SetFileFormat(v string) *CreateExportInput

SetFileFormat sets the FileFormat field's value.

func (*CreateExportInput) SetFilePassword added in v1.38.42

func (s *CreateExportInput) SetFilePassword(v string) *CreateExportInput

SetFilePassword sets the FilePassword field's value.

func (*CreateExportInput) SetResourceSpecification added in v1.38.42

func (s *CreateExportInput) SetResourceSpecification(v *ExportResourceSpecification) *CreateExportInput

SetResourceSpecification sets the ResourceSpecification field's value.

func (CreateExportInput) String added in v1.38.42

func (s CreateExportInput) 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 (*CreateExportInput) Validate added in v1.38.42

func (s *CreateExportInput) Validate() error

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

type CreateExportOutput added in v1.38.42

type CreateExportOutput struct {

	// The date and time that the request to export a bot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// An identifier for a specific request to create an export.
	ExportId *string `locationName:"exportId" min:"10" type:"string"`

	// The status of the export. When the status is Completed, you can use the DescribeExport
	// (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html)
	// operation to get the pre-signed S3 URL link to your exported bot or bot locale.
	ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"`

	// The file format used for the bot or bot locale definition files.
	FileFormat *string `locationName:"fileFormat" type:"string" enum:"ImportExportFileFormat"`

	// A description of the type of resource that was exported, either a bot or
	// a bot locale.
	ResourceSpecification *ExportResourceSpecification `locationName:"resourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateExportOutput) GoString added in v1.38.42

func (s CreateExportOutput) 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 (*CreateExportOutput) SetCreationDateTime added in v1.38.42

func (s *CreateExportOutput) SetCreationDateTime(v time.Time) *CreateExportOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateExportOutput) SetExportId added in v1.38.42

func (s *CreateExportOutput) SetExportId(v string) *CreateExportOutput

SetExportId sets the ExportId field's value.

func (*CreateExportOutput) SetExportStatus added in v1.38.42

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

SetExportStatus sets the ExportStatus field's value.

func (*CreateExportOutput) SetFileFormat added in v1.38.42

func (s *CreateExportOutput) SetFileFormat(v string) *CreateExportOutput

SetFileFormat sets the FileFormat field's value.

func (*CreateExportOutput) SetResourceSpecification added in v1.38.42

func (s *CreateExportOutput) SetResourceSpecification(v *ExportResourceSpecification) *CreateExportOutput

SetResourceSpecification sets the ResourceSpecification field's value.

func (CreateExportOutput) String added in v1.38.42

func (s CreateExportOutput) 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 CreateIntentInput

type CreateIntentInput struct {

	// The identifier of the bot associated with this intent.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with this intent.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// A description of the intent. Use the description to help identify the intent
	// in lists.
	Description *string `locationName:"description" type:"string"`

	// Specifies that Amazon Lex invokes the alias Lambda function for each user
	// input. You can invoke this Lambda function to personalize user interaction.
	//
	// For example, suppose that your bot determines that the user's name is John.
	// You 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 *DialogCodeHookSettings `locationName:"dialogCodeHook" type:"structure"`

	// Specifies that Amazon Lex invokes the alias Lambda function when the intent
	// is ready for fulfillment. You can invoke this function to complete the bot's
	// transaction with the user.
	//
	// For example, in a pizza ordering bot, the Lambda function can look up the
	// closest pizza restaurant to the customer's location and then place an order
	// on the customer's behalf.
	FulfillmentCodeHook *FulfillmentCodeHookSettings `locationName:"fulfillmentCodeHook" type:"structure"`

	// Configuration settings for the response that is sent to the user at the beginning
	// of a conversation, before eliciting slot values.
	InitialResponseSetting *InitialResponseSetting `locationName:"initialResponseSetting" type:"structure"`

	// A list of contexts that must be active for this intent to be considered by
	// Amazon Lex.
	//
	// When an intent has an input context list, Amazon Lex only considers using
	// the intent in an interaction with the user when the specified contexts are
	// included in the active context list for the session. If the contexts are
	// not active, then Amazon Lex will not use the intent.
	//
	// A context can be automatically activated using the outputContexts property
	// or it can be set at runtime.
	//
	// For example, if there are two intents with different input contexts that
	// respond to the same utterances, only the intent with the active context will
	// respond.
	//
	// An intent may have up to 5 input contexts. If an intent has multiple input
	// contexts, all of the contexts must be active to consider the intent.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// Sets the response that Amazon Lex sends to the user when the intent is closed.
	IntentClosingSetting *IntentClosingSetting `locationName:"intentClosingSetting" type:"structure"`

	// Provides prompts that Amazon Lex sends to the user to confirm the completion
	// of an intent. If the user answers "no," the settings contain a statement
	// that is sent to the user to end the intent.
	IntentConfirmationSetting *IntentConfirmationSetting `locationName:"intentConfirmationSetting" type:"structure"`

	// The name of the intent. Intent names must be unique in the locale that contains
	// the intent and cannot match the name of any built-in intent.
	//
	// IntentName is a required field
	IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"`

	// Configuration information required to use the AMAZON.KendraSearchIntent intent
	// to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent
	// is called when Amazon Lex can't determine another intent to invoke.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The identifier of the language and locale where this intent is used. All
	// of the bots, slot types, and slots used by the intent must have the same
	// locale. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// A lists of contexts that the intent activates when it is fulfilled.
	//
	// You can use an output context to indicate the intents that Amazon Lex should
	// consider for the next turn of the conversation with a customer.
	//
	// When you use the outputContextsList property, all of the contexts specified
	// in the list are activated when the intent is fulfilled. You can set up to
	// 10 output contexts. You can also set the number of conversation turns that
	// the context should be active, or the length of time that the context should
	// be active.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// A unique identifier for the built-in intent to base this intent on.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// An array of strings that a user might say to signal the intent. For example,
	// "I want a pizza", or "I want a {PizzaSize} pizza".
	//
	// In an utterance, slot names are enclosed in curly braces ("{", "}") to indicate
	// where they should be displayed in the utterance shown to the user..
	SampleUtterances []*SampleUtterance `locationName:"sampleUtterances" type:"list"`
	// contains filtered or unexported fields
}

func (CreateIntentInput) GoString

func (s CreateIntentInput) 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 (*CreateIntentInput) SetBotId

func (s *CreateIntentInput) SetBotId(v string) *CreateIntentInput

SetBotId sets the BotId field's value.

func (*CreateIntentInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateIntentInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateIntentInput) SetDialogCodeHook

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*CreateIntentInput) SetFulfillmentCodeHook

func (s *CreateIntentInput) SetFulfillmentCodeHook(v *FulfillmentCodeHookSettings) *CreateIntentInput

SetFulfillmentCodeHook sets the FulfillmentCodeHook field's value.

func (*CreateIntentInput) SetInitialResponseSetting added in v1.44.79

func (s *CreateIntentInput) SetInitialResponseSetting(v *InitialResponseSetting) *CreateIntentInput

SetInitialResponseSetting sets the InitialResponseSetting field's value.

func (*CreateIntentInput) SetInputContexts

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

SetInputContexts sets the InputContexts field's value.

func (*CreateIntentInput) SetIntentClosingSetting

func (s *CreateIntentInput) SetIntentClosingSetting(v *IntentClosingSetting) *CreateIntentInput

SetIntentClosingSetting sets the IntentClosingSetting field's value.

func (*CreateIntentInput) SetIntentConfirmationSetting

func (s *CreateIntentInput) SetIntentConfirmationSetting(v *IntentConfirmationSetting) *CreateIntentInput

SetIntentConfirmationSetting sets the IntentConfirmationSetting field's value.

func (*CreateIntentInput) SetIntentName

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

SetIntentName sets the IntentName field's value.

func (*CreateIntentInput) SetKendraConfiguration

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

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*CreateIntentInput) SetLocaleId

func (s *CreateIntentInput) SetLocaleId(v string) *CreateIntentInput

SetLocaleId sets the LocaleId field's value.

func (*CreateIntentInput) SetOutputContexts

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

SetOutputContexts sets the OutputContexts field's value.

func (*CreateIntentInput) SetParentIntentSignature

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

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*CreateIntentInput) SetSampleUtterances

func (s *CreateIntentInput) SetSampleUtterances(v []*SampleUtterance) *CreateIntentInput

SetSampleUtterances sets the SampleUtterances field's value.

func (CreateIntentInput) String

func (s CreateIntentInput) 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 (*CreateIntentInput) Validate

func (s *CreateIntentInput) Validate() error

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

type CreateIntentOutput

type CreateIntentOutput struct {

	// The identifier of the bot associated with the intent.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the intent.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp of the date and time that the intent was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description specified for the intent.
	Description *string `locationName:"description" type:"string"`

	// The dialog Lambda function specified for the intent.
	DialogCodeHook *DialogCodeHookSettings `locationName:"dialogCodeHook" type:"structure"`

	// The fulfillment Lambda function specified for the intent.
	FulfillmentCodeHook *FulfillmentCodeHookSettings `locationName:"fulfillmentCodeHook" type:"structure"`

	// Configuration settings for the response that is sent to the user at the beginning
	// of a conversation, before eliciting slot values.
	InitialResponseSetting *InitialResponseSetting `locationName:"initialResponseSetting" type:"structure"`

	// The list of input contexts specified for the intent.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// The closing setting specified for the intent.
	IntentClosingSetting *IntentClosingSetting `locationName:"intentClosingSetting" type:"structure"`

	// The confirmation setting specified for the intent.
	IntentConfirmationSetting *IntentConfirmationSetting `locationName:"intentConfirmationSetting" type:"structure"`

	// A unique identifier for the intent.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// The name specified for the intent.
	IntentName *string `locationName:"intentName" min:"1" type:"string"`

	// Configuration for searching a Amazon Kendra index specified for the intent.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The locale that the intent is specified to use.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The list of output contexts specified for the intent.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// The signature of the parent intent specified for the intent.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// The sample utterances specified for the intent.
	SampleUtterances []*SampleUtterance `locationName:"sampleUtterances" type:"list"`
	// contains filtered or unexported fields
}

func (CreateIntentOutput) GoString

func (s CreateIntentOutput) 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 (*CreateIntentOutput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateIntentOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateIntentOutput) SetCreationDateTime

func (s *CreateIntentOutput) SetCreationDateTime(v time.Time) *CreateIntentOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateIntentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateIntentOutput) SetDialogCodeHook

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*CreateIntentOutput) SetFulfillmentCodeHook

func (s *CreateIntentOutput) SetFulfillmentCodeHook(v *FulfillmentCodeHookSettings) *CreateIntentOutput

SetFulfillmentCodeHook sets the FulfillmentCodeHook field's value.

func (*CreateIntentOutput) SetInitialResponseSetting added in v1.44.79

func (s *CreateIntentOutput) SetInitialResponseSetting(v *InitialResponseSetting) *CreateIntentOutput

SetInitialResponseSetting sets the InitialResponseSetting field's value.

func (*CreateIntentOutput) SetInputContexts

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

SetInputContexts sets the InputContexts field's value.

func (*CreateIntentOutput) SetIntentClosingSetting

func (s *CreateIntentOutput) SetIntentClosingSetting(v *IntentClosingSetting) *CreateIntentOutput

SetIntentClosingSetting sets the IntentClosingSetting field's value.

func (*CreateIntentOutput) SetIntentConfirmationSetting

func (s *CreateIntentOutput) SetIntentConfirmationSetting(v *IntentConfirmationSetting) *CreateIntentOutput

SetIntentConfirmationSetting sets the IntentConfirmationSetting field's value.

func (*CreateIntentOutput) SetIntentId

func (s *CreateIntentOutput) SetIntentId(v string) *CreateIntentOutput

SetIntentId sets the IntentId field's value.

func (*CreateIntentOutput) SetIntentName

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

SetIntentName sets the IntentName field's value.

func (*CreateIntentOutput) SetKendraConfiguration

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

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*CreateIntentOutput) SetLocaleId

func (s *CreateIntentOutput) SetLocaleId(v string) *CreateIntentOutput

SetLocaleId sets the LocaleId field's value.

func (*CreateIntentOutput) SetOutputContexts

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

SetOutputContexts sets the OutputContexts field's value.

func (*CreateIntentOutput) SetParentIntentSignature

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

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*CreateIntentOutput) SetSampleUtterances

func (s *CreateIntentOutput) SetSampleUtterances(v []*SampleUtterance) *CreateIntentOutput

SetSampleUtterances sets the SampleUtterances field's value.

func (CreateIntentOutput) String

func (s CreateIntentOutput) 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 CreateResourcePolicyInput added in v1.38.44

type CreateResourcePolicyInput struct {

	// A resource policy to add to the resource. The policy is a JSON structure
	// that contains one or more statements that define the policy. The policy must
	// follow the IAM syntax. For more information about the contents of a JSON
	// policy document, see IAM JSON policy reference (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html).
	//
	// If the policy isn't valid, Amazon Lex returns a validation exception.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" min:"2" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateResourcePolicyInput) GoString added in v1.38.44

func (s CreateResourcePolicyInput) 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 (*CreateResourcePolicyInput) SetPolicy added in v1.38.44

SetPolicy sets the Policy field's value.

func (*CreateResourcePolicyInput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (CreateResourcePolicyInput) String added in v1.38.44

func (s CreateResourcePolicyInput) 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 (*CreateResourcePolicyInput) Validate added in v1.38.44

func (s *CreateResourcePolicyInput) Validate() error

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

type CreateResourcePolicyOutput added in v1.38.44

type CreateResourcePolicyOutput struct {

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy was attached to.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy. Use the revision ID to make
	// sure that you are updating the most current version of a resource policy
	// when you add a policy statement to a resource, delete a resource, or update
	// a resource.
	RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateResourcePolicyOutput) GoString added in v1.38.44

func (s CreateResourcePolicyOutput) 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 (*CreateResourcePolicyOutput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*CreateResourcePolicyOutput) SetRevisionId added in v1.38.44

SetRevisionId sets the RevisionId field's value.

func (CreateResourcePolicyOutput) String added in v1.38.44

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 CreateResourcePolicyStatementInput added in v1.38.44

type CreateResourcePolicyStatementInput struct {

	// The Amazon Lex action that this policy either allows or denies. The action
	// must apply to the resource type of the specified ARN. For more information,
	// see Actions, resources, and condition keys for Amazon Lex V2 (https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonlexv2.html).
	//
	// Action is a required field
	Action []*string `locationName:"action" type:"list" required:"true"`

	// Specifies a condition when the policy is in effect. If the principal of the
	// policy is a service principal, you must provide two condition blocks, one
	// with a SourceAccount global condition key and one with a SourceArn global
	// condition key.
	//
	// For more information, see IAM JSON policy elements: Condition (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
	Condition map[string]map[string]*string `locationName:"condition" type:"map"`

	// Determines whether the statement allows or denies access to the resource.
	//
	// Effect is a required field
	Effect *string `locationName:"effect" type:"string" required:"true" enum:"Effect"`

	// The identifier of the revision of the policy to edit. If this revision ID
	// doesn't match the current revision ID, Amazon Lex throws an exception.
	//
	// If you don't specify a revision, Amazon Lex overwrites the contents of the
	// policy with the new values.
	ExpectedRevisionId *string `location:"querystring" locationName:"expectedRevisionId" min:"1" type:"string"`

	// An IAM principal, such as an IAM user, IAM role, or Amazon Web Services services
	// that is allowed or denied access to a resource. For more information, see
	// Amazon Web Services JSON policy elements: Principal (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html).
	//
	// Principal is a required field
	Principal []*Principal `locationName:"principal" type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The name of the statement. The ID is the same as the Sid IAM property. The
	// statement name must be unique within the policy. For more information, see
	// IAM JSON policy elements: Sid (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html).
	//
	// StatementId is a required field
	StatementId *string `locationName:"statementId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateResourcePolicyStatementInput) GoString added in v1.38.44

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 (*CreateResourcePolicyStatementInput) SetAction added in v1.38.44

SetAction sets the Action field's value.

func (*CreateResourcePolicyStatementInput) SetCondition added in v1.38.44

SetCondition sets the Condition field's value.

func (*CreateResourcePolicyStatementInput) SetEffect added in v1.38.44

SetEffect sets the Effect field's value.

func (*CreateResourcePolicyStatementInput) SetExpectedRevisionId added in v1.38.44

SetExpectedRevisionId sets the ExpectedRevisionId field's value.

func (*CreateResourcePolicyStatementInput) SetPrincipal added in v1.38.44

SetPrincipal sets the Principal field's value.

func (*CreateResourcePolicyStatementInput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*CreateResourcePolicyStatementInput) SetStatementId added in v1.38.44

SetStatementId sets the StatementId field's value.

func (CreateResourcePolicyStatementInput) String added in v1.38.44

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 (*CreateResourcePolicyStatementInput) Validate added in v1.38.44

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

type CreateResourcePolicyStatementOutput added in v1.38.44

type CreateResourcePolicyStatementOutput struct {

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy. Use the revision ID to make
	// sure that you are updating the most current version of a resource policy
	// when you add a policy statement to a resource, delete a resource, or update
	// a resource.
	RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateResourcePolicyStatementOutput) GoString added in v1.38.44

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 (*CreateResourcePolicyStatementOutput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*CreateResourcePolicyStatementOutput) SetRevisionId added in v1.38.44

SetRevisionId sets the RevisionId field's value.

func (CreateResourcePolicyStatementOutput) String added in v1.38.44

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 CreateSlotInput

type CreateSlotInput struct {

	// The identifier of the bot associated with the slot.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the slot.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// A description of the slot. Use this to help identify the slot in lists.
	Description *string `locationName:"description" type:"string"`

	// The identifier of the intent that contains the slot.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale that the slot will be used in.
	// The string must match one of the supported locales. All of the bots, intents,
	// slot types used by the slot must have the same locale. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// Indicates whether the slot returns multiple values in one response. Multi-value
	// slots are only available in the en-US locale. If you set this value to true
	// in any other locale, Amazon Lex throws a ValidationException.
	//
	// If the multipleValuesSetting is not set, the default value is false.
	MultipleValuesSetting *MultipleValuesSetting `locationName:"multipleValuesSetting" type:"structure"`

	// Determines how slot values are used in Amazon CloudWatch logs. If the value
	// of the obfuscationSetting parameter is DefaultObfuscation, slot values are
	// obfuscated in the log output. If the value is None, the actual value is present
	// in the log output.
	//
	// The default is to obfuscate values in the CloudWatch logs.
	ObfuscationSetting *ObfuscationSetting `locationName:"obfuscationSetting" type:"structure"`

	// The name of the slot. Slot names must be unique within the bot that contains
	// the slot.
	//
	// SlotName is a required field
	SlotName *string `locationName:"slotName" min:"1" type:"string" required:"true"`

	// The unique identifier for the slot type associated with this slot. The slot
	// type determines the values that can be entered into the slot.
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string"`

	// Specifications for the constituent sub slots and the expression for the composite
	// slot.
	SubSlotSetting *SubSlotSetting `locationName:"subSlotSetting" type:"structure"`

	// Specifies prompts that Amazon Lex sends to the user to elicit a response
	// that provides the value for the slot.
	//
	// ValueElicitationSetting is a required field
	ValueElicitationSetting *SlotValueElicitationSetting `locationName:"valueElicitationSetting" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateSlotInput) GoString

func (s CreateSlotInput) 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 (*CreateSlotInput) SetBotId

func (s *CreateSlotInput) SetBotId(v string) *CreateSlotInput

SetBotId sets the BotId field's value.

func (*CreateSlotInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateSlotInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateSlotInput) SetIntentId

func (s *CreateSlotInput) SetIntentId(v string) *CreateSlotInput

SetIntentId sets the IntentId field's value.

func (*CreateSlotInput) SetLocaleId

func (s *CreateSlotInput) SetLocaleId(v string) *CreateSlotInput

SetLocaleId sets the LocaleId field's value.

func (*CreateSlotInput) SetMultipleValuesSetting added in v1.38.62

func (s *CreateSlotInput) SetMultipleValuesSetting(v *MultipleValuesSetting) *CreateSlotInput

SetMultipleValuesSetting sets the MultipleValuesSetting field's value.

func (*CreateSlotInput) SetObfuscationSetting

func (s *CreateSlotInput) SetObfuscationSetting(v *ObfuscationSetting) *CreateSlotInput

SetObfuscationSetting sets the ObfuscationSetting field's value.

func (*CreateSlotInput) SetSlotName

func (s *CreateSlotInput) SetSlotName(v string) *CreateSlotInput

SetSlotName sets the SlotName field's value.

func (*CreateSlotInput) SetSlotTypeId

func (s *CreateSlotInput) SetSlotTypeId(v string) *CreateSlotInput

SetSlotTypeId sets the SlotTypeId field's value.

func (*CreateSlotInput) SetSubSlotSetting added in v1.44.95

func (s *CreateSlotInput) SetSubSlotSetting(v *SubSlotSetting) *CreateSlotInput

SetSubSlotSetting sets the SubSlotSetting field's value.

func (*CreateSlotInput) SetValueElicitationSetting

func (s *CreateSlotInput) SetValueElicitationSetting(v *SlotValueElicitationSetting) *CreateSlotInput

SetValueElicitationSetting sets the ValueElicitationSetting field's value.

func (CreateSlotInput) String

func (s CreateSlotInput) 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 (*CreateSlotInput) Validate

func (s *CreateSlotInput) Validate() error

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

type CreateSlotOutput

type CreateSlotOutput struct {

	// The unique identifier of the bot associated with the slot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the slot.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The timestamp of the date and time that the slot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description associated with the slot.
	Description *string `locationName:"description" type:"string"`

	// The unique identifier of the intent associated with the slot.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// The language and local specified for the slot.
	LocaleId *string `locationName:"localeId" type:"string"`

	// Indicates whether the slot returns multiple values in one response.
	MultipleValuesSetting *MultipleValuesSetting `locationName:"multipleValuesSetting" type:"structure"`

	// Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch
	// logs.
	ObfuscationSetting *ObfuscationSetting `locationName:"obfuscationSetting" type:"structure"`

	// The unique identifier associated with the slot. Use this to identify the
	// slot when you update or delete it.
	SlotId *string `locationName:"slotId" min:"10" type:"string"`

	// The name specified for the slot.
	SlotName *string `locationName:"slotName" min:"1" type:"string"`

	// The unique identifier of the slot type associated with this slot.
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string"`

	// Specifications for the constituent sub slots and the expression for the composite
	// slot.
	SubSlotSetting *SubSlotSetting `locationName:"subSlotSetting" type:"structure"`

	// The value elicitation settings specified for the slot.
	ValueElicitationSetting *SlotValueElicitationSetting `locationName:"valueElicitationSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateSlotOutput) GoString

func (s CreateSlotOutput) 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 (*CreateSlotOutput) SetBotId

func (s *CreateSlotOutput) SetBotId(v string) *CreateSlotOutput

SetBotId sets the BotId field's value.

func (*CreateSlotOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateSlotOutput) SetCreationDateTime

func (s *CreateSlotOutput) SetCreationDateTime(v time.Time) *CreateSlotOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateSlotOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateSlotOutput) SetIntentId

func (s *CreateSlotOutput) SetIntentId(v string) *CreateSlotOutput

SetIntentId sets the IntentId field's value.

func (*CreateSlotOutput) SetLocaleId

func (s *CreateSlotOutput) SetLocaleId(v string) *CreateSlotOutput

SetLocaleId sets the LocaleId field's value.

func (*CreateSlotOutput) SetMultipleValuesSetting added in v1.38.62

func (s *CreateSlotOutput) SetMultipleValuesSetting(v *MultipleValuesSetting) *CreateSlotOutput

SetMultipleValuesSetting sets the MultipleValuesSetting field's value.

func (*CreateSlotOutput) SetObfuscationSetting

func (s *CreateSlotOutput) SetObfuscationSetting(v *ObfuscationSetting) *CreateSlotOutput

SetObfuscationSetting sets the ObfuscationSetting field's value.

func (*CreateSlotOutput) SetSlotId

func (s *CreateSlotOutput) SetSlotId(v string) *CreateSlotOutput

SetSlotId sets the SlotId field's value.

func (*CreateSlotOutput) SetSlotName

func (s *CreateSlotOutput) SetSlotName(v string) *CreateSlotOutput

SetSlotName sets the SlotName field's value.

func (*CreateSlotOutput) SetSlotTypeId

func (s *CreateSlotOutput) SetSlotTypeId(v string) *CreateSlotOutput

SetSlotTypeId sets the SlotTypeId field's value.

func (*CreateSlotOutput) SetSubSlotSetting added in v1.44.95

func (s *CreateSlotOutput) SetSubSlotSetting(v *SubSlotSetting) *CreateSlotOutput

SetSubSlotSetting sets the SubSlotSetting field's value.

func (*CreateSlotOutput) SetValueElicitationSetting

func (s *CreateSlotOutput) SetValueElicitationSetting(v *SlotValueElicitationSetting) *CreateSlotOutput

SetValueElicitationSetting sets the ValueElicitationSetting field's value.

func (CreateSlotOutput) String

func (s CreateSlotOutput) 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 CreateSlotTypeInput

type CreateSlotTypeInput struct {

	// The identifier of the bot associated with this slot type.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the bot version associated with this slot type.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// Specifications for a composite slot type.
	CompositeSlotTypeSetting *CompositeSlotTypeSetting `locationName:"compositeSlotTypeSetting" type:"structure"`

	// A description of the slot type. Use the description to help identify the
	// slot type in lists.
	Description *string `locationName:"description" type:"string"`

	// Sets the type of external information used to create the slot type.
	ExternalSourceSetting *ExternalSourceSetting `locationName:"externalSourceSetting" type:"structure"`

	// The identifier of the language and locale that the slot type will be used
	// in. The string must match one of the supported locales. All of the bots,
	// intents, and slots used by the slot type must have the same locale. For more
	// information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The built-in slot type used as a parent of this slot type. When you define
	// a parent slot type, the new slot type has the configuration of the parent
	// slot type.
	//
	// Only AMAZON.AlphaNumeric is supported.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" type:"string"`

	// The name for the slot. A slot type name must be unique within the intent.
	//
	// SlotTypeName is a required field
	SlotTypeName *string `locationName:"slotTypeName" min:"1" type:"string" required:"true"`

	// A list of SlotTypeValue objects that defines the values that the slot type
	// can take. Each value can have a list of synonyms, additional values that
	// help train the machine learning model about the values that it resolves for
	// a slot.
	SlotTypeValues []*SlotTypeValue `locationName:"slotTypeValues" min:"1" type:"list"`

	// Determines the strategy that Amazon Lex uses to select a value from the list
	// of possible 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. If there is no resolution list,
	//    return null.
	//
	// If you don't specify the valueSelectionSetting parameter, the default is
	// ORIGINAL_VALUE.
	ValueSelectionSetting *SlotValueSelectionSetting `locationName:"valueSelectionSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateSlotTypeInput) GoString

func (s CreateSlotTypeInput) 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 (*CreateSlotTypeInput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateSlotTypeInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateSlotTypeInput) SetCompositeSlotTypeSetting added in v1.44.95

func (s *CreateSlotTypeInput) SetCompositeSlotTypeSetting(v *CompositeSlotTypeSetting) *CreateSlotTypeInput

SetCompositeSlotTypeSetting sets the CompositeSlotTypeSetting field's value.

func (*CreateSlotTypeInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateSlotTypeInput) SetExternalSourceSetting added in v1.42.22

func (s *CreateSlotTypeInput) SetExternalSourceSetting(v *ExternalSourceSetting) *CreateSlotTypeInput

SetExternalSourceSetting sets the ExternalSourceSetting field's value.

func (*CreateSlotTypeInput) SetLocaleId

func (s *CreateSlotTypeInput) SetLocaleId(v string) *CreateSlotTypeInput

SetLocaleId sets the LocaleId field's value.

func (*CreateSlotTypeInput) SetParentSlotTypeSignature

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

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*CreateSlotTypeInput) SetSlotTypeName

func (s *CreateSlotTypeInput) SetSlotTypeName(v string) *CreateSlotTypeInput

SetSlotTypeName sets the SlotTypeName field's value.

func (*CreateSlotTypeInput) SetSlotTypeValues

func (s *CreateSlotTypeInput) SetSlotTypeValues(v []*SlotTypeValue) *CreateSlotTypeInput

SetSlotTypeValues sets the SlotTypeValues field's value.

func (*CreateSlotTypeInput) SetValueSelectionSetting

func (s *CreateSlotTypeInput) SetValueSelectionSetting(v *SlotValueSelectionSetting) *CreateSlotTypeInput

SetValueSelectionSetting sets the ValueSelectionSetting field's value.

func (CreateSlotTypeInput) String

func (s CreateSlotTypeInput) 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 (*CreateSlotTypeInput) Validate

func (s *CreateSlotTypeInput) Validate() error

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

type CreateSlotTypeOutput

type CreateSlotTypeOutput struct {

	// The identifier for the bot associated with the slot type.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the slot type.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// Specifications for a composite slot type.
	CompositeSlotTypeSetting *CompositeSlotTypeSetting `locationName:"compositeSlotTypeSetting" type:"structure"`

	// A timestamp of the date and time that the slot type was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description specified for the slot type.
	Description *string `locationName:"description" type:"string"`

	// The type of external information used to create the slot type.
	ExternalSourceSetting *ExternalSourceSetting `locationName:"externalSourceSetting" type:"structure"`

	// The specified language and local specified for the slot type.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The signature of the base slot type specified for the slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" type:"string"`

	// The unique identifier assigned to the slot type. Use this to identify the
	// slot type in the UpdateSlotType and DeleteSlotType operations.
	SlotTypeId *string `locationName:"slotTypeId" min:"10" type:"string"`

	// The name specified for the slot type.
	SlotTypeName *string `locationName:"slotTypeName" min:"1" type:"string"`

	// The list of values that the slot type can assume.
	SlotTypeValues []*SlotTypeValue `locationName:"slotTypeValues" min:"1" type:"list"`

	// The strategy that Amazon Lex uses to select a value from the list of possible
	// values.
	ValueSelectionSetting *SlotValueSelectionSetting `locationName:"valueSelectionSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateSlotTypeOutput) GoString

func (s CreateSlotTypeOutput) 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 (*CreateSlotTypeOutput) SetBotId

SetBotId sets the BotId field's value.

func (*CreateSlotTypeOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*CreateSlotTypeOutput) SetCompositeSlotTypeSetting added in v1.44.95

func (s *CreateSlotTypeOutput) SetCompositeSlotTypeSetting(v *CompositeSlotTypeSetting) *CreateSlotTypeOutput

SetCompositeSlotTypeSetting sets the CompositeSlotTypeSetting field's value.

func (*CreateSlotTypeOutput) SetCreationDateTime

func (s *CreateSlotTypeOutput) SetCreationDateTime(v time.Time) *CreateSlotTypeOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateSlotTypeOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateSlotTypeOutput) SetExternalSourceSetting added in v1.42.22

func (s *CreateSlotTypeOutput) SetExternalSourceSetting(v *ExternalSourceSetting) *CreateSlotTypeOutput

SetExternalSourceSetting sets the ExternalSourceSetting field's value.

func (*CreateSlotTypeOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*CreateSlotTypeOutput) SetParentSlotTypeSignature

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

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*CreateSlotTypeOutput) SetSlotTypeId

func (s *CreateSlotTypeOutput) SetSlotTypeId(v string) *CreateSlotTypeOutput

SetSlotTypeId sets the SlotTypeId field's value.

func (*CreateSlotTypeOutput) SetSlotTypeName

func (s *CreateSlotTypeOutput) SetSlotTypeName(v string) *CreateSlotTypeOutput

SetSlotTypeName sets the SlotTypeName field's value.

func (*CreateSlotTypeOutput) SetSlotTypeValues

func (s *CreateSlotTypeOutput) SetSlotTypeValues(v []*SlotTypeValue) *CreateSlotTypeOutput

SetSlotTypeValues sets the SlotTypeValues field's value.

func (*CreateSlotTypeOutput) SetValueSelectionSetting

func (s *CreateSlotTypeOutput) SetValueSelectionSetting(v *SlotValueSelectionSetting) *CreateSlotTypeOutput

SetValueSelectionSetting sets the ValueSelectionSetting field's value.

func (CreateSlotTypeOutput) String

func (s CreateSlotTypeOutput) 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 CreateTestSetDiscrepancyReportInput added in v1.44.277

type CreateTestSetDiscrepancyReportInput struct {

	// The target bot for the test set discrepancy report.
	//
	// Target is a required field
	Target *TestSetDiscrepancyReportResourceTarget `locationName:"target" type:"structure" required:"true"`

	// The test set Id for the test set discrepancy report.
	//
	// TestSetId is a required field
	TestSetId *string `location:"uri" locationName:"testSetId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateTestSetDiscrepancyReportInput) GoString added in v1.44.277

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 (*CreateTestSetDiscrepancyReportInput) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*CreateTestSetDiscrepancyReportInput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (CreateTestSetDiscrepancyReportInput) String added in v1.44.277

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 (*CreateTestSetDiscrepancyReportInput) Validate added in v1.44.277

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

type CreateTestSetDiscrepancyReportOutput added in v1.44.277

type CreateTestSetDiscrepancyReportOutput struct {

	// The creation date and time for the test set discrepancy report.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The target bot for the test set discrepancy report.
	Target *TestSetDiscrepancyReportResourceTarget `locationName:"target" type:"structure"`

	// The unique identifier of the test set discrepancy report to describe.
	TestSetDiscrepancyReportId *string `locationName:"testSetDiscrepancyReportId" min:"10" type:"string"`

	// The test set Id for the test set discrepancy report.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`
	// contains filtered or unexported fields
}

func (CreateTestSetDiscrepancyReportOutput) GoString added in v1.44.277

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 (*CreateTestSetDiscrepancyReportOutput) SetCreationDateTime added in v1.44.277

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateTestSetDiscrepancyReportOutput) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*CreateTestSetDiscrepancyReportOutput) SetTestSetDiscrepancyReportId added in v1.44.277

SetTestSetDiscrepancyReportId sets the TestSetDiscrepancyReportId field's value.

func (*CreateTestSetDiscrepancyReportOutput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (CreateTestSetDiscrepancyReportOutput) String added in v1.44.277

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 CreateUploadUrlInput added in v1.38.42

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

func (CreateUploadUrlInput) GoString added in v1.38.42

func (s CreateUploadUrlInput) 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 (CreateUploadUrlInput) String added in v1.38.42

func (s CreateUploadUrlInput) 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 CreateUploadUrlOutput added in v1.38.42

type CreateUploadUrlOutput struct {

	// An identifier for a unique import job. Use it when you call the StartImport
	// (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_StartImport.html)
	// operation.
	ImportId *string `locationName:"importId" min:"10" type:"string"`

	// A pre-signed S3 write URL. Upload the zip archive file that contains the
	// definition of your bot or bot locale.
	UploadUrl *string `locationName:"uploadUrl" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateUploadUrlOutput) GoString added in v1.38.42

func (s CreateUploadUrlOutput) 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 (*CreateUploadUrlOutput) SetImportId added in v1.38.42

SetImportId sets the ImportId field's value.

func (*CreateUploadUrlOutput) SetUploadUrl added in v1.38.42

SetUploadUrl sets the UploadUrl field's value.

func (CreateUploadUrlOutput) String added in v1.38.42

func (s CreateUploadUrlOutput) 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 CustomPayload

type CustomPayload struct {

	// The string that is sent to your application.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A custom response string that Amazon Lex sends to your application. You define the content and structure the string.

func (CustomPayload) GoString

func (s CustomPayload) 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 (*CustomPayload) SetValue

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

SetValue sets the Value field's value.

func (CustomPayload) String

func (s CustomPayload) 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 (*CustomPayload) Validate

func (s *CustomPayload) Validate() error

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

type CustomVocabularyEntryId added in v1.44.132

type CustomVocabularyEntryId struct {

	// The unique item identifier for the custom vocabulary items.
	//
	// ItemId is a required field
	ItemId *string `locationName:"itemId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The unique entry identifier for the custom vocabulary items.

func (CustomVocabularyEntryId) GoString added in v1.44.132

func (s CustomVocabularyEntryId) 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 (*CustomVocabularyEntryId) SetItemId added in v1.44.132

SetItemId sets the ItemId field's value.

func (CustomVocabularyEntryId) String added in v1.44.132

func (s CustomVocabularyEntryId) 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 (*CustomVocabularyEntryId) Validate added in v1.44.132

func (s *CustomVocabularyEntryId) Validate() error

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

type CustomVocabularyExportSpecification added in v1.42.33

type CustomVocabularyExportSpecification struct {

	// The identifier of the bot that contains the custom vocabulary to export.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the custom vocabulary to export.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The locale of the bot that contains the custom vocabulary to export.
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides the parameters required for exporting a custom vocabulary.

func (CustomVocabularyExportSpecification) GoString added in v1.42.33

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 (*CustomVocabularyExportSpecification) SetBotId added in v1.42.33

SetBotId sets the BotId field's value.

func (*CustomVocabularyExportSpecification) SetBotVersion added in v1.42.33

SetBotVersion sets the BotVersion field's value.

func (*CustomVocabularyExportSpecification) SetLocaleId added in v1.42.33

SetLocaleId sets the LocaleId field's value.

func (CustomVocabularyExportSpecification) String added in v1.42.33

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 (*CustomVocabularyExportSpecification) Validate added in v1.42.33

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

type CustomVocabularyImportSpecification added in v1.42.33

type CustomVocabularyImportSpecification struct {

	// The identifier of the bot to import the custom vocabulary to.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to import the custom vocabulary to.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the local to import the custom vocabulary to. The value
	// must be en_GB.
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides the parameters required for importing a custom vocabulary.

func (CustomVocabularyImportSpecification) GoString added in v1.42.33

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 (*CustomVocabularyImportSpecification) SetBotId added in v1.42.33

SetBotId sets the BotId field's value.

func (*CustomVocabularyImportSpecification) SetBotVersion added in v1.42.33

SetBotVersion sets the BotVersion field's value.

func (*CustomVocabularyImportSpecification) SetLocaleId added in v1.42.33

SetLocaleId sets the LocaleId field's value.

func (CustomVocabularyImportSpecification) String added in v1.42.33

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 (*CustomVocabularyImportSpecification) Validate added in v1.42.33

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

type CustomVocabularyItem added in v1.44.132

type CustomVocabularyItem struct {

	// The DisplayAs value for the custom vocabulary item from the custom vocabulary
	// list.
	DisplayAs *string `locationName:"displayAs" min:"1" type:"string"`

	// The unique item identifer for the custom vocabulary item from the custom
	// vocabulary list.
	//
	// ItemId is a required field
	ItemId *string `locationName:"itemId" min:"1" type:"string" required:"true"`

	// The unique phrase for the custom vocabulary item from the custom vocabulary
	// list.
	//
	// Phrase is a required field
	Phrase *string `locationName:"phrase" min:"1" type:"string" required:"true"`

	// The weight assigned for the custom vocabulary item from the custom vocabulary
	// list.
	Weight *int64 `locationName:"weight" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The unique custom vocabulary item from the custom vocabulary list.

func (CustomVocabularyItem) GoString added in v1.44.132

func (s CustomVocabularyItem) 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 (*CustomVocabularyItem) SetDisplayAs added in v1.44.132

func (s *CustomVocabularyItem) SetDisplayAs(v string) *CustomVocabularyItem

SetDisplayAs sets the DisplayAs field's value.

func (*CustomVocabularyItem) SetItemId added in v1.44.132

SetItemId sets the ItemId field's value.

func (*CustomVocabularyItem) SetPhrase added in v1.44.132

SetPhrase sets the Phrase field's value.

func (*CustomVocabularyItem) SetWeight added in v1.44.132

SetWeight sets the Weight field's value.

func (CustomVocabularyItem) String added in v1.44.132

func (s CustomVocabularyItem) 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 (*CustomVocabularyItem) Validate added in v1.44.132

func (s *CustomVocabularyItem) Validate() error

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

type DTMFSpecification added in v1.44.105

type DTMFSpecification struct {

	// The DTMF character that clears the accumulated DTMF digits and immediately
	// ends the input.
	//
	// DeletionCharacter is a required field
	DeletionCharacter *string `locationName:"deletionCharacter" type:"string" required:"true"`

	// The DTMF character that immediately ends input. If the user does not press
	// this character, the input ends after the end timeout.
	//
	// EndCharacter is a required field
	EndCharacter *string `locationName:"endCharacter" type:"string" required:"true"`

	// How long the bot should wait after the last DTMF character input before assuming
	// that the input has concluded.
	//
	// EndTimeoutMs is a required field
	EndTimeoutMs *int64 `locationName:"endTimeoutMs" min:"1" type:"integer" required:"true"`

	// The maximum number of DTMF digits allowed in an utterance.
	//
	// MaxLength is a required field
	MaxLength *int64 `locationName:"maxLength" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Specifies the DTMF input specifications.

func (DTMFSpecification) GoString added in v1.44.105

func (s DTMFSpecification) 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 (*DTMFSpecification) SetDeletionCharacter added in v1.44.105

func (s *DTMFSpecification) SetDeletionCharacter(v string) *DTMFSpecification

SetDeletionCharacter sets the DeletionCharacter field's value.

func (*DTMFSpecification) SetEndCharacter added in v1.44.105

func (s *DTMFSpecification) SetEndCharacter(v string) *DTMFSpecification

SetEndCharacter sets the EndCharacter field's value.

func (*DTMFSpecification) SetEndTimeoutMs added in v1.44.105

func (s *DTMFSpecification) SetEndTimeoutMs(v int64) *DTMFSpecification

SetEndTimeoutMs sets the EndTimeoutMs field's value.

func (*DTMFSpecification) SetMaxLength added in v1.44.105

func (s *DTMFSpecification) SetMaxLength(v int64) *DTMFSpecification

SetMaxLength sets the MaxLength field's value.

func (DTMFSpecification) String added in v1.44.105

func (s DTMFSpecification) 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 (*DTMFSpecification) Validate added in v1.44.105

func (s *DTMFSpecification) Validate() error

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

type DataPrivacy

type DataPrivacy struct {

	// 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 (http://aws.amazon.com/lex/faqs#data-security).
	//
	// ChildDirected is a required field
	ChildDirected *bool `locationName:"childDirected" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

By default, data stored by Amazon Lex is encrypted. The DataPrivacy structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.

func (DataPrivacy) GoString

func (s DataPrivacy) 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 (*DataPrivacy) SetChildDirected

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

SetChildDirected sets the ChildDirected field's value.

func (DataPrivacy) String

func (s DataPrivacy) 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 (*DataPrivacy) Validate

func (s *DataPrivacy) Validate() error

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

type DateRangeFilter added in v1.42.17

type DateRangeFilter struct {

	// A timestamp indicating the end date for the date range filter.
	//
	// EndDateTime is a required field
	EndDateTime *time.Time `locationName:"endDateTime" type:"timestamp" required:"true"`

	// A timestamp indicating the start date for the date range filter.
	//
	// StartDateTime is a required field
	StartDateTime *time.Time `locationName:"startDateTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

The object used for specifying the data range that the customer wants Amazon Lex to read through in the input transcripts.

func (DateRangeFilter) GoString added in v1.42.17

func (s DateRangeFilter) 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 (*DateRangeFilter) SetEndDateTime added in v1.42.17

func (s *DateRangeFilter) SetEndDateTime(v time.Time) *DateRangeFilter

SetEndDateTime sets the EndDateTime field's value.

func (*DateRangeFilter) SetStartDateTime added in v1.42.17

func (s *DateRangeFilter) SetStartDateTime(v time.Time) *DateRangeFilter

SetStartDateTime sets the StartDateTime field's value.

func (DateRangeFilter) String added in v1.42.17

func (s DateRangeFilter) 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 (*DateRangeFilter) Validate added in v1.42.17

func (s *DateRangeFilter) Validate() error

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

type DefaultConditionalBranch added in v1.44.79

type DefaultConditionalBranch struct {

	// The next step in the conversation.
	NextStep *DialogState `locationName:"nextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	Response *ResponseSpecification `locationName:"response" type:"structure"`
	// contains filtered or unexported fields
}

A set of actions that Amazon Lex should run if none of the other conditions are met.

func (DefaultConditionalBranch) GoString added in v1.44.79

func (s DefaultConditionalBranch) 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 (*DefaultConditionalBranch) SetNextStep added in v1.44.79

SetNextStep sets the NextStep field's value.

func (*DefaultConditionalBranch) SetResponse added in v1.44.79

SetResponse sets the Response field's value.

func (DefaultConditionalBranch) String added in v1.44.79

func (s DefaultConditionalBranch) 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 (*DefaultConditionalBranch) Validate added in v1.44.79

func (s *DefaultConditionalBranch) Validate() error

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

type DeleteBotAliasInput

type DeleteBotAliasInput struct {

	// The unique identifier of the bot alias to delete.
	//
	// BotAliasId is a required field
	BotAliasId *string `location:"uri" locationName:"botAliasId" min:"10" type:"string" required:"true"`

	// The unique identifier of the bot associated with the alias to delete.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// By default, Amazon Lex checks if any other resource, such as a bot network,
	// is using the bot alias before it is deleted and throws a ResourceInUseException
	// exception if the alias is being used by another resource. Set this parameter
	// to true to skip this check and remove the alias even if it is being used
	// by another resource.
	SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"`
	// 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) SetBotAliasId

func (s *DeleteBotAliasInput) SetBotAliasId(v string) *DeleteBotAliasInput

SetBotAliasId sets the BotAliasId field's value.

func (*DeleteBotAliasInput) SetBotId

SetBotId sets the BotId field's value.

func (*DeleteBotAliasInput) SetSkipResourceInUseCheck

func (s *DeleteBotAliasInput) SetSkipResourceInUseCheck(v bool) *DeleteBotAliasInput

SetSkipResourceInUseCheck sets the SkipResourceInUseCheck 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 {

	// The unique identifier of the bot alias to delete.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// The current status of the alias. The status is Deleting while the alias is
	// in the process of being deleted. Once the alias is deleted, it will no longer
	// appear in the list of aliases returned by the ListBotAliases operation.
	BotAliasStatus *string `locationName:"botAliasStatus" type:"string" enum:"BotAliasStatus"`

	// The unique identifier of the bot that contains the alias to delete.
	BotId *string `locationName:"botId" min:"10" type:"string"`
	// 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) SetBotAliasId

func (s *DeleteBotAliasOutput) SetBotAliasId(v string) *DeleteBotAliasOutput

SetBotAliasId sets the BotAliasId field's value.

func (*DeleteBotAliasOutput) SetBotAliasStatus

func (s *DeleteBotAliasOutput) SetBotAliasStatus(v string) *DeleteBotAliasOutput

SetBotAliasStatus sets the BotAliasStatus field's value.

func (*DeleteBotAliasOutput) SetBotId

SetBotId sets the BotId field's value.

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 DeleteBotInput

type DeleteBotInput struct {

	// The identifier of the bot to delete.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// By default, Amazon Lex checks if any other resource, such as an alias or
	// bot network, is using the bot version before it is deleted and throws a ResourceInUseException
	// exception if the bot is being used by another resource. Set this parameter
	// to true to skip this check and remove the bot even if it is being used by
	// another resource.
	SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"`
	// 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) SetBotId

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

SetBotId sets the BotId field's value.

func (*DeleteBotInput) SetSkipResourceInUseCheck

func (s *DeleteBotInput) SetSkipResourceInUseCheck(v bool) *DeleteBotInput

SetSkipResourceInUseCheck sets the SkipResourceInUseCheck 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 DeleteBotLocaleInput

type DeleteBotLocaleInput struct {

	// The unique identifier of the bot that contains the locale.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the locale.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale that will be deleted. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBotLocaleInput) GoString

func (s DeleteBotLocaleInput) 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 (*DeleteBotLocaleInput) SetBotId

SetBotId sets the BotId field's value.

func (*DeleteBotLocaleInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DeleteBotLocaleInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (DeleteBotLocaleInput) String

func (s DeleteBotLocaleInput) 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 (*DeleteBotLocaleInput) Validate

func (s *DeleteBotLocaleInput) Validate() error

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

type DeleteBotLocaleOutput

type DeleteBotLocaleOutput struct {

	// The identifier of the bot that contained the deleted locale.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The status of deleting the bot locale. The locale first enters the Deleting
	// status. Once the locale is deleted it no longer appears in the list of locales
	// for the bot.
	BotLocaleStatus *string `locationName:"botLocaleStatus" type:"string" enum:"BotLocaleStatus"`

	// The version of the bot that contained the deleted locale.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The language and locale of the deleted locale.
	LocaleId *string `locationName:"localeId" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBotLocaleOutput) GoString

func (s DeleteBotLocaleOutput) 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 (*DeleteBotLocaleOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DeleteBotLocaleOutput) SetBotLocaleStatus

func (s *DeleteBotLocaleOutput) SetBotLocaleStatus(v string) *DeleteBotLocaleOutput

SetBotLocaleStatus sets the BotLocaleStatus field's value.

func (*DeleteBotLocaleOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DeleteBotLocaleOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (DeleteBotLocaleOutput) String

func (s DeleteBotLocaleOutput) 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 DeleteBotOutput

type DeleteBotOutput struct {

	// The unique identifier of the bot that Amazon Lex is deleting.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The current status of the bot. The status is Deleting while the bot and its
	// associated resources are being deleted.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`
	// 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) SetBotId

func (s *DeleteBotOutput) SetBotId(v string) *DeleteBotOutput

SetBotId sets the BotId field's value.

func (*DeleteBotOutput) SetBotStatus

func (s *DeleteBotOutput) SetBotStatus(v string) *DeleteBotOutput

SetBotStatus sets the BotStatus field's value.

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 identifier of the bot that contains the version.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to delete.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// By default, Amazon Lex checks if any other resource, such as an alias or
	// bot network, is using the bot version before it is deleted and throws a ResourceInUseException
	// exception if the version is being used by another resource. Set this parameter
	// to true to skip this check and remove the version even if it is being used
	// by another resource.
	SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"`
	// 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) SetBotId

SetBotId sets the BotId field's value.

func (*DeleteBotVersionInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DeleteBotVersionInput) SetSkipResourceInUseCheck

func (s *DeleteBotVersionInput) SetSkipResourceInUseCheck(v bool) *DeleteBotVersionInput

SetSkipResourceInUseCheck sets the SkipResourceInUseCheck 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 {

	// The identifier of the bot that is being deleted.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The current status of the bot.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The version of the bot that is being deleted.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`
	// 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) SetBotId

SetBotId sets the BotId field's value.

func (*DeleteBotVersionOutput) SetBotStatus

SetBotStatus sets the BotStatus field's value.

func (*DeleteBotVersionOutput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

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 DeleteCustomVocabularyInput added in v1.42.33

type DeleteCustomVocabularyInput struct {

	// The unique identifier of the bot to remove the custom vocabulary from.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to remove the custom vocabulary from.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The locale identifier for the locale that contains the custom vocabulary
	// to remove.
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCustomVocabularyInput) GoString added in v1.42.33

func (s DeleteCustomVocabularyInput) 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 (*DeleteCustomVocabularyInput) SetBotId added in v1.42.33

SetBotId sets the BotId field's value.

func (*DeleteCustomVocabularyInput) SetBotVersion added in v1.42.33

SetBotVersion sets the BotVersion field's value.

func (*DeleteCustomVocabularyInput) SetLocaleId added in v1.42.33

SetLocaleId sets the LocaleId field's value.

func (DeleteCustomVocabularyInput) String added in v1.42.33

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 (*DeleteCustomVocabularyInput) Validate added in v1.42.33

func (s *DeleteCustomVocabularyInput) Validate() error

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

type DeleteCustomVocabularyOutput added in v1.42.33

type DeleteCustomVocabularyOutput struct {

	// The identifier of the bot that the custom vocabulary was removed from.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that the custom vocabulary was removed from.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The status of removing the custom vocabulary.
	CustomVocabularyStatus *string `locationName:"customVocabularyStatus" type:"string" enum:"CustomVocabularyStatus"`

	// The locale identifier for the locale that the custom vocabulary was removed
	// from.
	LocaleId *string `locationName:"localeId" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteCustomVocabularyOutput) GoString added in v1.42.33

func (s DeleteCustomVocabularyOutput) 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 (*DeleteCustomVocabularyOutput) SetBotId added in v1.42.33

SetBotId sets the BotId field's value.

func (*DeleteCustomVocabularyOutput) SetBotVersion added in v1.42.33

SetBotVersion sets the BotVersion field's value.

func (*DeleteCustomVocabularyOutput) SetCustomVocabularyStatus added in v1.42.33

func (s *DeleteCustomVocabularyOutput) SetCustomVocabularyStatus(v string) *DeleteCustomVocabularyOutput

SetCustomVocabularyStatus sets the CustomVocabularyStatus field's value.

func (*DeleteCustomVocabularyOutput) SetLocaleId added in v1.42.33

SetLocaleId sets the LocaleId field's value.

func (DeleteCustomVocabularyOutput) String added in v1.42.33

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 DeleteExportInput added in v1.38.42

type DeleteExportInput struct {

	// The unique identifier of the export to delete.
	//
	// ExportId is a required field
	ExportId *string `location:"uri" locationName:"exportId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteExportInput) GoString added in v1.38.42

func (s DeleteExportInput) 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 (*DeleteExportInput) SetExportId added in v1.38.42

func (s *DeleteExportInput) SetExportId(v string) *DeleteExportInput

SetExportId sets the ExportId field's value.

func (DeleteExportInput) String added in v1.38.42

func (s DeleteExportInput) 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 (*DeleteExportInput) Validate added in v1.38.42

func (s *DeleteExportInput) Validate() error

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

type DeleteExportOutput added in v1.38.42

type DeleteExportOutput struct {

	// The unique identifier of the deleted export.
	ExportId *string `locationName:"exportId" min:"10" type:"string"`

	// The current status of the deletion. When the deletion is complete, the export
	// will no longer be returned by the ListExports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html)
	// operation and calls to the DescribeExport (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html)
	// operation with the export identifier will fail.
	ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"`
	// contains filtered or unexported fields
}

func (DeleteExportOutput) GoString added in v1.38.42

func (s DeleteExportOutput) 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 (*DeleteExportOutput) SetExportId added in v1.38.42

func (s *DeleteExportOutput) SetExportId(v string) *DeleteExportOutput

SetExportId sets the ExportId field's value.

func (*DeleteExportOutput) SetExportStatus added in v1.38.42

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

SetExportStatus sets the ExportStatus field's value.

func (DeleteExportOutput) String added in v1.38.42

func (s DeleteExportOutput) 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 DeleteImportInput added in v1.38.42

type DeleteImportInput struct {

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

func (DeleteImportInput) GoString added in v1.38.42

func (s DeleteImportInput) 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 (*DeleteImportInput) SetImportId added in v1.38.42

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

SetImportId sets the ImportId field's value.

func (DeleteImportInput) String added in v1.38.42

func (s DeleteImportInput) 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 (*DeleteImportInput) Validate added in v1.38.42

func (s *DeleteImportInput) Validate() error

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

type DeleteImportOutput added in v1.38.42

type DeleteImportOutput struct {

	// The unique identifier of the deleted import.
	ImportId *string `locationName:"importId" min:"10" type:"string"`

	// The current status of the deletion. When the deletion is complete, the import
	// will no longer be returned by the ListImports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html)
	// operation and calls to the DescribeImport (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeImport.html)
	// operation with the import identifier will fail.
	ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"`
	// contains filtered or unexported fields
}

func (DeleteImportOutput) GoString added in v1.38.42

func (s DeleteImportOutput) 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 (*DeleteImportOutput) SetImportId added in v1.38.42

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

SetImportId sets the ImportId field's value.

func (*DeleteImportOutput) SetImportStatus added in v1.38.42

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

SetImportStatus sets the ImportStatus field's value.

func (DeleteImportOutput) String added in v1.38.42

func (s DeleteImportOutput) 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 identifier of the bot associated with the intent.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the intent.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The unique identifier of the intent to delete.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale where the bot will be deleted.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" 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) SetBotId

func (s *DeleteIntentInput) SetBotId(v string) *DeleteIntentInput

SetBotId sets the BotId field's value.

func (*DeleteIntentInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DeleteIntentInput) SetIntentId

func (s *DeleteIntentInput) SetIntentId(v string) *DeleteIntentInput

SetIntentId sets the IntentId field's value.

func (*DeleteIntentInput) SetLocaleId

func (s *DeleteIntentInput) SetLocaleId(v string) *DeleteIntentInput

SetLocaleId sets the LocaleId 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 DeleteResourcePolicyInput added in v1.38.44

type DeleteResourcePolicyInput struct {

	// The identifier of the revision to edit. If this ID doesn't match the current
	// revision number, Amazon Lex returns an exception
	//
	// If you don't specify a revision ID, Amazon Lex will delete the current policy.
	ExpectedRevisionId *string `location:"querystring" locationName:"expectedRevisionId" min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the bot or bot alias that has the resource
	// policy attached.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyInput) GoString added in v1.38.44

func (s DeleteResourcePolicyInput) 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 (*DeleteResourcePolicyInput) SetExpectedRevisionId added in v1.38.44

func (s *DeleteResourcePolicyInput) SetExpectedRevisionId(v string) *DeleteResourcePolicyInput

SetExpectedRevisionId sets the ExpectedRevisionId field's value.

func (*DeleteResourcePolicyInput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (DeleteResourcePolicyInput) String added in v1.38.44

func (s DeleteResourcePolicyInput) 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 (*DeleteResourcePolicyInput) Validate added in v1.38.44

func (s *DeleteResourcePolicyInput) Validate() error

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

type DeleteResourcePolicyOutput added in v1.38.44

type DeleteResourcePolicyOutput struct {

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy was deleted from.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy. Use the revision ID to make
	// sure that you are updating the most current version of a resource policy
	// when you add a policy statement to a resource, delete a resource, or update
	// a resource.
	RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyOutput) GoString added in v1.38.44

func (s DeleteResourcePolicyOutput) 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 (*DeleteResourcePolicyOutput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*DeleteResourcePolicyOutput) SetRevisionId added in v1.38.44

SetRevisionId sets the RevisionId field's value.

func (DeleteResourcePolicyOutput) String added in v1.38.44

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 DeleteResourcePolicyStatementInput added in v1.38.44

type DeleteResourcePolicyStatementInput struct {

	// The identifier of the revision of the policy to delete the statement from.
	// If this revision ID doesn't match the current revision ID, Amazon Lex throws
	// an exception.
	//
	// If you don't specify a revision, Amazon Lex removes the current contents
	// of the statement.
	ExpectedRevisionId *string `location:"querystring" locationName:"expectedRevisionId" min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The name of the statement (SID) to delete from the policy.
	//
	// StatementId is a required field
	StatementId *string `location:"uri" locationName:"statementId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyStatementInput) GoString added in v1.38.44

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 (*DeleteResourcePolicyStatementInput) SetExpectedRevisionId added in v1.38.44

SetExpectedRevisionId sets the ExpectedRevisionId field's value.

func (*DeleteResourcePolicyStatementInput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*DeleteResourcePolicyStatementInput) SetStatementId added in v1.38.44

SetStatementId sets the StatementId field's value.

func (DeleteResourcePolicyStatementInput) String added in v1.38.44

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 (*DeleteResourcePolicyStatementInput) Validate added in v1.38.44

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

type DeleteResourcePolicyStatementOutput added in v1.38.44

type DeleteResourcePolicyStatementOutput struct {

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy statement was removed from.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy. Use the revision ID to make
	// sure that you are updating the most current version of a resource policy
	// when you add a policy statement to a resource, delete a resource, or update
	// a resource.
	RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyStatementOutput) GoString added in v1.38.44

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 (*DeleteResourcePolicyStatementOutput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*DeleteResourcePolicyStatementOutput) SetRevisionId added in v1.38.44

SetRevisionId sets the RevisionId field's value.

func (DeleteResourcePolicyStatementOutput) String added in v1.38.44

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 DeleteSlotInput

type DeleteSlotInput struct {

	// The identifier of the bot associated with the slot to delete.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the slot to delete.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the intent associated with the slot.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale that the slot will be deleted from.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The identifier of the slot to delete.
	//
	// SlotId is a required field
	SlotId *string `location:"uri" locationName:"slotId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSlotInput) GoString

func (s DeleteSlotInput) 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 (*DeleteSlotInput) SetBotId

func (s *DeleteSlotInput) SetBotId(v string) *DeleteSlotInput

SetBotId sets the BotId field's value.

func (*DeleteSlotInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DeleteSlotInput) SetIntentId

func (s *DeleteSlotInput) SetIntentId(v string) *DeleteSlotInput

SetIntentId sets the IntentId field's value.

func (*DeleteSlotInput) SetLocaleId

func (s *DeleteSlotInput) SetLocaleId(v string) *DeleteSlotInput

SetLocaleId sets the LocaleId field's value.

func (*DeleteSlotInput) SetSlotId

func (s *DeleteSlotInput) SetSlotId(v string) *DeleteSlotInput

SetSlotId sets the SlotId field's value.

func (DeleteSlotInput) String

func (s DeleteSlotInput) 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 (*DeleteSlotInput) Validate

func (s *DeleteSlotInput) Validate() error

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

type DeleteSlotOutput

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

func (DeleteSlotOutput) GoString

func (s DeleteSlotOutput) 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 (DeleteSlotOutput) String

func (s DeleteSlotOutput) 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 identifier of the bot associated with the slot type.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the slot type.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale that the slot type will be deleted
	// from. The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// By default, the DeleteSlotType operations throws a ResourceInUseException
	// exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
	// parameter to true to skip this check and remove the slot type even if a slot
	// uses it.
	SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"`

	// The identifier of the slot type to delete.
	//
	// SlotTypeId is a required field
	SlotTypeId *string `location:"uri" locationName:"slotTypeId" min:"10" 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) SetBotId

SetBotId sets the BotId field's value.

func (*DeleteSlotTypeInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DeleteSlotTypeInput) SetLocaleId

func (s *DeleteSlotTypeInput) SetLocaleId(v string) *DeleteSlotTypeInput

SetLocaleId sets the LocaleId field's value.

func (*DeleteSlotTypeInput) SetSkipResourceInUseCheck

func (s *DeleteSlotTypeInput) SetSkipResourceInUseCheck(v bool) *DeleteSlotTypeInput

SetSkipResourceInUseCheck sets the SkipResourceInUseCheck field's value.

func (*DeleteSlotTypeInput) SetSlotTypeId

func (s *DeleteSlotTypeInput) SetSlotTypeId(v string) *DeleteSlotTypeInput

SetSlotTypeId sets the SlotTypeId 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 DeleteTestSetInput added in v1.44.277

type DeleteTestSetInput struct {

	// The test set Id of the test set to be deleted.
	//
	// TestSetId is a required field
	TestSetId *string `location:"uri" locationName:"testSetId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTestSetInput) GoString added in v1.44.277

func (s DeleteTestSetInput) 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 (*DeleteTestSetInput) SetTestSetId added in v1.44.277

func (s *DeleteTestSetInput) SetTestSetId(v string) *DeleteTestSetInput

SetTestSetId sets the TestSetId field's value.

func (DeleteTestSetInput) String added in v1.44.277

func (s DeleteTestSetInput) 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 (*DeleteTestSetInput) Validate added in v1.44.277

func (s *DeleteTestSetInput) Validate() error

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

type DeleteTestSetOutput added in v1.44.277

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

func (DeleteTestSetOutput) GoString added in v1.44.277

func (s DeleteTestSetOutput) 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 (DeleteTestSetOutput) String added in v1.44.277

func (s DeleteTestSetOutput) 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 DeleteUtterancesInput added in v1.40.47

type DeleteUtterancesInput struct {

	// The unique identifier of the bot that contains the utterances.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale where the utterances were collected.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	LocaleId *string `location:"querystring" locationName:"localeId" type:"string"`

	// The unique identifier of the session with the user. The ID is returned in
	// the response from the RecognizeText (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html)
	// and RecognizeUtterance (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html)
	// operations.
	SessionId *string `location:"querystring" locationName:"sessionId" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteUtterancesInput) GoString added in v1.40.47

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) SetBotId added in v1.40.47

SetBotId sets the BotId field's value.

func (*DeleteUtterancesInput) SetLocaleId added in v1.40.47

SetLocaleId sets the LocaleId field's value.

func (*DeleteUtterancesInput) SetSessionId added in v1.40.47

SetSessionId sets the SessionId field's value.

func (DeleteUtterancesInput) String added in v1.40.47

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 added in v1.40.47

func (s *DeleteUtterancesInput) Validate() error

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

type DeleteUtterancesOutput added in v1.40.47

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

func (DeleteUtterancesOutput) GoString added in v1.40.47

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 added in v1.40.47

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 DescribeBotAliasInput

type DescribeBotAliasInput struct {

	// The identifier of the bot alias to describe.
	//
	// BotAliasId is a required field
	BotAliasId *string `location:"uri" locationName:"botAliasId" min:"10" type:"string" required:"true"`

	// The identifier of the bot associated with the bot alias to describe.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBotAliasInput) GoString

func (s DescribeBotAliasInput) 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 (*DescribeBotAliasInput) SetBotAliasId

func (s *DescribeBotAliasInput) SetBotAliasId(v string) *DescribeBotAliasInput

SetBotAliasId sets the BotAliasId field's value.

func (*DescribeBotAliasInput) SetBotId

SetBotId sets the BotId field's value.

func (DescribeBotAliasInput) String

func (s DescribeBotAliasInput) 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 (*DescribeBotAliasInput) Validate

func (s *DescribeBotAliasInput) Validate() error

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

type DescribeBotAliasOutput

type DescribeBotAliasOutput struct {

	// A list of events that affect a bot alias. For example, an event is recorded
	// when the version that the alias points to changes.
	BotAliasHistoryEvents []*BotAliasHistoryEvent `locationName:"botAliasHistoryEvents" type:"list"`

	// The identifier of the bot alias.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// The locale settings that are unique to the alias.
	BotAliasLocaleSettings map[string]*BotAliasLocaleSettings `locationName:"botAliasLocaleSettings" min:"1" type:"map"`

	// The name of the bot alias.
	BotAliasName *string `locationName:"botAliasName" min:"1" type:"string"`

	// The current status of the alias. When the alias is Available, the alias is
	// ready for use with your bot.
	BotAliasStatus *string `locationName:"botAliasStatus" type:"string" enum:"BotAliasStatus"`

	// The identifier of the bot associated with the bot alias.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the bot alias.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Specifics of how Amazon Lex logs text and audio conversations with the bot
	// associated with the alias.
	ConversationLogSettings *ConversationLogSettings `locationName:"conversationLogSettings" type:"structure"`

	// A timestamp of the date and time that the alias was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// A timestamp of the date and time that the alias was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// A list of the networks to which the bot alias you described belongs.
	ParentBotNetworks []*ParentBotNetwork `locationName:"parentBotNetworks" type:"list"`

	// Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment
	// of user utterances.
	SentimentAnalysisSettings *SentimentAnalysisSettings `locationName:"sentimentAnalysisSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeBotAliasOutput) GoString

func (s DescribeBotAliasOutput) 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 (*DescribeBotAliasOutput) SetBotAliasHistoryEvents

func (s *DescribeBotAliasOutput) SetBotAliasHistoryEvents(v []*BotAliasHistoryEvent) *DescribeBotAliasOutput

SetBotAliasHistoryEvents sets the BotAliasHistoryEvents field's value.

func (*DescribeBotAliasOutput) SetBotAliasId

SetBotAliasId sets the BotAliasId field's value.

func (*DescribeBotAliasOutput) SetBotAliasLocaleSettings

func (s *DescribeBotAliasOutput) SetBotAliasLocaleSettings(v map[string]*BotAliasLocaleSettings) *DescribeBotAliasOutput

SetBotAliasLocaleSettings sets the BotAliasLocaleSettings field's value.

func (*DescribeBotAliasOutput) SetBotAliasName

func (s *DescribeBotAliasOutput) SetBotAliasName(v string) *DescribeBotAliasOutput

SetBotAliasName sets the BotAliasName field's value.

func (*DescribeBotAliasOutput) SetBotAliasStatus

func (s *DescribeBotAliasOutput) SetBotAliasStatus(v string) *DescribeBotAliasOutput

SetBotAliasStatus sets the BotAliasStatus field's value.

func (*DescribeBotAliasOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeBotAliasOutput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (*DescribeBotAliasOutput) SetConversationLogSettings

func (s *DescribeBotAliasOutput) SetConversationLogSettings(v *ConversationLogSettings) *DescribeBotAliasOutput

SetConversationLogSettings sets the ConversationLogSettings field's value.

func (*DescribeBotAliasOutput) SetCreationDateTime

func (s *DescribeBotAliasOutput) SetCreationDateTime(v time.Time) *DescribeBotAliasOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeBotAliasOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeBotAliasOutput) SetLastUpdatedDateTime

func (s *DescribeBotAliasOutput) SetLastUpdatedDateTime(v time.Time) *DescribeBotAliasOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeBotAliasOutput) SetParentBotNetworks added in v1.44.198

func (s *DescribeBotAliasOutput) SetParentBotNetworks(v []*ParentBotNetwork) *DescribeBotAliasOutput

SetParentBotNetworks sets the ParentBotNetworks field's value.

func (*DescribeBotAliasOutput) SetSentimentAnalysisSettings

func (s *DescribeBotAliasOutput) SetSentimentAnalysisSettings(v *SentimentAnalysisSettings) *DescribeBotAliasOutput

SetSentimentAnalysisSettings sets the SentimentAnalysisSettings field's value.

func (DescribeBotAliasOutput) String

func (s DescribeBotAliasOutput) 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 DescribeBotInput

type DescribeBotInput struct {

	// The unique identifier of the bot to describe.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBotInput) GoString

func (s DescribeBotInput) 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 (*DescribeBotInput) SetBotId

func (s *DescribeBotInput) SetBotId(v string) *DescribeBotInput

SetBotId sets the BotId field's value.

func (DescribeBotInput) String

func (s DescribeBotInput) 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 (*DescribeBotInput) Validate

func (s *DescribeBotInput) Validate() error

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

type DescribeBotLocaleInput

type DescribeBotLocaleInput struct {

	// The identifier of the bot associated with the locale.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the locale.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The unique identifier of the locale to describe. The string must match one
	// of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBotLocaleInput) GoString

func (s DescribeBotLocaleInput) 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 (*DescribeBotLocaleInput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeBotLocaleInput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (*DescribeBotLocaleInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (DescribeBotLocaleInput) String

func (s DescribeBotLocaleInput) 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 (*DescribeBotLocaleInput) Validate

func (s *DescribeBotLocaleInput) Validate() error

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

type DescribeBotLocaleOutput

type DescribeBotLocaleOutput struct {

	// The identifier of the bot associated with the locale.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// History of changes, such as when a locale is used in an alias, that have
	// taken place for the locale.
	BotLocaleHistoryEvents []*BotLocaleHistoryEvent `locationName:"botLocaleHistoryEvents" type:"list"`

	// The status of the bot. If the status is Failed, the reasons for the failure
	// are listed in the failureReasons field.
	BotLocaleStatus *string `locationName:"botLocaleStatus" type:"string" enum:"BotLocaleStatus"`

	// The version of the bot associated with the locale.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The date and time that the locale was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description of the locale.
	Description *string `locationName:"description" type:"string"`

	// if botLocaleStatus is Failed, Amazon Lex explains why it failed to build
	// the bot.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The number of intents defined for the locale.
	IntentsCount *int64 `locationName:"intentsCount" type:"integer"`

	// The date and time that the locale was last submitted for building.
	LastBuildSubmittedDateTime *time.Time `locationName:"lastBuildSubmittedDateTime" type:"timestamp"`

	// The date and time that the locale was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The unique identifier of the described locale.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The name of the locale.
	LocaleName *string `locationName:"localeName" type:"string"`

	// The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
	// and AMAZON.KendraSearchIntent intents in the list of possible intents for
	// an utterance.
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double"`

	// Recommended actions to take to resolve an error in the failureReasons field.
	RecommendedActions []*string `locationName:"recommendedActions" type:"list"`

	// The number of slot types defined for the locale.
	SlotTypesCount *int64 `locationName:"slotTypesCount" type:"integer"`

	// The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
	VoiceSettings *VoiceSettings `locationName:"voiceSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeBotLocaleOutput) GoString

func (s DescribeBotLocaleOutput) 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 (*DescribeBotLocaleOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeBotLocaleOutput) SetBotLocaleHistoryEvents

func (s *DescribeBotLocaleOutput) SetBotLocaleHistoryEvents(v []*BotLocaleHistoryEvent) *DescribeBotLocaleOutput

SetBotLocaleHistoryEvents sets the BotLocaleHistoryEvents field's value.

func (*DescribeBotLocaleOutput) SetBotLocaleStatus

func (s *DescribeBotLocaleOutput) SetBotLocaleStatus(v string) *DescribeBotLocaleOutput

SetBotLocaleStatus sets the BotLocaleStatus field's value.

func (*DescribeBotLocaleOutput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (*DescribeBotLocaleOutput) SetCreationDateTime

func (s *DescribeBotLocaleOutput) SetCreationDateTime(v time.Time) *DescribeBotLocaleOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeBotLocaleOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeBotLocaleOutput) SetFailureReasons

func (s *DescribeBotLocaleOutput) SetFailureReasons(v []*string) *DescribeBotLocaleOutput

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeBotLocaleOutput) SetIntentsCount

func (s *DescribeBotLocaleOutput) SetIntentsCount(v int64) *DescribeBotLocaleOutput

SetIntentsCount sets the IntentsCount field's value.

func (*DescribeBotLocaleOutput) SetLastBuildSubmittedDateTime

func (s *DescribeBotLocaleOutput) SetLastBuildSubmittedDateTime(v time.Time) *DescribeBotLocaleOutput

SetLastBuildSubmittedDateTime sets the LastBuildSubmittedDateTime field's value.

func (*DescribeBotLocaleOutput) SetLastUpdatedDateTime

func (s *DescribeBotLocaleOutput) SetLastUpdatedDateTime(v time.Time) *DescribeBotLocaleOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeBotLocaleOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*DescribeBotLocaleOutput) SetLocaleName

SetLocaleName sets the LocaleName field's value.

func (*DescribeBotLocaleOutput) SetNluIntentConfidenceThreshold

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

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*DescribeBotLocaleOutput) SetRecommendedActions added in v1.42.22

func (s *DescribeBotLocaleOutput) SetRecommendedActions(v []*string) *DescribeBotLocaleOutput

SetRecommendedActions sets the RecommendedActions field's value.

func (*DescribeBotLocaleOutput) SetSlotTypesCount

func (s *DescribeBotLocaleOutput) SetSlotTypesCount(v int64) *DescribeBotLocaleOutput

SetSlotTypesCount sets the SlotTypesCount field's value.

func (*DescribeBotLocaleOutput) SetVoiceSettings

SetVoiceSettings sets the VoiceSettings field's value.

func (DescribeBotLocaleOutput) String

func (s DescribeBotLocaleOutput) 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 DescribeBotOutput

type DescribeBotOutput struct {

	// The unique identifier of the bot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The list of bots in the network that was described.
	BotMembers []*BotMember `locationName:"botMembers" type:"list"`

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

	// The current status of the bot. When the status is Available the bot is ready
	// to be used in conversations with users.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The type of the bot that was described.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

	// A timestamp of the date and time that the bot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// Settings for managing data privacy of the bot and its conversations with
	// users.
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure"`

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

	// If the botStatus is Failed, this contains a list of reasons that the bot
	// couldn't be built.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

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

	// A timestamp of the date and time that the bot was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The Amazon Resource Name (ARN) of an IAM role that has permission to access
	// the bot.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBotOutput) GoString

func (s DescribeBotOutput) 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 (*DescribeBotOutput) SetBotId

func (s *DescribeBotOutput) SetBotId(v string) *DescribeBotOutput

SetBotId sets the BotId field's value.

func (*DescribeBotOutput) SetBotMembers added in v1.44.198

func (s *DescribeBotOutput) SetBotMembers(v []*BotMember) *DescribeBotOutput

SetBotMembers sets the BotMembers field's value.

func (*DescribeBotOutput) SetBotName

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

SetBotName sets the BotName field's value.

func (*DescribeBotOutput) SetBotStatus

func (s *DescribeBotOutput) SetBotStatus(v string) *DescribeBotOutput

SetBotStatus sets the BotStatus field's value.

func (*DescribeBotOutput) SetBotType added in v1.44.198

func (s *DescribeBotOutput) SetBotType(v string) *DescribeBotOutput

SetBotType sets the BotType field's value.

func (*DescribeBotOutput) SetCreationDateTime

func (s *DescribeBotOutput) SetCreationDateTime(v time.Time) *DescribeBotOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeBotOutput) SetDataPrivacy

func (s *DescribeBotOutput) SetDataPrivacy(v *DataPrivacy) *DescribeBotOutput

SetDataPrivacy sets the DataPrivacy field's value.

func (*DescribeBotOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*DescribeBotOutput) SetFailureReasons added in v1.44.198

func (s *DescribeBotOutput) SetFailureReasons(v []*string) *DescribeBotOutput

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeBotOutput) SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*DescribeBotOutput) SetLastUpdatedDateTime

func (s *DescribeBotOutput) SetLastUpdatedDateTime(v time.Time) *DescribeBotOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeBotOutput) SetRoleArn

func (s *DescribeBotOutput) SetRoleArn(v string) *DescribeBotOutput

SetRoleArn sets the RoleArn field's value.

func (DescribeBotOutput) String

func (s DescribeBotOutput) 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 DescribeBotRecommendationInput added in v1.42.17

type DescribeBotRecommendationInput struct {

	// The unique identifier of the bot associated with the bot recommendation.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the bot recommendation to describe.
	//
	// BotRecommendationId is a required field
	BotRecommendationId *string `location:"uri" locationName:"botRecommendationId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the bot recommendation.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale of the bot recommendation to describe.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBotRecommendationInput) GoString added in v1.42.17

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 (*DescribeBotRecommendationInput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*DescribeBotRecommendationInput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*DescribeBotRecommendationInput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*DescribeBotRecommendationInput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (DescribeBotRecommendationInput) String added in v1.42.17

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 (*DescribeBotRecommendationInput) Validate added in v1.42.17

func (s *DescribeBotRecommendationInput) Validate() error

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

type DescribeBotRecommendationOutput added in v1.42.17

type DescribeBotRecommendationOutput struct {

	// The identifier of the bot associated with the bot recommendation.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the bot recommendation being described.
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string"`

	// The object representing the URL of the bot definition, the URL of the associated
	// transcript and a statistical summary of the bot recommendation results.
	BotRecommendationResults *BotRecommendationResults `locationName:"botRecommendationResults" type:"structure"`

	// The status of the bot recommendation. If the status is Failed, then the reasons
	// for the failure are listed in the failureReasons field.
	BotRecommendationStatus *string `locationName:"botRecommendationStatus" type:"string" enum:"BotRecommendationStatus"`

	// The version of the bot associated with the bot recommendation.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The date and time that the bot recommendation was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The object representing the passwords that were used to encrypt the data
	// related to the bot recommendation results, as well as the KMS key ARN used
	// to encrypt the associated metadata.
	EncryptionSetting *EncryptionSetting `locationName:"encryptionSetting" type:"structure"`

	// If botRecommendationStatus is Failed, Amazon Lex explains why.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The date and time that the bot recommendation was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The identifier of the language and locale of the bot recommendation to describe.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The object representing the Amazon S3 bucket containing the transcript, as
	// well as the associated metadata.
	TranscriptSourceSetting *TranscriptSourceSetting `locationName:"transcriptSourceSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeBotRecommendationOutput) GoString added in v1.42.17

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 (*DescribeBotRecommendationOutput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*DescribeBotRecommendationOutput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*DescribeBotRecommendationOutput) SetBotRecommendationResults added in v1.42.17

SetBotRecommendationResults sets the BotRecommendationResults field's value.

func (*DescribeBotRecommendationOutput) SetBotRecommendationStatus added in v1.42.17

SetBotRecommendationStatus sets the BotRecommendationStatus field's value.

func (*DescribeBotRecommendationOutput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*DescribeBotRecommendationOutput) SetCreationDateTime added in v1.42.17

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeBotRecommendationOutput) SetEncryptionSetting added in v1.42.17

SetEncryptionSetting sets the EncryptionSetting field's value.

func (*DescribeBotRecommendationOutput) SetFailureReasons added in v1.42.17

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeBotRecommendationOutput) SetLastUpdatedDateTime added in v1.42.17

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeBotRecommendationOutput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*DescribeBotRecommendationOutput) SetTranscriptSourceSetting added in v1.42.17

SetTranscriptSourceSetting sets the TranscriptSourceSetting field's value.

func (DescribeBotRecommendationOutput) String added in v1.42.17

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 DescribeBotVersionInput

type DescribeBotVersionInput struct {

	// The identifier of the bot containing the version to return metadata for.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to return metadata for.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBotVersionInput) GoString

func (s DescribeBotVersionInput) 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 (*DescribeBotVersionInput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeBotVersionInput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (DescribeBotVersionInput) String

func (s DescribeBotVersionInput) 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 (*DescribeBotVersionInput) Validate

func (s *DescribeBotVersionInput) Validate() error

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

type DescribeBotVersionOutput

type DescribeBotVersionOutput struct {

	// The identifier of the bot that contains the version.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The members of bot network in the version that was described.
	BotMembers []*BotMember `locationName:"botMembers" type:"list"`

	// The name of the bot that contains the version.
	BotName *string `locationName:"botName" min:"1" type:"string"`

	// The current status of the bot. When the status is Available, the bot version
	// is ready for use.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The type of the bot in the version that was described.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

	// The version of the bot that was described.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// A timestamp of the date and time that the bot version was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// Data privacy settings for the bot version.
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure"`

	// The description specified for the bot.
	Description *string `locationName:"description" type:"string"`

	// If the botStatus is Failed, this contains a list of reasons that the version
	// couldn't be built.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The number of seconds that a session with the bot remains active before it
	// is discarded by Amazon Lex.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// A list of the networks to which the bot version you described belongs.
	ParentBotNetworks []*ParentBotNetwork `locationName:"parentBotNetworks" type:"list"`

	// The Amazon Resource Name (ARN) of an IAM role that has permission to access
	// the bot version.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBotVersionOutput) GoString

func (s DescribeBotVersionOutput) 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 (*DescribeBotVersionOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeBotVersionOutput) SetBotMembers added in v1.44.198

SetBotMembers sets the BotMembers field's value.

func (*DescribeBotVersionOutput) SetBotName

SetBotName sets the BotName field's value.

func (*DescribeBotVersionOutput) SetBotStatus

SetBotStatus sets the BotStatus field's value.

func (*DescribeBotVersionOutput) SetBotType added in v1.44.198

SetBotType sets the BotType field's value.

func (*DescribeBotVersionOutput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (*DescribeBotVersionOutput) SetCreationDateTime

func (s *DescribeBotVersionOutput) SetCreationDateTime(v time.Time) *DescribeBotVersionOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeBotVersionOutput) SetDataPrivacy

SetDataPrivacy sets the DataPrivacy field's value.

func (*DescribeBotVersionOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeBotVersionOutput) SetFailureReasons

func (s *DescribeBotVersionOutput) SetFailureReasons(v []*string) *DescribeBotVersionOutput

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeBotVersionOutput) SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*DescribeBotVersionOutput) SetParentBotNetworks added in v1.44.198

SetParentBotNetworks sets the ParentBotNetworks field's value.

func (*DescribeBotVersionOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (DescribeBotVersionOutput) String

func (s DescribeBotVersionOutput) 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 DescribeCustomVocabularyMetadataInput added in v1.42.33

type DescribeCustomVocabularyMetadataInput struct {

	// The unique identifier of the bot that contains the custom vocabulary.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The bot version of the bot to return metadata for.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The locale to return the custom vocabulary information for. The locale must
	// be en_GB.
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeCustomVocabularyMetadataInput) GoString added in v1.42.33

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 (*DescribeCustomVocabularyMetadataInput) SetBotId added in v1.42.33

SetBotId sets the BotId field's value.

func (*DescribeCustomVocabularyMetadataInput) SetBotVersion added in v1.42.33

SetBotVersion sets the BotVersion field's value.

func (*DescribeCustomVocabularyMetadataInput) SetLocaleId added in v1.42.33

SetLocaleId sets the LocaleId field's value.

func (DescribeCustomVocabularyMetadataInput) String added in v1.42.33

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 (*DescribeCustomVocabularyMetadataInput) Validate added in v1.42.33

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

type DescribeCustomVocabularyMetadataOutput added in v1.42.33

type DescribeCustomVocabularyMetadataOutput struct {

	// The identifier of the bot that contains the custom vocabulary.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the custom vocabulary to describe.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The date and time that the custom vocabulary was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The status of the custom vocabulary. If the status is Ready the custom vocabulary
	// is ready to use.
	CustomVocabularyStatus *string `locationName:"customVocabularyStatus" type:"string" enum:"CustomVocabularyStatus"`

	// The date and time that the custom vocabulary was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The locale that contains the custom vocabulary to describe.
	LocaleId *string `locationName:"localeId" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeCustomVocabularyMetadataOutput) GoString added in v1.42.33

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 (*DescribeCustomVocabularyMetadataOutput) SetBotId added in v1.42.33

SetBotId sets the BotId field's value.

func (*DescribeCustomVocabularyMetadataOutput) SetBotVersion added in v1.42.33

SetBotVersion sets the BotVersion field's value.

func (*DescribeCustomVocabularyMetadataOutput) SetCreationDateTime added in v1.42.33

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeCustomVocabularyMetadataOutput) SetCustomVocabularyStatus added in v1.42.33

SetCustomVocabularyStatus sets the CustomVocabularyStatus field's value.

func (*DescribeCustomVocabularyMetadataOutput) SetLastUpdatedDateTime added in v1.42.33

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeCustomVocabularyMetadataOutput) SetLocaleId added in v1.42.33

SetLocaleId sets the LocaleId field's value.

func (DescribeCustomVocabularyMetadataOutput) String added in v1.42.33

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 DescribeExportInput added in v1.38.42

type DescribeExportInput struct {

	// The unique identifier of the export to describe.
	//
	// ExportId is a required field
	ExportId *string `location:"uri" locationName:"exportId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeExportInput) GoString added in v1.38.42

func (s DescribeExportInput) 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 (*DescribeExportInput) SetExportId added in v1.38.42

func (s *DescribeExportInput) SetExportId(v string) *DescribeExportInput

SetExportId sets the ExportId field's value.

func (DescribeExportInput) String added in v1.38.42

func (s DescribeExportInput) 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 (*DescribeExportInput) Validate added in v1.38.42

func (s *DescribeExportInput) Validate() error

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

type DescribeExportOutput added in v1.38.42

type DescribeExportOutput struct {

	// The date and time that the export was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// A pre-signed S3 URL that points to the bot or bot locale archive. The URL
	// is only available for 5 minutes after calling the DescribeExport operation.
	DownloadUrl *string `locationName:"downloadUrl" min:"1" type:"string"`

	// The unique identifier of the described export.
	ExportId *string `locationName:"exportId" min:"10" type:"string"`

	// The status of the export. When the status is Complete the export archive
	// file is available for download.
	ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"`

	// If the exportStatus is failed, contains one or more reasons why the export
	// could not be completed.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The file format used in the files that describe the resource.
	FileFormat *string `locationName:"fileFormat" type:"string" enum:"ImportExportFileFormat"`

	// The last date and time that the export was updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The bot, bot ID, and optional locale ID of the exported bot or bot locale.
	ResourceSpecification *ExportResourceSpecification `locationName:"resourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeExportOutput) GoString added in v1.38.42

func (s DescribeExportOutput) 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 (*DescribeExportOutput) SetCreationDateTime added in v1.38.42

func (s *DescribeExportOutput) SetCreationDateTime(v time.Time) *DescribeExportOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeExportOutput) SetDownloadUrl added in v1.38.42

func (s *DescribeExportOutput) SetDownloadUrl(v string) *DescribeExportOutput

SetDownloadUrl sets the DownloadUrl field's value.

func (*DescribeExportOutput) SetExportId added in v1.38.42

SetExportId sets the ExportId field's value.

func (*DescribeExportOutput) SetExportStatus added in v1.38.42

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

SetExportStatus sets the ExportStatus field's value.

func (*DescribeExportOutput) SetFailureReasons added in v1.38.42

func (s *DescribeExportOutput) SetFailureReasons(v []*string) *DescribeExportOutput

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeExportOutput) SetFileFormat added in v1.38.42

func (s *DescribeExportOutput) SetFileFormat(v string) *DescribeExportOutput

SetFileFormat sets the FileFormat field's value.

func (*DescribeExportOutput) SetLastUpdatedDateTime added in v1.38.42

func (s *DescribeExportOutput) SetLastUpdatedDateTime(v time.Time) *DescribeExportOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeExportOutput) SetResourceSpecification added in v1.38.42

SetResourceSpecification sets the ResourceSpecification field's value.

func (DescribeExportOutput) String added in v1.38.42

func (s DescribeExportOutput) 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 DescribeImportInput added in v1.38.42

type DescribeImportInput struct {

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

func (DescribeImportInput) GoString added in v1.38.42

func (s DescribeImportInput) 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 (*DescribeImportInput) SetImportId added in v1.38.42

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

SetImportId sets the ImportId field's value.

func (DescribeImportInput) String added in v1.38.42

func (s DescribeImportInput) 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 (*DescribeImportInput) Validate added in v1.38.42

func (s *DescribeImportInput) Validate() error

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

type DescribeImportOutput added in v1.38.42

type DescribeImportOutput struct {

	// The date and time that the import was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// If the importStatus field is Failed, this provides one or more reasons for
	// the failure.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The unique identifier of the described import.
	ImportId *string `locationName:"importId" min:"10" type:"string"`

	// The status of the import process. When the status is Completed the resource
	// is imported and ready for use.
	ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"`

	// The unique identifier that Amazon Lex assigned to the resource created by
	// the import.
	ImportedResourceId *string `locationName:"importedResourceId" min:"5" type:"string"`

	// The name of the imported resource.
	ImportedResourceName *string `locationName:"importedResourceName" min:"1" type:"string"`

	// The date and time that the import was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The strategy used when there was a name conflict between the imported resource
	// and an existing resource. When the merge strategy is FailOnConflict existing
	// resources are not overwritten and the import fails.
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" enum:"MergeStrategy"`

	// The specifications of the imported bot, bot locale, or custom vocabulary.
	ResourceSpecification *ImportResourceSpecification `locationName:"resourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeImportOutput) GoString added in v1.38.42

func (s DescribeImportOutput) 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 (*DescribeImportOutput) SetCreationDateTime added in v1.38.42

func (s *DescribeImportOutput) SetCreationDateTime(v time.Time) *DescribeImportOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeImportOutput) SetFailureReasons added in v1.38.42

func (s *DescribeImportOutput) SetFailureReasons(v []*string) *DescribeImportOutput

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeImportOutput) SetImportId added in v1.38.42

SetImportId sets the ImportId field's value.

func (*DescribeImportOutput) SetImportStatus added in v1.38.42

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

SetImportStatus sets the ImportStatus field's value.

func (*DescribeImportOutput) SetImportedResourceId added in v1.38.42

func (s *DescribeImportOutput) SetImportedResourceId(v string) *DescribeImportOutput

SetImportedResourceId sets the ImportedResourceId field's value.

func (*DescribeImportOutput) SetImportedResourceName added in v1.38.42

func (s *DescribeImportOutput) SetImportedResourceName(v string) *DescribeImportOutput

SetImportedResourceName sets the ImportedResourceName field's value.

func (*DescribeImportOutput) SetLastUpdatedDateTime added in v1.38.42

func (s *DescribeImportOutput) SetLastUpdatedDateTime(v time.Time) *DescribeImportOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeImportOutput) SetMergeStrategy added in v1.38.42

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

SetMergeStrategy sets the MergeStrategy field's value.

func (*DescribeImportOutput) SetResourceSpecification added in v1.38.42

SetResourceSpecification sets the ResourceSpecification field's value.

func (DescribeImportOutput) String added in v1.38.42

func (s DescribeImportOutput) 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 DescribeIntentInput

type DescribeIntentInput struct {

	// The identifier of the bot associated with the intent.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the intent.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The identifier of the intent to describe.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale of the intent to describe. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeIntentInput) GoString

func (s DescribeIntentInput) 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 (*DescribeIntentInput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeIntentInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DescribeIntentInput) SetIntentId

func (s *DescribeIntentInput) SetIntentId(v string) *DescribeIntentInput

SetIntentId sets the IntentId field's value.

func (*DescribeIntentInput) SetLocaleId

func (s *DescribeIntentInput) SetLocaleId(v string) *DescribeIntentInput

SetLocaleId sets the LocaleId field's value.

func (DescribeIntentInput) String

func (s DescribeIntentInput) 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 (*DescribeIntentInput) Validate

func (s *DescribeIntentInput) Validate() error

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

type DescribeIntentOutput

type DescribeIntentOutput struct {

	// The identifier of the bot associated with the intent.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the intent.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp of the date and time that the intent was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// The Lambda function called during each turn of a conversation with the intent.
	DialogCodeHook *DialogCodeHookSettings `locationName:"dialogCodeHook" type:"structure"`

	// The Lambda function called when the intent is complete and ready for fulfillment.
	FulfillmentCodeHook *FulfillmentCodeHookSettings `locationName:"fulfillmentCodeHook" type:"structure"`

	// Configuration setting for a response sent to the user before Amazon Lex starts
	// eliciting slots.
	InitialResponseSetting *InitialResponseSetting `locationName:"initialResponseSetting" type:"structure"`

	// A list of contexts that must be active for the intent to be considered for
	// sending to the user.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// The response that Amazon Lex sends to when the intent is closed.
	IntentClosingSetting *IntentClosingSetting `locationName:"intentClosingSetting" type:"structure"`

	// Prompts that Amazon Lex sends to the user to confirm completion of an intent.
	IntentConfirmationSetting *IntentConfirmationSetting `locationName:"intentConfirmationSetting" type:"structure"`

	// The unique identifier assigned to the intent when it was created.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// The name specified for the intent.
	IntentName *string `locationName:"intentName" min:"1" type:"string"`

	// Configuration information required to use the AMAZON.KendraSearchIntent intent.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// A timestamp of the date and time that the intent was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The language and locale specified for the intent.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A list of contexts that are activated when the intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// The identifier of the built-in intent that this intent is derived from, if
	// any.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// User utterances that trigger this intent.
	SampleUtterances []*SampleUtterance `locationName:"sampleUtterances" type:"list"`

	// The list that determines the priority that slots should be elicited from
	// the user.
	SlotPriorities []*SlotPriority `locationName:"slotPriorities" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeIntentOutput) GoString

func (s DescribeIntentOutput) 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 (*DescribeIntentOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeIntentOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DescribeIntentOutput) SetCreationDateTime

func (s *DescribeIntentOutput) SetCreationDateTime(v time.Time) *DescribeIntentOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeIntentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*DescribeIntentOutput) SetDialogCodeHook

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*DescribeIntentOutput) SetFulfillmentCodeHook

SetFulfillmentCodeHook sets the FulfillmentCodeHook field's value.

func (*DescribeIntentOutput) SetInitialResponseSetting added in v1.44.79

func (s *DescribeIntentOutput) SetInitialResponseSetting(v *InitialResponseSetting) *DescribeIntentOutput

SetInitialResponseSetting sets the InitialResponseSetting field's value.

func (*DescribeIntentOutput) SetInputContexts

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

SetInputContexts sets the InputContexts field's value.

func (*DescribeIntentOutput) SetIntentClosingSetting

func (s *DescribeIntentOutput) SetIntentClosingSetting(v *IntentClosingSetting) *DescribeIntentOutput

SetIntentClosingSetting sets the IntentClosingSetting field's value.

func (*DescribeIntentOutput) SetIntentConfirmationSetting

func (s *DescribeIntentOutput) SetIntentConfirmationSetting(v *IntentConfirmationSetting) *DescribeIntentOutput

SetIntentConfirmationSetting sets the IntentConfirmationSetting field's value.

func (*DescribeIntentOutput) SetIntentId

SetIntentId sets the IntentId field's value.

func (*DescribeIntentOutput) SetIntentName

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

SetIntentName sets the IntentName field's value.

func (*DescribeIntentOutput) SetKendraConfiguration

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

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*DescribeIntentOutput) SetLastUpdatedDateTime

func (s *DescribeIntentOutput) SetLastUpdatedDateTime(v time.Time) *DescribeIntentOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeIntentOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*DescribeIntentOutput) SetOutputContexts

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

SetOutputContexts sets the OutputContexts field's value.

func (*DescribeIntentOutput) SetParentIntentSignature

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

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*DescribeIntentOutput) SetSampleUtterances

func (s *DescribeIntentOutput) SetSampleUtterances(v []*SampleUtterance) *DescribeIntentOutput

SetSampleUtterances sets the SampleUtterances field's value.

func (*DescribeIntentOutput) SetSlotPriorities

func (s *DescribeIntentOutput) SetSlotPriorities(v []*SlotPriority) *DescribeIntentOutput

SetSlotPriorities sets the SlotPriorities field's value.

func (DescribeIntentOutput) String

func (s DescribeIntentOutput) 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 DescribeResourcePolicyInput added in v1.38.44

type DescribeResourcePolicyInput struct {

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeResourcePolicyInput) GoString added in v1.38.44

func (s DescribeResourcePolicyInput) 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 (*DescribeResourcePolicyInput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (DescribeResourcePolicyInput) String added in v1.38.44

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 (*DescribeResourcePolicyInput) Validate added in v1.38.44

func (s *DescribeResourcePolicyInput) Validate() error

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

type DescribeResourcePolicyOutput added in v1.38.44

type DescribeResourcePolicyOutput struct {

	// The JSON structure that contains the resource policy. For more information
	// about the contents of a JSON policy document, see IAM JSON policy reference
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html).
	Policy *string `locationName:"policy" min:"2" type:"string"`

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy. Use the revision ID to make
	// sure that you are updating the most current version of a resource policy
	// when you add a policy statement to a resource, delete a resource, or update
	// a resource.
	RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeResourcePolicyOutput) GoString added in v1.38.44

func (s DescribeResourcePolicyOutput) 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 (*DescribeResourcePolicyOutput) SetPolicy added in v1.38.44

SetPolicy sets the Policy field's value.

func (*DescribeResourcePolicyOutput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*DescribeResourcePolicyOutput) SetRevisionId added in v1.38.44

SetRevisionId sets the RevisionId field's value.

func (DescribeResourcePolicyOutput) String added in v1.38.44

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 DescribeSlotInput

type DescribeSlotInput struct {

	// The identifier of the bot associated with the slot.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the slot.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The identifier of the intent that contains the slot.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale of the slot to describe. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The unique identifier for the slot.
	//
	// SlotId is a required field
	SlotId *string `location:"uri" locationName:"slotId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSlotInput) GoString

func (s DescribeSlotInput) 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 (*DescribeSlotInput) SetBotId

func (s *DescribeSlotInput) SetBotId(v string) *DescribeSlotInput

SetBotId sets the BotId field's value.

func (*DescribeSlotInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DescribeSlotInput) SetIntentId

func (s *DescribeSlotInput) SetIntentId(v string) *DescribeSlotInput

SetIntentId sets the IntentId field's value.

func (*DescribeSlotInput) SetLocaleId

func (s *DescribeSlotInput) SetLocaleId(v string) *DescribeSlotInput

SetLocaleId sets the LocaleId field's value.

func (*DescribeSlotInput) SetSlotId

func (s *DescribeSlotInput) SetSlotId(v string) *DescribeSlotInput

SetSlotId sets the SlotId field's value.

func (DescribeSlotInput) String

func (s DescribeSlotInput) 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 (*DescribeSlotInput) Validate

func (s *DescribeSlotInput) Validate() error

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

type DescribeSlotOutput

type DescribeSlotOutput struct {

	// The identifier of the bot associated with the slot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the slot.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// A timestamp of the date and time that the slot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description specified for the slot.
	Description *string `locationName:"description" type:"string"`

	// The identifier of the intent associated with the slot.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// A timestamp of the date and time that the slot was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The language and locale specified for the slot.
	LocaleId *string `locationName:"localeId" type:"string"`

	// Indicates whether the slot accepts multiple values in a single utterance.
	//
	// If the multipleValuesSetting is not set, the default value is false.
	MultipleValuesSetting *MultipleValuesSetting `locationName:"multipleValuesSetting" type:"structure"`

	// Whether slot values are shown in Amazon CloudWatch logs. If the value is
	// None, the actual value of the slot is shown in logs.
	ObfuscationSetting *ObfuscationSetting `locationName:"obfuscationSetting" type:"structure"`

	// The unique identifier generated for the slot.
	SlotId *string `locationName:"slotId" min:"10" type:"string"`

	// The name specified for the slot.
	SlotName *string `locationName:"slotName" min:"1" type:"string"`

	// The identifier of the slot type that determines the values entered into the
	// slot.
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string"`

	// Specifications for the constituent sub slots and the expression for the composite
	// slot.
	SubSlotSetting *SubSlotSetting `locationName:"subSlotSetting" type:"structure"`

	// Prompts that Amazon Lex uses to elicit a value for the slot.
	ValueElicitationSetting *SlotValueElicitationSetting `locationName:"valueElicitationSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeSlotOutput) GoString

func (s DescribeSlotOutput) 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 (*DescribeSlotOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeSlotOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DescribeSlotOutput) SetCreationDateTime

func (s *DescribeSlotOutput) SetCreationDateTime(v time.Time) *DescribeSlotOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeSlotOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*DescribeSlotOutput) SetIntentId

func (s *DescribeSlotOutput) SetIntentId(v string) *DescribeSlotOutput

SetIntentId sets the IntentId field's value.

func (*DescribeSlotOutput) SetLastUpdatedDateTime

func (s *DescribeSlotOutput) SetLastUpdatedDateTime(v time.Time) *DescribeSlotOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeSlotOutput) SetLocaleId

func (s *DescribeSlotOutput) SetLocaleId(v string) *DescribeSlotOutput

SetLocaleId sets the LocaleId field's value.

func (*DescribeSlotOutput) SetMultipleValuesSetting added in v1.38.62

func (s *DescribeSlotOutput) SetMultipleValuesSetting(v *MultipleValuesSetting) *DescribeSlotOutput

SetMultipleValuesSetting sets the MultipleValuesSetting field's value.

func (*DescribeSlotOutput) SetObfuscationSetting

func (s *DescribeSlotOutput) SetObfuscationSetting(v *ObfuscationSetting) *DescribeSlotOutput

SetObfuscationSetting sets the ObfuscationSetting field's value.

func (*DescribeSlotOutput) SetSlotId

func (s *DescribeSlotOutput) SetSlotId(v string) *DescribeSlotOutput

SetSlotId sets the SlotId field's value.

func (*DescribeSlotOutput) SetSlotName

func (s *DescribeSlotOutput) SetSlotName(v string) *DescribeSlotOutput

SetSlotName sets the SlotName field's value.

func (*DescribeSlotOutput) SetSlotTypeId

func (s *DescribeSlotOutput) SetSlotTypeId(v string) *DescribeSlotOutput

SetSlotTypeId sets the SlotTypeId field's value.

func (*DescribeSlotOutput) SetSubSlotSetting added in v1.44.95

func (s *DescribeSlotOutput) SetSubSlotSetting(v *SubSlotSetting) *DescribeSlotOutput

SetSubSlotSetting sets the SubSlotSetting field's value.

func (*DescribeSlotOutput) SetValueElicitationSetting

func (s *DescribeSlotOutput) SetValueElicitationSetting(v *SlotValueElicitationSetting) *DescribeSlotOutput

SetValueElicitationSetting sets the ValueElicitationSetting field's value.

func (DescribeSlotOutput) String

func (s DescribeSlotOutput) 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 DescribeSlotTypeInput

type DescribeSlotTypeInput struct {

	// The identifier of the bot associated with the slot type.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot associated with the slot type.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The identifier of the language and locale of the slot type to describe. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The identifier of the slot type.
	//
	// SlotTypeId is a required field
	SlotTypeId *string `location:"uri" locationName:"slotTypeId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSlotTypeInput) GoString

func (s DescribeSlotTypeInput) 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 (*DescribeSlotTypeInput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeSlotTypeInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*DescribeSlotTypeInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*DescribeSlotTypeInput) SetSlotTypeId

func (s *DescribeSlotTypeInput) SetSlotTypeId(v string) *DescribeSlotTypeInput

SetSlotTypeId sets the SlotTypeId field's value.

func (DescribeSlotTypeInput) String

func (s DescribeSlotTypeInput) 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 (*DescribeSlotTypeInput) Validate

func (s *DescribeSlotTypeInput) Validate() error

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

type DescribeSlotTypeOutput

type DescribeSlotTypeOutput struct {

	// The identifier of the bot associated with the slot type.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot associated with the slot type.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Specifications for a composite slot type.
	CompositeSlotTypeSetting *CompositeSlotTypeSetting `locationName:"compositeSlotTypeSetting" type:"structure"`

	// A timestamp of the date and time that the slot type was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description specified for the slot type.
	Description *string `locationName:"description" type:"string"`

	// Provides information about the external source of the slot type's definition.
	ExternalSourceSetting *ExternalSourceSetting `locationName:"externalSourceSetting" type:"structure"`

	// A timestamp of the date and time that the slot type was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The language and locale specified for the slot type.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The built in slot type used as a parent to this slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" type:"string"`

	// The unique identifier for the slot type.
	SlotTypeId *string `locationName:"slotTypeId" min:"10" type:"string"`

	// The name specified for the slot type.
	SlotTypeName *string `locationName:"slotTypeName" min:"1" type:"string"`

	// The values that the slot type can take. Includes any synonyms for the slot
	// type values.
	SlotTypeValues []*SlotTypeValue `locationName:"slotTypeValues" min:"1" type:"list"`

	// The strategy that Amazon Lex uses to choose a value from a list of possible
	// values.
	ValueSelectionSetting *SlotValueSelectionSetting `locationName:"valueSelectionSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeSlotTypeOutput) GoString

func (s DescribeSlotTypeOutput) 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 (*DescribeSlotTypeOutput) SetBotId

SetBotId sets the BotId field's value.

func (*DescribeSlotTypeOutput) SetBotVersion

SetBotVersion sets the BotVersion field's value.

func (*DescribeSlotTypeOutput) SetCompositeSlotTypeSetting added in v1.44.95

func (s *DescribeSlotTypeOutput) SetCompositeSlotTypeSetting(v *CompositeSlotTypeSetting) *DescribeSlotTypeOutput

SetCompositeSlotTypeSetting sets the CompositeSlotTypeSetting field's value.

func (*DescribeSlotTypeOutput) SetCreationDateTime

func (s *DescribeSlotTypeOutput) SetCreationDateTime(v time.Time) *DescribeSlotTypeOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeSlotTypeOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeSlotTypeOutput) SetExternalSourceSetting added in v1.42.22

func (s *DescribeSlotTypeOutput) SetExternalSourceSetting(v *ExternalSourceSetting) *DescribeSlotTypeOutput

SetExternalSourceSetting sets the ExternalSourceSetting field's value.

func (*DescribeSlotTypeOutput) SetLastUpdatedDateTime

func (s *DescribeSlotTypeOutput) SetLastUpdatedDateTime(v time.Time) *DescribeSlotTypeOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeSlotTypeOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*DescribeSlotTypeOutput) SetParentSlotTypeSignature

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

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*DescribeSlotTypeOutput) SetSlotTypeId

SetSlotTypeId sets the SlotTypeId field's value.

func (*DescribeSlotTypeOutput) SetSlotTypeName

func (s *DescribeSlotTypeOutput) SetSlotTypeName(v string) *DescribeSlotTypeOutput

SetSlotTypeName sets the SlotTypeName field's value.

func (*DescribeSlotTypeOutput) SetSlotTypeValues

func (s *DescribeSlotTypeOutput) SetSlotTypeValues(v []*SlotTypeValue) *DescribeSlotTypeOutput

SetSlotTypeValues sets the SlotTypeValues field's value.

func (*DescribeSlotTypeOutput) SetValueSelectionSetting

SetValueSelectionSetting sets the ValueSelectionSetting field's value.

func (DescribeSlotTypeOutput) String

func (s DescribeSlotTypeOutput) 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 DescribeTestExecutionInput added in v1.44.277

type DescribeTestExecutionInput struct {

	// The execution Id of the test set execution.
	//
	// TestExecutionId is a required field
	TestExecutionId *string `location:"uri" locationName:"testExecutionId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTestExecutionInput) GoString added in v1.44.277

func (s DescribeTestExecutionInput) 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 (*DescribeTestExecutionInput) SetTestExecutionId added in v1.44.277

SetTestExecutionId sets the TestExecutionId field's value.

func (DescribeTestExecutionInput) String added in v1.44.277

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 (*DescribeTestExecutionInput) Validate added in v1.44.277

func (s *DescribeTestExecutionInput) Validate() error

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

type DescribeTestExecutionOutput added in v1.44.277

type DescribeTestExecutionOutput struct {

	// Indicates whether we use streaming or non-streaming APIs are used for the
	// test set execution. For streaming, StartConversation Amazon Lex Runtime API
	// is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText
	// Amazon Lex Runtime API is used.
	ApiMode *string `locationName:"apiMode" type:"string" enum:"TestExecutionApiMode"`

	// The execution creation date and time for the test set execution.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// Reasons for the failure of the test set execution.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The date and time of the last update for the execution.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The target bot for the test set execution details.
	Target *TestExecutionTarget `locationName:"target" type:"structure"`

	// The execution Id for the test set execution.
	TestExecutionId *string `locationName:"testExecutionId" min:"10" type:"string"`

	// Indicates whether test set is audio or text.
	TestExecutionModality *string `locationName:"testExecutionModality" type:"string" enum:"TestExecutionModality"`

	// The test execution status for the test execution.
	TestExecutionStatus *string `locationName:"testExecutionStatus" type:"string" enum:"TestExecutionStatus"`

	// The test set Id for the test set execution.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`

	// The test set name of the test set execution.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeTestExecutionOutput) GoString added in v1.44.277

func (s DescribeTestExecutionOutput) 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 (*DescribeTestExecutionOutput) SetApiMode added in v1.44.277

SetApiMode sets the ApiMode field's value.

func (*DescribeTestExecutionOutput) SetCreationDateTime added in v1.44.277

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeTestExecutionOutput) SetFailureReasons added in v1.44.277

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeTestExecutionOutput) SetLastUpdatedDateTime added in v1.44.277

func (s *DescribeTestExecutionOutput) SetLastUpdatedDateTime(v time.Time) *DescribeTestExecutionOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeTestExecutionOutput) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*DescribeTestExecutionOutput) SetTestExecutionId added in v1.44.277

SetTestExecutionId sets the TestExecutionId field's value.

func (*DescribeTestExecutionOutput) SetTestExecutionModality added in v1.44.277

func (s *DescribeTestExecutionOutput) SetTestExecutionModality(v string) *DescribeTestExecutionOutput

SetTestExecutionModality sets the TestExecutionModality field's value.

func (*DescribeTestExecutionOutput) SetTestExecutionStatus added in v1.44.277

func (s *DescribeTestExecutionOutput) SetTestExecutionStatus(v string) *DescribeTestExecutionOutput

SetTestExecutionStatus sets the TestExecutionStatus field's value.

func (*DescribeTestExecutionOutput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (*DescribeTestExecutionOutput) SetTestSetName added in v1.44.277

SetTestSetName sets the TestSetName field's value.

func (DescribeTestExecutionOutput) String added in v1.44.277

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 DescribeTestSetDiscrepancyReportInput added in v1.44.277

type DescribeTestSetDiscrepancyReportInput struct {

	// The unique identifier of the test set discrepancy report.
	//
	// TestSetDiscrepancyReportId is a required field
	TestSetDiscrepancyReportId *string `location:"uri" locationName:"testSetDiscrepancyReportId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTestSetDiscrepancyReportInput) GoString added in v1.44.277

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 (*DescribeTestSetDiscrepancyReportInput) SetTestSetDiscrepancyReportId added in v1.44.277

SetTestSetDiscrepancyReportId sets the TestSetDiscrepancyReportId field's value.

func (DescribeTestSetDiscrepancyReportInput) String added in v1.44.277

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 (*DescribeTestSetDiscrepancyReportInput) Validate added in v1.44.277

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

type DescribeTestSetDiscrepancyReportOutput added in v1.44.277

type DescribeTestSetDiscrepancyReportOutput struct {

	// The time and date of creation for the test set discrepancy report.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The failure report for the test set discrepancy report generation action.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The date and time of the last update for the test set discrepancy report.
	LastUpdatedDataTime *time.Time `locationName:"lastUpdatedDataTime" type:"timestamp"`

	// The target bot location for the test set discrepancy report.
	Target *TestSetDiscrepancyReportResourceTarget `locationName:"target" type:"structure"`

	// Pre-signed Amazon S3 URL to download the test set discrepancy report.
	TestSetDiscrepancyRawOutputUrl *string `locationName:"testSetDiscrepancyRawOutputUrl" min:"1" type:"string"`

	// The unique identifier of the test set discrepancy report to describe.
	TestSetDiscrepancyReportId *string `locationName:"testSetDiscrepancyReportId" min:"10" type:"string"`

	// The status for the test set discrepancy report.
	TestSetDiscrepancyReportStatus *string `locationName:"testSetDiscrepancyReportStatus" type:"string" enum:"TestSetDiscrepancyReportStatus"`

	// The top 200 error results from the test set discrepancy report.
	TestSetDiscrepancyTopErrors *TestSetDiscrepancyErrors `locationName:"testSetDiscrepancyTopErrors" type:"structure"`

	// The test set Id for the test set discrepancy report.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeTestSetDiscrepancyReportOutput) GoString added in v1.44.277

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 (*DescribeTestSetDiscrepancyReportOutput) SetCreationDateTime added in v1.44.277

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetFailureReasons added in v1.44.277

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetLastUpdatedDataTime added in v1.44.277

SetLastUpdatedDataTime sets the LastUpdatedDataTime field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetTestSetDiscrepancyRawOutputUrl added in v1.44.277

SetTestSetDiscrepancyRawOutputUrl sets the TestSetDiscrepancyRawOutputUrl field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetTestSetDiscrepancyReportId added in v1.44.277

SetTestSetDiscrepancyReportId sets the TestSetDiscrepancyReportId field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetTestSetDiscrepancyReportStatus added in v1.44.277

SetTestSetDiscrepancyReportStatus sets the TestSetDiscrepancyReportStatus field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetTestSetDiscrepancyTopErrors added in v1.44.277

SetTestSetDiscrepancyTopErrors sets the TestSetDiscrepancyTopErrors field's value.

func (*DescribeTestSetDiscrepancyReportOutput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (DescribeTestSetDiscrepancyReportOutput) String added in v1.44.277

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 DescribeTestSetGenerationInput added in v1.44.277

type DescribeTestSetGenerationInput struct {

	// The unique identifier of the test set generation.
	//
	// TestSetGenerationId is a required field
	TestSetGenerationId *string `location:"uri" locationName:"testSetGenerationId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTestSetGenerationInput) GoString added in v1.44.277

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 (*DescribeTestSetGenerationInput) SetTestSetGenerationId added in v1.44.277

SetTestSetGenerationId sets the TestSetGenerationId field's value.

func (DescribeTestSetGenerationInput) String added in v1.44.277

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 (*DescribeTestSetGenerationInput) Validate added in v1.44.277

func (s *DescribeTestSetGenerationInput) Validate() error

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

type DescribeTestSetGenerationOutput added in v1.44.277

type DescribeTestSetGenerationOutput struct {

	// The creation date and time for the test set generation.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The test set description for the test set generation.
	Description *string `locationName:"description" type:"string"`

	// The reasons the test set generation failed.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// The data source of the test set used for the test set generation.
	GenerationDataSource *TestSetGenerationDataSource `locationName:"generationDataSource" type:"structure"`

	// The date and time of the last update for the test set generation.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The roleARN of the test set used for the test set generation.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`

	// The Amazon S3 storage location for the test set generation.
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure"`

	// The unique identifier of the test set generation.
	TestSetGenerationId *string `locationName:"testSetGenerationId" min:"10" type:"string"`

	// The status for the test set generation.
	TestSetGenerationStatus *string `locationName:"testSetGenerationStatus" type:"string" enum:"TestSetGenerationStatus"`

	// The unique identifier for the test set created for the generated test set.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`

	// The test set name for the generated test set.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeTestSetGenerationOutput) GoString added in v1.44.277

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 (*DescribeTestSetGenerationOutput) SetCreationDateTime added in v1.44.277

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeTestSetGenerationOutput) SetDescription added in v1.44.277

SetDescription sets the Description field's value.

func (*DescribeTestSetGenerationOutput) SetFailureReasons added in v1.44.277

SetFailureReasons sets the FailureReasons field's value.

func (*DescribeTestSetGenerationOutput) SetGenerationDataSource added in v1.44.277

SetGenerationDataSource sets the GenerationDataSource field's value.

func (*DescribeTestSetGenerationOutput) SetLastUpdatedDateTime added in v1.44.277

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeTestSetGenerationOutput) SetRoleArn added in v1.44.277

SetRoleArn sets the RoleArn field's value.

func (*DescribeTestSetGenerationOutput) SetStorageLocation added in v1.44.277

SetStorageLocation sets the StorageLocation field's value.

func (*DescribeTestSetGenerationOutput) SetTestSetGenerationId added in v1.44.277

SetTestSetGenerationId sets the TestSetGenerationId field's value.

func (*DescribeTestSetGenerationOutput) SetTestSetGenerationStatus added in v1.44.277

SetTestSetGenerationStatus sets the TestSetGenerationStatus field's value.

func (*DescribeTestSetGenerationOutput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (*DescribeTestSetGenerationOutput) SetTestSetName added in v1.44.277

SetTestSetName sets the TestSetName field's value.

func (DescribeTestSetGenerationOutput) String added in v1.44.277

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 DescribeTestSetInput added in v1.44.277

type DescribeTestSetInput struct {

	// The test set Id for the test set request.
	//
	// TestSetId is a required field
	TestSetId *string `location:"uri" locationName:"testSetId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTestSetInput) GoString added in v1.44.277

func (s DescribeTestSetInput) 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 (*DescribeTestSetInput) SetTestSetId added in v1.44.277

func (s *DescribeTestSetInput) SetTestSetId(v string) *DescribeTestSetInput

SetTestSetId sets the TestSetId field's value.

func (DescribeTestSetInput) String added in v1.44.277

func (s DescribeTestSetInput) 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 (*DescribeTestSetInput) Validate added in v1.44.277

func (s *DescribeTestSetInput) Validate() error

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

type DescribeTestSetOutput added in v1.44.277

type DescribeTestSetOutput struct {

	// The creation date and time for the test set data.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description of the test set.
	Description *string `locationName:"description" type:"string"`

	// The date and time for the last update of the test set data.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Indicates whether the test set is audio or text data.
	Modality *string `locationName:"modality" type:"string" enum:"TestSetModality"`

	// The total number of agent and user turn in the test set.
	NumTurns *int64 `locationName:"numTurns" type:"integer"`

	// The roleARN used for any operation in the test set to access resources in
	// the Amazon Web Services account.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`

	// The status of the test set.
	Status *string `locationName:"status" type:"string" enum:"TestSetStatus"`

	// The Amazon S3 storage location for the test set data.
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure"`

	// The test set Id for the test set response.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`

	// The test set name of the test set.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeTestSetOutput) GoString added in v1.44.277

func (s DescribeTestSetOutput) 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 (*DescribeTestSetOutput) SetCreationDateTime added in v1.44.277

func (s *DescribeTestSetOutput) SetCreationDateTime(v time.Time) *DescribeTestSetOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeTestSetOutput) SetDescription added in v1.44.277

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

SetDescription sets the Description field's value.

func (*DescribeTestSetOutput) SetLastUpdatedDateTime added in v1.44.277

func (s *DescribeTestSetOutput) SetLastUpdatedDateTime(v time.Time) *DescribeTestSetOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*DescribeTestSetOutput) SetModality added in v1.44.277

SetModality sets the Modality field's value.

func (*DescribeTestSetOutput) SetNumTurns added in v1.44.277

SetNumTurns sets the NumTurns field's value.

func (*DescribeTestSetOutput) SetRoleArn added in v1.44.277

SetRoleArn sets the RoleArn field's value.

func (*DescribeTestSetOutput) SetStatus added in v1.44.277

SetStatus sets the Status field's value.

func (*DescribeTestSetOutput) SetStorageLocation added in v1.44.277

SetStorageLocation sets the StorageLocation field's value.

func (*DescribeTestSetOutput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (*DescribeTestSetOutput) SetTestSetName added in v1.44.277

func (s *DescribeTestSetOutput) SetTestSetName(v string) *DescribeTestSetOutput

SetTestSetName sets the TestSetName field's value.

func (DescribeTestSetOutput) String added in v1.44.277

func (s DescribeTestSetOutput) 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 DialogAction added in v1.44.79

type DialogAction struct {

	// If the dialog action is ElicitSlot, defines the slot to elicit from the user.
	SlotToElicit *string `locationName:"slotToElicit" min:"1" type:"string"`

	// When true the next message for the intent is not used.
	SuppressNextMessage *bool `locationName:"suppressNextMessage" type:"boolean"`

	// The action that the bot should execute.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"DialogActionType"`
	// contains filtered or unexported fields
}

Defines the action that the bot executes at runtime when the conversation reaches this step.

func (DialogAction) GoString added in v1.44.79

func (s DialogAction) 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 (*DialogAction) SetSlotToElicit added in v1.44.79

func (s *DialogAction) SetSlotToElicit(v string) *DialogAction

SetSlotToElicit sets the SlotToElicit field's value.

func (*DialogAction) SetSuppressNextMessage added in v1.44.79

func (s *DialogAction) SetSuppressNextMessage(v bool) *DialogAction

SetSuppressNextMessage sets the SuppressNextMessage field's value.

func (*DialogAction) SetType added in v1.44.79

func (s *DialogAction) SetType(v string) *DialogAction

SetType sets the Type field's value.

func (DialogAction) String added in v1.44.79

func (s DialogAction) 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 (*DialogAction) Validate added in v1.44.79

func (s *DialogAction) Validate() error

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

type DialogCodeHookInvocationSetting added in v1.44.79

type DialogCodeHookInvocationSetting struct {

	// Determines whether a dialog code hook is used when the intent is activated.
	//
	// Active is a required field
	Active *bool `locationName:"active" type:"boolean" required:"true"`

	// Indicates whether a Lambda function should be invoked for the dialog.
	//
	// EnableCodeHookInvocation is a required field
	EnableCodeHookInvocation *bool `locationName:"enableCodeHookInvocation" type:"boolean" required:"true"`

	// A label that indicates the dialog step from which the dialog code hook is
	// happening.
	InvocationLabel *string `locationName:"invocationLabel" min:"1" type:"string"`

	// Contains the responses and actions that Amazon Lex takes after the Lambda
	// function is complete.
	//
	// PostCodeHookSpecification is a required field
	PostCodeHookSpecification *PostDialogCodeHookInvocationSpecification `locationName:"postCodeHookSpecification" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.

func (DialogCodeHookInvocationSetting) GoString added in v1.44.79

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 (*DialogCodeHookInvocationSetting) SetActive added in v1.44.79

SetActive sets the Active field's value.

func (*DialogCodeHookInvocationSetting) SetEnableCodeHookInvocation added in v1.44.79

func (s *DialogCodeHookInvocationSetting) SetEnableCodeHookInvocation(v bool) *DialogCodeHookInvocationSetting

SetEnableCodeHookInvocation sets the EnableCodeHookInvocation field's value.

func (*DialogCodeHookInvocationSetting) SetInvocationLabel added in v1.44.79

SetInvocationLabel sets the InvocationLabel field's value.

func (*DialogCodeHookInvocationSetting) SetPostCodeHookSpecification added in v1.44.79

SetPostCodeHookSpecification sets the PostCodeHookSpecification field's value.

func (DialogCodeHookInvocationSetting) String added in v1.44.79

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 (*DialogCodeHookInvocationSetting) Validate added in v1.44.79

func (s *DialogCodeHookInvocationSetting) Validate() error

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

type DialogCodeHookSettings

type DialogCodeHookSettings struct {

	// Enables the dialog code hook so that it processes user requests.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Settings that determine the Lambda function that Amazon Lex uses for processing user responses.

func (DialogCodeHookSettings) GoString

func (s DialogCodeHookSettings) 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 (*DialogCodeHookSettings) SetEnabled

SetEnabled sets the Enabled field's value.

func (DialogCodeHookSettings) String

func (s DialogCodeHookSettings) 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 (*DialogCodeHookSettings) Validate

func (s *DialogCodeHookSettings) Validate() error

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

type DialogState added in v1.44.79

type DialogState struct {

	// Defines the action that the bot executes at runtime when the conversation
	// reaches this step.
	DialogAction *DialogAction `locationName:"dialogAction" type:"structure"`

	// Override settings to configure the intent state.
	Intent *IntentOverride `locationName:"intent" type:"structure"`

	// Map of key/value pairs representing session-specific context information.
	// It contains application information passed between Amazon Lex and a client
	// application.
	SessionAttributes map[string]*string `locationName:"sessionAttributes" type:"map"`
	// contains filtered or unexported fields
}

The current state of the conversation with the user.

func (DialogState) GoString added in v1.44.79

func (s DialogState) 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 (*DialogState) SetDialogAction added in v1.44.79

func (s *DialogState) SetDialogAction(v *DialogAction) *DialogState

SetDialogAction sets the DialogAction field's value.

func (*DialogState) SetIntent added in v1.44.79

func (s *DialogState) SetIntent(v *IntentOverride) *DialogState

SetIntent sets the Intent field's value.

func (*DialogState) SetSessionAttributes added in v1.44.79

func (s *DialogState) SetSessionAttributes(v map[string]*string) *DialogState

SetSessionAttributes sets the SessionAttributes field's value.

func (DialogState) String added in v1.44.79

func (s DialogState) 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 (*DialogState) Validate added in v1.44.79

func (s *DialogState) Validate() error

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

type ElicitationCodeHookInvocationSetting added in v1.44.79

type ElicitationCodeHookInvocationSetting struct {

	// Indicates whether a Lambda function should be invoked for the dialog.
	//
	// EnableCodeHookInvocation is a required field
	EnableCodeHookInvocation *bool `locationName:"enableCodeHookInvocation" type:"boolean" required:"true"`

	// A label that indicates the dialog step from which the dialog code hook is
	// happening.
	InvocationLabel *string `locationName:"invocationLabel" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.

func (ElicitationCodeHookInvocationSetting) GoString added in v1.44.79

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 (*ElicitationCodeHookInvocationSetting) SetEnableCodeHookInvocation added in v1.44.79

SetEnableCodeHookInvocation sets the EnableCodeHookInvocation field's value.

func (*ElicitationCodeHookInvocationSetting) SetInvocationLabel added in v1.44.79

SetInvocationLabel sets the InvocationLabel field's value.

func (ElicitationCodeHookInvocationSetting) String added in v1.44.79

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 (*ElicitationCodeHookInvocationSetting) Validate added in v1.44.79

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

type EncryptionSetting added in v1.42.17

type EncryptionSetting struct {

	// The password used to encrypt the associated transcript file.
	//
	// AssociatedTranscriptsPassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by EncryptionSetting's
	// String and GoString methods.
	AssociatedTranscriptsPassword *string `locationName:"associatedTranscriptsPassword" type:"string" sensitive:"true"`

	// The password used to encrypt the recommended bot recommendation file.
	//
	// BotLocaleExportPassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by EncryptionSetting's
	// String and GoString methods.
	BotLocaleExportPassword *string `locationName:"botLocaleExportPassword" type:"string" sensitive:"true"`

	// The KMS key ARN used to encrypt the metadata associated with the bot recommendation.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

The object representing the passwords that were used to encrypt the data related to the bot recommendation, as well as the KMS key ARN used to encrypt the associated metadata.

func (EncryptionSetting) GoString added in v1.42.17

func (s EncryptionSetting) 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 (*EncryptionSetting) SetAssociatedTranscriptsPassword added in v1.42.17

func (s *EncryptionSetting) SetAssociatedTranscriptsPassword(v string) *EncryptionSetting

SetAssociatedTranscriptsPassword sets the AssociatedTranscriptsPassword field's value.

func (*EncryptionSetting) SetBotLocaleExportPassword added in v1.42.17

func (s *EncryptionSetting) SetBotLocaleExportPassword(v string) *EncryptionSetting

SetBotLocaleExportPassword sets the BotLocaleExportPassword field's value.

func (*EncryptionSetting) SetKmsKeyArn added in v1.42.17

func (s *EncryptionSetting) SetKmsKeyArn(v string) *EncryptionSetting

SetKmsKeyArn sets the KmsKeyArn field's value.

func (EncryptionSetting) String added in v1.42.17

func (s EncryptionSetting) 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 (*EncryptionSetting) Validate added in v1.42.17

func (s *EncryptionSetting) Validate() error

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

type ExecutionErrorDetails added in v1.44.277

type ExecutionErrorDetails struct {

	// The error code for the error.
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" min:"1" type:"string" required:"true"`

	// The message describing the error.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details about an error in an execution of a test set.

func (ExecutionErrorDetails) GoString added in v1.44.277

func (s ExecutionErrorDetails) 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 (*ExecutionErrorDetails) SetErrorCode added in v1.44.277

SetErrorCode sets the ErrorCode field's value.

func (*ExecutionErrorDetails) SetErrorMessage added in v1.44.277

func (s *ExecutionErrorDetails) SetErrorMessage(v string) *ExecutionErrorDetails

SetErrorMessage sets the ErrorMessage field's value.

func (ExecutionErrorDetails) String added in v1.44.277

func (s ExecutionErrorDetails) 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 ExportFilter added in v1.38.42

type ExportFilter struct {

	// The name of the field to use for filtering.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"ExportFilterName"`

	// The operator to use for the filter. Specify EQ when the ListExports operation
	// should return only resource types that equal the specified value. Specify
	// CO when the ListExports operation should return resource types that contain
	// the specified value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"ExportFilterOperator"`

	// The values to use to filter the response. The values must be Bot, BotLocale,
	// or CustomVocabulary.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters the response form the ListExports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html) operation

func (ExportFilter) GoString added in v1.38.42

func (s ExportFilter) 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 (*ExportFilter) SetName added in v1.38.42

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

SetName sets the Name field's value.

func (*ExportFilter) SetOperator added in v1.38.42

func (s *ExportFilter) SetOperator(v string) *ExportFilter

SetOperator sets the Operator field's value.

func (*ExportFilter) SetValues added in v1.38.42

func (s *ExportFilter) SetValues(v []*string) *ExportFilter

SetValues sets the Values field's value.

func (ExportFilter) String added in v1.38.42

func (s ExportFilter) 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 (*ExportFilter) Validate added in v1.38.42

func (s *ExportFilter) Validate() error

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

type ExportResourceSpecification added in v1.38.42

type ExportResourceSpecification struct {

	// Parameters for exporting a bot.
	BotExportSpecification *BotExportSpecification `locationName:"botExportSpecification" type:"structure"`

	// Parameters for exporting a bot locale.
	BotLocaleExportSpecification *BotLocaleExportSpecification `locationName:"botLocaleExportSpecification" type:"structure"`

	// The parameters required to export a custom vocabulary.
	CustomVocabularyExportSpecification *CustomVocabularyExportSpecification `locationName:"customVocabularyExportSpecification" type:"structure"`

	// Specifications for the test set that is exported as a resource.
	TestSetExportSpecification *TestSetExportSpecification `locationName:"testSetExportSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the bot or bot locale that you want to export. You can specify the botExportSpecification or the botLocaleExportSpecification, but not both.

func (ExportResourceSpecification) GoString added in v1.38.42

func (s ExportResourceSpecification) 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 (*ExportResourceSpecification) SetBotExportSpecification added in v1.38.42

SetBotExportSpecification sets the BotExportSpecification field's value.

func (*ExportResourceSpecification) SetBotLocaleExportSpecification added in v1.38.42

SetBotLocaleExportSpecification sets the BotLocaleExportSpecification field's value.

func (*ExportResourceSpecification) SetCustomVocabularyExportSpecification added in v1.42.33

SetCustomVocabularyExportSpecification sets the CustomVocabularyExportSpecification field's value.

func (*ExportResourceSpecification) SetTestSetExportSpecification added in v1.44.277

SetTestSetExportSpecification sets the TestSetExportSpecification field's value.

func (ExportResourceSpecification) String added in v1.38.42

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 (*ExportResourceSpecification) Validate added in v1.38.42

func (s *ExportResourceSpecification) Validate() error

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

type ExportSortBy added in v1.38.42

type ExportSortBy struct {

	// The export field to use for sorting.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"ExportSortAttribute"`

	// The order to sort the list.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Provides information about sorting a list of exports.

func (ExportSortBy) GoString added in v1.38.42

func (s ExportSortBy) 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 (*ExportSortBy) SetAttribute added in v1.38.42

func (s *ExportSortBy) SetAttribute(v string) *ExportSortBy

SetAttribute sets the Attribute field's value.

func (*ExportSortBy) SetOrder added in v1.38.42

func (s *ExportSortBy) SetOrder(v string) *ExportSortBy

SetOrder sets the Order field's value.

func (ExportSortBy) String added in v1.38.42

func (s ExportSortBy) 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 (*ExportSortBy) Validate added in v1.38.42

func (s *ExportSortBy) Validate() error

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

type ExportSummary added in v1.38.42

type ExportSummary struct {

	// The date and time that the export was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The unique identifier that Amazon Lex assigned to the export.
	ExportId *string `locationName:"exportId" min:"10" type:"string"`

	// The status of the export. When the status is Completed the export is ready
	// to download.
	ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"`

	// The file format used in the export files.
	FileFormat *string `locationName:"fileFormat" type:"string" enum:"ImportExportFileFormat"`

	// The date and time that the export was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Information about the bot or bot locale that was exported.
	ResourceSpecification *ExportResourceSpecification `locationName:"resourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Provides summary information about an export in an export list.

func (ExportSummary) GoString added in v1.38.42

func (s ExportSummary) 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 (*ExportSummary) SetCreationDateTime added in v1.38.42

func (s *ExportSummary) SetCreationDateTime(v time.Time) *ExportSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*ExportSummary) SetExportId added in v1.38.42

func (s *ExportSummary) SetExportId(v string) *ExportSummary

SetExportId sets the ExportId field's value.

func (*ExportSummary) SetExportStatus added in v1.38.42

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

SetExportStatus sets the ExportStatus field's value.

func (*ExportSummary) SetFileFormat added in v1.38.42

func (s *ExportSummary) SetFileFormat(v string) *ExportSummary

SetFileFormat sets the FileFormat field's value.

func (*ExportSummary) SetLastUpdatedDateTime added in v1.38.42

func (s *ExportSummary) SetLastUpdatedDateTime(v time.Time) *ExportSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*ExportSummary) SetResourceSpecification added in v1.38.42

func (s *ExportSummary) SetResourceSpecification(v *ExportResourceSpecification) *ExportSummary

SetResourceSpecification sets the ResourceSpecification field's value.

func (ExportSummary) String added in v1.38.42

func (s ExportSummary) 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 ExternalSourceSetting added in v1.42.22

type ExternalSourceSetting struct {

	// Settings required for a slot type based on a grammar that you provide.
	GrammarSlotTypeSetting *GrammarSlotTypeSetting `locationName:"grammarSlotTypeSetting" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the external source of the slot type's definition.

func (ExternalSourceSetting) GoString added in v1.42.22

func (s ExternalSourceSetting) 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 (*ExternalSourceSetting) SetGrammarSlotTypeSetting added in v1.42.22

func (s *ExternalSourceSetting) SetGrammarSlotTypeSetting(v *GrammarSlotTypeSetting) *ExternalSourceSetting

SetGrammarSlotTypeSetting sets the GrammarSlotTypeSetting field's value.

func (ExternalSourceSetting) String added in v1.42.22

func (s ExternalSourceSetting) 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 (*ExternalSourceSetting) Validate added in v1.42.22

func (s *ExternalSourceSetting) Validate() error

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

type FailedCustomVocabularyItem added in v1.44.132

type FailedCustomVocabularyItem struct {

	// The unique error code for the failed custom vocabulary item from the custom
	// vocabulary list.
	ErrorCode *string `locationName:"errorCode" type:"string" enum:"ErrorCode"`

	// The error message for the failed custom vocabulary item from the custom vocabulary
	// list.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// The unique item identifer for the failed custom vocabulary item from the
	// custom vocabulary list.
	ItemId *string `locationName:"itemId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The unique failed custom vocabulary item from the custom vocabulary list.

func (FailedCustomVocabularyItem) GoString added in v1.44.132

func (s FailedCustomVocabularyItem) 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 (*FailedCustomVocabularyItem) SetErrorCode added in v1.44.132

SetErrorCode sets the ErrorCode field's value.

func (*FailedCustomVocabularyItem) SetErrorMessage added in v1.44.132

SetErrorMessage sets the ErrorMessage field's value.

func (*FailedCustomVocabularyItem) SetItemId added in v1.44.132

SetItemId sets the ItemId field's value.

func (FailedCustomVocabularyItem) String added in v1.44.132

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 FulfillmentCodeHookSettings

type FulfillmentCodeHookSettings struct {

	// Determines whether the fulfillment code hook is used. When active is false,
	// the code hook doesn't run.
	Active *bool `locationName:"active" type:"boolean"`

	// Indicates whether a Lambda function should be invoked to fulfill a specific
	// intent.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`

	// Provides settings for update messages sent to the user for long-running Lambda
	// fulfillment functions. Fulfillment updates can be used only with streaming
	// conversations.
	FulfillmentUpdatesSpecification *FulfillmentUpdatesSpecification `locationName:"fulfillmentUpdatesSpecification" type:"structure"`

	// Provides settings for messages sent to the user for after the Lambda fulfillment
	// function completes. Post-fulfillment messages can be sent for both streaming
	// and non-streaming conversations.
	PostFulfillmentStatusSpecification *PostFulfillmentStatusSpecification `locationName:"postFulfillmentStatusSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Determines if a Lambda function should be invoked for a specific intent.

func (FulfillmentCodeHookSettings) GoString

func (s FulfillmentCodeHookSettings) 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 (*FulfillmentCodeHookSettings) SetActive added in v1.44.79

SetActive sets the Active field's value.

func (*FulfillmentCodeHookSettings) SetEnabled

SetEnabled sets the Enabled field's value.

func (*FulfillmentCodeHookSettings) SetFulfillmentUpdatesSpecification added in v1.40.59

SetFulfillmentUpdatesSpecification sets the FulfillmentUpdatesSpecification field's value.

func (*FulfillmentCodeHookSettings) SetPostFulfillmentStatusSpecification added in v1.40.59

SetPostFulfillmentStatusSpecification sets the PostFulfillmentStatusSpecification field's value.

func (FulfillmentCodeHookSettings) 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 (*FulfillmentCodeHookSettings) Validate

func (s *FulfillmentCodeHookSettings) Validate() error

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

type FulfillmentStartResponseSpecification added in v1.40.59

type FulfillmentStartResponseSpecification struct {

	// Determines whether the user can interrupt the start message while it is playing.
	AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"`

	// The delay between when the Lambda fulfillment function starts running and
	// the start message is played. If the Lambda function returns before the delay
	// is over, the start message isn't played.
	//
	// DelayInSeconds is a required field
	DelayInSeconds *int64 `locationName:"delayInSeconds" min:"1" type:"integer" required:"true"`

	// 1 - 5 message groups that contain start messages. Amazon Lex chooses one
	// of the messages to play to the user.
	//
	// MessageGroups is a required field
	MessageGroups []*MessageGroup `locationName:"messageGroups" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.

func (FulfillmentStartResponseSpecification) GoString added in v1.40.59

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 (*FulfillmentStartResponseSpecification) SetAllowInterrupt added in v1.40.59

SetAllowInterrupt sets the AllowInterrupt field's value.

func (*FulfillmentStartResponseSpecification) SetDelayInSeconds added in v1.40.59

SetDelayInSeconds sets the DelayInSeconds field's value.

func (*FulfillmentStartResponseSpecification) SetMessageGroups added in v1.40.59

SetMessageGroups sets the MessageGroups field's value.

func (FulfillmentStartResponseSpecification) String added in v1.40.59

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 (*FulfillmentStartResponseSpecification) Validate added in v1.40.59

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

type FulfillmentUpdateResponseSpecification added in v1.40.59

type FulfillmentUpdateResponseSpecification struct {

	// Determines whether the user can interrupt an update message while it is playing.
	AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"`

	// The frequency that a message is sent to the user. When the period ends, Amazon
	// Lex chooses a message from the message groups and plays it to the user. If
	// the fulfillment Lambda returns before the first period ends, an update message
	// is not played to the user.
	//
	// FrequencyInSeconds is a required field
	FrequencyInSeconds *int64 `locationName:"frequencyInSeconds" min:"1" type:"integer" required:"true"`

	// 1 - 5 message groups that contain update messages. Amazon Lex chooses one
	// of the messages to play to the user.
	//
	// MessageGroups is a required field
	MessageGroups []*MessageGroup `locationName:"messageGroups" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.

func (FulfillmentUpdateResponseSpecification) GoString added in v1.40.59

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 (*FulfillmentUpdateResponseSpecification) SetAllowInterrupt added in v1.40.59

SetAllowInterrupt sets the AllowInterrupt field's value.

func (*FulfillmentUpdateResponseSpecification) SetFrequencyInSeconds added in v1.40.59

SetFrequencyInSeconds sets the FrequencyInSeconds field's value.

func (*FulfillmentUpdateResponseSpecification) SetMessageGroups added in v1.40.59

SetMessageGroups sets the MessageGroups field's value.

func (FulfillmentUpdateResponseSpecification) String added in v1.40.59

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 (*FulfillmentUpdateResponseSpecification) Validate added in v1.40.59

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

type FulfillmentUpdatesSpecification added in v1.40.59

type FulfillmentUpdatesSpecification struct {

	// Determines whether fulfillment updates are sent to the user. When this field
	// is true, updates are sent.
	//
	// If the active field is set to true, the startResponse, updateResponse, and
	// timeoutInSeconds fields are required.
	//
	// Active is a required field
	Active *bool `locationName:"active" type:"boolean" required:"true"`

	// Provides configuration information for the message sent to users when the
	// fulfillment Lambda functions starts running.
	StartResponse *FulfillmentStartResponseSpecification `locationName:"startResponse" type:"structure"`

	// The length of time that the fulfillment Lambda function should run before
	// it times out.
	TimeoutInSeconds *int64 `locationName:"timeoutInSeconds" min:"1" type:"integer"`

	// Provides configuration information for messages sent periodically to the
	// user while the fulfillment Lambda function is running.
	UpdateResponse *FulfillmentUpdateResponseSpecification `locationName:"updateResponse" type:"structure"`
	// contains filtered or unexported fields
}

Provides information for updating the user on the progress of fulfilling an intent.

func (FulfillmentUpdatesSpecification) GoString added in v1.40.59

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 (*FulfillmentUpdatesSpecification) SetActive added in v1.40.59

SetActive sets the Active field's value.

func (*FulfillmentUpdatesSpecification) SetStartResponse added in v1.40.59

SetStartResponse sets the StartResponse field's value.

func (*FulfillmentUpdatesSpecification) SetTimeoutInSeconds added in v1.40.59

SetTimeoutInSeconds sets the TimeoutInSeconds field's value.

func (*FulfillmentUpdatesSpecification) SetUpdateResponse added in v1.40.59

SetUpdateResponse sets the UpdateResponse field's value.

func (FulfillmentUpdatesSpecification) String added in v1.40.59

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 (*FulfillmentUpdatesSpecification) Validate added in v1.40.59

func (s *FulfillmentUpdatesSpecification) Validate() error

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

type GetTestExecutionArtifactsUrlInput added in v1.44.277

type GetTestExecutionArtifactsUrlInput struct {

	// The unique identifier of the completed test execution.
	//
	// TestExecutionId is a required field
	TestExecutionId *string `location:"uri" locationName:"testExecutionId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTestExecutionArtifactsUrlInput) GoString added in v1.44.277

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 (*GetTestExecutionArtifactsUrlInput) SetTestExecutionId added in v1.44.277

SetTestExecutionId sets the TestExecutionId field's value.

func (GetTestExecutionArtifactsUrlInput) String added in v1.44.277

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 (*GetTestExecutionArtifactsUrlInput) Validate added in v1.44.277

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

type GetTestExecutionArtifactsUrlOutput added in v1.44.277

type GetTestExecutionArtifactsUrlOutput struct {

	// The pre-signed Amazon S3 URL to download completed test execution.
	DownloadArtifactsUrl *string `locationName:"downloadArtifactsUrl" min:"1" type:"string"`

	// The unique identifier of the completed test execution.
	TestExecutionId *string `locationName:"testExecutionId" min:"10" type:"string"`
	// contains filtered or unexported fields
}

func (GetTestExecutionArtifactsUrlOutput) GoString added in v1.44.277

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 (*GetTestExecutionArtifactsUrlOutput) SetDownloadArtifactsUrl added in v1.44.277

SetDownloadArtifactsUrl sets the DownloadArtifactsUrl field's value.

func (*GetTestExecutionArtifactsUrlOutput) SetTestExecutionId added in v1.44.277

SetTestExecutionId sets the TestExecutionId field's value.

func (GetTestExecutionArtifactsUrlOutput) String added in v1.44.277

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 GrammarSlotTypeSetting added in v1.42.22

type GrammarSlotTypeSetting struct {

	// The source of the grammar used to create the slot type.
	Source *GrammarSlotTypeSource `locationName:"source" type:"structure"`
	// contains filtered or unexported fields
}

Settings requried for a slot type based on a grammar that you provide.

func (GrammarSlotTypeSetting) GoString added in v1.42.22

func (s GrammarSlotTypeSetting) 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 (*GrammarSlotTypeSetting) SetSource added in v1.42.22

SetSource sets the Source field's value.

func (GrammarSlotTypeSetting) String added in v1.42.22

func (s GrammarSlotTypeSetting) 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 (*GrammarSlotTypeSetting) Validate added in v1.42.22

func (s *GrammarSlotTypeSetting) Validate() error

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

type GrammarSlotTypeSource added in v1.42.22

type GrammarSlotTypeSource struct {

	// The KMS key required to decrypt the contents of the grammar, if any.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`

	// The name of the Amazon S3 bucket that contains the grammar source.
	//
	// S3BucketName is a required field
	S3BucketName *string `locationName:"s3BucketName" min:"3" type:"string" required:"true"`

	// The path to the grammar in the Amazon S3 bucket.
	//
	// S3ObjectKey is a required field
	S3ObjectKey *string `locationName:"s3ObjectKey" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.

func (GrammarSlotTypeSource) GoString added in v1.42.22

func (s GrammarSlotTypeSource) 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 (*GrammarSlotTypeSource) SetKmsKeyArn added in v1.42.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*GrammarSlotTypeSource) SetS3BucketName added in v1.42.22

func (s *GrammarSlotTypeSource) SetS3BucketName(v string) *GrammarSlotTypeSource

SetS3BucketName sets the S3BucketName field's value.

func (*GrammarSlotTypeSource) SetS3ObjectKey added in v1.42.22

func (s *GrammarSlotTypeSource) SetS3ObjectKey(v string) *GrammarSlotTypeSource

SetS3ObjectKey sets the S3ObjectKey field's value.

func (GrammarSlotTypeSource) String added in v1.42.22

func (s GrammarSlotTypeSource) 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 (*GrammarSlotTypeSource) Validate added in v1.42.22

func (s *GrammarSlotTypeSource) Validate() error

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

type ImageResponseCard

type ImageResponseCard struct {

	// A list of buttons that should be displayed on the response card. The arrangement
	// of the buttons is determined by the platform that displays the button.
	Buttons []*Button `locationName:"buttons" type:"list"`

	// The URL of an image to display on the response card. The image URL must be
	// publicly available so that the platform displaying the response card has
	// access to the image.
	ImageUrl *string `locationName:"imageUrl" min:"1" type:"string"`

	// The subtitle to display on the response card. The format of the subtitle
	// is determined by the platform displaying the response card.
	Subtitle *string `locationName:"subtitle" min:"1" type:"string"`

	// The title to display on the response card. The format of the title is determined
	// by the platform displaying the response card.
	//
	// Title is a required field
	Title *string `locationName:"title" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

When you use a response card, the response from the user is constrained to the text associated with a button on the card.

func (ImageResponseCard) GoString

func (s ImageResponseCard) 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 (*ImageResponseCard) SetButtons

func (s *ImageResponseCard) SetButtons(v []*Button) *ImageResponseCard

SetButtons sets the Buttons field's value.

func (*ImageResponseCard) SetImageUrl

func (s *ImageResponseCard) SetImageUrl(v string) *ImageResponseCard

SetImageUrl sets the ImageUrl field's value.

func (*ImageResponseCard) SetSubtitle

func (s *ImageResponseCard) SetSubtitle(v string) *ImageResponseCard

SetSubtitle sets the Subtitle field's value.

func (*ImageResponseCard) SetTitle

func (s *ImageResponseCard) SetTitle(v string) *ImageResponseCard

SetTitle sets the Title field's value.

func (ImageResponseCard) String

func (s ImageResponseCard) 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 (*ImageResponseCard) Validate

func (s *ImageResponseCard) Validate() error

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

type ImportFilter added in v1.38.42

type ImportFilter struct {

	// The name of the field to use for filtering.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"ImportFilterName"`

	// The operator to use for the filter. Specify EQ when the ListImports operation
	// should return only resource types that equal the specified value. Specify
	// CO when the ListImports operation should return resource types that contain
	// the specified value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"ImportFilterOperator"`

	// The values to use to filter the response. The values must be Bot, BotLocale,
	// or CustomVocabulary.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters the response from the ListImports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html) operation.

func (ImportFilter) GoString added in v1.38.42

func (s ImportFilter) 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 (*ImportFilter) SetName added in v1.38.42

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

SetName sets the Name field's value.

func (*ImportFilter) SetOperator added in v1.38.42

func (s *ImportFilter) SetOperator(v string) *ImportFilter

SetOperator sets the Operator field's value.

func (*ImportFilter) SetValues added in v1.38.42

func (s *ImportFilter) SetValues(v []*string) *ImportFilter

SetValues sets the Values field's value.

func (ImportFilter) String added in v1.38.42

func (s ImportFilter) 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 (*ImportFilter) Validate added in v1.38.42

func (s *ImportFilter) Validate() error

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

type ImportResourceSpecification added in v1.38.42

type ImportResourceSpecification struct {

	// Parameters for importing a bot.
	BotImportSpecification *BotImportSpecification `locationName:"botImportSpecification" type:"structure"`

	// Parameters for importing a bot locale.
	BotLocaleImportSpecification *BotLocaleImportSpecification `locationName:"botLocaleImportSpecification" type:"structure"`

	// Provides the parameters required for importing a custom vocabulary.
	CustomVocabularyImportSpecification *CustomVocabularyImportSpecification `locationName:"customVocabularyImportSpecification" type:"structure"`

	// Specifications for the test set that is imported.
	TestSetImportResourceSpecification *TestSetImportResourceSpecification `locationName:"testSetImportResourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Provides information about the bot or bot locale that you want to import. You can specify the botImportSpecification or the botLocaleImportSpecification, but not both.

func (ImportResourceSpecification) GoString added in v1.38.42

func (s ImportResourceSpecification) 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 (*ImportResourceSpecification) SetBotImportSpecification added in v1.38.42

SetBotImportSpecification sets the BotImportSpecification field's value.

func (*ImportResourceSpecification) SetBotLocaleImportSpecification added in v1.38.42

SetBotLocaleImportSpecification sets the BotLocaleImportSpecification field's value.

func (*ImportResourceSpecification) SetCustomVocabularyImportSpecification added in v1.42.33

SetCustomVocabularyImportSpecification sets the CustomVocabularyImportSpecification field's value.

func (*ImportResourceSpecification) SetTestSetImportResourceSpecification added in v1.44.277

SetTestSetImportResourceSpecification sets the TestSetImportResourceSpecification field's value.

func (ImportResourceSpecification) String added in v1.38.42

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 (*ImportResourceSpecification) Validate added in v1.38.42

func (s *ImportResourceSpecification) Validate() error

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

type ImportSortBy added in v1.38.42

type ImportSortBy struct {

	// The export field to use for sorting.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"ImportSortAttribute"`

	// The order to sort the list.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Provides information for sorting a list of imports.

func (ImportSortBy) GoString added in v1.38.42

func (s ImportSortBy) 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 (*ImportSortBy) SetAttribute added in v1.38.42

func (s *ImportSortBy) SetAttribute(v string) *ImportSortBy

SetAttribute sets the Attribute field's value.

func (*ImportSortBy) SetOrder added in v1.38.42

func (s *ImportSortBy) SetOrder(v string) *ImportSortBy

SetOrder sets the Order field's value.

func (ImportSortBy) String added in v1.38.42

func (s ImportSortBy) 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 (*ImportSortBy) Validate added in v1.38.42

func (s *ImportSortBy) Validate() error

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

type ImportSummary added in v1.38.42

type ImportSummary struct {

	// The date and time that the import was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The unique identifier that Amazon Lex assigned to the import.
	ImportId *string `locationName:"importId" min:"10" type:"string"`

	// The status of the resource. When the status is Completed the resource is
	// ready to build.
	ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"`

	// The unique identifier that Amazon Lex assigned to the imported resource.
	ImportedResourceId *string `locationName:"importedResourceId" min:"5" type:"string"`

	// The name that you gave the imported resource.
	ImportedResourceName *string `locationName:"importedResourceName" min:"1" type:"string"`

	// The type of resource that was imported.
	ImportedResourceType *string `locationName:"importedResourceType" type:"string" enum:"ImportResourceType"`

	// The date and time that the import was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The strategy used to merge existing bot or bot locale definitions with the
	// imported definition.
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" enum:"MergeStrategy"`
	// contains filtered or unexported fields
}

Provides summary information about an import in an import list.

func (ImportSummary) GoString added in v1.38.42

func (s ImportSummary) 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 (*ImportSummary) SetCreationDateTime added in v1.38.42

func (s *ImportSummary) SetCreationDateTime(v time.Time) *ImportSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*ImportSummary) SetImportId added in v1.38.42

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

SetImportId sets the ImportId field's value.

func (*ImportSummary) SetImportStatus added in v1.38.42

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

SetImportStatus sets the ImportStatus field's value.

func (*ImportSummary) SetImportedResourceId added in v1.38.42

func (s *ImportSummary) SetImportedResourceId(v string) *ImportSummary

SetImportedResourceId sets the ImportedResourceId field's value.

func (*ImportSummary) SetImportedResourceName added in v1.38.42

func (s *ImportSummary) SetImportedResourceName(v string) *ImportSummary

SetImportedResourceName sets the ImportedResourceName field's value.

func (*ImportSummary) SetImportedResourceType added in v1.42.33

func (s *ImportSummary) SetImportedResourceType(v string) *ImportSummary

SetImportedResourceType sets the ImportedResourceType field's value.

func (*ImportSummary) SetLastUpdatedDateTime added in v1.38.42

func (s *ImportSummary) SetLastUpdatedDateTime(v time.Time) *ImportSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*ImportSummary) SetMergeStrategy added in v1.38.42

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

SetMergeStrategy sets the MergeStrategy field's value.

func (ImportSummary) String added in v1.38.42

func (s ImportSummary) 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 InitialResponseSetting added in v1.44.79

type InitialResponseSetting struct {

	// Settings that specify the dialog code hook that is called by Amazon Lex at
	// a step of the conversation.
	CodeHook *DialogCodeHookInvocationSetting `locationName:"codeHook" type:"structure"`

	// Provides a list of conditional branches. Branches are evaluated in the order
	// that they are entered in the list. The first branch with a condition that
	// evaluates to true is executed. The last branch in the list is the default
	// branch. The default branch should not have any condition expression. The
	// default branch is executed if no other branch has a matching condition.
	Conditional *ConditionalSpecification `locationName:"conditional" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	InitialResponse *ResponseSpecification `locationName:"initialResponse" type:"structure"`

	// The next step in the conversation.
	NextStep *DialogState `locationName:"nextStep" type:"structure"`
	// contains filtered or unexported fields
}

Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.

func (InitialResponseSetting) GoString added in v1.44.79

func (s InitialResponseSetting) 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 (*InitialResponseSetting) SetCodeHook added in v1.44.79

SetCodeHook sets the CodeHook field's value.

func (*InitialResponseSetting) SetConditional added in v1.44.79

SetConditional sets the Conditional field's value.

func (*InitialResponseSetting) SetInitialResponse added in v1.44.79

SetInitialResponse sets the InitialResponse field's value.

func (*InitialResponseSetting) SetNextStep added in v1.44.79

SetNextStep sets the NextStep field's value.

func (InitialResponseSetting) String added in v1.44.79

func (s InitialResponseSetting) 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 (*InitialResponseSetting) Validate added in v1.44.79

func (s *InitialResponseSetting) Validate() error

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

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
}

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 InputSessionStateSpecification added in v1.44.277

type InputSessionStateSpecification struct {

	// Active contexts for the session state.
	ActiveContexts []*ActiveContext `locationName:"activeContexts" type:"list"`

	// Runtime hints for the session state.
	RuntimeHints *RuntimeHints `locationName:"runtimeHints" type:"structure"`

	// Session attributes for the session state.
	SessionAttributes map[string]*string `locationName:"sessionAttributes" type:"map"`
	// contains filtered or unexported fields
}

Specifications for the current state of the dialog between the user and the bot in the test set.

func (InputSessionStateSpecification) GoString added in v1.44.277

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 (*InputSessionStateSpecification) SetActiveContexts added in v1.44.277

SetActiveContexts sets the ActiveContexts field's value.

func (*InputSessionStateSpecification) SetRuntimeHints added in v1.44.277

SetRuntimeHints sets the RuntimeHints field's value.

func (*InputSessionStateSpecification) SetSessionAttributes added in v1.44.277

SetSessionAttributes sets the SessionAttributes field's value.

func (InputSessionStateSpecification) String added in v1.44.277

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 IntentClassificationTestResultItem added in v1.44.277

type IntentClassificationTestResultItem struct {

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

	// Indicates whether the conversation involves multiple turns or not.
	//
	// MultiTurnConversation is a required field
	MultiTurnConversation *bool `locationName:"multiTurnConversation" type:"boolean" required:"true"`

	// The result of the intent classification test.
	//
	// ResultCounts is a required field
	ResultCounts *IntentClassificationTestResultItemCounts `locationName:"resultCounts" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Information for an intent that is classified by the test workbench.

func (IntentClassificationTestResultItem) GoString added in v1.44.277

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 (*IntentClassificationTestResultItem) SetIntentName added in v1.44.277

SetIntentName sets the IntentName field's value.

func (*IntentClassificationTestResultItem) SetMultiTurnConversation added in v1.44.277

SetMultiTurnConversation sets the MultiTurnConversation field's value.

func (*IntentClassificationTestResultItem) SetResultCounts added in v1.44.277

SetResultCounts sets the ResultCounts field's value.

func (IntentClassificationTestResultItem) String added in v1.44.277

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 IntentClassificationTestResultItemCounts added in v1.44.277

type IntentClassificationTestResultItemCounts struct {

	// The number of matched and mismatched results for intent recognition for the
	// intent.
	//
	// IntentMatchResultCounts is a required field
	IntentMatchResultCounts map[string]*int64 `locationName:"intentMatchResultCounts" type:"map" required:"true"`

	// The number of matched, mismatched, and execution error results for speech
	// transcription for the intent.
	SpeechTranscriptionResultCounts map[string]*int64 `locationName:"speechTranscriptionResultCounts" type:"map"`

	// The total number of results in the intent classification test.
	//
	// TotalResultCount is a required field
	TotalResultCount *int64 `locationName:"totalResultCount" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

The number of items in the intent classification test.

func (IntentClassificationTestResultItemCounts) GoString added in v1.44.277

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 (*IntentClassificationTestResultItemCounts) SetIntentMatchResultCounts added in v1.44.277

SetIntentMatchResultCounts sets the IntentMatchResultCounts field's value.

func (*IntentClassificationTestResultItemCounts) SetSpeechTranscriptionResultCounts added in v1.44.277

SetSpeechTranscriptionResultCounts sets the SpeechTranscriptionResultCounts field's value.

func (*IntentClassificationTestResultItemCounts) SetTotalResultCount added in v1.44.277

SetTotalResultCount sets the TotalResultCount field's value.

func (IntentClassificationTestResultItemCounts) String added in v1.44.277

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 IntentClassificationTestResults added in v1.44.277

type IntentClassificationTestResults struct {

	// A list of the results for the intent classification test.
	//
	// Items is a required field
	Items []*IntentClassificationTestResultItem `locationName:"items" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information for the results of the intent classification test.

func (IntentClassificationTestResults) GoString added in v1.44.277

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 (*IntentClassificationTestResults) SetItems added in v1.44.277

SetItems sets the Items field's value.

func (IntentClassificationTestResults) String added in v1.44.277

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 IntentClosingSetting

type IntentClosingSetting struct {

	// Specifies whether an intent's closing response is used. When this field is
	// false, the closing response isn't sent to the user. If the active field isn't
	// specified, the default is true.
	Active *bool `locationName:"active" type:"boolean"`

	// The response that Amazon Lex sends to the user when the intent is complete.
	ClosingResponse *ResponseSpecification `locationName:"closingResponse" type:"structure"`

	// A list of conditional branches associated with the intent's closing response.
	// These branches are executed when the nextStep attribute is set to EvalutateConditional.
	Conditional *ConditionalSpecification `locationName:"conditional" type:"structure"`

	// Specifies the next step that the bot executes after playing the intent's
	// closing response.
	NextStep *DialogState `locationName:"nextStep" type:"structure"`
	// contains filtered or unexported fields
}

Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.

func (IntentClosingSetting) GoString

func (s IntentClosingSetting) 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 (*IntentClosingSetting) SetActive added in v1.40.16

SetActive sets the Active field's value.

func (*IntentClosingSetting) SetClosingResponse

SetClosingResponse sets the ClosingResponse field's value.

func (*IntentClosingSetting) SetConditional added in v1.44.79

SetConditional sets the Conditional field's value.

func (*IntentClosingSetting) SetNextStep added in v1.44.79

SetNextStep sets the NextStep field's value.

func (IntentClosingSetting) String

func (s IntentClosingSetting) 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 (*IntentClosingSetting) Validate

func (s *IntentClosingSetting) Validate() error

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

type IntentConfirmationSetting

type IntentConfirmationSetting struct {

	// Specifies whether the intent's confirmation is sent to the user. When this
	// field is false, confirmation and declination responses aren't sent. If the
	// active field isn't specified, the default is true.
	Active *bool `locationName:"active" type:"boolean"`

	// The DialogCodeHookInvocationSetting object associated with intent's confirmation
	// step. The dialog code hook is triggered based on these invocation settings
	// when the confirmation next step or declination next step or failure next
	// step is InvokeDialogCodeHook.
	CodeHook *DialogCodeHookInvocationSetting `locationName:"codeHook" type:"structure"`

	// A list of conditional branches to evaluate after the intent is closed.
	ConfirmationConditional *ConditionalSpecification `locationName:"confirmationConditional" type:"structure"`

	// Specifies the next step that the bot executes when the customer confirms
	// the intent.
	ConfirmationNextStep *DialogState `locationName:"confirmationNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	ConfirmationResponse *ResponseSpecification `locationName:"confirmationResponse" type:"structure"`

	// A list of conditional branches to evaluate after the intent is declined.
	DeclinationConditional *ConditionalSpecification `locationName:"declinationConditional" type:"structure"`

	// Specifies the next step that the bot executes when the customer declines
	// the intent.
	DeclinationNextStep *DialogState `locationName:"declinationNextStep" type:"structure"`

	// When the user answers "no" to the question defined in promptSpecification,
	// Amazon Lex responds with this response to acknowledge that the intent was
	// canceled.
	DeclinationResponse *ResponseSpecification `locationName:"declinationResponse" type:"structure"`

	// The DialogCodeHookInvocationSetting used when the code hook is invoked during
	// confirmation prompt retries.
	ElicitationCodeHook *ElicitationCodeHookInvocationSetting `locationName:"elicitationCodeHook" type:"structure"`

	// Provides a list of conditional branches. Branches are evaluated in the order
	// that they are entered in the list. The first branch with a condition that
	// evaluates to true is executed. The last branch in the list is the default
	// branch. The default branch should not have any condition expression. The
	// default branch is executed if no other branch has a matching condition.
	FailureConditional *ConditionalSpecification `locationName:"failureConditional" type:"structure"`

	// The next step to take in the conversation if the confirmation step fails.
	FailureNextStep *DialogState `locationName:"failureNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	FailureResponse *ResponseSpecification `locationName:"failureResponse" 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.
	//
	// PromptSpecification is a required field
	PromptSpecification *PromptSpecification `locationName:"promptSpecification" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Provides a prompt for making sure that the user is ready for the intent to be fulfilled.

func (IntentConfirmationSetting) GoString

func (s IntentConfirmationSetting) 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 (*IntentConfirmationSetting) SetActive added in v1.40.16

SetActive sets the Active field's value.

func (*IntentConfirmationSetting) SetCodeHook added in v1.44.79

SetCodeHook sets the CodeHook field's value.

func (*IntentConfirmationSetting) SetConfirmationConditional added in v1.44.79

SetConfirmationConditional sets the ConfirmationConditional field's value.

func (*IntentConfirmationSetting) SetConfirmationNextStep added in v1.44.79

func (s *IntentConfirmationSetting) SetConfirmationNextStep(v *DialogState) *IntentConfirmationSetting

SetConfirmationNextStep sets the ConfirmationNextStep field's value.

func (*IntentConfirmationSetting) SetConfirmationResponse added in v1.44.79

SetConfirmationResponse sets the ConfirmationResponse field's value.

func (*IntentConfirmationSetting) SetDeclinationConditional added in v1.44.79

SetDeclinationConditional sets the DeclinationConditional field's value.

func (*IntentConfirmationSetting) SetDeclinationNextStep added in v1.44.79

func (s *IntentConfirmationSetting) SetDeclinationNextStep(v *DialogState) *IntentConfirmationSetting

SetDeclinationNextStep sets the DeclinationNextStep field's value.

func (*IntentConfirmationSetting) SetDeclinationResponse

SetDeclinationResponse sets the DeclinationResponse field's value.

func (*IntentConfirmationSetting) SetElicitationCodeHook added in v1.44.79

SetElicitationCodeHook sets the ElicitationCodeHook field's value.

func (*IntentConfirmationSetting) SetFailureConditional added in v1.44.79

SetFailureConditional sets the FailureConditional field's value.

func (*IntentConfirmationSetting) SetFailureNextStep added in v1.44.79

SetFailureNextStep sets the FailureNextStep field's value.

func (*IntentConfirmationSetting) SetFailureResponse added in v1.44.79

SetFailureResponse sets the FailureResponse field's value.

func (*IntentConfirmationSetting) SetPromptSpecification

SetPromptSpecification sets the PromptSpecification field's value.

func (IntentConfirmationSetting) String

func (s IntentConfirmationSetting) 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 (*IntentConfirmationSetting) Validate

func (s *IntentConfirmationSetting) Validate() error

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

type IntentFilter

type IntentFilter struct {

	// The name of the field to use for the filter.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"IntentFilterName"`

	// The operator to use for the filter. Specify EQ when the ListIntents operation
	// should return only aliases that equal the specified value. Specify CO when
	// the ListIntents operation should return aliases that contain the specified
	// value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"IntentFilterOperator"`

	// The value to use for the filter.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters the response from the ListIntents operation.

func (IntentFilter) GoString

func (s IntentFilter) 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 (*IntentFilter) SetName

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

SetName sets the Name field's value.

func (*IntentFilter) SetOperator

func (s *IntentFilter) SetOperator(v string) *IntentFilter

SetOperator sets the Operator field's value.

func (*IntentFilter) SetValues

func (s *IntentFilter) SetValues(v []*string) *IntentFilter

SetValues sets the Values field's value.

func (IntentFilter) String

func (s IntentFilter) 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 (*IntentFilter) Validate

func (s *IntentFilter) Validate() error

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

type IntentLevelSlotResolutionTestResultItem added in v1.44.277

type IntentLevelSlotResolutionTestResultItem struct {

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

	// Indicates whether the conversation involves multiple turns or not.
	//
	// MultiTurnConversation is a required field
	MultiTurnConversation *bool `locationName:"multiTurnConversation" type:"boolean" required:"true"`

	// The results for the slot resolution in the test execution result.
	//
	// SlotResolutionResults is a required field
	SlotResolutionResults []*SlotResolutionTestResultItem `locationName:"slotResolutionResults" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information about intent-level slot resolution in a test result.

func (IntentLevelSlotResolutionTestResultItem) GoString added in v1.44.277

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 (*IntentLevelSlotResolutionTestResultItem) SetIntentName added in v1.44.277

SetIntentName sets the IntentName field's value.

func (*IntentLevelSlotResolutionTestResultItem) SetMultiTurnConversation added in v1.44.277

SetMultiTurnConversation sets the MultiTurnConversation field's value.

func (*IntentLevelSlotResolutionTestResultItem) SetSlotResolutionResults added in v1.44.277

SetSlotResolutionResults sets the SlotResolutionResults field's value.

func (IntentLevelSlotResolutionTestResultItem) String added in v1.44.277

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 IntentLevelSlotResolutionTestResults added in v1.44.277

type IntentLevelSlotResolutionTestResults struct {

	// Indicates the items for the slot level resolution for the intents.
	//
	// Items is a required field
	Items []*IntentLevelSlotResolutionTestResultItem `locationName:"items" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Indicates the success or failure of slots at the intent level.

func (IntentLevelSlotResolutionTestResults) GoString added in v1.44.277

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 (*IntentLevelSlotResolutionTestResults) SetItems added in v1.44.277

SetItems sets the Items field's value.

func (IntentLevelSlotResolutionTestResults) String added in v1.44.277

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 IntentOverride added in v1.44.79

type IntentOverride struct {

	// The name of the intent. Only required when you're switching intents.
	Name *string `locationName:"name" min:"1" type:"string"`

	// A map of all of the slot value overrides for the intent. The name of the
	// slot maps to the value of the slot. Slots that are not included in the map
	// aren't overridden.
	Slots map[string]*SlotValueOverride `locationName:"slots" type:"map"`
	// contains filtered or unexported fields
}

Override settings to configure the intent state.

func (IntentOverride) GoString added in v1.44.79

func (s IntentOverride) 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 (*IntentOverride) SetName added in v1.44.79

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

SetName sets the Name field's value.

func (*IntentOverride) SetSlots added in v1.44.79

SetSlots sets the Slots field's value.

func (IntentOverride) String added in v1.44.79

func (s IntentOverride) 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 (*IntentOverride) Validate added in v1.44.79

func (s *IntentOverride) Validate() error

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

type IntentSortBy

type IntentSortBy struct {

	// The attribute to use to sort the list of intents.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"IntentSortAttribute"`

	// The order to sort the list. You can choose ascending or descending.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of intents.

func (IntentSortBy) GoString

func (s IntentSortBy) 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 (*IntentSortBy) SetAttribute

func (s *IntentSortBy) SetAttribute(v string) *IntentSortBy

SetAttribute sets the Attribute field's value.

func (*IntentSortBy) SetOrder

func (s *IntentSortBy) SetOrder(v string) *IntentSortBy

SetOrder sets the Order field's value.

func (IntentSortBy) String

func (s IntentSortBy) 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 (*IntentSortBy) Validate

func (s *IntentSortBy) Validate() error

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

type IntentStatistics added in v1.42.17

type IntentStatistics struct {

	// The number of recommended intents associated with the bot recommendation.
	DiscoveredIntentCount *int64 `locationName:"discoveredIntentCount" type:"integer"`
	// contains filtered or unexported fields
}

The object that contains the statistical summary of recommended intents associated with the bot recommendation.

func (IntentStatistics) GoString added in v1.42.17

func (s IntentStatistics) 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 (*IntentStatistics) SetDiscoveredIntentCount added in v1.42.17

func (s *IntentStatistics) SetDiscoveredIntentCount(v int64) *IntentStatistics

SetDiscoveredIntentCount sets the DiscoveredIntentCount field's value.

func (IntentStatistics) String added in v1.42.17

func (s IntentStatistics) 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 IntentSummary

type IntentSummary struct {

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

	// The input contexts that must be active for this intent to be considered for
	// recognition.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// The unique identifier assigned to the intent. Use this ID to get detailed
	// information about the intent with the DescribeIntent operation.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

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

	// The timestamp of the date and time that the intent was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The output contexts that are activated when this intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// If this intent is derived from a built-in intent, the name of the parent
	// intent.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`
	// contains filtered or unexported fields
}

Summary information about an intent returned by the ListIntents operation.

func (IntentSummary) GoString

func (s IntentSummary) 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 (*IntentSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*IntentSummary) SetInputContexts

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

SetInputContexts sets the InputContexts field's value.

func (*IntentSummary) SetIntentId

func (s *IntentSummary) SetIntentId(v string) *IntentSummary

SetIntentId sets the IntentId field's value.

func (*IntentSummary) SetIntentName

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

SetIntentName sets the IntentName field's value.

func (*IntentSummary) SetLastUpdatedDateTime

func (s *IntentSummary) SetLastUpdatedDateTime(v time.Time) *IntentSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*IntentSummary) SetOutputContexts

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

SetOutputContexts sets the OutputContexts field's value.

func (*IntentSummary) SetParentIntentSignature

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

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (IntentSummary) String

func (s IntentSummary) 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 InternalServerException

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

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

The service encountered an unexpected condition. Try your request again.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) 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 (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) 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.
	//
	// KendraIndex is a required field
	KendraIndex *string `locationName:"kendraIndex" min:"32" type:"string" required:"true"`

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

	// Determines whether the AMAZON.KendraSearchIntent intent uses a custom query
	// string to query the Amazon Kendra index.
	QueryFilterStringEnabled *bool `locationName:"queryFilterStringEnabled" type:"boolean"`
	// 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.

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) SetQueryFilterStringEnabled

func (s *KendraConfiguration) SetQueryFilterStringEnabled(v bool) *KendraConfiguration

SetQueryFilterStringEnabled sets the QueryFilterStringEnabled 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 LambdaCodeHook

type LambdaCodeHook struct {

	// The version of the request-response that you want Amazon Lex to use to invoke
	// your Lambda function.
	//
	// CodeHookInterfaceVersion is a required field
	CodeHookInterfaceVersion *string `locationName:"codeHookInterfaceVersion" min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the Lambda function.
	//
	// LambdaARN is a required field
	LambdaARN *string `locationName:"lambdaARN" 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 (LambdaCodeHook) GoString

func (s LambdaCodeHook) 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 (*LambdaCodeHook) SetCodeHookInterfaceVersion

func (s *LambdaCodeHook) SetCodeHookInterfaceVersion(v string) *LambdaCodeHook

SetCodeHookInterfaceVersion sets the CodeHookInterfaceVersion field's value.

func (*LambdaCodeHook) SetLambdaARN

func (s *LambdaCodeHook) SetLambdaARN(v string) *LambdaCodeHook

SetLambdaARN sets the LambdaARN field's value.

func (LambdaCodeHook) String

func (s LambdaCodeHook) 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 (*LambdaCodeHook) Validate

func (s *LambdaCodeHook) Validate() error

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

type LexModelsV2

type LexModelsV2 struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *LexModelsV2

New creates a new instance of the LexModelsV2 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 LexModelsV2 client from just a session.
svc := lexmodelsv2.New(mySession)

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

func (*LexModelsV2) BatchCreateCustomVocabularyItem added in v1.44.132

BatchCreateCustomVocabularyItem API operation for Amazon Lex Model Building V2.

Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.

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 V2's API operation BatchCreateCustomVocabularyItem for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItem

func (*LexModelsV2) BatchCreateCustomVocabularyItemRequest added in v1.44.132

func (c *LexModelsV2) BatchCreateCustomVocabularyItemRequest(input *BatchCreateCustomVocabularyItemInput) (req *request.Request, output *BatchCreateCustomVocabularyItemOutput)

BatchCreateCustomVocabularyItemRequest generates a "aws/request.Request" representing the client's request for the BatchCreateCustomVocabularyItem 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 BatchCreateCustomVocabularyItem for more information on using the BatchCreateCustomVocabularyItem 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 BatchCreateCustomVocabularyItemRequest method.
req, resp := client.BatchCreateCustomVocabularyItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItem

func (*LexModelsV2) BatchCreateCustomVocabularyItemWithContext added in v1.44.132

func (c *LexModelsV2) BatchCreateCustomVocabularyItemWithContext(ctx aws.Context, input *BatchCreateCustomVocabularyItemInput, opts ...request.Option) (*BatchCreateCustomVocabularyItemOutput, error)

BatchCreateCustomVocabularyItemWithContext is the same as BatchCreateCustomVocabularyItem with the addition of the ability to pass a context and additional request options.

See BatchCreateCustomVocabularyItem 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 (*LexModelsV2) BatchDeleteCustomVocabularyItem added in v1.44.132

BatchDeleteCustomVocabularyItem API operation for Amazon Lex Model Building V2.

Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.

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 V2's API operation BatchDeleteCustomVocabularyItem for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItem

func (*LexModelsV2) BatchDeleteCustomVocabularyItemRequest added in v1.44.132

func (c *LexModelsV2) BatchDeleteCustomVocabularyItemRequest(input *BatchDeleteCustomVocabularyItemInput) (req *request.Request, output *BatchDeleteCustomVocabularyItemOutput)

BatchDeleteCustomVocabularyItemRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteCustomVocabularyItem 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 BatchDeleteCustomVocabularyItem for more information on using the BatchDeleteCustomVocabularyItem 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 BatchDeleteCustomVocabularyItemRequest method.
req, resp := client.BatchDeleteCustomVocabularyItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItem

func (*LexModelsV2) BatchDeleteCustomVocabularyItemWithContext added in v1.44.132

func (c *LexModelsV2) BatchDeleteCustomVocabularyItemWithContext(ctx aws.Context, input *BatchDeleteCustomVocabularyItemInput, opts ...request.Option) (*BatchDeleteCustomVocabularyItemOutput, error)

BatchDeleteCustomVocabularyItemWithContext is the same as BatchDeleteCustomVocabularyItem with the addition of the ability to pass a context and additional request options.

See BatchDeleteCustomVocabularyItem 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 (*LexModelsV2) BatchUpdateCustomVocabularyItem added in v1.44.132

BatchUpdateCustomVocabularyItem API operation for Amazon Lex Model Building V2.

Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.

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 V2's API operation BatchUpdateCustomVocabularyItem for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItem

func (*LexModelsV2) BatchUpdateCustomVocabularyItemRequest added in v1.44.132

func (c *LexModelsV2) BatchUpdateCustomVocabularyItemRequest(input *BatchUpdateCustomVocabularyItemInput) (req *request.Request, output *BatchUpdateCustomVocabularyItemOutput)

BatchUpdateCustomVocabularyItemRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateCustomVocabularyItem 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 BatchUpdateCustomVocabularyItem for more information on using the BatchUpdateCustomVocabularyItem 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 BatchUpdateCustomVocabularyItemRequest method.
req, resp := client.BatchUpdateCustomVocabularyItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItem

func (*LexModelsV2) BatchUpdateCustomVocabularyItemWithContext added in v1.44.132

func (c *LexModelsV2) BatchUpdateCustomVocabularyItemWithContext(ctx aws.Context, input *BatchUpdateCustomVocabularyItemInput, opts ...request.Option) (*BatchUpdateCustomVocabularyItemOutput, error)

BatchUpdateCustomVocabularyItemWithContext is the same as BatchUpdateCustomVocabularyItem with the addition of the ability to pass a context and additional request options.

See BatchUpdateCustomVocabularyItem 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 (*LexModelsV2) BuildBotLocale

func (c *LexModelsV2) BuildBotLocale(input *BuildBotLocaleInput) (*BuildBotLocaleOutput, error)

BuildBotLocale API operation for Amazon Lex Model Building V2.

Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.

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 V2's API operation BuildBotLocale for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildBotLocale

func (*LexModelsV2) BuildBotLocaleRequest

func (c *LexModelsV2) BuildBotLocaleRequest(input *BuildBotLocaleInput) (req *request.Request, output *BuildBotLocaleOutput)

BuildBotLocaleRequest generates a "aws/request.Request" representing the client's request for the BuildBotLocale 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 BuildBotLocale for more information on using the BuildBotLocale 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 BuildBotLocaleRequest method.
req, resp := client.BuildBotLocaleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildBotLocale

func (*LexModelsV2) BuildBotLocaleWithContext

func (c *LexModelsV2) BuildBotLocaleWithContext(ctx aws.Context, input *BuildBotLocaleInput, opts ...request.Option) (*BuildBotLocaleOutput, error)

BuildBotLocaleWithContext is the same as BuildBotLocale with the addition of the ability to pass a context and additional request options.

See BuildBotLocale 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 (*LexModelsV2) CreateBot

func (c *LexModelsV2) CreateBot(input *CreateBotInput) (*CreateBotOutput, error)

CreateBot API operation for Amazon Lex Model Building V2.

Creates an Amazon Lex conversational bot.

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 V2's API operation CreateBot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBot

func (*LexModelsV2) CreateBotAlias

func (c *LexModelsV2) CreateBotAlias(input *CreateBotAliasInput) (*CreateBotAliasOutput, error)

CreateBotAlias API operation for Amazon Lex Model Building V2.

Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.

For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.

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 V2's API operation CreateBotAlias for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotAlias

func (*LexModelsV2) CreateBotAliasRequest

func (c *LexModelsV2) CreateBotAliasRequest(input *CreateBotAliasInput) (req *request.Request, output *CreateBotAliasOutput)

CreateBotAliasRequest generates a "aws/request.Request" representing the client's request for the CreateBotAlias 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 CreateBotAlias for more information on using the CreateBotAlias 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 CreateBotAliasRequest method.
req, resp := client.CreateBotAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotAlias

func (*LexModelsV2) CreateBotAliasWithContext

func (c *LexModelsV2) CreateBotAliasWithContext(ctx aws.Context, input *CreateBotAliasInput, opts ...request.Option) (*CreateBotAliasOutput, error)

CreateBotAliasWithContext is the same as CreateBotAlias with the addition of the ability to pass a context and additional request options.

See CreateBotAlias 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 (*LexModelsV2) CreateBotLocale

func (c *LexModelsV2) CreateBotLocale(input *CreateBotLocaleInput) (*CreateBotLocaleOutput, error)

CreateBotLocale API operation for Amazon Lex Model Building V2.

Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.

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 V2's API operation CreateBotLocale for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale

func (*LexModelsV2) CreateBotLocaleRequest

func (c *LexModelsV2) CreateBotLocaleRequest(input *CreateBotLocaleInput) (req *request.Request, output *CreateBotLocaleOutput)

CreateBotLocaleRequest generates a "aws/request.Request" representing the client's request for the CreateBotLocale 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 CreateBotLocale for more information on using the CreateBotLocale 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 CreateBotLocaleRequest method.
req, resp := client.CreateBotLocaleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale

func (*LexModelsV2) CreateBotLocaleWithContext

func (c *LexModelsV2) CreateBotLocaleWithContext(ctx aws.Context, input *CreateBotLocaleInput, opts ...request.Option) (*CreateBotLocaleOutput, error)

CreateBotLocaleWithContext is the same as CreateBotLocale with the addition of the ability to pass a context and additional request options.

See CreateBotLocale 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 (*LexModelsV2) CreateBotRequest

func (c *LexModelsV2) CreateBotRequest(input *CreateBotInput) (req *request.Request, output *CreateBotOutput)

CreateBotRequest generates a "aws/request.Request" representing the client's request for the CreateBot 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 CreateBot for more information on using the CreateBot 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 CreateBotRequest method.
req, resp := client.CreateBotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBot

func (*LexModelsV2) CreateBotVersion

func (c *LexModelsV2) CreateBotVersion(input *CreateBotVersionInput) (*CreateBotVersionOutput, error)

CreateBotVersion API operation for Amazon Lex Model Building V2.

Creates a new version of the bot based on the DRAFT version. If the DRAFT 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.

When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1.

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 V2's API operation CreateBotVersion for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotVersion

func (*LexModelsV2) CreateBotVersionRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/CreateBotVersion

func (*LexModelsV2) CreateBotVersionWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) CreateBotWithContext

func (c *LexModelsV2) CreateBotWithContext(ctx aws.Context, input *CreateBotInput, opts ...request.Option) (*CreateBotOutput, error)

CreateBotWithContext is the same as CreateBot with the addition of the ability to pass a context and additional request options.

See CreateBot 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 (*LexModelsV2) CreateExport added in v1.38.42

func (c *LexModelsV2) CreateExport(input *CreateExportInput) (*CreateExportOutput, error)

CreateExport API operation for Amazon Lex Model Building V2.

Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.

You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.

For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots (https://docs.aws.amazon.com/lexv2/latest/dg/importing-exporting.html)

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 V2's API operation CreateExport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateExport

func (*LexModelsV2) CreateExportRequest added in v1.38.42

func (c *LexModelsV2) CreateExportRequest(input *CreateExportInput) (req *request.Request, output *CreateExportOutput)

CreateExportRequest generates a "aws/request.Request" representing the client's request for the CreateExport 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 CreateExport for more information on using the CreateExport 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 CreateExportRequest method.
req, resp := client.CreateExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateExport

func (*LexModelsV2) CreateExportWithContext added in v1.38.42

func (c *LexModelsV2) CreateExportWithContext(ctx aws.Context, input *CreateExportInput, opts ...request.Option) (*CreateExportOutput, error)

CreateExportWithContext is the same as CreateExport with the addition of the ability to pass a context and additional request options.

See CreateExport 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 (*LexModelsV2) CreateIntent

func (c *LexModelsV2) CreateIntent(input *CreateIntentInput) (*CreateIntentOutput, error)

CreateIntent API operation for Amazon Lex Model Building V2.

Creates an intent.

To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an OrderPizza intent.

When you create an intent, you must provide a name. You can optionally provide the following:

  • Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.

  • Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.

  • How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.

  • A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"

  • A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."

  • A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"

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 V2's API operation CreateIntent for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent

func (*LexModelsV2) CreateIntentRequest

func (c *LexModelsV2) CreateIntentRequest(input *CreateIntentInput) (req *request.Request, output *CreateIntentOutput)

CreateIntentRequest generates a "aws/request.Request" representing the client's request for the CreateIntent 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 CreateIntent for more information on using the CreateIntent 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 CreateIntentRequest method.
req, resp := client.CreateIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent

func (*LexModelsV2) CreateIntentWithContext

func (c *LexModelsV2) CreateIntentWithContext(ctx aws.Context, input *CreateIntentInput, opts ...request.Option) (*CreateIntentOutput, error)

CreateIntentWithContext is the same as CreateIntent with the addition of the ability to pass a context and additional request options.

See CreateIntent 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 (*LexModelsV2) CreateResourcePolicy added in v1.38.44

func (c *LexModelsV2) CreateResourcePolicy(input *CreateResourcePolicyInput) (*CreateResourcePolicyOutput, error)

CreateResourcePolicy API operation for Amazon Lex Model Building V2.

Creates a new resource policy with the specified policy statements.

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 V2's API operation CreateResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicy

func (*LexModelsV2) CreateResourcePolicyRequest added in v1.38.44

func (c *LexModelsV2) CreateResourcePolicyRequest(input *CreateResourcePolicyInput) (req *request.Request, output *CreateResourcePolicyOutput)

CreateResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the CreateResourcePolicy 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 CreateResourcePolicy for more information on using the CreateResourcePolicy 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 CreateResourcePolicyRequest method.
req, resp := client.CreateResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicy

func (*LexModelsV2) CreateResourcePolicyStatement added in v1.38.44

func (c *LexModelsV2) CreateResourcePolicyStatement(input *CreateResourcePolicyStatementInput) (*CreateResourcePolicyStatementOutput, error)

CreateResourcePolicyStatement API operation for Amazon Lex Model Building V2.

Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.

You can't create a resource policy statement that allows cross-account access.

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 V2's API operation CreateResourcePolicyStatement for usage and error information.

Returned Error Types:

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicyStatement

func (*LexModelsV2) CreateResourcePolicyStatementRequest added in v1.38.44

func (c *LexModelsV2) CreateResourcePolicyStatementRequest(input *CreateResourcePolicyStatementInput) (req *request.Request, output *CreateResourcePolicyStatementOutput)

CreateResourcePolicyStatementRequest generates a "aws/request.Request" representing the client's request for the CreateResourcePolicyStatement 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 CreateResourcePolicyStatement for more information on using the CreateResourcePolicyStatement 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 CreateResourcePolicyStatementRequest method.
req, resp := client.CreateResourcePolicyStatementRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicyStatement

func (*LexModelsV2) CreateResourcePolicyStatementWithContext added in v1.38.44

func (c *LexModelsV2) CreateResourcePolicyStatementWithContext(ctx aws.Context, input *CreateResourcePolicyStatementInput, opts ...request.Option) (*CreateResourcePolicyStatementOutput, error)

CreateResourcePolicyStatementWithContext is the same as CreateResourcePolicyStatement with the addition of the ability to pass a context and additional request options.

See CreateResourcePolicyStatement 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 (*LexModelsV2) CreateResourcePolicyWithContext added in v1.38.44

func (c *LexModelsV2) CreateResourcePolicyWithContext(ctx aws.Context, input *CreateResourcePolicyInput, opts ...request.Option) (*CreateResourcePolicyOutput, error)

CreateResourcePolicyWithContext is the same as CreateResourcePolicy with the addition of the ability to pass a context and additional request options.

See CreateResourcePolicy 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 (*LexModelsV2) CreateSlot

func (c *LexModelsV2) CreateSlot(input *CreateSlotInput) (*CreateSlotOutput, error)

CreateSlot API operation for Amazon Lex Model Building V2.

Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.

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 V2's API operation CreateSlot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot

func (*LexModelsV2) CreateSlotRequest

func (c *LexModelsV2) CreateSlotRequest(input *CreateSlotInput) (req *request.Request, output *CreateSlotOutput)

CreateSlotRequest generates a "aws/request.Request" representing the client's request for the CreateSlot 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 CreateSlot for more information on using the CreateSlot 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 CreateSlotRequest method.
req, resp := client.CreateSlotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot

func (*LexModelsV2) CreateSlotType

func (c *LexModelsV2) CreateSlotType(input *CreateSlotTypeInput) (*CreateSlotTypeOutput, error)

CreateSlotType API operation for Amazon Lex Model Building V2.

Creates a custom slot type

To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.

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 V2's API operation CreateSlotType for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotType

func (*LexModelsV2) CreateSlotTypeRequest

func (c *LexModelsV2) CreateSlotTypeRequest(input *CreateSlotTypeInput) (req *request.Request, output *CreateSlotTypeOutput)

CreateSlotTypeRequest generates a "aws/request.Request" representing the client's request for the CreateSlotType 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 CreateSlotType for more information on using the CreateSlotType 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 CreateSlotTypeRequest method.
req, resp := client.CreateSlotTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotType

func (*LexModelsV2) CreateSlotTypeWithContext

func (c *LexModelsV2) CreateSlotTypeWithContext(ctx aws.Context, input *CreateSlotTypeInput, opts ...request.Option) (*CreateSlotTypeOutput, error)

CreateSlotTypeWithContext is the same as CreateSlotType with the addition of the ability to pass a context and additional request options.

See CreateSlotType 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 (*LexModelsV2) CreateSlotWithContext

func (c *LexModelsV2) CreateSlotWithContext(ctx aws.Context, input *CreateSlotInput, opts ...request.Option) (*CreateSlotOutput, error)

CreateSlotWithContext is the same as CreateSlot with the addition of the ability to pass a context and additional request options.

See CreateSlot 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 (*LexModelsV2) CreateTestSetDiscrepancyReport added in v1.44.277

func (c *LexModelsV2) CreateTestSetDiscrepancyReport(input *CreateTestSetDiscrepancyReportInput) (*CreateTestSetDiscrepancyReportOutput, error)

CreateTestSetDiscrepancyReport API operation for Amazon Lex Model Building V2.

Create a report that describes the differences between the bot and the test set.

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 V2's API operation CreateTestSetDiscrepancyReport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateTestSetDiscrepancyReport

func (*LexModelsV2) CreateTestSetDiscrepancyReportRequest added in v1.44.277

func (c *LexModelsV2) CreateTestSetDiscrepancyReportRequest(input *CreateTestSetDiscrepancyReportInput) (req *request.Request, output *CreateTestSetDiscrepancyReportOutput)

CreateTestSetDiscrepancyReportRequest generates a "aws/request.Request" representing the client's request for the CreateTestSetDiscrepancyReport 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 CreateTestSetDiscrepancyReport for more information on using the CreateTestSetDiscrepancyReport 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 CreateTestSetDiscrepancyReportRequest method.
req, resp := client.CreateTestSetDiscrepancyReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateTestSetDiscrepancyReport

func (*LexModelsV2) CreateTestSetDiscrepancyReportWithContext added in v1.44.277

func (c *LexModelsV2) CreateTestSetDiscrepancyReportWithContext(ctx aws.Context, input *CreateTestSetDiscrepancyReportInput, opts ...request.Option) (*CreateTestSetDiscrepancyReportOutput, error)

CreateTestSetDiscrepancyReportWithContext is the same as CreateTestSetDiscrepancyReport with the addition of the ability to pass a context and additional request options.

See CreateTestSetDiscrepancyReport 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 (*LexModelsV2) CreateUploadUrl added in v1.38.42

func (c *LexModelsV2) CreateUploadUrl(input *CreateUploadUrlInput) (*CreateUploadUrlOutput, error)

CreateUploadUrl API operation for Amazon Lex Model Building V2.

Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.

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 V2's API operation CreateUploadUrl for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrl

func (*LexModelsV2) CreateUploadUrlRequest added in v1.38.42

func (c *LexModelsV2) CreateUploadUrlRequest(input *CreateUploadUrlInput) (req *request.Request, output *CreateUploadUrlOutput)

CreateUploadUrlRequest generates a "aws/request.Request" representing the client's request for the CreateUploadUrl 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 CreateUploadUrl for more information on using the CreateUploadUrl 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 CreateUploadUrlRequest method.
req, resp := client.CreateUploadUrlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrl

func (*LexModelsV2) CreateUploadUrlWithContext added in v1.38.42

func (c *LexModelsV2) CreateUploadUrlWithContext(ctx aws.Context, input *CreateUploadUrlInput, opts ...request.Option) (*CreateUploadUrlOutput, error)

CreateUploadUrlWithContext is the same as CreateUploadUrl with the addition of the ability to pass a context and additional request options.

See CreateUploadUrl 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 (*LexModelsV2) DeleteBot

func (c *LexModelsV2) DeleteBot(input *DeleteBotInput) (*DeleteBotOutput, error)

DeleteBot API operation for Amazon Lex Model Building V2.

Deletes all versions of a bot, including the Draft version. To delete a specific version, use the DeleteBotVersion operation.

When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.

If a bot has an alias, the DeleteBot operation returns a ResourceInUseException exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck parameter to true.

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 V2's API operation DeleteBot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBot

func (*LexModelsV2) DeleteBotAlias

func (c *LexModelsV2) DeleteBotAlias(input *DeleteBotAliasInput) (*DeleteBotAliasOutput, error)

DeleteBotAlias API operation for Amazon Lex Model Building V2.

Deletes the specified bot alias.

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 V2's API operation DeleteBotAlias for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotAlias

func (*LexModelsV2) DeleteBotAliasRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/DeleteBotAlias

func (*LexModelsV2) DeleteBotAliasWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) DeleteBotLocale

func (c *LexModelsV2) DeleteBotLocale(input *DeleteBotLocaleInput) (*DeleteBotLocaleOutput, error)

DeleteBotLocale API operation for Amazon Lex Model Building V2.

Removes a locale from a bot.

When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.

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 V2's API operation DeleteBotLocale for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotLocale

func (*LexModelsV2) DeleteBotLocaleRequest

func (c *LexModelsV2) DeleteBotLocaleRequest(input *DeleteBotLocaleInput) (req *request.Request, output *DeleteBotLocaleOutput)

DeleteBotLocaleRequest generates a "aws/request.Request" representing the client's request for the DeleteBotLocale 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 DeleteBotLocale for more information on using the DeleteBotLocale 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 DeleteBotLocaleRequest method.
req, resp := client.DeleteBotLocaleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotLocale

func (*LexModelsV2) DeleteBotLocaleWithContext

func (c *LexModelsV2) DeleteBotLocaleWithContext(ctx aws.Context, input *DeleteBotLocaleInput, opts ...request.Option) (*DeleteBotLocaleOutput, error)

DeleteBotLocaleWithContext is the same as DeleteBotLocale with the addition of the ability to pass a context and additional request options.

See DeleteBotLocale 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 (*LexModelsV2) DeleteBotRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/DeleteBot

func (*LexModelsV2) DeleteBotVersion

func (c *LexModelsV2) DeleteBotVersion(input *DeleteBotVersionInput) (*DeleteBotVersionOutput, error)

DeleteBotVersion API operation for Amazon Lex Model Building V2.

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html) 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 V2's API operation DeleteBotVersion for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotVersion

func (*LexModelsV2) DeleteBotVersionRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/DeleteBotVersion

func (*LexModelsV2) DeleteBotVersionWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) DeleteBotWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) DeleteCustomVocabulary added in v1.42.33

func (c *LexModelsV2) DeleteCustomVocabulary(input *DeleteCustomVocabularyInput) (*DeleteCustomVocabularyOutput, error)

DeleteCustomVocabulary API operation for Amazon Lex Model Building V2.

Removes a custom vocabulary from the specified locale in the specified bot.

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 V2's API operation DeleteCustomVocabulary for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabulary

func (*LexModelsV2) DeleteCustomVocabularyRequest added in v1.42.33

func (c *LexModelsV2) DeleteCustomVocabularyRequest(input *DeleteCustomVocabularyInput) (req *request.Request, output *DeleteCustomVocabularyOutput)

DeleteCustomVocabularyRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomVocabulary 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 DeleteCustomVocabulary for more information on using the DeleteCustomVocabulary 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 DeleteCustomVocabularyRequest method.
req, resp := client.DeleteCustomVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabulary

func (*LexModelsV2) DeleteCustomVocabularyWithContext added in v1.42.33

func (c *LexModelsV2) DeleteCustomVocabularyWithContext(ctx aws.Context, input *DeleteCustomVocabularyInput, opts ...request.Option) (*DeleteCustomVocabularyOutput, error)

DeleteCustomVocabularyWithContext is the same as DeleteCustomVocabulary with the addition of the ability to pass a context and additional request options.

See DeleteCustomVocabulary 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 (*LexModelsV2) DeleteExport added in v1.38.42

func (c *LexModelsV2) DeleteExport(input *DeleteExportInput) (*DeleteExportOutput, error)

DeleteExport API operation for Amazon Lex Model Building V2.

Removes a previous export and the associated files stored in an S3 bucket.

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 V2's API operation DeleteExport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExport

func (*LexModelsV2) DeleteExportRequest added in v1.38.42

func (c *LexModelsV2) DeleteExportRequest(input *DeleteExportInput) (req *request.Request, output *DeleteExportOutput)

DeleteExportRequest generates a "aws/request.Request" representing the client's request for the DeleteExport 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 DeleteExport for more information on using the DeleteExport 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 DeleteExportRequest method.
req, resp := client.DeleteExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExport

func (*LexModelsV2) DeleteExportWithContext added in v1.38.42

func (c *LexModelsV2) DeleteExportWithContext(ctx aws.Context, input *DeleteExportInput, opts ...request.Option) (*DeleteExportOutput, error)

DeleteExportWithContext is the same as DeleteExport with the addition of the ability to pass a context and additional request options.

See DeleteExport 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 (*LexModelsV2) DeleteImport added in v1.38.42

func (c *LexModelsV2) DeleteImport(input *DeleteImportInput) (*DeleteImportOutput, error)

DeleteImport API operation for Amazon Lex Model Building V2.

Removes a previous import and the associated file stored in an S3 bucket.

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 V2's API operation DeleteImport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImport

func (*LexModelsV2) DeleteImportRequest added in v1.38.42

func (c *LexModelsV2) DeleteImportRequest(input *DeleteImportInput) (req *request.Request, output *DeleteImportOutput)

DeleteImportRequest generates a "aws/request.Request" representing the client's request for the DeleteImport 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 DeleteImport for more information on using the DeleteImport 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 DeleteImportRequest method.
req, resp := client.DeleteImportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImport

func (*LexModelsV2) DeleteImportWithContext added in v1.38.42

func (c *LexModelsV2) DeleteImportWithContext(ctx aws.Context, input *DeleteImportInput, opts ...request.Option) (*DeleteImportOutput, error)

DeleteImportWithContext is the same as DeleteImport with the addition of the ability to pass a context and additional request options.

See DeleteImport 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 (*LexModelsV2) DeleteIntent

func (c *LexModelsV2) DeleteIntent(input *DeleteIntentInput) (*DeleteIntentOutput, error)

DeleteIntent API operation for Amazon Lex Model Building V2.

Removes the specified intent.

Deleting an intent also deletes the slots associated with the intent.

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 V2's API operation DeleteIntent for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteIntent

func (*LexModelsV2) DeleteIntentRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/DeleteIntent

func (*LexModelsV2) DeleteIntentWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) DeleteResourcePolicy added in v1.38.44

func (c *LexModelsV2) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)

DeleteResourcePolicy API operation for Amazon Lex Model Building V2.

Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.

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 V2's API operation DeleteResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicy

func (*LexModelsV2) DeleteResourcePolicyRequest added in v1.38.44

func (c *LexModelsV2) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)

DeleteResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy 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 DeleteResourcePolicyRequest method.
req, resp := client.DeleteResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicy

func (*LexModelsV2) DeleteResourcePolicyStatement added in v1.38.44

func (c *LexModelsV2) DeleteResourcePolicyStatement(input *DeleteResourcePolicyStatementInput) (*DeleteResourcePolicyStatementOutput, error)

DeleteResourcePolicyStatement API operation for Amazon Lex Model Building V2.

Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.

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 V2's API operation DeleteResourcePolicyStatement for usage and error information.

Returned Error Types:

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicyStatement

func (*LexModelsV2) DeleteResourcePolicyStatementRequest added in v1.38.44

func (c *LexModelsV2) DeleteResourcePolicyStatementRequest(input *DeleteResourcePolicyStatementInput) (req *request.Request, output *DeleteResourcePolicyStatementOutput)

DeleteResourcePolicyStatementRequest generates a "aws/request.Request" representing the client's request for the DeleteResourcePolicyStatement 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 DeleteResourcePolicyStatement for more information on using the DeleteResourcePolicyStatement 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 DeleteResourcePolicyStatementRequest method.
req, resp := client.DeleteResourcePolicyStatementRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicyStatement

func (*LexModelsV2) DeleteResourcePolicyStatementWithContext added in v1.38.44

func (c *LexModelsV2) DeleteResourcePolicyStatementWithContext(ctx aws.Context, input *DeleteResourcePolicyStatementInput, opts ...request.Option) (*DeleteResourcePolicyStatementOutput, error)

DeleteResourcePolicyStatementWithContext is the same as DeleteResourcePolicyStatement with the addition of the ability to pass a context and additional request options.

See DeleteResourcePolicyStatement 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 (*LexModelsV2) DeleteResourcePolicyWithContext added in v1.38.44

func (c *LexModelsV2) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)

DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of the ability to pass a context and additional request options.

See DeleteResourcePolicy 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 (*LexModelsV2) DeleteSlot

func (c *LexModelsV2) DeleteSlot(input *DeleteSlotInput) (*DeleteSlotOutput, error)

DeleteSlot API operation for Amazon Lex Model Building V2.

Deletes the specified slot from an intent.

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 V2's API operation DeleteSlot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlot

func (*LexModelsV2) DeleteSlotRequest

func (c *LexModelsV2) DeleteSlotRequest(input *DeleteSlotInput) (req *request.Request, output *DeleteSlotOutput)

DeleteSlotRequest generates a "aws/request.Request" representing the client's request for the DeleteSlot 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 DeleteSlot for more information on using the DeleteSlot 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 DeleteSlotRequest method.
req, resp := client.DeleteSlotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlot

func (*LexModelsV2) DeleteSlotType

func (c *LexModelsV2) DeleteSlotType(input *DeleteSlotTypeInput) (*DeleteSlotTypeOutput, error)

DeleteSlotType API operation for Amazon Lex Model Building V2.

Deletes a slot type from a bot locale.

If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.

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 V2's API operation DeleteSlotType for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlotType

func (*LexModelsV2) DeleteSlotTypeRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/DeleteSlotType

func (*LexModelsV2) DeleteSlotTypeWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) DeleteSlotWithContext

func (c *LexModelsV2) DeleteSlotWithContext(ctx aws.Context, input *DeleteSlotInput, opts ...request.Option) (*DeleteSlotOutput, error)

DeleteSlotWithContext is the same as DeleteSlot with the addition of the ability to pass a context and additional request options.

See DeleteSlot 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 (*LexModelsV2) DeleteTestSet added in v1.44.277

func (c *LexModelsV2) DeleteTestSet(input *DeleteTestSetInput) (*DeleteTestSetOutput, error)

DeleteTestSet API operation for Amazon Lex Model Building V2.

The action to delete the selected test set.

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 V2's API operation DeleteTestSet for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteTestSet

func (*LexModelsV2) DeleteTestSetRequest added in v1.44.277

func (c *LexModelsV2) DeleteTestSetRequest(input *DeleteTestSetInput) (req *request.Request, output *DeleteTestSetOutput)

DeleteTestSetRequest generates a "aws/request.Request" representing the client's request for the DeleteTestSet 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 DeleteTestSet for more information on using the DeleteTestSet 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 DeleteTestSetRequest method.
req, resp := client.DeleteTestSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteTestSet

func (*LexModelsV2) DeleteTestSetWithContext added in v1.44.277

func (c *LexModelsV2) DeleteTestSetWithContext(ctx aws.Context, input *DeleteTestSetInput, opts ...request.Option) (*DeleteTestSetOutput, error)

DeleteTestSetWithContext is the same as DeleteTestSet with the addition of the ability to pass a context and additional request options.

See DeleteTestSet 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 (*LexModelsV2) DeleteUtterances added in v1.40.47

func (c *LexModelsV2) DeleteUtterances(input *DeleteUtterancesInput) (*DeleteUtterancesOutput, error)

DeleteUtterances API operation for Amazon Lex Model Building V2.

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html) 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 utterances for a specific session. 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 ListAggregatedUtterances operation are deleted after 15 days.

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 V2's API operation DeleteUtterances for usage and error information.

Returned Error Types:

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterances

func (*LexModelsV2) DeleteUtterancesRequest added in v1.40.47

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/DeleteUtterances

func (*LexModelsV2) DeleteUtterancesWithContext added in v1.40.47

func (c *LexModelsV2) 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 (*LexModelsV2) DescribeBot

func (c *LexModelsV2) DescribeBot(input *DescribeBotInput) (*DescribeBotOutput, error)

DescribeBot API operation for Amazon Lex Model Building V2.

Provides metadata information about a bot.

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 V2's API operation DescribeBot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBot

func (*LexModelsV2) DescribeBotAlias

func (c *LexModelsV2) DescribeBotAlias(input *DescribeBotAliasInput) (*DescribeBotAliasOutput, error)

DescribeBotAlias API operation for Amazon Lex Model Building V2.

Get information about a specific bot alias.

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 V2's API operation DescribeBotAlias for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotAlias

func (*LexModelsV2) DescribeBotAliasRequest

func (c *LexModelsV2) DescribeBotAliasRequest(input *DescribeBotAliasInput) (req *request.Request, output *DescribeBotAliasOutput)

DescribeBotAliasRequest generates a "aws/request.Request" representing the client's request for the DescribeBotAlias 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 DescribeBotAlias for more information on using the DescribeBotAlias 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 DescribeBotAliasRequest method.
req, resp := client.DescribeBotAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotAlias

func (*LexModelsV2) DescribeBotAliasWithContext

func (c *LexModelsV2) DescribeBotAliasWithContext(ctx aws.Context, input *DescribeBotAliasInput, opts ...request.Option) (*DescribeBotAliasOutput, error)

DescribeBotAliasWithContext is the same as DescribeBotAlias with the addition of the ability to pass a context and additional request options.

See DescribeBotAlias 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 (*LexModelsV2) DescribeBotLocale

func (c *LexModelsV2) DescribeBotLocale(input *DescribeBotLocaleInput) (*DescribeBotLocaleOutput, error)

DescribeBotLocale API operation for Amazon Lex Model Building V2.

Describes the settings that a bot has for a specific locale.

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 V2's API operation DescribeBotLocale for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocale

func (*LexModelsV2) DescribeBotLocaleRequest

func (c *LexModelsV2) DescribeBotLocaleRequest(input *DescribeBotLocaleInput) (req *request.Request, output *DescribeBotLocaleOutput)

DescribeBotLocaleRequest generates a "aws/request.Request" representing the client's request for the DescribeBotLocale 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 DescribeBotLocale for more information on using the DescribeBotLocale 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 DescribeBotLocaleRequest method.
req, resp := client.DescribeBotLocaleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocale

func (*LexModelsV2) DescribeBotLocaleWithContext

func (c *LexModelsV2) DescribeBotLocaleWithContext(ctx aws.Context, input *DescribeBotLocaleInput, opts ...request.Option) (*DescribeBotLocaleOutput, error)

DescribeBotLocaleWithContext is the same as DescribeBotLocale with the addition of the ability to pass a context and additional request options.

See DescribeBotLocale 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 (*LexModelsV2) DescribeBotRecommendation added in v1.42.17

func (c *LexModelsV2) DescribeBotRecommendation(input *DescribeBotRecommendationInput) (*DescribeBotRecommendationOutput, error)

DescribeBotRecommendation API operation for Amazon Lex Model Building V2.

Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.

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 V2's API operation DescribeBotRecommendation for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendation

func (*LexModelsV2) DescribeBotRecommendationRequest added in v1.42.17

func (c *LexModelsV2) DescribeBotRecommendationRequest(input *DescribeBotRecommendationInput) (req *request.Request, output *DescribeBotRecommendationOutput)

DescribeBotRecommendationRequest generates a "aws/request.Request" representing the client's request for the DescribeBotRecommendation 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 DescribeBotRecommendation for more information on using the DescribeBotRecommendation 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 DescribeBotRecommendationRequest method.
req, resp := client.DescribeBotRecommendationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendation

func (*LexModelsV2) DescribeBotRecommendationWithContext added in v1.42.17

func (c *LexModelsV2) DescribeBotRecommendationWithContext(ctx aws.Context, input *DescribeBotRecommendationInput, opts ...request.Option) (*DescribeBotRecommendationOutput, error)

DescribeBotRecommendationWithContext is the same as DescribeBotRecommendation with the addition of the ability to pass a context and additional request options.

See DescribeBotRecommendation 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 (*LexModelsV2) DescribeBotRequest

func (c *LexModelsV2) DescribeBotRequest(input *DescribeBotInput) (req *request.Request, output *DescribeBotOutput)

DescribeBotRequest generates a "aws/request.Request" representing the client's request for the DescribeBot 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 DescribeBot for more information on using the DescribeBot 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 DescribeBotRequest method.
req, resp := client.DescribeBotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBot

func (*LexModelsV2) DescribeBotVersion

func (c *LexModelsV2) DescribeBotVersion(input *DescribeBotVersionInput) (*DescribeBotVersionOutput, error)

DescribeBotVersion API operation for Amazon Lex Model Building V2.

Provides metadata about a version of a bot.

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 V2's API operation DescribeBotVersion for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotVersion

func (*LexModelsV2) DescribeBotVersionRequest

func (c *LexModelsV2) DescribeBotVersionRequest(input *DescribeBotVersionInput) (req *request.Request, output *DescribeBotVersionOutput)

DescribeBotVersionRequest generates a "aws/request.Request" representing the client's request for the DescribeBotVersion 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 DescribeBotVersion for more information on using the DescribeBotVersion 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 DescribeBotVersionRequest method.
req, resp := client.DescribeBotVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotVersion

func (*LexModelsV2) DescribeBotVersionWithContext

func (c *LexModelsV2) DescribeBotVersionWithContext(ctx aws.Context, input *DescribeBotVersionInput, opts ...request.Option) (*DescribeBotVersionOutput, error)

DescribeBotVersionWithContext is the same as DescribeBotVersion with the addition of the ability to pass a context and additional request options.

See DescribeBotVersion 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 (*LexModelsV2) DescribeBotWithContext

func (c *LexModelsV2) DescribeBotWithContext(ctx aws.Context, input *DescribeBotInput, opts ...request.Option) (*DescribeBotOutput, error)

DescribeBotWithContext is the same as DescribeBot with the addition of the ability to pass a context and additional request options.

See DescribeBot 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 (*LexModelsV2) DescribeCustomVocabularyMetadata added in v1.42.33

DescribeCustomVocabularyMetadata API operation for Amazon Lex Model Building V2.

Provides metadata information about a custom vocabulary.

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 V2's API operation DescribeCustomVocabularyMetadata for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadata

func (*LexModelsV2) DescribeCustomVocabularyMetadataRequest added in v1.42.33

func (c *LexModelsV2) DescribeCustomVocabularyMetadataRequest(input *DescribeCustomVocabularyMetadataInput) (req *request.Request, output *DescribeCustomVocabularyMetadataOutput)

DescribeCustomVocabularyMetadataRequest generates a "aws/request.Request" representing the client's request for the DescribeCustomVocabularyMetadata 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 DescribeCustomVocabularyMetadata for more information on using the DescribeCustomVocabularyMetadata 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 DescribeCustomVocabularyMetadataRequest method.
req, resp := client.DescribeCustomVocabularyMetadataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadata

func (*LexModelsV2) DescribeCustomVocabularyMetadataWithContext added in v1.42.33

func (c *LexModelsV2) DescribeCustomVocabularyMetadataWithContext(ctx aws.Context, input *DescribeCustomVocabularyMetadataInput, opts ...request.Option) (*DescribeCustomVocabularyMetadataOutput, error)

DescribeCustomVocabularyMetadataWithContext is the same as DescribeCustomVocabularyMetadata with the addition of the ability to pass a context and additional request options.

See DescribeCustomVocabularyMetadata 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 (*LexModelsV2) DescribeExport added in v1.38.42

func (c *LexModelsV2) DescribeExport(input *DescribeExportInput) (*DescribeExportOutput, error)

DescribeExport API operation for Amazon Lex Model Building V2.

Gets information about a specific export.

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 V2's API operation DescribeExport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeExport

func (*LexModelsV2) DescribeExportRequest added in v1.38.42

func (c *LexModelsV2) DescribeExportRequest(input *DescribeExportInput) (req *request.Request, output *DescribeExportOutput)

DescribeExportRequest generates a "aws/request.Request" representing the client's request for the DescribeExport 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 DescribeExport for more information on using the DescribeExport 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 DescribeExportRequest method.
req, resp := client.DescribeExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeExport

func (*LexModelsV2) DescribeExportWithContext added in v1.38.42

func (c *LexModelsV2) DescribeExportWithContext(ctx aws.Context, input *DescribeExportInput, opts ...request.Option) (*DescribeExportOutput, error)

DescribeExportWithContext is the same as DescribeExport with the addition of the ability to pass a context and additional request options.

See DescribeExport 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 (*LexModelsV2) DescribeImport added in v1.38.42

func (c *LexModelsV2) DescribeImport(input *DescribeImportInput) (*DescribeImportOutput, error)

DescribeImport API operation for Amazon Lex Model Building V2.

Gets information about a specific import.

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 V2's API operation DescribeImport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeImport

func (*LexModelsV2) DescribeImportRequest added in v1.38.42

func (c *LexModelsV2) DescribeImportRequest(input *DescribeImportInput) (req *request.Request, output *DescribeImportOutput)

DescribeImportRequest generates a "aws/request.Request" representing the client's request for the DescribeImport 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 DescribeImport for more information on using the DescribeImport 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 DescribeImportRequest method.
req, resp := client.DescribeImportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeImport

func (*LexModelsV2) DescribeImportWithContext added in v1.38.42

func (c *LexModelsV2) DescribeImportWithContext(ctx aws.Context, input *DescribeImportInput, opts ...request.Option) (*DescribeImportOutput, error)

DescribeImportWithContext is the same as DescribeImport with the addition of the ability to pass a context and additional request options.

See DescribeImport 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 (*LexModelsV2) DescribeIntent

func (c *LexModelsV2) DescribeIntent(input *DescribeIntentInput) (*DescribeIntentOutput, error)

DescribeIntent API operation for Amazon Lex Model Building V2.

Returns metadata about an intent.

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 V2's API operation DescribeIntent for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntent

func (*LexModelsV2) DescribeIntentRequest

func (c *LexModelsV2) DescribeIntentRequest(input *DescribeIntentInput) (req *request.Request, output *DescribeIntentOutput)

DescribeIntentRequest generates a "aws/request.Request" representing the client's request for the DescribeIntent 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 DescribeIntent for more information on using the DescribeIntent 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 DescribeIntentRequest method.
req, resp := client.DescribeIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntent

func (*LexModelsV2) DescribeIntentWithContext

func (c *LexModelsV2) DescribeIntentWithContext(ctx aws.Context, input *DescribeIntentInput, opts ...request.Option) (*DescribeIntentOutput, error)

DescribeIntentWithContext is the same as DescribeIntent with the addition of the ability to pass a context and additional request options.

See DescribeIntent 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 (*LexModelsV2) DescribeResourcePolicy added in v1.38.44

func (c *LexModelsV2) DescribeResourcePolicy(input *DescribeResourcePolicyInput) (*DescribeResourcePolicyOutput, error)

DescribeResourcePolicy API operation for Amazon Lex Model Building V2.

Gets the resource policy and policy revision for a bot or bot alias.

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 V2's API operation DescribeResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeResourcePolicy

func (*LexModelsV2) DescribeResourcePolicyRequest added in v1.38.44

func (c *LexModelsV2) DescribeResourcePolicyRequest(input *DescribeResourcePolicyInput) (req *request.Request, output *DescribeResourcePolicyOutput)

DescribeResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the DescribeResourcePolicy 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 DescribeResourcePolicy for more information on using the DescribeResourcePolicy 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 DescribeResourcePolicyRequest method.
req, resp := client.DescribeResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeResourcePolicy

func (*LexModelsV2) DescribeResourcePolicyWithContext added in v1.38.44

func (c *LexModelsV2) DescribeResourcePolicyWithContext(ctx aws.Context, input *DescribeResourcePolicyInput, opts ...request.Option) (*DescribeResourcePolicyOutput, error)

DescribeResourcePolicyWithContext is the same as DescribeResourcePolicy with the addition of the ability to pass a context and additional request options.

See DescribeResourcePolicy 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 (*LexModelsV2) DescribeSlot

func (c *LexModelsV2) DescribeSlot(input *DescribeSlotInput) (*DescribeSlotOutput, error)

DescribeSlot API operation for Amazon Lex Model Building V2.

Gets metadata information about a slot.

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 V2's API operation DescribeSlot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlot

func (*LexModelsV2) DescribeSlotRequest

func (c *LexModelsV2) DescribeSlotRequest(input *DescribeSlotInput) (req *request.Request, output *DescribeSlotOutput)

DescribeSlotRequest generates a "aws/request.Request" representing the client's request for the DescribeSlot 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 DescribeSlot for more information on using the DescribeSlot 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 DescribeSlotRequest method.
req, resp := client.DescribeSlotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlot

func (*LexModelsV2) DescribeSlotType

func (c *LexModelsV2) DescribeSlotType(input *DescribeSlotTypeInput) (*DescribeSlotTypeOutput, error)

DescribeSlotType API operation for Amazon Lex Model Building V2.

Gets metadata information about a slot type.

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 V2's API operation DescribeSlotType for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotType

func (*LexModelsV2) DescribeSlotTypeRequest

func (c *LexModelsV2) DescribeSlotTypeRequest(input *DescribeSlotTypeInput) (req *request.Request, output *DescribeSlotTypeOutput)

DescribeSlotTypeRequest generates a "aws/request.Request" representing the client's request for the DescribeSlotType 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 DescribeSlotType for more information on using the DescribeSlotType 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 DescribeSlotTypeRequest method.
req, resp := client.DescribeSlotTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotType

func (*LexModelsV2) DescribeSlotTypeWithContext

func (c *LexModelsV2) DescribeSlotTypeWithContext(ctx aws.Context, input *DescribeSlotTypeInput, opts ...request.Option) (*DescribeSlotTypeOutput, error)

DescribeSlotTypeWithContext is the same as DescribeSlotType with the addition of the ability to pass a context and additional request options.

See DescribeSlotType 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 (*LexModelsV2) DescribeSlotWithContext

func (c *LexModelsV2) DescribeSlotWithContext(ctx aws.Context, input *DescribeSlotInput, opts ...request.Option) (*DescribeSlotOutput, error)

DescribeSlotWithContext is the same as DescribeSlot with the addition of the ability to pass a context and additional request options.

See DescribeSlot 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 (*LexModelsV2) DescribeTestExecution added in v1.44.277

func (c *LexModelsV2) DescribeTestExecution(input *DescribeTestExecutionInput) (*DescribeTestExecutionOutput, error)

DescribeTestExecution API operation for Amazon Lex Model Building V2.

Gets metadata information about the test execution.

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 V2's API operation DescribeTestExecution for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestExecution

func (*LexModelsV2) DescribeTestExecutionRequest added in v1.44.277

func (c *LexModelsV2) DescribeTestExecutionRequest(input *DescribeTestExecutionInput) (req *request.Request, output *DescribeTestExecutionOutput)

DescribeTestExecutionRequest generates a "aws/request.Request" representing the client's request for the DescribeTestExecution 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 DescribeTestExecution for more information on using the DescribeTestExecution 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 DescribeTestExecutionRequest method.
req, resp := client.DescribeTestExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestExecution

func (*LexModelsV2) DescribeTestExecutionWithContext added in v1.44.277

func (c *LexModelsV2) DescribeTestExecutionWithContext(ctx aws.Context, input *DescribeTestExecutionInput, opts ...request.Option) (*DescribeTestExecutionOutput, error)

DescribeTestExecutionWithContext is the same as DescribeTestExecution with the addition of the ability to pass a context and additional request options.

See DescribeTestExecution 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 (*LexModelsV2) DescribeTestSet added in v1.44.277

func (c *LexModelsV2) DescribeTestSet(input *DescribeTestSetInput) (*DescribeTestSetOutput, error)

DescribeTestSet API operation for Amazon Lex Model Building V2.

Gets metadata information about the test set.

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 V2's API operation DescribeTestSet for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSet

func (*LexModelsV2) DescribeTestSetDiscrepancyReport added in v1.44.277

DescribeTestSetDiscrepancyReport API operation for Amazon Lex Model Building V2.

Gets metadata information about the test set discrepancy report.

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 V2's API operation DescribeTestSetDiscrepancyReport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetDiscrepancyReport

func (*LexModelsV2) DescribeTestSetDiscrepancyReportRequest added in v1.44.277

func (c *LexModelsV2) DescribeTestSetDiscrepancyReportRequest(input *DescribeTestSetDiscrepancyReportInput) (req *request.Request, output *DescribeTestSetDiscrepancyReportOutput)

DescribeTestSetDiscrepancyReportRequest generates a "aws/request.Request" representing the client's request for the DescribeTestSetDiscrepancyReport 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 DescribeTestSetDiscrepancyReport for more information on using the DescribeTestSetDiscrepancyReport 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 DescribeTestSetDiscrepancyReportRequest method.
req, resp := client.DescribeTestSetDiscrepancyReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetDiscrepancyReport

func (*LexModelsV2) DescribeTestSetDiscrepancyReportWithContext added in v1.44.277

func (c *LexModelsV2) DescribeTestSetDiscrepancyReportWithContext(ctx aws.Context, input *DescribeTestSetDiscrepancyReportInput, opts ...request.Option) (*DescribeTestSetDiscrepancyReportOutput, error)

DescribeTestSetDiscrepancyReportWithContext is the same as DescribeTestSetDiscrepancyReport with the addition of the ability to pass a context and additional request options.

See DescribeTestSetDiscrepancyReport 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 (*LexModelsV2) DescribeTestSetGeneration added in v1.44.277

func (c *LexModelsV2) DescribeTestSetGeneration(input *DescribeTestSetGenerationInput) (*DescribeTestSetGenerationOutput, error)

DescribeTestSetGeneration API operation for Amazon Lex Model Building V2.

Gets metadata information about the test set generation.

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 V2's API operation DescribeTestSetGeneration for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetGeneration

func (*LexModelsV2) DescribeTestSetGenerationRequest added in v1.44.277

func (c *LexModelsV2) DescribeTestSetGenerationRequest(input *DescribeTestSetGenerationInput) (req *request.Request, output *DescribeTestSetGenerationOutput)

DescribeTestSetGenerationRequest generates a "aws/request.Request" representing the client's request for the DescribeTestSetGeneration 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 DescribeTestSetGeneration for more information on using the DescribeTestSetGeneration 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 DescribeTestSetGenerationRequest method.
req, resp := client.DescribeTestSetGenerationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetGeneration

func (*LexModelsV2) DescribeTestSetGenerationWithContext added in v1.44.277

func (c *LexModelsV2) DescribeTestSetGenerationWithContext(ctx aws.Context, input *DescribeTestSetGenerationInput, opts ...request.Option) (*DescribeTestSetGenerationOutput, error)

DescribeTestSetGenerationWithContext is the same as DescribeTestSetGeneration with the addition of the ability to pass a context and additional request options.

See DescribeTestSetGeneration 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 (*LexModelsV2) DescribeTestSetRequest added in v1.44.277

func (c *LexModelsV2) DescribeTestSetRequest(input *DescribeTestSetInput) (req *request.Request, output *DescribeTestSetOutput)

DescribeTestSetRequest generates a "aws/request.Request" representing the client's request for the DescribeTestSet 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 DescribeTestSet for more information on using the DescribeTestSet 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 DescribeTestSetRequest method.
req, resp := client.DescribeTestSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSet

func (*LexModelsV2) DescribeTestSetWithContext added in v1.44.277

func (c *LexModelsV2) DescribeTestSetWithContext(ctx aws.Context, input *DescribeTestSetInput, opts ...request.Option) (*DescribeTestSetOutput, error)

DescribeTestSetWithContext is the same as DescribeTestSet with the addition of the ability to pass a context and additional request options.

See DescribeTestSet 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 (*LexModelsV2) GetTestExecutionArtifactsUrl added in v1.44.277

func (c *LexModelsV2) GetTestExecutionArtifactsUrl(input *GetTestExecutionArtifactsUrlInput) (*GetTestExecutionArtifactsUrlOutput, error)

GetTestExecutionArtifactsUrl API operation for Amazon Lex Model Building V2.

The pre-signed Amazon S3 URL to download the test execution result artifacts.

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 V2's API operation GetTestExecutionArtifactsUrl for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GetTestExecutionArtifactsUrl

func (*LexModelsV2) GetTestExecutionArtifactsUrlRequest added in v1.44.277

func (c *LexModelsV2) GetTestExecutionArtifactsUrlRequest(input *GetTestExecutionArtifactsUrlInput) (req *request.Request, output *GetTestExecutionArtifactsUrlOutput)

GetTestExecutionArtifactsUrlRequest generates a "aws/request.Request" representing the client's request for the GetTestExecutionArtifactsUrl 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 GetTestExecutionArtifactsUrl for more information on using the GetTestExecutionArtifactsUrl 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 GetTestExecutionArtifactsUrlRequest method.
req, resp := client.GetTestExecutionArtifactsUrlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GetTestExecutionArtifactsUrl

func (*LexModelsV2) GetTestExecutionArtifactsUrlWithContext added in v1.44.277

func (c *LexModelsV2) GetTestExecutionArtifactsUrlWithContext(ctx aws.Context, input *GetTestExecutionArtifactsUrlInput, opts ...request.Option) (*GetTestExecutionArtifactsUrlOutput, error)

GetTestExecutionArtifactsUrlWithContext is the same as GetTestExecutionArtifactsUrl with the addition of the ability to pass a context and additional request options.

See GetTestExecutionArtifactsUrl 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 (*LexModelsV2) ListAggregatedUtterances added in v1.40.47

func (c *LexModelsV2) ListAggregatedUtterances(input *ListAggregatedUtterancesInput) (*ListAggregatedUtterancesOutput, error)

ListAggregatedUtterances API operation for Amazon Lex Model Building V2.

Provides a list of utterances that users have sent to the bot.

Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response.

You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.

Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.

Utterances statistics are not generated under the following conditions:

  • The childDirected field was set to true when the bot was created.

  • You are using slot obfuscation with one or more slots.

  • You opted out of participating in improving 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 V2's API operation ListAggregatedUtterances for usage and error information.

Returned Error Types:

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListAggregatedUtterances

func (*LexModelsV2) ListAggregatedUtterancesPages added in v1.40.47

func (c *LexModelsV2) ListAggregatedUtterancesPages(input *ListAggregatedUtterancesInput, fn func(*ListAggregatedUtterancesOutput, bool) bool) error

ListAggregatedUtterancesPages iterates over the pages of a ListAggregatedUtterances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAggregatedUtterances 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 ListAggregatedUtterances operation.
pageNum := 0
err := client.ListAggregatedUtterancesPages(params,
    func(page *lexmodelsv2.ListAggregatedUtterancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListAggregatedUtterancesPagesWithContext added in v1.40.47

func (c *LexModelsV2) ListAggregatedUtterancesPagesWithContext(ctx aws.Context, input *ListAggregatedUtterancesInput, fn func(*ListAggregatedUtterancesOutput, bool) bool, opts ...request.Option) error

ListAggregatedUtterancesPagesWithContext same as ListAggregatedUtterancesPages 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 (*LexModelsV2) ListAggregatedUtterancesRequest added in v1.40.47

func (c *LexModelsV2) ListAggregatedUtterancesRequest(input *ListAggregatedUtterancesInput) (req *request.Request, output *ListAggregatedUtterancesOutput)

ListAggregatedUtterancesRequest generates a "aws/request.Request" representing the client's request for the ListAggregatedUtterances 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 ListAggregatedUtterances for more information on using the ListAggregatedUtterances 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 ListAggregatedUtterancesRequest method.
req, resp := client.ListAggregatedUtterancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListAggregatedUtterances

func (*LexModelsV2) ListAggregatedUtterancesWithContext added in v1.40.47

func (c *LexModelsV2) ListAggregatedUtterancesWithContext(ctx aws.Context, input *ListAggregatedUtterancesInput, opts ...request.Option) (*ListAggregatedUtterancesOutput, error)

ListAggregatedUtterancesWithContext is the same as ListAggregatedUtterances with the addition of the ability to pass a context and additional request options.

See ListAggregatedUtterances 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 (*LexModelsV2) ListBotAliases

func (c *LexModelsV2) ListBotAliases(input *ListBotAliasesInput) (*ListBotAliasesOutput, error)

ListBotAliases API operation for Amazon Lex Model Building V2.

Gets a list of aliases for the specified bot.

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 V2's API operation ListBotAliases for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliases

func (*LexModelsV2) ListBotAliasesPages

func (c *LexModelsV2) ListBotAliasesPages(input *ListBotAliasesInput, fn func(*ListBotAliasesOutput, bool) bool) error

ListBotAliasesPages iterates over the pages of a ListBotAliases operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBotAliases 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 ListBotAliases operation.
pageNum := 0
err := client.ListBotAliasesPages(params,
    func(page *lexmodelsv2.ListBotAliasesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBotAliasesPagesWithContext

func (c *LexModelsV2) ListBotAliasesPagesWithContext(ctx aws.Context, input *ListBotAliasesInput, fn func(*ListBotAliasesOutput, bool) bool, opts ...request.Option) error

ListBotAliasesPagesWithContext same as ListBotAliasesPages 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 (*LexModelsV2) ListBotAliasesRequest

func (c *LexModelsV2) ListBotAliasesRequest(input *ListBotAliasesInput) (req *request.Request, output *ListBotAliasesOutput)

ListBotAliasesRequest generates a "aws/request.Request" representing the client's request for the ListBotAliases 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 ListBotAliases for more information on using the ListBotAliases 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 ListBotAliasesRequest method.
req, resp := client.ListBotAliasesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliases

func (*LexModelsV2) ListBotAliasesWithContext

func (c *LexModelsV2) ListBotAliasesWithContext(ctx aws.Context, input *ListBotAliasesInput, opts ...request.Option) (*ListBotAliasesOutput, error)

ListBotAliasesWithContext is the same as ListBotAliases with the addition of the ability to pass a context and additional request options.

See ListBotAliases 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 (*LexModelsV2) ListBotLocales

func (c *LexModelsV2) ListBotLocales(input *ListBotLocalesInput) (*ListBotLocalesOutput, error)

ListBotLocales API operation for Amazon Lex Model Building V2.

Gets a list of locales for the specified bot.

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 V2's API operation ListBotLocales for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotLocales

func (*LexModelsV2) ListBotLocalesPages

func (c *LexModelsV2) ListBotLocalesPages(input *ListBotLocalesInput, fn func(*ListBotLocalesOutput, bool) bool) error

ListBotLocalesPages iterates over the pages of a ListBotLocales operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBotLocales 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 ListBotLocales operation.
pageNum := 0
err := client.ListBotLocalesPages(params,
    func(page *lexmodelsv2.ListBotLocalesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBotLocalesPagesWithContext

func (c *LexModelsV2) ListBotLocalesPagesWithContext(ctx aws.Context, input *ListBotLocalesInput, fn func(*ListBotLocalesOutput, bool) bool, opts ...request.Option) error

ListBotLocalesPagesWithContext same as ListBotLocalesPages 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 (*LexModelsV2) ListBotLocalesRequest

func (c *LexModelsV2) ListBotLocalesRequest(input *ListBotLocalesInput) (req *request.Request, output *ListBotLocalesOutput)

ListBotLocalesRequest generates a "aws/request.Request" representing the client's request for the ListBotLocales 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 ListBotLocales for more information on using the ListBotLocales 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 ListBotLocalesRequest method.
req, resp := client.ListBotLocalesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotLocales

func (*LexModelsV2) ListBotLocalesWithContext

func (c *LexModelsV2) ListBotLocalesWithContext(ctx aws.Context, input *ListBotLocalesInput, opts ...request.Option) (*ListBotLocalesOutput, error)

ListBotLocalesWithContext is the same as ListBotLocales with the addition of the ability to pass a context and additional request options.

See ListBotLocales 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 (*LexModelsV2) ListBotRecommendations added in v1.42.17

func (c *LexModelsV2) ListBotRecommendations(input *ListBotRecommendationsInput) (*ListBotRecommendationsOutput, error)

ListBotRecommendations API operation for Amazon Lex Model Building V2.

Get a list of bot recommendations that meet the specified criteria.

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 V2's API operation ListBotRecommendations for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendations

func (*LexModelsV2) ListBotRecommendationsPages added in v1.42.17

func (c *LexModelsV2) ListBotRecommendationsPages(input *ListBotRecommendationsInput, fn func(*ListBotRecommendationsOutput, bool) bool) error

ListBotRecommendationsPages iterates over the pages of a ListBotRecommendations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBotRecommendations 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 ListBotRecommendations operation.
pageNum := 0
err := client.ListBotRecommendationsPages(params,
    func(page *lexmodelsv2.ListBotRecommendationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBotRecommendationsPagesWithContext added in v1.42.17

func (c *LexModelsV2) ListBotRecommendationsPagesWithContext(ctx aws.Context, input *ListBotRecommendationsInput, fn func(*ListBotRecommendationsOutput, bool) bool, opts ...request.Option) error

ListBotRecommendationsPagesWithContext same as ListBotRecommendationsPages 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 (*LexModelsV2) ListBotRecommendationsRequest added in v1.42.17

func (c *LexModelsV2) ListBotRecommendationsRequest(input *ListBotRecommendationsInput) (req *request.Request, output *ListBotRecommendationsOutput)

ListBotRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ListBotRecommendations 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 ListBotRecommendations for more information on using the ListBotRecommendations 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 ListBotRecommendationsRequest method.
req, resp := client.ListBotRecommendationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendations

func (*LexModelsV2) ListBotRecommendationsWithContext added in v1.42.17

func (c *LexModelsV2) ListBotRecommendationsWithContext(ctx aws.Context, input *ListBotRecommendationsInput, opts ...request.Option) (*ListBotRecommendationsOutput, error)

ListBotRecommendationsWithContext is the same as ListBotRecommendations with the addition of the ability to pass a context and additional request options.

See ListBotRecommendations 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 (*LexModelsV2) ListBotVersions

func (c *LexModelsV2) ListBotVersions(input *ListBotVersionsInput) (*ListBotVersionsOutput, error)

ListBotVersions API operation for Amazon Lex Model Building V2.

Gets information about all of the versions of a bot.

The ListBotVersions operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions operation returns for summaries, one for each numbered version and one for the DRAFT version.

The ListBotVersions operation always returns at least one version, the DRAFT version.

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 V2's API operation ListBotVersions for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersions

func (*LexModelsV2) ListBotVersionsPages

func (c *LexModelsV2) ListBotVersionsPages(input *ListBotVersionsInput, fn func(*ListBotVersionsOutput, bool) bool) error

ListBotVersionsPages iterates over the pages of a ListBotVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBotVersions 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 ListBotVersions operation.
pageNum := 0
err := client.ListBotVersionsPages(params,
    func(page *lexmodelsv2.ListBotVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBotVersionsPagesWithContext

func (c *LexModelsV2) ListBotVersionsPagesWithContext(ctx aws.Context, input *ListBotVersionsInput, fn func(*ListBotVersionsOutput, bool) bool, opts ...request.Option) error

ListBotVersionsPagesWithContext same as ListBotVersionsPages 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 (*LexModelsV2) ListBotVersionsRequest

func (c *LexModelsV2) ListBotVersionsRequest(input *ListBotVersionsInput) (req *request.Request, output *ListBotVersionsOutput)

ListBotVersionsRequest generates a "aws/request.Request" representing the client's request for the ListBotVersions 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 ListBotVersions for more information on using the ListBotVersions 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 ListBotVersionsRequest method.
req, resp := client.ListBotVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersions

func (*LexModelsV2) ListBotVersionsWithContext

func (c *LexModelsV2) ListBotVersionsWithContext(ctx aws.Context, input *ListBotVersionsInput, opts ...request.Option) (*ListBotVersionsOutput, error)

ListBotVersionsWithContext is the same as ListBotVersions with the addition of the ability to pass a context and additional request options.

See ListBotVersions 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 (*LexModelsV2) ListBots

func (c *LexModelsV2) ListBots(input *ListBotsInput) (*ListBotsOutput, error)

ListBots API operation for Amazon Lex Model Building V2.

Gets a list of available bots.

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 V2's API operation ListBots for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBots

func (*LexModelsV2) ListBotsPages

func (c *LexModelsV2) ListBotsPages(input *ListBotsInput, fn func(*ListBotsOutput, bool) bool) error

ListBotsPages iterates over the pages of a ListBots operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBots 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 ListBots operation.
pageNum := 0
err := client.ListBotsPages(params,
    func(page *lexmodelsv2.ListBotsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBotsPagesWithContext

func (c *LexModelsV2) ListBotsPagesWithContext(ctx aws.Context, input *ListBotsInput, fn func(*ListBotsOutput, bool) bool, opts ...request.Option) error

ListBotsPagesWithContext same as ListBotsPages 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 (*LexModelsV2) ListBotsRequest

func (c *LexModelsV2) ListBotsRequest(input *ListBotsInput) (req *request.Request, output *ListBotsOutput)

ListBotsRequest generates a "aws/request.Request" representing the client's request for the ListBots 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 ListBots for more information on using the ListBots 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 ListBotsRequest method.
req, resp := client.ListBotsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBots

func (*LexModelsV2) ListBotsWithContext

func (c *LexModelsV2) ListBotsWithContext(ctx aws.Context, input *ListBotsInput, opts ...request.Option) (*ListBotsOutput, error)

ListBotsWithContext is the same as ListBots with the addition of the ability to pass a context and additional request options.

See ListBots 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 (*LexModelsV2) ListBuiltInIntents

func (c *LexModelsV2) ListBuiltInIntents(input *ListBuiltInIntentsInput) (*ListBuiltInIntentsOutput, error)

ListBuiltInIntents API operation for Amazon Lex Model Building V2.

Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.

To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature parameter when you call the CreateIntent operation. For more information, see CreateIntent (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html).

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 V2's API operation ListBuiltInIntents for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInIntents

func (*LexModelsV2) ListBuiltInIntentsPages

func (c *LexModelsV2) ListBuiltInIntentsPages(input *ListBuiltInIntentsInput, fn func(*ListBuiltInIntentsOutput, bool) bool) error

ListBuiltInIntentsPages iterates over the pages of a ListBuiltInIntents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBuiltInIntents 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 ListBuiltInIntents operation.
pageNum := 0
err := client.ListBuiltInIntentsPages(params,
    func(page *lexmodelsv2.ListBuiltInIntentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBuiltInIntentsPagesWithContext

func (c *LexModelsV2) ListBuiltInIntentsPagesWithContext(ctx aws.Context, input *ListBuiltInIntentsInput, fn func(*ListBuiltInIntentsOutput, bool) bool, opts ...request.Option) error

ListBuiltInIntentsPagesWithContext same as ListBuiltInIntentsPages 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 (*LexModelsV2) ListBuiltInIntentsRequest

func (c *LexModelsV2) ListBuiltInIntentsRequest(input *ListBuiltInIntentsInput) (req *request.Request, output *ListBuiltInIntentsOutput)

ListBuiltInIntentsRequest generates a "aws/request.Request" representing the client's request for the ListBuiltInIntents 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 ListBuiltInIntents for more information on using the ListBuiltInIntents 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 ListBuiltInIntentsRequest method.
req, resp := client.ListBuiltInIntentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInIntents

func (*LexModelsV2) ListBuiltInIntentsWithContext

func (c *LexModelsV2) ListBuiltInIntentsWithContext(ctx aws.Context, input *ListBuiltInIntentsInput, opts ...request.Option) (*ListBuiltInIntentsOutput, error)

ListBuiltInIntentsWithContext is the same as ListBuiltInIntents with the addition of the ability to pass a context and additional request options.

See ListBuiltInIntents 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 (*LexModelsV2) ListBuiltInSlotTypes

func (c *LexModelsV2) ListBuiltInSlotTypes(input *ListBuiltInSlotTypesInput) (*ListBuiltInSlotTypesOutput, error)

ListBuiltInSlotTypes API operation for Amazon Lex Model Building V2.

Gets a list of built-in slot types that meet the specified criteria.

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 V2's API operation ListBuiltInSlotTypes for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInSlotTypes

func (*LexModelsV2) ListBuiltInSlotTypesPages

func (c *LexModelsV2) ListBuiltInSlotTypesPages(input *ListBuiltInSlotTypesInput, fn func(*ListBuiltInSlotTypesOutput, bool) bool) error

ListBuiltInSlotTypesPages iterates over the pages of a ListBuiltInSlotTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBuiltInSlotTypes 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 ListBuiltInSlotTypes operation.
pageNum := 0
err := client.ListBuiltInSlotTypesPages(params,
    func(page *lexmodelsv2.ListBuiltInSlotTypesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListBuiltInSlotTypesPagesWithContext

func (c *LexModelsV2) ListBuiltInSlotTypesPagesWithContext(ctx aws.Context, input *ListBuiltInSlotTypesInput, fn func(*ListBuiltInSlotTypesOutput, bool) bool, opts ...request.Option) error

ListBuiltInSlotTypesPagesWithContext same as ListBuiltInSlotTypesPages 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 (*LexModelsV2) ListBuiltInSlotTypesRequest

func (c *LexModelsV2) ListBuiltInSlotTypesRequest(input *ListBuiltInSlotTypesInput) (req *request.Request, output *ListBuiltInSlotTypesOutput)

ListBuiltInSlotTypesRequest generates a "aws/request.Request" representing the client's request for the ListBuiltInSlotTypes 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 ListBuiltInSlotTypes for more information on using the ListBuiltInSlotTypes 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 ListBuiltInSlotTypesRequest method.
req, resp := client.ListBuiltInSlotTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInSlotTypes

func (*LexModelsV2) ListBuiltInSlotTypesWithContext

func (c *LexModelsV2) ListBuiltInSlotTypesWithContext(ctx aws.Context, input *ListBuiltInSlotTypesInput, opts ...request.Option) (*ListBuiltInSlotTypesOutput, error)

ListBuiltInSlotTypesWithContext is the same as ListBuiltInSlotTypes with the addition of the ability to pass a context and additional request options.

See ListBuiltInSlotTypes 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 (*LexModelsV2) ListCustomVocabularyItems added in v1.44.132

func (c *LexModelsV2) ListCustomVocabularyItems(input *ListCustomVocabularyItemsInput) (*ListCustomVocabularyItemsOutput, error)

ListCustomVocabularyItems API operation for Amazon Lex Model Building V2.

Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.

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 V2's API operation ListCustomVocabularyItems for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListCustomVocabularyItems

func (*LexModelsV2) ListCustomVocabularyItemsPages added in v1.44.132

func (c *LexModelsV2) ListCustomVocabularyItemsPages(input *ListCustomVocabularyItemsInput, fn func(*ListCustomVocabularyItemsOutput, bool) bool) error

ListCustomVocabularyItemsPages iterates over the pages of a ListCustomVocabularyItems operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomVocabularyItems 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 ListCustomVocabularyItems operation.
pageNum := 0
err := client.ListCustomVocabularyItemsPages(params,
    func(page *lexmodelsv2.ListCustomVocabularyItemsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListCustomVocabularyItemsPagesWithContext added in v1.44.132

func (c *LexModelsV2) ListCustomVocabularyItemsPagesWithContext(ctx aws.Context, input *ListCustomVocabularyItemsInput, fn func(*ListCustomVocabularyItemsOutput, bool) bool, opts ...request.Option) error

ListCustomVocabularyItemsPagesWithContext same as ListCustomVocabularyItemsPages 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 (*LexModelsV2) ListCustomVocabularyItemsRequest added in v1.44.132

func (c *LexModelsV2) ListCustomVocabularyItemsRequest(input *ListCustomVocabularyItemsInput) (req *request.Request, output *ListCustomVocabularyItemsOutput)

ListCustomVocabularyItemsRequest generates a "aws/request.Request" representing the client's request for the ListCustomVocabularyItems 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 ListCustomVocabularyItems for more information on using the ListCustomVocabularyItems 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 ListCustomVocabularyItemsRequest method.
req, resp := client.ListCustomVocabularyItemsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListCustomVocabularyItems

func (*LexModelsV2) ListCustomVocabularyItemsWithContext added in v1.44.132

func (c *LexModelsV2) ListCustomVocabularyItemsWithContext(ctx aws.Context, input *ListCustomVocabularyItemsInput, opts ...request.Option) (*ListCustomVocabularyItemsOutput, error)

ListCustomVocabularyItemsWithContext is the same as ListCustomVocabularyItems with the addition of the ability to pass a context and additional request options.

See ListCustomVocabularyItems 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 (*LexModelsV2) ListExports added in v1.38.42

func (c *LexModelsV2) ListExports(input *ListExportsInput) (*ListExportsOutput, error)

ListExports API operation for Amazon Lex Model Building V2.

Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.

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 V2's API operation ListExports for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExports

func (*LexModelsV2) ListExportsPages added in v1.38.42

func (c *LexModelsV2) ListExportsPages(input *ListExportsInput, fn func(*ListExportsOutput, bool) bool) error

ListExportsPages iterates over the pages of a ListExports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListExports 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 ListExports operation.
pageNum := 0
err := client.ListExportsPages(params,
    func(page *lexmodelsv2.ListExportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListExportsPagesWithContext added in v1.38.42

func (c *LexModelsV2) ListExportsPagesWithContext(ctx aws.Context, input *ListExportsInput, fn func(*ListExportsOutput, bool) bool, opts ...request.Option) error

ListExportsPagesWithContext same as ListExportsPages 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 (*LexModelsV2) ListExportsRequest added in v1.38.42

func (c *LexModelsV2) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput)

ListExportsRequest generates a "aws/request.Request" representing the client's request for the ListExports 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 ListExports for more information on using the ListExports 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 ListExportsRequest method.
req, resp := client.ListExportsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExports

func (*LexModelsV2) ListExportsWithContext added in v1.38.42

func (c *LexModelsV2) ListExportsWithContext(ctx aws.Context, input *ListExportsInput, opts ...request.Option) (*ListExportsOutput, error)

ListExportsWithContext is the same as ListExports with the addition of the ability to pass a context and additional request options.

See ListExports 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 (*LexModelsV2) ListImports added in v1.38.42

func (c *LexModelsV2) ListImports(input *ListImportsInput) (*ListImportsOutput, error)

ListImports API operation for Amazon Lex Model Building V2.

Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.

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 V2's API operation ListImports for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImports

func (*LexModelsV2) ListImportsPages added in v1.38.42

func (c *LexModelsV2) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error

ListImportsPages iterates over the pages of a ListImports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImports 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 ListImports operation.
pageNum := 0
err := client.ListImportsPages(params,
    func(page *lexmodelsv2.ListImportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListImportsPagesWithContext added in v1.38.42

func (c *LexModelsV2) ListImportsPagesWithContext(ctx aws.Context, input *ListImportsInput, fn func(*ListImportsOutput, bool) bool, opts ...request.Option) error

ListImportsPagesWithContext same as ListImportsPages 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 (*LexModelsV2) ListImportsRequest added in v1.38.42

func (c *LexModelsV2) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput)

ListImportsRequest generates a "aws/request.Request" representing the client's request for the ListImports 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 ListImports for more information on using the ListImports 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 ListImportsRequest method.
req, resp := client.ListImportsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImports

func (*LexModelsV2) ListImportsWithContext added in v1.38.42

func (c *LexModelsV2) ListImportsWithContext(ctx aws.Context, input *ListImportsInput, opts ...request.Option) (*ListImportsOutput, error)

ListImportsWithContext is the same as ListImports with the addition of the ability to pass a context and additional request options.

See ListImports 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 (*LexModelsV2) ListIntents

func (c *LexModelsV2) ListIntents(input *ListIntentsInput) (*ListIntentsOutput, error)

ListIntents API operation for Amazon Lex Model Building V2.

Get a list of intents that meet the specified criteria.

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 V2's API operation ListIntents for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListIntents

func (*LexModelsV2) ListIntentsPages

func (c *LexModelsV2) ListIntentsPages(input *ListIntentsInput, fn func(*ListIntentsOutput, bool) bool) error

ListIntentsPages iterates over the pages of a ListIntents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListIntents 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 ListIntents operation.
pageNum := 0
err := client.ListIntentsPages(params,
    func(page *lexmodelsv2.ListIntentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListIntentsPagesWithContext

func (c *LexModelsV2) ListIntentsPagesWithContext(ctx aws.Context, input *ListIntentsInput, fn func(*ListIntentsOutput, bool) bool, opts ...request.Option) error

ListIntentsPagesWithContext same as ListIntentsPages 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 (*LexModelsV2) ListIntentsRequest

func (c *LexModelsV2) ListIntentsRequest(input *ListIntentsInput) (req *request.Request, output *ListIntentsOutput)

ListIntentsRequest generates a "aws/request.Request" representing the client's request for the ListIntents 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 ListIntents for more information on using the ListIntents 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 ListIntentsRequest method.
req, resp := client.ListIntentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListIntents

func (*LexModelsV2) ListIntentsWithContext

func (c *LexModelsV2) ListIntentsWithContext(ctx aws.Context, input *ListIntentsInput, opts ...request.Option) (*ListIntentsOutput, error)

ListIntentsWithContext is the same as ListIntents with the addition of the ability to pass a context and additional request options.

See ListIntents 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 (*LexModelsV2) ListRecommendedIntents added in v1.42.17

func (c *LexModelsV2) ListRecommendedIntents(input *ListRecommendedIntentsInput) (*ListRecommendedIntentsOutput, error)

ListRecommendedIntents API operation for Amazon Lex Model Building V2.

Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.

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 V2's API operation ListRecommendedIntents for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntents

func (*LexModelsV2) ListRecommendedIntentsPages added in v1.42.17

func (c *LexModelsV2) ListRecommendedIntentsPages(input *ListRecommendedIntentsInput, fn func(*ListRecommendedIntentsOutput, bool) bool) error

ListRecommendedIntentsPages iterates over the pages of a ListRecommendedIntents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRecommendedIntents 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 ListRecommendedIntents operation.
pageNum := 0
err := client.ListRecommendedIntentsPages(params,
    func(page *lexmodelsv2.ListRecommendedIntentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListRecommendedIntentsPagesWithContext added in v1.42.17

func (c *LexModelsV2) ListRecommendedIntentsPagesWithContext(ctx aws.Context, input *ListRecommendedIntentsInput, fn func(*ListRecommendedIntentsOutput, bool) bool, opts ...request.Option) error

ListRecommendedIntentsPagesWithContext same as ListRecommendedIntentsPages 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 (*LexModelsV2) ListRecommendedIntentsRequest added in v1.42.17

func (c *LexModelsV2) ListRecommendedIntentsRequest(input *ListRecommendedIntentsInput) (req *request.Request, output *ListRecommendedIntentsOutput)

ListRecommendedIntentsRequest generates a "aws/request.Request" representing the client's request for the ListRecommendedIntents 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 ListRecommendedIntents for more information on using the ListRecommendedIntents 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 ListRecommendedIntentsRequest method.
req, resp := client.ListRecommendedIntentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntents

func (*LexModelsV2) ListRecommendedIntentsWithContext added in v1.42.17

func (c *LexModelsV2) ListRecommendedIntentsWithContext(ctx aws.Context, input *ListRecommendedIntentsInput, opts ...request.Option) (*ListRecommendedIntentsOutput, error)

ListRecommendedIntentsWithContext is the same as ListRecommendedIntents with the addition of the ability to pass a context and additional request options.

See ListRecommendedIntents 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 (*LexModelsV2) ListSlotTypes

func (c *LexModelsV2) ListSlotTypes(input *ListSlotTypesInput) (*ListSlotTypesOutput, error)

ListSlotTypes API operation for Amazon Lex Model Building V2.

Gets a list of slot types that match the specified criteria.

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 V2's API operation ListSlotTypes for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlotTypes

func (*LexModelsV2) ListSlotTypesPages

func (c *LexModelsV2) ListSlotTypesPages(input *ListSlotTypesInput, fn func(*ListSlotTypesOutput, bool) bool) error

ListSlotTypesPages iterates over the pages of a ListSlotTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSlotTypes 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 ListSlotTypes operation.
pageNum := 0
err := client.ListSlotTypesPages(params,
    func(page *lexmodelsv2.ListSlotTypesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListSlotTypesPagesWithContext

func (c *LexModelsV2) ListSlotTypesPagesWithContext(ctx aws.Context, input *ListSlotTypesInput, fn func(*ListSlotTypesOutput, bool) bool, opts ...request.Option) error

ListSlotTypesPagesWithContext same as ListSlotTypesPages 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 (*LexModelsV2) ListSlotTypesRequest

func (c *LexModelsV2) ListSlotTypesRequest(input *ListSlotTypesInput) (req *request.Request, output *ListSlotTypesOutput)

ListSlotTypesRequest generates a "aws/request.Request" representing the client's request for the ListSlotTypes 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 ListSlotTypes for more information on using the ListSlotTypes 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 ListSlotTypesRequest method.
req, resp := client.ListSlotTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlotTypes

func (*LexModelsV2) ListSlotTypesWithContext

func (c *LexModelsV2) ListSlotTypesWithContext(ctx aws.Context, input *ListSlotTypesInput, opts ...request.Option) (*ListSlotTypesOutput, error)

ListSlotTypesWithContext is the same as ListSlotTypes with the addition of the ability to pass a context and additional request options.

See ListSlotTypes 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 (*LexModelsV2) ListSlots

func (c *LexModelsV2) ListSlots(input *ListSlotsInput) (*ListSlotsOutput, error)

ListSlots API operation for Amazon Lex Model Building V2.

Gets a list of slots that match the specified criteria.

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 V2's API operation ListSlots for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlots

func (*LexModelsV2) ListSlotsPages

func (c *LexModelsV2) ListSlotsPages(input *ListSlotsInput, fn func(*ListSlotsOutput, bool) bool) error

ListSlotsPages iterates over the pages of a ListSlots operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSlots 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 ListSlots operation.
pageNum := 0
err := client.ListSlotsPages(params,
    func(page *lexmodelsv2.ListSlotsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListSlotsPagesWithContext

func (c *LexModelsV2) ListSlotsPagesWithContext(ctx aws.Context, input *ListSlotsInput, fn func(*ListSlotsOutput, bool) bool, opts ...request.Option) error

ListSlotsPagesWithContext same as ListSlotsPages 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 (*LexModelsV2) ListSlotsRequest

func (c *LexModelsV2) ListSlotsRequest(input *ListSlotsInput) (req *request.Request, output *ListSlotsOutput)

ListSlotsRequest generates a "aws/request.Request" representing the client's request for the ListSlots 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 ListSlots for more information on using the ListSlots 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 ListSlotsRequest method.
req, resp := client.ListSlotsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlots

func (*LexModelsV2) ListSlotsWithContext

func (c *LexModelsV2) ListSlotsWithContext(ctx aws.Context, input *ListSlotsInput, opts ...request.Option) (*ListSlotsOutput, error)

ListSlotsWithContext is the same as ListSlots with the addition of the ability to pass a context and additional request options.

See ListSlots 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 (*LexModelsV2) ListTagsForResource

func (c *LexModelsV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Lex Model Building V2.

Gets a list of tags associated with a 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 V2's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTagsForResource

func (*LexModelsV2) ListTagsForResourceRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/ListTagsForResource

func (*LexModelsV2) ListTagsForResourceWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) ListTestExecutionResultItems added in v1.44.277

func (c *LexModelsV2) ListTestExecutionResultItems(input *ListTestExecutionResultItemsInput) (*ListTestExecutionResultItemsOutput, error)

ListTestExecutionResultItems API operation for Amazon Lex Model Building V2.

Gets a list of test execution result items.

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 V2's API operation ListTestExecutionResultItems for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionResultItems

func (*LexModelsV2) ListTestExecutionResultItemsPages added in v1.44.277

func (c *LexModelsV2) ListTestExecutionResultItemsPages(input *ListTestExecutionResultItemsInput, fn func(*ListTestExecutionResultItemsOutput, bool) bool) error

ListTestExecutionResultItemsPages iterates over the pages of a ListTestExecutionResultItems operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTestExecutionResultItems 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 ListTestExecutionResultItems operation.
pageNum := 0
err := client.ListTestExecutionResultItemsPages(params,
    func(page *lexmodelsv2.ListTestExecutionResultItemsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListTestExecutionResultItemsPagesWithContext added in v1.44.277

func (c *LexModelsV2) ListTestExecutionResultItemsPagesWithContext(ctx aws.Context, input *ListTestExecutionResultItemsInput, fn func(*ListTestExecutionResultItemsOutput, bool) bool, opts ...request.Option) error

ListTestExecutionResultItemsPagesWithContext same as ListTestExecutionResultItemsPages 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 (*LexModelsV2) ListTestExecutionResultItemsRequest added in v1.44.277

func (c *LexModelsV2) ListTestExecutionResultItemsRequest(input *ListTestExecutionResultItemsInput) (req *request.Request, output *ListTestExecutionResultItemsOutput)

ListTestExecutionResultItemsRequest generates a "aws/request.Request" representing the client's request for the ListTestExecutionResultItems 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 ListTestExecutionResultItems for more information on using the ListTestExecutionResultItems 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 ListTestExecutionResultItemsRequest method.
req, resp := client.ListTestExecutionResultItemsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionResultItems

func (*LexModelsV2) ListTestExecutionResultItemsWithContext added in v1.44.277

func (c *LexModelsV2) ListTestExecutionResultItemsWithContext(ctx aws.Context, input *ListTestExecutionResultItemsInput, opts ...request.Option) (*ListTestExecutionResultItemsOutput, error)

ListTestExecutionResultItemsWithContext is the same as ListTestExecutionResultItems with the addition of the ability to pass a context and additional request options.

See ListTestExecutionResultItems 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 (*LexModelsV2) ListTestExecutions added in v1.44.277

func (c *LexModelsV2) ListTestExecutions(input *ListTestExecutionsInput) (*ListTestExecutionsOutput, error)

ListTestExecutions API operation for Amazon Lex Model Building V2.

The list of test set executions.

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 V2's API operation ListTestExecutions for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutions

func (*LexModelsV2) ListTestExecutionsPages added in v1.44.277

func (c *LexModelsV2) ListTestExecutionsPages(input *ListTestExecutionsInput, fn func(*ListTestExecutionsOutput, bool) bool) error

ListTestExecutionsPages iterates over the pages of a ListTestExecutions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTestExecutions 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 ListTestExecutions operation.
pageNum := 0
err := client.ListTestExecutionsPages(params,
    func(page *lexmodelsv2.ListTestExecutionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListTestExecutionsPagesWithContext added in v1.44.277

func (c *LexModelsV2) ListTestExecutionsPagesWithContext(ctx aws.Context, input *ListTestExecutionsInput, fn func(*ListTestExecutionsOutput, bool) bool, opts ...request.Option) error

ListTestExecutionsPagesWithContext same as ListTestExecutionsPages 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 (*LexModelsV2) ListTestExecutionsRequest added in v1.44.277

func (c *LexModelsV2) ListTestExecutionsRequest(input *ListTestExecutionsInput) (req *request.Request, output *ListTestExecutionsOutput)

ListTestExecutionsRequest generates a "aws/request.Request" representing the client's request for the ListTestExecutions 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 ListTestExecutions for more information on using the ListTestExecutions 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 ListTestExecutionsRequest method.
req, resp := client.ListTestExecutionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutions

func (*LexModelsV2) ListTestExecutionsWithContext added in v1.44.277

func (c *LexModelsV2) ListTestExecutionsWithContext(ctx aws.Context, input *ListTestExecutionsInput, opts ...request.Option) (*ListTestExecutionsOutput, error)

ListTestExecutionsWithContext is the same as ListTestExecutions with the addition of the ability to pass a context and additional request options.

See ListTestExecutions 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 (*LexModelsV2) ListTestSetRecords added in v1.44.277

func (c *LexModelsV2) ListTestSetRecords(input *ListTestSetRecordsInput) (*ListTestSetRecordsOutput, error)

ListTestSetRecords API operation for Amazon Lex Model Building V2.

The list of test set records.

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 V2's API operation ListTestSetRecords for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetRecords

func (*LexModelsV2) ListTestSetRecordsPages added in v1.44.277

func (c *LexModelsV2) ListTestSetRecordsPages(input *ListTestSetRecordsInput, fn func(*ListTestSetRecordsOutput, bool) bool) error

ListTestSetRecordsPages iterates over the pages of a ListTestSetRecords operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTestSetRecords 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 ListTestSetRecords operation.
pageNum := 0
err := client.ListTestSetRecordsPages(params,
    func(page *lexmodelsv2.ListTestSetRecordsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListTestSetRecordsPagesWithContext added in v1.44.277

func (c *LexModelsV2) ListTestSetRecordsPagesWithContext(ctx aws.Context, input *ListTestSetRecordsInput, fn func(*ListTestSetRecordsOutput, bool) bool, opts ...request.Option) error

ListTestSetRecordsPagesWithContext same as ListTestSetRecordsPages 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 (*LexModelsV2) ListTestSetRecordsRequest added in v1.44.277

func (c *LexModelsV2) ListTestSetRecordsRequest(input *ListTestSetRecordsInput) (req *request.Request, output *ListTestSetRecordsOutput)

ListTestSetRecordsRequest generates a "aws/request.Request" representing the client's request for the ListTestSetRecords 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 ListTestSetRecords for more information on using the ListTestSetRecords 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 ListTestSetRecordsRequest method.
req, resp := client.ListTestSetRecordsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetRecords

func (*LexModelsV2) ListTestSetRecordsWithContext added in v1.44.277

func (c *LexModelsV2) ListTestSetRecordsWithContext(ctx aws.Context, input *ListTestSetRecordsInput, opts ...request.Option) (*ListTestSetRecordsOutput, error)

ListTestSetRecordsWithContext is the same as ListTestSetRecords with the addition of the ability to pass a context and additional request options.

See ListTestSetRecords 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 (*LexModelsV2) ListTestSets added in v1.44.277

func (c *LexModelsV2) ListTestSets(input *ListTestSetsInput) (*ListTestSetsOutput, error)

ListTestSets API operation for Amazon Lex Model Building V2.

The list of the test sets

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 V2's API operation ListTestSets for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSets

func (*LexModelsV2) ListTestSetsPages added in v1.44.277

func (c *LexModelsV2) ListTestSetsPages(input *ListTestSetsInput, fn func(*ListTestSetsOutput, bool) bool) error

ListTestSetsPages iterates over the pages of a ListTestSets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTestSets 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 ListTestSets operation.
pageNum := 0
err := client.ListTestSetsPages(params,
    func(page *lexmodelsv2.ListTestSetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LexModelsV2) ListTestSetsPagesWithContext added in v1.44.277

func (c *LexModelsV2) ListTestSetsPagesWithContext(ctx aws.Context, input *ListTestSetsInput, fn func(*ListTestSetsOutput, bool) bool, opts ...request.Option) error

ListTestSetsPagesWithContext same as ListTestSetsPages 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 (*LexModelsV2) ListTestSetsRequest added in v1.44.277

func (c *LexModelsV2) ListTestSetsRequest(input *ListTestSetsInput) (req *request.Request, output *ListTestSetsOutput)

ListTestSetsRequest generates a "aws/request.Request" representing the client's request for the ListTestSets 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 ListTestSets for more information on using the ListTestSets 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 ListTestSetsRequest method.
req, resp := client.ListTestSetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSets

func (*LexModelsV2) ListTestSetsWithContext added in v1.44.277

func (c *LexModelsV2) ListTestSetsWithContext(ctx aws.Context, input *ListTestSetsInput, opts ...request.Option) (*ListTestSetsOutput, error)

ListTestSetsWithContext is the same as ListTestSets with the addition of the ability to pass a context and additional request options.

See ListTestSets 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 (*LexModelsV2) SearchAssociatedTranscripts added in v1.42.17

func (c *LexModelsV2) SearchAssociatedTranscripts(input *SearchAssociatedTranscriptsInput) (*SearchAssociatedTranscriptsOutput, error)

SearchAssociatedTranscripts API operation for Amazon Lex Model Building V2.

Search for associated transcripts that meet the specified criteria.

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 V2's API operation SearchAssociatedTranscripts for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscripts

func (*LexModelsV2) SearchAssociatedTranscriptsRequest added in v1.42.17

func (c *LexModelsV2) SearchAssociatedTranscriptsRequest(input *SearchAssociatedTranscriptsInput) (req *request.Request, output *SearchAssociatedTranscriptsOutput)

SearchAssociatedTranscriptsRequest generates a "aws/request.Request" representing the client's request for the SearchAssociatedTranscripts 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 SearchAssociatedTranscripts for more information on using the SearchAssociatedTranscripts 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 SearchAssociatedTranscriptsRequest method.
req, resp := client.SearchAssociatedTranscriptsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscripts

func (*LexModelsV2) SearchAssociatedTranscriptsWithContext added in v1.42.17

func (c *LexModelsV2) SearchAssociatedTranscriptsWithContext(ctx aws.Context, input *SearchAssociatedTranscriptsInput, opts ...request.Option) (*SearchAssociatedTranscriptsOutput, error)

SearchAssociatedTranscriptsWithContext is the same as SearchAssociatedTranscripts with the addition of the ability to pass a context and additional request options.

See SearchAssociatedTranscripts 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 (*LexModelsV2) StartBotRecommendation added in v1.42.17

func (c *LexModelsV2) StartBotRecommendation(input *StartBotRecommendationInput) (*StartBotRecommendationOutput, error)

StartBotRecommendation API operation for Amazon Lex Model Building V2.

Use this to provide your transcript data, and to start the bot recommendation process.

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 V2's API operation StartBotRecommendation for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendation

func (*LexModelsV2) StartBotRecommendationRequest added in v1.42.17

func (c *LexModelsV2) StartBotRecommendationRequest(input *StartBotRecommendationInput) (req *request.Request, output *StartBotRecommendationOutput)

StartBotRecommendationRequest generates a "aws/request.Request" representing the client's request for the StartBotRecommendation 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 StartBotRecommendation for more information on using the StartBotRecommendation 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 StartBotRecommendationRequest method.
req, resp := client.StartBotRecommendationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendation

func (*LexModelsV2) StartBotRecommendationWithContext added in v1.42.17

func (c *LexModelsV2) StartBotRecommendationWithContext(ctx aws.Context, input *StartBotRecommendationInput, opts ...request.Option) (*StartBotRecommendationOutput, error)

StartBotRecommendationWithContext is the same as StartBotRecommendation with the addition of the ability to pass a context and additional request options.

See StartBotRecommendation 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 (*LexModelsV2) StartImport added in v1.38.42

func (c *LexModelsV2) StartImport(input *StartImportInput) (*StartImportOutput, error)

StartImport API operation for Amazon Lex Model Building V2.

Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.

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 V2's API operation StartImport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImport

func (*LexModelsV2) StartImportRequest added in v1.38.42

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/StartImport

func (*LexModelsV2) StartImportWithContext added in v1.38.42

func (c *LexModelsV2) 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 (*LexModelsV2) StartTestExecution added in v1.44.277

func (c *LexModelsV2) StartTestExecution(input *StartTestExecutionInput) (*StartTestExecutionOutput, error)

StartTestExecution API operation for Amazon Lex Model Building V2.

The action to start test set execution.

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 V2's API operation StartTestExecution for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestExecution

func (*LexModelsV2) StartTestExecutionRequest added in v1.44.277

func (c *LexModelsV2) StartTestExecutionRequest(input *StartTestExecutionInput) (req *request.Request, output *StartTestExecutionOutput)

StartTestExecutionRequest generates a "aws/request.Request" representing the client's request for the StartTestExecution 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 StartTestExecution for more information on using the StartTestExecution 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 StartTestExecutionRequest method.
req, resp := client.StartTestExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestExecution

func (*LexModelsV2) StartTestExecutionWithContext added in v1.44.277

func (c *LexModelsV2) StartTestExecutionWithContext(ctx aws.Context, input *StartTestExecutionInput, opts ...request.Option) (*StartTestExecutionOutput, error)

StartTestExecutionWithContext is the same as StartTestExecution with the addition of the ability to pass a context and additional request options.

See StartTestExecution 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 (*LexModelsV2) StartTestSetGeneration added in v1.44.277

func (c *LexModelsV2) StartTestSetGeneration(input *StartTestSetGenerationInput) (*StartTestSetGenerationOutput, error)

StartTestSetGeneration API operation for Amazon Lex Model Building V2.

The action to start the generation of test set.

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 V2's API operation StartTestSetGeneration for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestSetGeneration

func (*LexModelsV2) StartTestSetGenerationRequest added in v1.44.277

func (c *LexModelsV2) StartTestSetGenerationRequest(input *StartTestSetGenerationInput) (req *request.Request, output *StartTestSetGenerationOutput)

StartTestSetGenerationRequest generates a "aws/request.Request" representing the client's request for the StartTestSetGeneration 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 StartTestSetGeneration for more information on using the StartTestSetGeneration 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 StartTestSetGenerationRequest method.
req, resp := client.StartTestSetGenerationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestSetGeneration

func (*LexModelsV2) StartTestSetGenerationWithContext added in v1.44.277

func (c *LexModelsV2) StartTestSetGenerationWithContext(ctx aws.Context, input *StartTestSetGenerationInput, opts ...request.Option) (*StartTestSetGenerationOutput, error)

StartTestSetGenerationWithContext is the same as StartTestSetGeneration with the addition of the ability to pass a context and additional request options.

See StartTestSetGeneration 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 (*LexModelsV2) StopBotRecommendation added in v1.44.82

func (c *LexModelsV2) StopBotRecommendation(input *StopBotRecommendationInput) (*StopBotRecommendationOutput, error)

StopBotRecommendation API operation for Amazon Lex Model Building V2.

Stop an already running Bot Recommendation request.

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 V2's API operation StopBotRecommendation for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StopBotRecommendation

func (*LexModelsV2) StopBotRecommendationRequest added in v1.44.82

func (c *LexModelsV2) StopBotRecommendationRequest(input *StopBotRecommendationInput) (req *request.Request, output *StopBotRecommendationOutput)

StopBotRecommendationRequest generates a "aws/request.Request" representing the client's request for the StopBotRecommendation 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 StopBotRecommendation for more information on using the StopBotRecommendation 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 StopBotRecommendationRequest method.
req, resp := client.StopBotRecommendationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StopBotRecommendation

func (*LexModelsV2) StopBotRecommendationWithContext added in v1.44.82

func (c *LexModelsV2) StopBotRecommendationWithContext(ctx aws.Context, input *StopBotRecommendationInput, opts ...request.Option) (*StopBotRecommendationOutput, error)

StopBotRecommendationWithContext is the same as StopBotRecommendation with the addition of the ability to pass a context and additional request options.

See StopBotRecommendation 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 (*LexModelsV2) TagResource

func (c *LexModelsV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Lex Model Building V2.

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 V2's API operation TagResource for usage and error information.

Returned Error Types:

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResource

func (*LexModelsV2) TagResourceRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/TagResource

func (*LexModelsV2) TagResourceWithContext

func (c *LexModelsV2) 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 (*LexModelsV2) UntagResource

func (c *LexModelsV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Lex Model Building V2.

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 V2's API operation UntagResource for usage and error information.

Returned Error Types:

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UntagResource

func (*LexModelsV2) UntagResourceRequest

func (c *LexModelsV2) 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/models.lex.v2-2020-08-07/UntagResource

func (*LexModelsV2) UntagResourceWithContext

func (c *LexModelsV2) 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.

func (*LexModelsV2) UpdateBot

func (c *LexModelsV2) UpdateBot(input *UpdateBotInput) (*UpdateBotOutput, error)

UpdateBot API operation for Amazon Lex Model Building V2.

Updates the configuration of an existing bot.

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 V2's API operation UpdateBot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBot

func (*LexModelsV2) UpdateBotAlias

func (c *LexModelsV2) UpdateBotAlias(input *UpdateBotAliasInput) (*UpdateBotAliasOutput, error)

UpdateBotAlias API operation for Amazon Lex Model Building V2.

Updates the configuration of an existing bot alias.

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 V2's API operation UpdateBotAlias for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotAlias

func (*LexModelsV2) UpdateBotAliasRequest

func (c *LexModelsV2) UpdateBotAliasRequest(input *UpdateBotAliasInput) (req *request.Request, output *UpdateBotAliasOutput)

UpdateBotAliasRequest generates a "aws/request.Request" representing the client's request for the UpdateBotAlias 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 UpdateBotAlias for more information on using the UpdateBotAlias 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 UpdateBotAliasRequest method.
req, resp := client.UpdateBotAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotAlias

func (*LexModelsV2) UpdateBotAliasWithContext

func (c *LexModelsV2) UpdateBotAliasWithContext(ctx aws.Context, input *UpdateBotAliasInput, opts ...request.Option) (*UpdateBotAliasOutput, error)

UpdateBotAliasWithContext is the same as UpdateBotAlias with the addition of the ability to pass a context and additional request options.

See UpdateBotAlias 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 (*LexModelsV2) UpdateBotLocale

func (c *LexModelsV2) UpdateBotLocale(input *UpdateBotLocaleInput) (*UpdateBotLocaleOutput, error)

UpdateBotLocale API operation for Amazon Lex Model Building V2.

Updates the settings that a bot has for a specific locale.

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 V2's API operation UpdateBotLocale for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale

func (*LexModelsV2) UpdateBotLocaleRequest

func (c *LexModelsV2) UpdateBotLocaleRequest(input *UpdateBotLocaleInput) (req *request.Request, output *UpdateBotLocaleOutput)

UpdateBotLocaleRequest generates a "aws/request.Request" representing the client's request for the UpdateBotLocale 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 UpdateBotLocale for more information on using the UpdateBotLocale 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 UpdateBotLocaleRequest method.
req, resp := client.UpdateBotLocaleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale

func (*LexModelsV2) UpdateBotLocaleWithContext

func (c *LexModelsV2) UpdateBotLocaleWithContext(ctx aws.Context, input *UpdateBotLocaleInput, opts ...request.Option) (*UpdateBotLocaleOutput, error)

UpdateBotLocaleWithContext is the same as UpdateBotLocale with the addition of the ability to pass a context and additional request options.

See UpdateBotLocale 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 (*LexModelsV2) UpdateBotRecommendation added in v1.42.17

func (c *LexModelsV2) UpdateBotRecommendation(input *UpdateBotRecommendationInput) (*UpdateBotRecommendationOutput, error)

UpdateBotRecommendation API operation for Amazon Lex Model Building V2.

Updates an existing bot recommendation request.

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 V2's API operation UpdateBotRecommendation for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendation

func (*LexModelsV2) UpdateBotRecommendationRequest added in v1.42.17

func (c *LexModelsV2) UpdateBotRecommendationRequest(input *UpdateBotRecommendationInput) (req *request.Request, output *UpdateBotRecommendationOutput)

UpdateBotRecommendationRequest generates a "aws/request.Request" representing the client's request for the UpdateBotRecommendation 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 UpdateBotRecommendation for more information on using the UpdateBotRecommendation 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 UpdateBotRecommendationRequest method.
req, resp := client.UpdateBotRecommendationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendation

func (*LexModelsV2) UpdateBotRecommendationWithContext added in v1.42.17

func (c *LexModelsV2) UpdateBotRecommendationWithContext(ctx aws.Context, input *UpdateBotRecommendationInput, opts ...request.Option) (*UpdateBotRecommendationOutput, error)

UpdateBotRecommendationWithContext is the same as UpdateBotRecommendation with the addition of the ability to pass a context and additional request options.

See UpdateBotRecommendation 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 (*LexModelsV2) UpdateBotRequest

func (c *LexModelsV2) UpdateBotRequest(input *UpdateBotInput) (req *request.Request, output *UpdateBotOutput)

UpdateBotRequest generates a "aws/request.Request" representing the client's request for the UpdateBot 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 UpdateBot for more information on using the UpdateBot 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 UpdateBotRequest method.
req, resp := client.UpdateBotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBot

func (*LexModelsV2) UpdateBotWithContext

func (c *LexModelsV2) UpdateBotWithContext(ctx aws.Context, input *UpdateBotInput, opts ...request.Option) (*UpdateBotOutput, error)

UpdateBotWithContext is the same as UpdateBot with the addition of the ability to pass a context and additional request options.

See UpdateBot 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 (*LexModelsV2) UpdateExport added in v1.38.42

func (c *LexModelsV2) UpdateExport(input *UpdateExportInput) (*UpdateExportOutput, error)

UpdateExport API operation for Amazon Lex Model Building V2.

Updates the password used to protect an export zip archive.

The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html) 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 V2's API operation UpdateExport for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateExport

func (*LexModelsV2) UpdateExportRequest added in v1.38.42

func (c *LexModelsV2) UpdateExportRequest(input *UpdateExportInput) (req *request.Request, output *UpdateExportOutput)

UpdateExportRequest generates a "aws/request.Request" representing the client's request for the UpdateExport 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 UpdateExport for more information on using the UpdateExport 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 UpdateExportRequest method.
req, resp := client.UpdateExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateExport

func (*LexModelsV2) UpdateExportWithContext added in v1.38.42

func (c *LexModelsV2) UpdateExportWithContext(ctx aws.Context, input *UpdateExportInput, opts ...request.Option) (*UpdateExportOutput, error)

UpdateExportWithContext is the same as UpdateExport with the addition of the ability to pass a context and additional request options.

See UpdateExport 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 (*LexModelsV2) UpdateIntent

func (c *LexModelsV2) UpdateIntent(input *UpdateIntentInput) (*UpdateIntentOutput, error)

UpdateIntent API operation for Amazon Lex Model Building V2.

Updates the settings for an intent.

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 V2's API operation UpdateIntent for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent

func (*LexModelsV2) UpdateIntentRequest

func (c *LexModelsV2) UpdateIntentRequest(input *UpdateIntentInput) (req *request.Request, output *UpdateIntentOutput)

UpdateIntentRequest generates a "aws/request.Request" representing the client's request for the UpdateIntent 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 UpdateIntent for more information on using the UpdateIntent 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 UpdateIntentRequest method.
req, resp := client.UpdateIntentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent

func (*LexModelsV2) UpdateIntentWithContext

func (c *LexModelsV2) UpdateIntentWithContext(ctx aws.Context, input *UpdateIntentInput, opts ...request.Option) (*UpdateIntentOutput, error)

UpdateIntentWithContext is the same as UpdateIntent with the addition of the ability to pass a context and additional request options.

See UpdateIntent 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 (*LexModelsV2) UpdateResourcePolicy added in v1.38.44

func (c *LexModelsV2) UpdateResourcePolicy(input *UpdateResourcePolicyInput) (*UpdateResourcePolicyOutput, error)

UpdateResourcePolicy API operation for Amazon Lex Model Building V2.

Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.

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 V2's API operation UpdateResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateResourcePolicy

func (*LexModelsV2) UpdateResourcePolicyRequest added in v1.38.44

func (c *LexModelsV2) UpdateResourcePolicyRequest(input *UpdateResourcePolicyInput) (req *request.Request, output *UpdateResourcePolicyOutput)

UpdateResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the UpdateResourcePolicy 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 UpdateResourcePolicy for more information on using the UpdateResourcePolicy 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 UpdateResourcePolicyRequest method.
req, resp := client.UpdateResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateResourcePolicy

func (*LexModelsV2) UpdateResourcePolicyWithContext added in v1.38.44

func (c *LexModelsV2) UpdateResourcePolicyWithContext(ctx aws.Context, input *UpdateResourcePolicyInput, opts ...request.Option) (*UpdateResourcePolicyOutput, error)

UpdateResourcePolicyWithContext is the same as UpdateResourcePolicy with the addition of the ability to pass a context and additional request options.

See UpdateResourcePolicy 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 (*LexModelsV2) UpdateSlot

func (c *LexModelsV2) UpdateSlot(input *UpdateSlotInput) (*UpdateSlotOutput, error)

UpdateSlot API operation for Amazon Lex Model Building V2.

Updates the settings for a slot.

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 V2's API operation UpdateSlot for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot

func (*LexModelsV2) UpdateSlotRequest

func (c *LexModelsV2) UpdateSlotRequest(input *UpdateSlotInput) (req *request.Request, output *UpdateSlotOutput)

UpdateSlotRequest generates a "aws/request.Request" representing the client's request for the UpdateSlot 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 UpdateSlot for more information on using the UpdateSlot 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 UpdateSlotRequest method.
req, resp := client.UpdateSlotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot

func (*LexModelsV2) UpdateSlotType

func (c *LexModelsV2) UpdateSlotType(input *UpdateSlotTypeInput) (*UpdateSlotTypeOutput, error)

UpdateSlotType API operation for Amazon Lex Model Building V2.

Updates the configuration of an existing slot type.

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 V2's API operation UpdateSlotType for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotType

func (*LexModelsV2) UpdateSlotTypeRequest

func (c *LexModelsV2) UpdateSlotTypeRequest(input *UpdateSlotTypeInput) (req *request.Request, output *UpdateSlotTypeOutput)

UpdateSlotTypeRequest generates a "aws/request.Request" representing the client's request for the UpdateSlotType 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 UpdateSlotType for more information on using the UpdateSlotType 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 UpdateSlotTypeRequest method.
req, resp := client.UpdateSlotTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotType

func (*LexModelsV2) UpdateSlotTypeWithContext

func (c *LexModelsV2) UpdateSlotTypeWithContext(ctx aws.Context, input *UpdateSlotTypeInput, opts ...request.Option) (*UpdateSlotTypeOutput, error)

UpdateSlotTypeWithContext is the same as UpdateSlotType with the addition of the ability to pass a context and additional request options.

See UpdateSlotType 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 (*LexModelsV2) UpdateSlotWithContext

func (c *LexModelsV2) UpdateSlotWithContext(ctx aws.Context, input *UpdateSlotInput, opts ...request.Option) (*UpdateSlotOutput, error)

UpdateSlotWithContext is the same as UpdateSlot with the addition of the ability to pass a context and additional request options.

See UpdateSlot 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 (*LexModelsV2) UpdateTestSet added in v1.44.277

func (c *LexModelsV2) UpdateTestSet(input *UpdateTestSetInput) (*UpdateTestSetOutput, error)

UpdateTestSet API operation for Amazon Lex Model Building V2.

The action to update the test set.

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 V2's API operation UpdateTestSet for usage and error information.

Returned Error Types:

  • ThrottlingException Your request rate is too high. Reduce the frequency of requests.

  • ServiceQuotaExceededException You have reached a quota for your bot.

  • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.

  • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.

  • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.

  • InternalServerException The service encountered an unexpected condition. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateTestSet

func (*LexModelsV2) UpdateTestSetRequest added in v1.44.277

func (c *LexModelsV2) UpdateTestSetRequest(input *UpdateTestSetInput) (req *request.Request, output *UpdateTestSetOutput)

UpdateTestSetRequest generates a "aws/request.Request" representing the client's request for the UpdateTestSet 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 UpdateTestSet for more information on using the UpdateTestSet 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 UpdateTestSetRequest method.
req, resp := client.UpdateTestSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateTestSet

func (*LexModelsV2) UpdateTestSetWithContext added in v1.44.277

func (c *LexModelsV2) UpdateTestSetWithContext(ctx aws.Context, input *UpdateTestSetInput, opts ...request.Option) (*UpdateTestSetOutput, error)

UpdateTestSetWithContext is the same as UpdateTestSet with the addition of the ability to pass a context and additional request options.

See UpdateTestSet 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 (*LexModelsV2) WaitUntilBotAliasAvailable added in v1.40.9

func (c *LexModelsV2) WaitUntilBotAliasAvailable(input *DescribeBotAliasInput) error

WaitUntilBotAliasAvailable uses the Lex Models V2 API operation DescribeBotAlias to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotAliasAvailableWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotAliasAvailableWithContext(ctx aws.Context, input *DescribeBotAliasInput, opts ...request.WaiterOption) error

WaitUntilBotAliasAvailableWithContext is an extended version of WaitUntilBotAliasAvailable. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotAvailable added in v1.40.9

func (c *LexModelsV2) WaitUntilBotAvailable(input *DescribeBotInput) error

WaitUntilBotAvailable uses the Lex Models V2 API operation DescribeBot to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotAvailableWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotAvailableWithContext(ctx aws.Context, input *DescribeBotInput, opts ...request.WaiterOption) error

WaitUntilBotAvailableWithContext is an extended version of WaitUntilBotAvailable. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotExportCompleted added in v1.40.9

func (c *LexModelsV2) WaitUntilBotExportCompleted(input *DescribeExportInput) error

WaitUntilBotExportCompleted uses the Lex Models V2 API operation DescribeExport to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotExportCompletedWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotExportCompletedWithContext(ctx aws.Context, input *DescribeExportInput, opts ...request.WaiterOption) error

WaitUntilBotExportCompletedWithContext is an extended version of WaitUntilBotExportCompleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotImportCompleted added in v1.40.9

func (c *LexModelsV2) WaitUntilBotImportCompleted(input *DescribeImportInput) error

WaitUntilBotImportCompleted uses the Lex Models V2 API operation DescribeImport to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotImportCompletedWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotImportCompletedWithContext(ctx aws.Context, input *DescribeImportInput, opts ...request.WaiterOption) error

WaitUntilBotImportCompletedWithContext is an extended version of WaitUntilBotImportCompleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotLocaleBuilt added in v1.40.9

func (c *LexModelsV2) WaitUntilBotLocaleBuilt(input *DescribeBotLocaleInput) error

WaitUntilBotLocaleBuilt uses the Lex Models V2 API operation DescribeBotLocale to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotLocaleBuiltWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotLocaleBuiltWithContext(ctx aws.Context, input *DescribeBotLocaleInput, opts ...request.WaiterOption) error

WaitUntilBotLocaleBuiltWithContext is an extended version of WaitUntilBotLocaleBuilt. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotLocaleCreated added in v1.40.9

func (c *LexModelsV2) WaitUntilBotLocaleCreated(input *DescribeBotLocaleInput) error

WaitUntilBotLocaleCreated uses the Lex Models V2 API operation DescribeBotLocale to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotLocaleCreatedWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotLocaleCreatedWithContext(ctx aws.Context, input *DescribeBotLocaleInput, opts ...request.WaiterOption) error

WaitUntilBotLocaleCreatedWithContext is an extended version of WaitUntilBotLocaleCreated. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotLocaleExpressTestingAvailable added in v1.40.9

func (c *LexModelsV2) WaitUntilBotLocaleExpressTestingAvailable(input *DescribeBotLocaleInput) error

WaitUntilBotLocaleExpressTestingAvailable uses the Lex Models V2 API operation DescribeBotLocale to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotLocaleExpressTestingAvailableWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotLocaleExpressTestingAvailableWithContext(ctx aws.Context, input *DescribeBotLocaleInput, opts ...request.WaiterOption) error

WaitUntilBotLocaleExpressTestingAvailableWithContext is an extended version of WaitUntilBotLocaleExpressTestingAvailable. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*LexModelsV2) WaitUntilBotVersionAvailable added in v1.40.9

func (c *LexModelsV2) WaitUntilBotVersionAvailable(input *DescribeBotVersionInput) error

WaitUntilBotVersionAvailable uses the Lex Models V2 API operation DescribeBotVersion to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*LexModelsV2) WaitUntilBotVersionAvailableWithContext added in v1.40.9

func (c *LexModelsV2) WaitUntilBotVersionAvailableWithContext(ctx aws.Context, input *DescribeBotVersionInput, opts ...request.WaiterOption) error

WaitUntilBotVersionAvailableWithContext is an extended version of WaitUntilBotVersionAvailable. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 LexTranscriptFilter added in v1.42.17

type LexTranscriptFilter struct {

	// The object that contains a date range filter that will be applied to the
	// transcript. Specify this object if you want Amazon Lex to only read the files
	// that are within the date range.
	DateRangeFilter *DateRangeFilter `locationName:"dateRangeFilter" type:"structure"`
	// contains filtered or unexported fields
}

The object that contains transcript filter details that are associated with a bot recommendation.

func (LexTranscriptFilter) GoString added in v1.42.17

func (s LexTranscriptFilter) 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 (*LexTranscriptFilter) SetDateRangeFilter added in v1.42.17

func (s *LexTranscriptFilter) SetDateRangeFilter(v *DateRangeFilter) *LexTranscriptFilter

SetDateRangeFilter sets the DateRangeFilter field's value.

func (LexTranscriptFilter) String added in v1.42.17

func (s LexTranscriptFilter) 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 (*LexTranscriptFilter) Validate added in v1.42.17

func (s *LexTranscriptFilter) Validate() error

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

type ListAggregatedUtterancesInput added in v1.40.47

type ListAggregatedUtterancesInput struct {

	// The time window for aggregating the utterance information. You can specify
	// a time between one hour and two weeks.
	//
	// AggregationDuration is a required field
	AggregationDuration *UtteranceAggregationDuration `locationName:"aggregationDuration" type:"structure" required:"true"`

	// The identifier of the bot alias associated with this request. If you specify
	// the bot alias, you can't specify the bot version.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// The unique identifier of the bot associated with this request.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the bot version associated with this request. If you specify
	// the bot version, you can't specify the bot alias.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Provides the specification of a filter used to limit the utterances in the
	// response to only those that match the filter specification. You can only
	// specify one filter and one string to filter on.
	Filters []*AggregatedUtterancesFilter `locationName:"filters" min:"1" type:"list"`

	// The identifier of the language and locale where the utterances were collected.
	// For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`

	// The maximum number of utterances to return in each page of results. If there
	// are fewer results than the maximum page size, only the actual number of results
	// are returned. If you don't specify the maxResults parameter, 1,000 results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListAggregatedUtterances operation contains more
	// results that specified in the maxResults parameter, a token is returned in
	// the response. Use that token in the nextToken parameter to return the next
	// page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies sorting parameters for the list of utterances. You can sort by
	// the hit count, the missed count, or the number of distinct sessions the utterance
	// appeared in.
	SortBy *AggregatedUtterancesSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListAggregatedUtterancesInput) GoString added in v1.40.47

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 (*ListAggregatedUtterancesInput) SetAggregationDuration added in v1.40.47

SetAggregationDuration sets the AggregationDuration field's value.

func (*ListAggregatedUtterancesInput) SetBotAliasId added in v1.40.47

SetBotAliasId sets the BotAliasId field's value.

func (*ListAggregatedUtterancesInput) SetBotId added in v1.40.47

SetBotId sets the BotId field's value.

func (*ListAggregatedUtterancesInput) SetBotVersion added in v1.40.47

SetBotVersion sets the BotVersion field's value.

func (*ListAggregatedUtterancesInput) SetFilters added in v1.40.47

SetFilters sets the Filters field's value.

func (*ListAggregatedUtterancesInput) SetLocaleId added in v1.40.47

SetLocaleId sets the LocaleId field's value.

func (*ListAggregatedUtterancesInput) SetMaxResults added in v1.40.47

SetMaxResults sets the MaxResults field's value.

func (*ListAggregatedUtterancesInput) SetNextToken added in v1.40.47

SetNextToken sets the NextToken field's value.

func (*ListAggregatedUtterancesInput) SetSortBy added in v1.40.47

SetSortBy sets the SortBy field's value.

func (ListAggregatedUtterancesInput) String added in v1.40.47

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 (*ListAggregatedUtterancesInput) Validate added in v1.40.47

func (s *ListAggregatedUtterancesInput) Validate() error

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

type ListAggregatedUtterancesOutput added in v1.40.47

type ListAggregatedUtterancesOutput struct {

	// Summaries of the aggregated utterance data. Each response contains information
	// about the number of times that the utterance was seen during the time period,
	// whether it was detected or missed, and when it was seen during the time period.
	AggregatedUtterancesSummaries []*AggregatedUtterancesSummary `locationName:"aggregatedUtterancesSummaries" type:"list"`

	// The time period used to aggregate the utterance data.
	AggregationDuration *UtteranceAggregationDuration `locationName:"aggregationDuration" type:"structure"`

	// The last date and time that the aggregated data was collected. The time period
	// depends on the length of the aggregation window.
	//
	//    * Hours - for 1 hour time window, every half hour; otherwise every hour.
	//
	//    * Days - every 6 hours
	//
	//    * Weeks - for a one week time window, every 12 hours; otherwise, every
	//    day
	AggregationLastRefreshedDateTime *time.Time `locationName:"aggregationLastRefreshedDateTime" type:"timestamp"`

	// The date and time that the aggregation window ends. Only data collected between
	// the start time and the end time are returned in the results.
	AggregationWindowEndTime *time.Time `locationName:"aggregationWindowEndTime" type:"timestamp"`

	// The date and time that the aggregation window begins. Only data collected
	// after this time is returned in the results.
	AggregationWindowStartTime *time.Time `locationName:"aggregationWindowStartTime" type:"timestamp"`

	// The identifier of the bot alias that contains the utterances. If you specified
	// the bot version, the bot alias ID isn't returned.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// The identifier of the bot that contains the utterances.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the bot version that contains the utterances. If you specified
	// the bot alias, the bot version isn't returned.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The identifier of the language and locale that the utterances are in.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListAggregatedUtterances operation. If the nextToken field is present,
	// you send the contents as the nextToken parameter of a ListAggregatedUtterances
	// operation request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAggregatedUtterancesOutput) GoString added in v1.40.47

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 (*ListAggregatedUtterancesOutput) SetAggregatedUtterancesSummaries added in v1.40.47

SetAggregatedUtterancesSummaries sets the AggregatedUtterancesSummaries field's value.

func (*ListAggregatedUtterancesOutput) SetAggregationDuration added in v1.40.47

SetAggregationDuration sets the AggregationDuration field's value.

func (*ListAggregatedUtterancesOutput) SetAggregationLastRefreshedDateTime added in v1.40.47

func (s *ListAggregatedUtterancesOutput) SetAggregationLastRefreshedDateTime(v time.Time) *ListAggregatedUtterancesOutput

SetAggregationLastRefreshedDateTime sets the AggregationLastRefreshedDateTime field's value.

func (*ListAggregatedUtterancesOutput) SetAggregationWindowEndTime added in v1.40.47

func (s *ListAggregatedUtterancesOutput) SetAggregationWindowEndTime(v time.Time) *ListAggregatedUtterancesOutput

SetAggregationWindowEndTime sets the AggregationWindowEndTime field's value.

func (*ListAggregatedUtterancesOutput) SetAggregationWindowStartTime added in v1.40.47

func (s *ListAggregatedUtterancesOutput) SetAggregationWindowStartTime(v time.Time) *ListAggregatedUtterancesOutput

SetAggregationWindowStartTime sets the AggregationWindowStartTime field's value.

func (*ListAggregatedUtterancesOutput) SetBotAliasId added in v1.40.47

SetBotAliasId sets the BotAliasId field's value.

func (*ListAggregatedUtterancesOutput) SetBotId added in v1.40.47

SetBotId sets the BotId field's value.

func (*ListAggregatedUtterancesOutput) SetBotVersion added in v1.40.47

SetBotVersion sets the BotVersion field's value.

func (*ListAggregatedUtterancesOutput) SetLocaleId added in v1.40.47

SetLocaleId sets the LocaleId field's value.

func (*ListAggregatedUtterancesOutput) SetNextToken added in v1.40.47

SetNextToken sets the NextToken field's value.

func (ListAggregatedUtterancesOutput) String added in v1.40.47

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 ListBotAliasesInput

type ListBotAliasesInput struct {

	// The identifier of the bot to list aliases for.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The maximum number of aliases to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListBotAliases operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotAliasesInput) GoString

func (s ListBotAliasesInput) 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 (*ListBotAliasesInput) SetBotId

SetBotId sets the BotId field's value.

func (*ListBotAliasesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListBotAliasesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListBotAliasesInput) String

func (s ListBotAliasesInput) 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 (*ListBotAliasesInput) Validate

func (s *ListBotAliasesInput) Validate() error

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

type ListBotAliasesOutput

type ListBotAliasesOutput struct {

	// Summary information for the bot aliases that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more aliases available, the nextToken field
	// contains a token to get the next page of results.
	BotAliasSummaries []*BotAliasSummary `locationName:"botAliasSummaries" type:"list"`

	// The identifier of the bot associated with the aliases.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListBotAliases operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListBotAliases operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotAliasesOutput) GoString

func (s ListBotAliasesOutput) 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 (*ListBotAliasesOutput) SetBotAliasSummaries

func (s *ListBotAliasesOutput) SetBotAliasSummaries(v []*BotAliasSummary) *ListBotAliasesOutput

SetBotAliasSummaries sets the BotAliasSummaries field's value.

func (*ListBotAliasesOutput) SetBotId

SetBotId sets the BotId field's value.

func (*ListBotAliasesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListBotAliasesOutput) String

func (s ListBotAliasesOutput) 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 ListBotLocalesInput

type ListBotLocalesInput struct {

	// The identifier of the bot to list locales for.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot to list locales for.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// Provides the specification for a filter used to limit the response to only
	// those locales that match the filter specification. You can only specify one
	// filter and one value to filter on.
	Filters []*BotLocaleFilter `locationName:"filters" min:"1" type:"list"`

	// The maximum number of aliases to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListBotLocales operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	// Use that token as the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies sorting parameters for the list of locales. You can sort by locale
	// name in ascending or descending order.
	SortBy *BotLocaleSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListBotLocalesInput) GoString

func (s ListBotLocalesInput) 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 (*ListBotLocalesInput) SetBotId

SetBotId sets the BotId field's value.

func (*ListBotLocalesInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListBotLocalesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListBotLocalesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListBotLocalesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListBotLocalesInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListBotLocalesInput) String

func (s ListBotLocalesInput) 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 (*ListBotLocalesInput) Validate

func (s *ListBotLocalesInput) Validate() error

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

type ListBotLocalesOutput

type ListBotLocalesOutput struct {

	// The identifier of the bot to list locales for.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// Summary information for the locales that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more locales available, the nextToken field
	// contains a token to get the next page of results.
	BotLocaleSummaries []*BotLocaleSummary `locationName:"botLocaleSummaries" type:"list"`

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

	// A token that indicates whether there are more results to return in a response
	// to the ListBotLocales operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListBotLocales operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotLocalesOutput) GoString

func (s ListBotLocalesOutput) 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 (*ListBotLocalesOutput) SetBotId

SetBotId sets the BotId field's value.

func (*ListBotLocalesOutput) SetBotLocaleSummaries

func (s *ListBotLocalesOutput) SetBotLocaleSummaries(v []*BotLocaleSummary) *ListBotLocalesOutput

SetBotLocaleSummaries sets the BotLocaleSummaries field's value.

func (*ListBotLocalesOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListBotLocalesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListBotLocalesOutput) String

func (s ListBotLocalesOutput) 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 ListBotRecommendationsInput added in v1.42.17

type ListBotRecommendationsInput struct {

	// The unique identifier of the bot that contains the bot recommendation list.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the bot recommendation list.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale of the bot recommendation list.
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of bot recommendations to return in each page of results.
	// If there are fewer results than the max page size, only the actual number
	// of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListBotRecommendation operation contains more results
	// than specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotRecommendationsInput) GoString added in v1.42.17

func (s ListBotRecommendationsInput) 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 (*ListBotRecommendationsInput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*ListBotRecommendationsInput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*ListBotRecommendationsInput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*ListBotRecommendationsInput) SetMaxResults added in v1.42.17

SetMaxResults sets the MaxResults field's value.

func (*ListBotRecommendationsInput) SetNextToken added in v1.42.17

SetNextToken sets the NextToken field's value.

func (ListBotRecommendationsInput) String added in v1.42.17

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 (*ListBotRecommendationsInput) Validate added in v1.42.17

func (s *ListBotRecommendationsInput) Validate() error

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

type ListBotRecommendationsOutput added in v1.42.17

type ListBotRecommendationsOutput struct {

	// The unique identifier of the bot that contains the bot recommendation list.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// Summary information for the bot recommendations that meet the filter specified
	// in this request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more bot recommendations available, the nextToken
	// field contains a token to get the next page of results.
	BotRecommendationSummaries []*BotRecommendationSummary `locationName:"botRecommendationSummaries" type:"list"`

	// The version of the bot that contains the bot recommendation list.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The identifier of the language and locale of the bot recommendation list.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListBotRecommendations operation. If the nextToken field is present,
	// you send the contents as the nextToken parameter of a ListBotRecommendations
	// operation request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotRecommendationsOutput) GoString added in v1.42.17

func (s ListBotRecommendationsOutput) 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 (*ListBotRecommendationsOutput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*ListBotRecommendationsOutput) SetBotRecommendationSummaries added in v1.42.17

SetBotRecommendationSummaries sets the BotRecommendationSummaries field's value.

func (*ListBotRecommendationsOutput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*ListBotRecommendationsOutput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*ListBotRecommendationsOutput) SetNextToken added in v1.42.17

SetNextToken sets the NextToken field's value.

func (ListBotRecommendationsOutput) String added in v1.42.17

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 ListBotVersionsInput

type ListBotVersionsInput struct {

	// The identifier of the bot to list versions for.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The maximum number of versions to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response to the ListBotVersion operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies sorting parameters for the list of versions. You can specify that
	// the list be sorted by version name in either ascending or descending order.
	SortBy *BotVersionSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListBotVersionsInput) GoString

func (s ListBotVersionsInput) 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 (*ListBotVersionsInput) SetBotId

SetBotId sets the BotId field's value.

func (*ListBotVersionsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListBotVersionsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListBotVersionsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListBotVersionsInput) String

func (s ListBotVersionsInput) 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 (*ListBotVersionsInput) Validate

func (s *ListBotVersionsInput) Validate() error

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

type ListBotVersionsOutput

type ListBotVersionsOutput struct {

	// The identifier of the bot to list versions for.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// Summary information for the bot versions that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more versions available, the nextToken field
	// contains a token to get the next page of results.
	BotVersionSummaries []*BotVersionSummary `locationName:"botVersionSummaries" type:"list"`

	// A token that indicates whether there are more results to return in a response
	// to the ListBotVersions operation. If the nextToken field is present, you
	// send the contents as the nextToken parameter of a ListBotAliases operation
	// request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotVersionsOutput) GoString

func (s ListBotVersionsOutput) 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 (*ListBotVersionsOutput) SetBotId

SetBotId sets the BotId field's value.

func (*ListBotVersionsOutput) SetBotVersionSummaries

func (s *ListBotVersionsOutput) SetBotVersionSummaries(v []*BotVersionSummary) *ListBotVersionsOutput

SetBotVersionSummaries sets the BotVersionSummaries field's value.

func (*ListBotVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBotVersionsOutput) String

func (s ListBotVersionsOutput) 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 ListBotsInput

type ListBotsInput struct {

	// Provides the specification of a filter used to limit the bots in the response
	// to only those that match the filter specification. You can only specify one
	// filter and one string to filter on.
	Filters []*BotFilter `locationName:"filters" min:"1" type:"list"`

	// The maximum number of bots to return in each page of results. If there are
	// fewer results than the maximum page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListBots operation contains more results than specified
	// in the maxResults parameter, a token is returned in the response.
	//
	// Use the returned token in the nextToken parameter of a ListBots request to
	// return the next page of results. For a complete set of results, call the
	// ListBots operation until the nextToken returned in the response is null.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies sorting parameters for the list of bots. You can specify that the
	// list be sorted by bot name in ascending or descending order.
	SortBy *BotSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListBotsInput) GoString

func (s ListBotsInput) 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 (*ListBotsInput) SetFilters

func (s *ListBotsInput) SetFilters(v []*BotFilter) *ListBotsInput

SetFilters sets the Filters field's value.

func (*ListBotsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListBotsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListBotsInput) SetSortBy

func (s *ListBotsInput) SetSortBy(v *BotSortBy) *ListBotsInput

SetSortBy sets the SortBy field's value.

func (ListBotsInput) String

func (s ListBotsInput) 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 (*ListBotsInput) Validate

func (s *ListBotsInput) Validate() error

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

type ListBotsOutput

type ListBotsOutput struct {

	// Summary information for the bots that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more bots available, the nextToken field contains
	// a token to the next page of results.
	BotSummaries []*BotSummary `locationName:"botSummaries" type:"list"`

	// A token that indicates whether there are more results to return in a response
	// to the ListBots operation. If the nextToken field is present, you send the
	// contents as the nextToken parameter of a ListBots operation request to get
	// the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBotsOutput) GoString

func (s ListBotsOutput) 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 (*ListBotsOutput) SetBotSummaries

func (s *ListBotsOutput) SetBotSummaries(v []*BotSummary) *ListBotsOutput

SetBotSummaries sets the BotSummaries field's value.

func (*ListBotsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListBotsOutput) String

func (s ListBotsOutput) 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 ListBuiltInIntentsInput

type ListBuiltInIntentsInput struct {

	// The identifier of the language and locale of the intents to list. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of built-in intents to return in each page of results.
	// If there are fewer results than the max page size, only the actual number
	// of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"20" type:"integer"`

	// If the response from the ListBuiltInIntents operation contains more results
	// than specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies sorting parameters for the list of built-in intents. You can specify
	// that the list be sorted by the built-in intent signature in either ascending
	// or descending order.
	SortBy *BuiltInIntentSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListBuiltInIntentsInput) GoString

func (s ListBuiltInIntentsInput) 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 (*ListBuiltInIntentsInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*ListBuiltInIntentsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListBuiltInIntentsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListBuiltInIntentsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListBuiltInIntentsInput) String

func (s ListBuiltInIntentsInput) 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 (*ListBuiltInIntentsInput) Validate

func (s *ListBuiltInIntentsInput) Validate() error

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

type ListBuiltInIntentsOutput

type ListBuiltInIntentsOutput struct {

	// Summary information for the built-in intents that meet the filter criteria
	// specified in the request. The length of the list is specified in the maxResults
	// parameter of the request. If there are more intents available, the nextToken
	// field contains a token to get the next page of results.
	BuiltInIntentSummaries []*BuiltInIntentSummary `locationName:"builtInIntentSummaries" type:"list"`

	// The language and locale of the intents in the list.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListBuiltInIntents operation. If the nextToken field is present, you
	// send the contents as the nextToken parameter of a ListBotAliases operation
	// request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuiltInIntentsOutput) GoString

func (s ListBuiltInIntentsOutput) 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 (*ListBuiltInIntentsOutput) SetBuiltInIntentSummaries

func (s *ListBuiltInIntentsOutput) SetBuiltInIntentSummaries(v []*BuiltInIntentSummary) *ListBuiltInIntentsOutput

SetBuiltInIntentSummaries sets the BuiltInIntentSummaries field's value.

func (*ListBuiltInIntentsOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*ListBuiltInIntentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBuiltInIntentsOutput) String

func (s ListBuiltInIntentsOutput) 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 ListBuiltInSlotTypesInput

type ListBuiltInSlotTypesInput struct {

	// The identifier of the language and locale of the slot types to list. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of built-in slot types to return in each page of results.
	// If there are fewer results than the max page size, only the actual number
	// of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"20" type:"integer"`

	// If the response from the ListBuiltInSlotTypes operation contains more results
	// than specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Determines the sort order for the response from the ListBuiltInSlotTypes
	// operation. You can choose to sort by the slot type signature in either ascending
	// or descending order.
	SortBy *BuiltInSlotTypeSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListBuiltInSlotTypesInput) GoString

func (s ListBuiltInSlotTypesInput) 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 (*ListBuiltInSlotTypesInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*ListBuiltInSlotTypesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListBuiltInSlotTypesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListBuiltInSlotTypesInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListBuiltInSlotTypesInput) String

func (s ListBuiltInSlotTypesInput) 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 (*ListBuiltInSlotTypesInput) Validate

func (s *ListBuiltInSlotTypesInput) Validate() error

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

type ListBuiltInSlotTypesOutput

type ListBuiltInSlotTypesOutput struct {

	// Summary information for the built-in slot types that meet the filter criteria
	// specified in the request. The length of the list is specified in the maxResults
	// parameter of the request. If there are more slot types available, the nextToken
	// field contains a token to get the next page of results.
	BuiltInSlotTypeSummaries []*BuiltInSlotTypeSummary `locationName:"builtInSlotTypeSummaries" type:"list"`

	// The language and locale of the slot types in the list.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListBuiltInSlotTypes operation. If the nextToken field is present,
	// you send the contents as the nextToken parameter of a LIstBuiltInSlotTypes
	// operation request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuiltInSlotTypesOutput) GoString

func (s ListBuiltInSlotTypesOutput) 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 (*ListBuiltInSlotTypesOutput) SetBuiltInSlotTypeSummaries

SetBuiltInSlotTypeSummaries sets the BuiltInSlotTypeSummaries field's value.

func (*ListBuiltInSlotTypesOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*ListBuiltInSlotTypesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBuiltInSlotTypesOutput) 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 ListCustomVocabularyItemsInput added in v1.44.132

type ListCustomVocabularyItemsInput struct {

	// The identifier of the version of the bot associated with this custom vocabulary.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The bot version of the bot to the list custom vocabulary request.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of items returned by the list operation.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken identifier to the list custom vocabulary request.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListCustomVocabularyItemsInput) GoString added in v1.44.132

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 (*ListCustomVocabularyItemsInput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*ListCustomVocabularyItemsInput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*ListCustomVocabularyItemsInput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (*ListCustomVocabularyItemsInput) SetMaxResults added in v1.44.132

SetMaxResults sets the MaxResults field's value.

func (*ListCustomVocabularyItemsInput) SetNextToken added in v1.44.132

SetNextToken sets the NextToken field's value.

func (ListCustomVocabularyItemsInput) String added in v1.44.132

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 (*ListCustomVocabularyItemsInput) Validate added in v1.44.132

func (s *ListCustomVocabularyItemsInput) Validate() error

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

type ListCustomVocabularyItemsOutput added in v1.44.132

type ListCustomVocabularyItemsOutput struct {

	// The identifier of the bot associated with this custom vocabulary.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the version of the bot associated with this custom vocabulary.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The custom vocabulary items from the list custom vocabulary response.
	CustomVocabularyItems []*CustomVocabularyItem `locationName:"customVocabularyItems" type:"list"`

	// The identifier of the language and locale where this custom vocabulary is
	// used. The string must match one of the supported locales. For more information,
	// see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	LocaleId *string `locationName:"localeId" type:"string"`

	// The nextToken identifier to the list custom vocabulary response.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListCustomVocabularyItemsOutput) GoString added in v1.44.132

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 (*ListCustomVocabularyItemsOutput) SetBotId added in v1.44.132

SetBotId sets the BotId field's value.

func (*ListCustomVocabularyItemsOutput) SetBotVersion added in v1.44.132

SetBotVersion sets the BotVersion field's value.

func (*ListCustomVocabularyItemsOutput) SetCustomVocabularyItems added in v1.44.132

SetCustomVocabularyItems sets the CustomVocabularyItems field's value.

func (*ListCustomVocabularyItemsOutput) SetLocaleId added in v1.44.132

SetLocaleId sets the LocaleId field's value.

func (*ListCustomVocabularyItemsOutput) SetNextToken added in v1.44.132

SetNextToken sets the NextToken field's value.

func (ListCustomVocabularyItemsOutput) String added in v1.44.132

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 ListExportsInput added in v1.38.42

type ListExportsInput struct {

	// The unique identifier that Amazon Lex assigned to the bot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot to list exports for.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Provides the specification of a filter used to limit the exports in the response
	// to only those that match the filter specification. You can only specify one
	// filter and one string to filter on.
	Filters []*ExportFilter `locationName:"filters" min:"1" type:"list"`

	// Specifies the resources that should be exported. If you don't specify a resource
	// type in the filters parameter, both bot locales and custom vocabularies are
	// exported.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The maximum number of exports to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListExports operation contains more results that
	// specified in the maxResults parameter, a token is returned in the response.
	//
	// Use the returned token in the nextToken parameter of a ListExports request
	// to return the next page of results. For a complete set of results, call the
	// ListExports operation until the nextToken returned in the response is null.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Determines the field that the list of exports is sorted by. You can sort
	// by the LastUpdatedDateTime field in ascending or descending order.
	SortBy *ExportSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListExportsInput) GoString added in v1.38.42

func (s ListExportsInput) 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 (*ListExportsInput) SetBotId added in v1.38.42

func (s *ListExportsInput) SetBotId(v string) *ListExportsInput

SetBotId sets the BotId field's value.

func (*ListExportsInput) SetBotVersion added in v1.38.42

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

SetBotVersion sets the BotVersion field's value.

func (*ListExportsInput) SetFilters added in v1.38.42

func (s *ListExportsInput) SetFilters(v []*ExportFilter) *ListExportsInput

SetFilters sets the Filters field's value.

func (*ListExportsInput) SetLocaleId added in v1.42.33

func (s *ListExportsInput) SetLocaleId(v string) *ListExportsInput

SetLocaleId sets the LocaleId field's value.

func (*ListExportsInput) SetMaxResults added in v1.38.42

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

SetMaxResults sets the MaxResults field's value.

func (*ListExportsInput) SetNextToken added in v1.38.42

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

SetNextToken sets the NextToken field's value.

func (*ListExportsInput) SetSortBy added in v1.38.42

SetSortBy sets the SortBy field's value.

func (ListExportsInput) String added in v1.38.42

func (s ListExportsInput) 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 (*ListExportsInput) Validate added in v1.38.42

func (s *ListExportsInput) Validate() error

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

type ListExportsOutput added in v1.38.42

type ListExportsOutput struct {

	// The unique identifier assigned to the bot by Amazon Lex.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that was exported.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Summary information for the exports that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter.
	// If there are more exports available, the nextToken field contains a token
	// to get the next page of results.
	ExportSummaries []*ExportSummary `locationName:"exportSummaries" type:"list"`

	// The locale specified in the request.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListExports operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListExports operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListExportsOutput) GoString added in v1.38.42

func (s ListExportsOutput) 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 (*ListExportsOutput) SetBotId added in v1.38.42

func (s *ListExportsOutput) SetBotId(v string) *ListExportsOutput

SetBotId sets the BotId field's value.

func (*ListExportsOutput) SetBotVersion added in v1.38.42

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

SetBotVersion sets the BotVersion field's value.

func (*ListExportsOutput) SetExportSummaries added in v1.38.42

func (s *ListExportsOutput) SetExportSummaries(v []*ExportSummary) *ListExportsOutput

SetExportSummaries sets the ExportSummaries field's value.

func (*ListExportsOutput) SetLocaleId added in v1.42.33

func (s *ListExportsOutput) SetLocaleId(v string) *ListExportsOutput

SetLocaleId sets the LocaleId field's value.

func (*ListExportsOutput) SetNextToken added in v1.38.42

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

SetNextToken sets the NextToken field's value.

func (ListExportsOutput) String added in v1.38.42

func (s ListExportsOutput) 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 ListImportsInput added in v1.38.42

type ListImportsInput struct {

	// The unique identifier that Amazon Lex assigned to the bot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot to list imports for.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// Provides the specification of a filter used to limit the bots in the response
	// to only those that match the filter specification. You can only specify one
	// filter and one string to filter on.
	Filters []*ImportFilter `locationName:"filters" min:"1" type:"list"`

	// Specifies the locale that should be present in the list. If you don't specify
	// a resource type in the filters parameter, the list contains both bot locales
	// and custom vocabularies.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The maximum number of imports to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListImports operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	//
	// Use the returned token in the nextToken parameter of a ListImports request
	// to return the next page of results. For a complete set of results, call the
	// ListImports operation until the nextToken returned in the response is null.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Determines the field that the list of imports is sorted by. You can sort
	// by the LastUpdatedDateTime field in ascending or descending order.
	SortBy *ImportSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListImportsInput) GoString added in v1.38.42

func (s ListImportsInput) 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 (*ListImportsInput) SetBotId added in v1.38.42

func (s *ListImportsInput) SetBotId(v string) *ListImportsInput

SetBotId sets the BotId field's value.

func (*ListImportsInput) SetBotVersion added in v1.38.42

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

SetBotVersion sets the BotVersion field's value.

func (*ListImportsInput) SetFilters added in v1.38.42

func (s *ListImportsInput) SetFilters(v []*ImportFilter) *ListImportsInput

SetFilters sets the Filters field's value.

func (*ListImportsInput) SetLocaleId added in v1.42.33

func (s *ListImportsInput) SetLocaleId(v string) *ListImportsInput

SetLocaleId sets the LocaleId field's value.

func (*ListImportsInput) SetMaxResults added in v1.38.42

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

SetMaxResults sets the MaxResults field's value.

func (*ListImportsInput) SetNextToken added in v1.38.42

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

SetNextToken sets the NextToken field's value.

func (*ListImportsInput) SetSortBy added in v1.38.42

SetSortBy sets the SortBy field's value.

func (ListImportsInput) String added in v1.38.42

func (s ListImportsInput) 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 (*ListImportsInput) Validate added in v1.38.42

func (s *ListImportsInput) Validate() error

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

type ListImportsOutput added in v1.38.42

type ListImportsOutput struct {

	// The unique identifier assigned by Amazon Lex to the bot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that was imported. It will always be DRAFT.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// Summary information for the imports that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter.
	// If there are more imports available, the nextToken field contains a token
	// to get the next page of results.
	ImportSummaries []*ImportSummary `locationName:"importSummaries" type:"list"`

	// The locale specified in the request.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListImports operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListImports operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListImportsOutput) GoString added in v1.38.42

func (s ListImportsOutput) 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 (*ListImportsOutput) SetBotId added in v1.38.42

func (s *ListImportsOutput) SetBotId(v string) *ListImportsOutput

SetBotId sets the BotId field's value.

func (*ListImportsOutput) SetBotVersion added in v1.38.42

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

SetBotVersion sets the BotVersion field's value.

func (*ListImportsOutput) SetImportSummaries added in v1.38.42

func (s *ListImportsOutput) SetImportSummaries(v []*ImportSummary) *ListImportsOutput

SetImportSummaries sets the ImportSummaries field's value.

func (*ListImportsOutput) SetLocaleId added in v1.42.33

func (s *ListImportsOutput) SetLocaleId(v string) *ListImportsOutput

SetLocaleId sets the LocaleId field's value.

func (*ListImportsOutput) SetNextToken added in v1.38.42

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

SetNextToken sets the NextToken field's value.

func (ListImportsOutput) String added in v1.38.42

func (s ListImportsOutput) 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 ListIntentsInput

type ListIntentsInput struct {

	// The unique identifier of the bot that contains the intent.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the intent.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// Provides the specification of a filter used to limit the intents in the response
	// to only those that match the filter specification. You can only specify one
	// filter and only one string to filter on.
	Filters []*IntentFilter `locationName:"filters" min:"1" type:"list"`

	// The identifier of the language and locale of the intents to list. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of intents to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListIntents operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	//
	// Use the returned token in the nextToken parameter of a ListIntents request
	// to return the next page of results. For a complete set of results, call the
	// ListIntents operation until the nextToken returned in the response is null.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Determines the sort order for the response from the ListIntents operation.
	// You can choose to sort by the intent name or last updated date in either
	// ascending or descending order.
	SortBy *IntentSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListIntentsInput) GoString

func (s ListIntentsInput) 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 (*ListIntentsInput) SetBotId

func (s *ListIntentsInput) SetBotId(v string) *ListIntentsInput

SetBotId sets the BotId field's value.

func (*ListIntentsInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListIntentsInput) SetFilters

func (s *ListIntentsInput) SetFilters(v []*IntentFilter) *ListIntentsInput

SetFilters sets the Filters field's value.

func (*ListIntentsInput) SetLocaleId

func (s *ListIntentsInput) SetLocaleId(v string) *ListIntentsInput

SetLocaleId sets the LocaleId field's value.

func (*ListIntentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListIntentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListIntentsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListIntentsInput) String

func (s ListIntentsInput) 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 (*ListIntentsInput) Validate

func (s *ListIntentsInput) Validate() error

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

type ListIntentsOutput

type ListIntentsOutput struct {

	// The identifier of the bot that contains the intent.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the intent.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// Summary information for the intents that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more intents available, the nextToken field
	// contains a token to get the next page of results.
	IntentSummaries []*IntentSummary `locationName:"intentSummaries" type:"list"`

	// The language and locale of the intents in the list.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListIntents operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListIntents operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListIntentsOutput) GoString

func (s ListIntentsOutput) 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 (*ListIntentsOutput) SetBotId

func (s *ListIntentsOutput) SetBotId(v string) *ListIntentsOutput

SetBotId sets the BotId field's value.

func (*ListIntentsOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListIntentsOutput) SetIntentSummaries

func (s *ListIntentsOutput) SetIntentSummaries(v []*IntentSummary) *ListIntentsOutput

SetIntentSummaries sets the IntentSummaries field's value.

func (*ListIntentsOutput) SetLocaleId

func (s *ListIntentsOutput) SetLocaleId(v string) *ListIntentsOutput

SetLocaleId sets the LocaleId field's value.

func (*ListIntentsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListIntentsOutput) String

func (s ListIntentsOutput) 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 ListRecommendedIntentsInput added in v1.42.17

type ListRecommendedIntentsInput struct {

	// The unique identifier of the bot associated with the recommended intents.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The identifier of the bot recommendation that contains the recommended intents.
	//
	// BotRecommendationId is a required field
	BotRecommendationId *string `location:"uri" locationName:"botRecommendationId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the recommended intents.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale of the recommended intents.
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of bot recommendations to return in each page of results.
	// If there are fewer results than the max page size, only the actual number
	// of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListRecommendedIntents operation contains more results
	// than specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListRecommendedIntentsInput) GoString added in v1.42.17

func (s ListRecommendedIntentsInput) 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 (*ListRecommendedIntentsInput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*ListRecommendedIntentsInput) SetBotRecommendationId added in v1.42.17

func (s *ListRecommendedIntentsInput) SetBotRecommendationId(v string) *ListRecommendedIntentsInput

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*ListRecommendedIntentsInput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*ListRecommendedIntentsInput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*ListRecommendedIntentsInput) SetMaxResults added in v1.42.17

SetMaxResults sets the MaxResults field's value.

func (*ListRecommendedIntentsInput) SetNextToken added in v1.42.17

SetNextToken sets the NextToken field's value.

func (ListRecommendedIntentsInput) String added in v1.42.17

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 (*ListRecommendedIntentsInput) Validate added in v1.42.17

func (s *ListRecommendedIntentsInput) Validate() error

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

type ListRecommendedIntentsOutput added in v1.42.17

type ListRecommendedIntentsOutput struct {

	// The unique identifier of the bot associated with the recommended intent.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the bot recommendation that contains the recommended intent.
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string"`

	// The version of the bot that contains the intent.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The identifier of the language and locale of the intents to list. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListRecommendedIntents operation. If the nextToken field is present,
	// you send the contents as the nextToken parameter of a ListRecommendedIntents
	// operation request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Summary information for the intents that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more intents available, the nextToken field
	// contains a token to get the next page of results.
	SummaryList []*RecommendedIntentSummary `locationName:"summaryList" type:"list"`
	// contains filtered or unexported fields
}

func (ListRecommendedIntentsOutput) GoString added in v1.42.17

func (s ListRecommendedIntentsOutput) 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 (*ListRecommendedIntentsOutput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*ListRecommendedIntentsOutput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*ListRecommendedIntentsOutput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*ListRecommendedIntentsOutput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*ListRecommendedIntentsOutput) SetNextToken added in v1.42.17

SetNextToken sets the NextToken field's value.

func (*ListRecommendedIntentsOutput) SetSummaryList added in v1.42.17

SetSummaryList sets the SummaryList field's value.

func (ListRecommendedIntentsOutput) String added in v1.42.17

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 ListSlotTypesInput

type ListSlotTypesInput struct {

	// The unique identifier of the bot that contains the slot types.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the slot type.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// Provides the specification of a filter used to limit the slot types in the
	// response to only those that match the filter specification. You can only
	// specify one filter and only one string to filter on.
	Filters []*SlotTypeFilter `locationName:"filters" min:"1" type:"list"`

	// The identifier of the language and locale of the slot types to list. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of slot types to return in each page of results. If there
	// are fewer results than the max page size, only the actual number of results
	// are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListSlotTypes operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Determines the sort order for the response from the ListSlotTypes operation.
	// You can choose to sort by the slot type name or last updated date in either
	// ascending or descending order.
	SortBy *SlotTypeSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListSlotTypesInput) GoString

func (s ListSlotTypesInput) 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 (*ListSlotTypesInput) SetBotId

SetBotId sets the BotId field's value.

func (*ListSlotTypesInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListSlotTypesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListSlotTypesInput) SetLocaleId

func (s *ListSlotTypesInput) SetLocaleId(v string) *ListSlotTypesInput

SetLocaleId sets the LocaleId field's value.

func (*ListSlotTypesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListSlotTypesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSlotTypesInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListSlotTypesInput) String

func (s ListSlotTypesInput) 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 (*ListSlotTypesInput) Validate

func (s *ListSlotTypesInput) Validate() error

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

type ListSlotTypesOutput

type ListSlotTypesOutput struct {

	// The identifier of the bot that contains the slot types.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the slot types.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The language and local of the slot types in the list.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListSlotTypes operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListSlotTypes operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Summary information for the slot types that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more slot types available, the nextToken field
	// contains a token to get the next page of results.
	SlotTypeSummaries []*SlotTypeSummary `locationName:"slotTypeSummaries" type:"list"`
	// contains filtered or unexported fields
}

func (ListSlotTypesOutput) GoString

func (s ListSlotTypesOutput) 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 (*ListSlotTypesOutput) SetBotId

SetBotId sets the BotId field's value.

func (*ListSlotTypesOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListSlotTypesOutput) SetLocaleId

func (s *ListSlotTypesOutput) SetLocaleId(v string) *ListSlotTypesOutput

SetLocaleId sets the LocaleId field's value.

func (*ListSlotTypesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSlotTypesOutput) SetSlotTypeSummaries

func (s *ListSlotTypesOutput) SetSlotTypeSummaries(v []*SlotTypeSummary) *ListSlotTypesOutput

SetSlotTypeSummaries sets the SlotTypeSummaries field's value.

func (ListSlotTypesOutput) String

func (s ListSlotTypesOutput) 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 ListSlotsInput

type ListSlotsInput struct {

	// The identifier of the bot that contains the slot.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the slot.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// Provides the specification of a filter used to limit the slots in the response
	// to only those that match the filter specification. You can only specify one
	// filter and only one string to filter on.
	Filters []*SlotFilter `locationName:"filters" min:"1" type:"list"`

	// The unique identifier of the intent that contains the slot.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale of the slots to list. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of slots to return in each page of results. If there are
	// fewer results than the max page size, only the actual number of results are
	// returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListSlots operation contains more results than specified
	// in the maxResults parameter, a token is returned in the response. Use that
	// token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Determines the sort order for the response from the ListSlots operation.
	// You can choose to sort by the slot name or last updated date in either ascending
	// or descending order.
	SortBy *SlotSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListSlotsInput) GoString

func (s ListSlotsInput) 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 (*ListSlotsInput) SetBotId

func (s *ListSlotsInput) SetBotId(v string) *ListSlotsInput

SetBotId sets the BotId field's value.

func (*ListSlotsInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListSlotsInput) SetFilters

func (s *ListSlotsInput) SetFilters(v []*SlotFilter) *ListSlotsInput

SetFilters sets the Filters field's value.

func (*ListSlotsInput) SetIntentId

func (s *ListSlotsInput) SetIntentId(v string) *ListSlotsInput

SetIntentId sets the IntentId field's value.

func (*ListSlotsInput) SetLocaleId

func (s *ListSlotsInput) SetLocaleId(v string) *ListSlotsInput

SetLocaleId sets the LocaleId field's value.

func (*ListSlotsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListSlotsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSlotsInput) SetSortBy

func (s *ListSlotsInput) SetSortBy(v *SlotSortBy) *ListSlotsInput

SetSortBy sets the SortBy field's value.

func (ListSlotsInput) String

func (s ListSlotsInput) 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 (*ListSlotsInput) Validate

func (s *ListSlotsInput) Validate() error

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

type ListSlotsOutput

type ListSlotsOutput struct {

	// The identifier of the bot that contains the slots.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the slots.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The identifier of the intent that contains the slots.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// The language and locale of the slots in the list.
	LocaleId *string `locationName:"localeId" type:"string"`

	// A token that indicates whether there are more results to return in a response
	// to the ListSlots operation. If the nextToken field is present, you send the
	// contents as the nextToken parameter of a ListSlots operation request to get
	// the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Summary information for the slots that meet the filter criteria specified
	// in the request. The length of the list is specified in the maxResults parameter
	// of the request. If there are more slots available, the nextToken field contains
	// a token to get the next page of results.
	SlotSummaries []*SlotSummary `locationName:"slotSummaries" type:"list"`
	// contains filtered or unexported fields
}

func (ListSlotsOutput) GoString

func (s ListSlotsOutput) 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 (*ListSlotsOutput) SetBotId

func (s *ListSlotsOutput) SetBotId(v string) *ListSlotsOutput

SetBotId sets the BotId field's value.

func (*ListSlotsOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*ListSlotsOutput) SetIntentId

func (s *ListSlotsOutput) SetIntentId(v string) *ListSlotsOutput

SetIntentId sets the IntentId field's value.

func (*ListSlotsOutput) SetLocaleId

func (s *ListSlotsOutput) SetLocaleId(v string) *ListSlotsOutput

SetLocaleId sets the LocaleId field's value.

func (*ListSlotsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSlotsOutput) SetSlotSummaries

func (s *ListSlotsOutput) SetSlotSummaries(v []*SlotSummary) *ListSlotsOutput

SetSlotSummaries sets the SlotSummaries field's value.

func (ListSlotsOutput) String

func (s ListSlotsOutput) 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 map[string]*string `locationName:"tags" type:"map"`
	// 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 ListTestExecutionResultItemsInput added in v1.44.277

type ListTestExecutionResultItemsInput struct {

	// The maximum number of test execution result items to return in each page.
	// If there are fewer results than the max page size, only the actual number
	// of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListTestExecutionResultItems operation contains
	// more results than specified in the maxResults parameter, a token is returned
	// in the response. Use that token in the nextToken parameter to return the
	// next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The filter for the list of results from the test set execution.
	//
	// ResultFilterBy is a required field
	ResultFilterBy *TestExecutionResultFilterBy `locationName:"resultFilterBy" type:"structure" required:"true"`

	// The unique identifier of the test execution to list the result items.
	//
	// TestExecutionId is a required field
	TestExecutionId *string `location:"uri" locationName:"testExecutionId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTestExecutionResultItemsInput) GoString added in v1.44.277

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 (*ListTestExecutionResultItemsInput) SetMaxResults added in v1.44.277

SetMaxResults sets the MaxResults field's value.

func (*ListTestExecutionResultItemsInput) SetNextToken added in v1.44.277

SetNextToken sets the NextToken field's value.

func (*ListTestExecutionResultItemsInput) SetResultFilterBy added in v1.44.277

SetResultFilterBy sets the ResultFilterBy field's value.

func (*ListTestExecutionResultItemsInput) SetTestExecutionId added in v1.44.277

SetTestExecutionId sets the TestExecutionId field's value.

func (ListTestExecutionResultItemsInput) String added in v1.44.277

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 (*ListTestExecutionResultItemsInput) Validate added in v1.44.277

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

type ListTestExecutionResultItemsOutput added in v1.44.277

type ListTestExecutionResultItemsOutput struct {

	// A token that indicates whether there are more results to return in a response
	// to the ListTestExecutionResultItems operation. If the nextToken field is
	// present, you send the contents as the nextToken parameter of a ListTestExecutionResultItems
	// operation request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of results from the test execution.
	TestExecutionResults *TestExecutionResultItems `locationName:"testExecutionResults" type:"structure"`
	// contains filtered or unexported fields
}

func (ListTestExecutionResultItemsOutput) GoString added in v1.44.277

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 (*ListTestExecutionResultItemsOutput) SetNextToken added in v1.44.277

SetNextToken sets the NextToken field's value.

func (*ListTestExecutionResultItemsOutput) SetTestExecutionResults added in v1.44.277

SetTestExecutionResults sets the TestExecutionResults field's value.

func (ListTestExecutionResultItemsOutput) String added in v1.44.277

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 ListTestExecutionsInput added in v1.44.277

type ListTestExecutionsInput struct {

	// The maximum number of test executions to return in each page. If there are
	// fewer results than the max page size, only the actual number of results are
	// returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListTestExecutions operation contains more results
	// than specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The sort order of the test set executions.
	SortBy *TestExecutionSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListTestExecutionsInput) GoString added in v1.44.277

func (s ListTestExecutionsInput) 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 (*ListTestExecutionsInput) SetMaxResults added in v1.44.277

SetMaxResults sets the MaxResults field's value.

func (*ListTestExecutionsInput) SetNextToken added in v1.44.277

SetNextToken sets the NextToken field's value.

func (*ListTestExecutionsInput) SetSortBy added in v1.44.277

SetSortBy sets the SortBy field's value.

func (ListTestExecutionsInput) String added in v1.44.277

func (s ListTestExecutionsInput) 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 (*ListTestExecutionsInput) Validate added in v1.44.277

func (s *ListTestExecutionsInput) Validate() error

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

type ListTestExecutionsOutput added in v1.44.277

type ListTestExecutionsOutput struct {

	// A token that indicates whether there are more results to return in a response
	// to the ListTestExecutions operation. If the nextToken field is present, you
	// send the contents as the nextToken parameter of a ListTestExecutions operation
	// request to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of test executions.
	TestExecutions []*TestExecutionSummary `locationName:"testExecutions" type:"list"`
	// contains filtered or unexported fields
}

func (ListTestExecutionsOutput) GoString added in v1.44.277

func (s ListTestExecutionsOutput) 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 (*ListTestExecutionsOutput) SetNextToken added in v1.44.277

SetNextToken sets the NextToken field's value.

func (*ListTestExecutionsOutput) SetTestExecutions added in v1.44.277

SetTestExecutions sets the TestExecutions field's value.

func (ListTestExecutionsOutput) String added in v1.44.277

func (s ListTestExecutionsOutput) 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 ListTestSetRecordsInput added in v1.44.277

type ListTestSetRecordsInput struct {

	// The maximum number of test set records to return in each page. If there are
	// fewer records than the max page size, only the actual number of records are
	// returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListTestSetRecords operation contains more results
	// than specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The identifier of the test set to list its test set records.
	//
	// TestSetId is a required field
	TestSetId *string `location:"uri" locationName:"testSetId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTestSetRecordsInput) GoString added in v1.44.277

func (s ListTestSetRecordsInput) 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 (*ListTestSetRecordsInput) SetMaxResults added in v1.44.277

SetMaxResults sets the MaxResults field's value.

func (*ListTestSetRecordsInput) SetNextToken added in v1.44.277

SetNextToken sets the NextToken field's value.

func (*ListTestSetRecordsInput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (ListTestSetRecordsInput) String added in v1.44.277

func (s ListTestSetRecordsInput) 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 (*ListTestSetRecordsInput) Validate added in v1.44.277

func (s *ListTestSetRecordsInput) Validate() error

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

type ListTestSetRecordsOutput added in v1.44.277

type ListTestSetRecordsOutput struct {

	// A token that indicates whether there are more records to return in a response
	// to the ListTestSetRecords operation. If the nextToken field is present, you
	// send the contents as the nextToken parameter of a ListTestSetRecords operation
	// request to get the next page of records.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of records from the test set.
	TestSetRecords []*TestSetTurnRecord `locationName:"testSetRecords" type:"list"`
	// contains filtered or unexported fields
}

func (ListTestSetRecordsOutput) GoString added in v1.44.277

func (s ListTestSetRecordsOutput) 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 (*ListTestSetRecordsOutput) SetNextToken added in v1.44.277

SetNextToken sets the NextToken field's value.

func (*ListTestSetRecordsOutput) SetTestSetRecords added in v1.44.277

SetTestSetRecords sets the TestSetRecords field's value.

func (ListTestSetRecordsOutput) String added in v1.44.277

func (s ListTestSetRecordsOutput) 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 ListTestSetsInput added in v1.44.277

type ListTestSetsInput struct {

	// The maximum number of test sets to return in each page. If there are fewer
	// results than the max page size, only the actual number of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the ListTestSets operation contains more results than
	// specified in the maxResults parameter, a token is returned in the response.
	// Use that token in the nextToken parameter to return the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The sort order for the list of test sets.
	SortBy *TestSetSortBy `locationName:"sortBy" type:"structure"`
	// contains filtered or unexported fields
}

func (ListTestSetsInput) GoString added in v1.44.277

func (s ListTestSetsInput) 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 (*ListTestSetsInput) SetMaxResults added in v1.44.277

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

SetMaxResults sets the MaxResults field's value.

func (*ListTestSetsInput) SetNextToken added in v1.44.277

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

SetNextToken sets the NextToken field's value.

func (*ListTestSetsInput) SetSortBy added in v1.44.277

SetSortBy sets the SortBy field's value.

func (ListTestSetsInput) String added in v1.44.277

func (s ListTestSetsInput) 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 (*ListTestSetsInput) Validate added in v1.44.277

func (s *ListTestSetsInput) Validate() error

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

type ListTestSetsOutput added in v1.44.277

type ListTestSetsOutput struct {

	// A token that indicates whether there are more results to return in a response
	// to the ListTestSets operation. If the nextToken field is present, you send
	// the contents as the nextToken parameter of a ListTestSets operation request
	// to get the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The selected test sets in a list of test sets.
	TestSets []*TestSetSummary `locationName:"testSets" type:"list"`
	// contains filtered or unexported fields
}

func (ListTestSetsOutput) GoString added in v1.44.277

func (s ListTestSetsOutput) 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 (*ListTestSetsOutput) SetNextToken added in v1.44.277

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

SetNextToken sets the NextToken field's value.

func (*ListTestSetsOutput) SetTestSets added in v1.44.277

SetTestSets sets the TestSets field's value.

func (ListTestSetsOutput) String added in v1.44.277

func (s ListTestSetsOutput) 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 {

	// A message in a custom format defined by the client application.
	CustomPayload *CustomPayload `locationName:"customPayload" type:"structure"`

	// A message that defines a response card that the client application can show
	// to the user.
	ImageResponseCard *ImageResponseCard `locationName:"imageResponseCard" type:"structure"`

	// A message in plain text format.
	PlainTextMessage *PlainTextMessage `locationName:"plainTextMessage" type:"structure"`

	// A message in Speech Synthesis Markup Language (SSML).
	SsmlMessage *SSMLMessage `locationName:"ssmlMessage" type:"structure"`
	// contains filtered or unexported fields
}

The object that provides 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) SetCustomPayload

func (s *Message) SetCustomPayload(v *CustomPayload) *Message

SetCustomPayload sets the CustomPayload field's value.

func (*Message) SetImageResponseCard

func (s *Message) SetImageResponseCard(v *ImageResponseCard) *Message

SetImageResponseCard sets the ImageResponseCard field's value.

func (*Message) SetPlainTextMessage

func (s *Message) SetPlainTextMessage(v *PlainTextMessage) *Message

SetPlainTextMessage sets the PlainTextMessage field's value.

func (*Message) SetSsmlMessage

func (s *Message) SetSsmlMessage(v *SSMLMessage) *Message

SetSsmlMessage sets the SsmlMessage 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 MessageGroup

type MessageGroup struct {

	// The primary message that Amazon Lex should send to the user.
	//
	// Message is a required field
	Message *Message `locationName:"message" type:"structure" required:"true"`

	// Message variations to send to the user. When variations are defined, Amazon
	// Lex chooses the primary message or one of the variations to send to the user.
	Variations []*Message `locationName:"variations" type:"list"`
	// contains filtered or unexported fields
}

Provides one or more messages that Amazon Lex should send to the user.

func (MessageGroup) GoString

func (s MessageGroup) 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 (*MessageGroup) SetMessage

func (s *MessageGroup) SetMessage(v *Message) *MessageGroup

SetMessage sets the Message field's value.

func (*MessageGroup) SetVariations

func (s *MessageGroup) SetVariations(v []*Message) *MessageGroup

SetVariations sets the Variations field's value.

func (MessageGroup) String

func (s MessageGroup) 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 (*MessageGroup) Validate

func (s *MessageGroup) Validate() error

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

type MultipleValuesSetting added in v1.38.62

type MultipleValuesSetting struct {

	// Indicates whether a slot can return multiple values. When true, the slot
	// may return more than one value in a response. When false, the slot returns
	// only a single value.
	//
	// Multi-value slots are only available in the en-US locale. If you set this
	// value to true in any other locale, Amazon Lex throws a ValidationException.
	//
	// If the allowMutlipleValues is not set, the default value is false.
	AllowMultipleValues *bool `locationName:"allowMultipleValues" type:"boolean"`
	// contains filtered or unexported fields
}

Indicates whether a slot can return multiple values.

func (MultipleValuesSetting) GoString added in v1.38.62

func (s MultipleValuesSetting) 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 (*MultipleValuesSetting) SetAllowMultipleValues added in v1.38.62

func (s *MultipleValuesSetting) SetAllowMultipleValues(v bool) *MultipleValuesSetting

SetAllowMultipleValues sets the AllowMultipleValues field's value.

func (MultipleValuesSetting) String added in v1.38.62

func (s MultipleValuesSetting) 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 NewCustomVocabularyItem added in v1.44.132

type NewCustomVocabularyItem struct {

	// The display as value assigned to the new custom vocabulary item from the
	// custom vocabulary list.
	DisplayAs *string `locationName:"displayAs" min:"1" type:"string"`

	// The unique phrase for the new custom vocabulary item from the custom vocabulary
	// list.
	//
	// Phrase is a required field
	Phrase *string `locationName:"phrase" min:"1" type:"string" required:"true"`

	// The weight assigned to the new custom vocabulary item from the custom vocabulary
	// list.
	Weight *int64 `locationName:"weight" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The new custom vocabulary item from the custom vocabulary list.

func (NewCustomVocabularyItem) GoString added in v1.44.132

func (s NewCustomVocabularyItem) 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 (*NewCustomVocabularyItem) SetDisplayAs added in v1.44.132

SetDisplayAs sets the DisplayAs field's value.

func (*NewCustomVocabularyItem) SetPhrase added in v1.44.132

SetPhrase sets the Phrase field's value.

func (*NewCustomVocabularyItem) SetWeight added in v1.44.132

SetWeight sets the Weight field's value.

func (NewCustomVocabularyItem) String added in v1.44.132

func (s NewCustomVocabularyItem) 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 (*NewCustomVocabularyItem) Validate added in v1.44.132

func (s *NewCustomVocabularyItem) Validate() error

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

type ObfuscationSetting

type ObfuscationSetting struct {

	// Value that determines whether Amazon Lex obscures slot values in conversation
	// logs. The default is to obscure the values.
	//
	// ObfuscationSettingType is a required field
	ObfuscationSettingType *string `locationName:"obfuscationSettingType" type:"string" required:"true" enum:"ObfuscationSettingType"`
	// contains filtered or unexported fields
}

Determines whether Amazon Lex obscures slot values in conversation logs.

func (ObfuscationSetting) GoString

func (s ObfuscationSetting) 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 (*ObfuscationSetting) SetObfuscationSettingType

func (s *ObfuscationSetting) SetObfuscationSettingType(v string) *ObfuscationSetting

SetObfuscationSettingType sets the ObfuscationSettingType field's value.

func (ObfuscationSetting) String

func (s ObfuscationSetting) 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 (*ObfuscationSetting) Validate

func (s *ObfuscationSetting) Validate() error

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

type OutputContext

type OutputContext struct {

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

	// The amount of time, in seconds, that the output context should remain active.
	// The time is figured from the first time the context is sent to the user.
	//
	// TimeToLiveInSeconds is a required field
	TimeToLiveInSeconds *int64 `locationName:"timeToLiveInSeconds" min:"5" type:"integer" required:"true"`

	// The number of conversation turns that the output context should remain active.
	// The number of turns is counted from the first time that the context is sent
	// to the user.
	//
	// TurnsToLive is a required field
	TurnsToLive *int64 `locationName:"turnsToLive" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Describes a session context that is activated 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 OverallTestResultItem added in v1.44.277

type OverallTestResultItem struct {

	// The number of results that succeeded.
	//
	// EndToEndResultCounts is a required field
	EndToEndResultCounts map[string]*int64 `locationName:"endToEndResultCounts" type:"map" required:"true"`

	// Indicates whether the conversation contains multiple turns or not.
	//
	// MultiTurnConversation is a required field
	MultiTurnConversation *bool `locationName:"multiTurnConversation" type:"boolean" required:"true"`

	// The number of speech transcription results in the overall test.
	SpeechTranscriptionResultCounts map[string]*int64 `locationName:"speechTranscriptionResultCounts" type:"map"`

	// The total number of overall results in the result of the test execution.
	//
	// TotalResultCount is a required field
	TotalResultCount *int64 `locationName:"totalResultCount" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Information about the overall results for a test execution result.

func (OverallTestResultItem) GoString added in v1.44.277

func (s OverallTestResultItem) 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 (*OverallTestResultItem) SetEndToEndResultCounts added in v1.44.277

func (s *OverallTestResultItem) SetEndToEndResultCounts(v map[string]*int64) *OverallTestResultItem

SetEndToEndResultCounts sets the EndToEndResultCounts field's value.

func (*OverallTestResultItem) SetMultiTurnConversation added in v1.44.277

func (s *OverallTestResultItem) SetMultiTurnConversation(v bool) *OverallTestResultItem

SetMultiTurnConversation sets the MultiTurnConversation field's value.

func (*OverallTestResultItem) SetSpeechTranscriptionResultCounts added in v1.44.277

func (s *OverallTestResultItem) SetSpeechTranscriptionResultCounts(v map[string]*int64) *OverallTestResultItem

SetSpeechTranscriptionResultCounts sets the SpeechTranscriptionResultCounts field's value.

func (*OverallTestResultItem) SetTotalResultCount added in v1.44.277

func (s *OverallTestResultItem) SetTotalResultCount(v int64) *OverallTestResultItem

SetTotalResultCount sets the TotalResultCount field's value.

func (OverallTestResultItem) String added in v1.44.277

func (s OverallTestResultItem) 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 OverallTestResults added in v1.44.277

type OverallTestResults struct {

	// A list of the overall test results.
	//
	// Items is a required field
	Items []*OverallTestResultItem `locationName:"items" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information about the overall test results.

func (OverallTestResults) GoString added in v1.44.277

func (s OverallTestResults) 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 (*OverallTestResults) SetItems added in v1.44.277

SetItems sets the Items field's value.

func (OverallTestResults) String added in v1.44.277

func (s OverallTestResults) 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 ParentBotNetwork added in v1.44.198

type ParentBotNetwork struct {

	// The identifier of the network of bots assigned by Amazon Lex.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the network of bots.
	//
	// BotVersion is a required field
	BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A network of bots.

func (ParentBotNetwork) GoString added in v1.44.198

func (s ParentBotNetwork) 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 (*ParentBotNetwork) SetBotId added in v1.44.198

func (s *ParentBotNetwork) SetBotId(v string) *ParentBotNetwork

SetBotId sets the BotId field's value.

func (*ParentBotNetwork) SetBotVersion added in v1.44.198

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

SetBotVersion sets the BotVersion field's value.

func (ParentBotNetwork) String added in v1.44.198

func (s ParentBotNetwork) 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 PathFormat added in v1.42.17

type PathFormat struct {

	// A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3
	// bucket. Specify this list if you only want Lex to read the files under this
	// set of sub-folders.
	ObjectPrefixes []*string `locationName:"objectPrefixes" min:"1" type:"list"`
	// contains filtered or unexported fields
}

The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.

func (PathFormat) GoString added in v1.42.17

func (s PathFormat) 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 (*PathFormat) SetObjectPrefixes added in v1.42.17

func (s *PathFormat) SetObjectPrefixes(v []*string) *PathFormat

SetObjectPrefixes sets the ObjectPrefixes field's value.

func (PathFormat) String added in v1.42.17

func (s PathFormat) 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 (*PathFormat) Validate added in v1.42.17

func (s *PathFormat) Validate() error

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

type PlainTextMessage

type PlainTextMessage struct {

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

Defines an ASCII text message to send to the user.

func (PlainTextMessage) GoString

func (s PlainTextMessage) 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 (*PlainTextMessage) SetValue

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

SetValue sets the Value field's value.

func (PlainTextMessage) String

func (s PlainTextMessage) 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 (*PlainTextMessage) Validate

func (s *PlainTextMessage) Validate() error

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

type PostDialogCodeHookInvocationSpecification added in v1.44.79

type PostDialogCodeHookInvocationSpecification struct {

	// A list of conditional branches to evaluate after the dialog code hook throws
	// an exception or returns with the State field of the Intent object set to
	// Failed.
	FailureConditional *ConditionalSpecification `locationName:"failureConditional" type:"structure"`

	// Specifies the next step the bot runs after the dialog code hook throws an
	// exception or returns with the State field of the Intent object set to Failed.
	FailureNextStep *DialogState `locationName:"failureNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	FailureResponse *ResponseSpecification `locationName:"failureResponse" type:"structure"`

	// A list of conditional branches to evaluate after the dialog code hook finishes
	// successfully.
	SuccessConditional *ConditionalSpecification `locationName:"successConditional" type:"structure"`

	// Specifics the next step the bot runs after the dialog code hook finishes
	// successfully.
	SuccessNextStep *DialogState `locationName:"successNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	SuccessResponse *ResponseSpecification `locationName:"successResponse" type:"structure"`

	// A list of conditional branches to evaluate if the code hook times out.
	TimeoutConditional *ConditionalSpecification `locationName:"timeoutConditional" type:"structure"`

	// Specifies the next step that the bot runs when the code hook times out.
	TimeoutNextStep *DialogState `locationName:"timeoutNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	TimeoutResponse *ResponseSpecification `locationName:"timeoutResponse" type:"structure"`
	// contains filtered or unexported fields
}

Specifies next steps to run after the dialog code hook finishes.

func (PostDialogCodeHookInvocationSpecification) GoString added in v1.44.79

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 (*PostDialogCodeHookInvocationSpecification) SetFailureConditional added in v1.44.79

SetFailureConditional sets the FailureConditional field's value.

func (*PostDialogCodeHookInvocationSpecification) SetFailureNextStep added in v1.44.79

SetFailureNextStep sets the FailureNextStep field's value.

func (*PostDialogCodeHookInvocationSpecification) SetFailureResponse added in v1.44.79

SetFailureResponse sets the FailureResponse field's value.

func (*PostDialogCodeHookInvocationSpecification) SetSuccessConditional added in v1.44.79

SetSuccessConditional sets the SuccessConditional field's value.

func (*PostDialogCodeHookInvocationSpecification) SetSuccessNextStep added in v1.44.79

SetSuccessNextStep sets the SuccessNextStep field's value.

func (*PostDialogCodeHookInvocationSpecification) SetSuccessResponse added in v1.44.79

SetSuccessResponse sets the SuccessResponse field's value.

func (*PostDialogCodeHookInvocationSpecification) SetTimeoutConditional added in v1.44.79

SetTimeoutConditional sets the TimeoutConditional field's value.

func (*PostDialogCodeHookInvocationSpecification) SetTimeoutNextStep added in v1.44.79

SetTimeoutNextStep sets the TimeoutNextStep field's value.

func (*PostDialogCodeHookInvocationSpecification) SetTimeoutResponse added in v1.44.79

SetTimeoutResponse sets the TimeoutResponse field's value.

func (PostDialogCodeHookInvocationSpecification) String added in v1.44.79

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 (*PostDialogCodeHookInvocationSpecification) Validate added in v1.44.79

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

type PostFulfillmentStatusSpecification added in v1.40.59

type PostFulfillmentStatusSpecification struct {

	// A list of conditional branches to evaluate after the fulfillment code hook
	// throws an exception or returns with the State field of the Intent object
	// set to Failed.
	FailureConditional *ConditionalSpecification `locationName:"failureConditional" type:"structure"`

	// Specifies the next step the bot runs after the fulfillment code hook throws
	// an exception or returns with the State field of the Intent object set to
	// Failed.
	FailureNextStep *DialogState `locationName:"failureNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	FailureResponse *ResponseSpecification `locationName:"failureResponse" type:"structure"`

	// A list of conditional branches to evaluate after the fulfillment code hook
	// finishes successfully.
	SuccessConditional *ConditionalSpecification `locationName:"successConditional" type:"structure"`

	// Specifies the next step in the conversation that Amazon Lex invokes when
	// the fulfillment code hook completes successfully.
	SuccessNextStep *DialogState `locationName:"successNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	SuccessResponse *ResponseSpecification `locationName:"successResponse" type:"structure"`

	// A list of conditional branches to evaluate if the fulfillment code hook times
	// out.
	TimeoutConditional *ConditionalSpecification `locationName:"timeoutConditional" type:"structure"`

	// Specifies the next step that the bot runs when the fulfillment code hook
	// times out.
	TimeoutNextStep *DialogState `locationName:"timeoutNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	TimeoutResponse *ResponseSpecification `locationName:"timeoutResponse" type:"structure"`
	// contains filtered or unexported fields
}

Provides a setting that determines whether the post-fulfillment response is sent to the user. For more information, see https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete (https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete)

func (PostFulfillmentStatusSpecification) GoString added in v1.40.59

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 (*PostFulfillmentStatusSpecification) SetFailureConditional added in v1.44.79

SetFailureConditional sets the FailureConditional field's value.

func (*PostFulfillmentStatusSpecification) SetFailureNextStep added in v1.44.79

SetFailureNextStep sets the FailureNextStep field's value.

func (*PostFulfillmentStatusSpecification) SetFailureResponse added in v1.40.59

SetFailureResponse sets the FailureResponse field's value.

func (*PostFulfillmentStatusSpecification) SetSuccessConditional added in v1.44.79

SetSuccessConditional sets the SuccessConditional field's value.

func (*PostFulfillmentStatusSpecification) SetSuccessNextStep added in v1.44.79

SetSuccessNextStep sets the SuccessNextStep field's value.

func (*PostFulfillmentStatusSpecification) SetSuccessResponse added in v1.40.59

SetSuccessResponse sets the SuccessResponse field's value.

func (*PostFulfillmentStatusSpecification) SetTimeoutConditional added in v1.44.79

SetTimeoutConditional sets the TimeoutConditional field's value.

func (*PostFulfillmentStatusSpecification) SetTimeoutNextStep added in v1.44.79

SetTimeoutNextStep sets the TimeoutNextStep field's value.

func (*PostFulfillmentStatusSpecification) SetTimeoutResponse added in v1.40.59

SetTimeoutResponse sets the TimeoutResponse field's value.

func (PostFulfillmentStatusSpecification) String added in v1.40.59

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 (*PostFulfillmentStatusSpecification) Validate added in v1.40.59

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
}

Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request 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 Principal added in v1.38.44

type Principal struct {

	// The Amazon Resource Name (ARN) of the principal.
	Arn *string `locationName:"arn" min:"30" type:"string"`

	// The name of the Amazon Web Services service that should allowed or denied
	// access to an Amazon Lex action.
	Service *string `locationName:"service" min:"15" type:"string"`
	// contains filtered or unexported fields
}

The IAM principal that you allowing or denying access to an Amazon Lex action. You must provide a service or an arn, but not both in the same statement. For more information, see AWS JSON policy elements: Principal (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html).

func (Principal) GoString added in v1.38.44

func (s Principal) 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 (*Principal) SetArn added in v1.38.44

func (s *Principal) SetArn(v string) *Principal

SetArn sets the Arn field's value.

func (*Principal) SetService added in v1.38.44

func (s *Principal) SetService(v string) *Principal

SetService sets the Service field's value.

func (Principal) String added in v1.38.44

func (s Principal) 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 (*Principal) Validate added in v1.38.44

func (s *Principal) Validate() error

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

type PromptAttemptSpecification added in v1.44.105

type PromptAttemptSpecification struct {

	// Indicates whether the user can interrupt a speech prompt attempt from the
	// bot.
	AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"`

	// Indicates the allowed input types of the prompt attempt.
	//
	// AllowedInputTypes is a required field
	AllowedInputTypes *AllowedInputTypes `locationName:"allowedInputTypes" type:"structure" required:"true"`

	// Specifies the settings on audio and DTMF input.
	AudioAndDTMFInputSpecification *AudioAndDTMFInputSpecification `locationName:"audioAndDTMFInputSpecification" type:"structure"`

	// Specifies the settings on text input.
	TextInputSpecification *TextInputSpecification `locationName:"textInputSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Specifies the settings on a prompt attempt.

func (PromptAttemptSpecification) GoString added in v1.44.105

func (s PromptAttemptSpecification) 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 (*PromptAttemptSpecification) SetAllowInterrupt added in v1.44.105

SetAllowInterrupt sets the AllowInterrupt field's value.

func (*PromptAttemptSpecification) SetAllowedInputTypes added in v1.44.105

SetAllowedInputTypes sets the AllowedInputTypes field's value.

func (*PromptAttemptSpecification) SetAudioAndDTMFInputSpecification added in v1.44.105

SetAudioAndDTMFInputSpecification sets the AudioAndDTMFInputSpecification field's value.

func (*PromptAttemptSpecification) SetTextInputSpecification added in v1.44.105

SetTextInputSpecification sets the TextInputSpecification field's value.

func (PromptAttemptSpecification) String added in v1.44.105

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 (*PromptAttemptSpecification) Validate added in v1.44.105

func (s *PromptAttemptSpecification) Validate() error

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

type PromptSpecification

type PromptSpecification struct {

	// Indicates whether the user can interrupt a speech prompt from the bot.
	AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"`

	// The maximum number of times the bot tries to elicit a response from the user
	// using this prompt.
	//
	// MaxRetries is a required field
	MaxRetries *int64 `locationName:"maxRetries" type:"integer" required:"true"`

	// A collection of messages that Amazon Lex can send to the user. Amazon Lex
	// chooses the actual message to send at runtime.
	//
	// MessageGroups is a required field
	MessageGroups []*MessageGroup `locationName:"messageGroups" min:"1" type:"list" required:"true"`

	// Indicates how a message is selected from a message group among retries.
	MessageSelectionStrategy *string `locationName:"messageSelectionStrategy" type:"string" enum:"MessageSelectionStrategy"`

	// Specifies the advanced settings on each attempt of the prompt.
	PromptAttemptsSpecification map[string]*PromptAttemptSpecification `locationName:"promptAttemptsSpecification" type:"map"`
	// contains filtered or unexported fields
}

Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.

func (PromptSpecification) GoString

func (s PromptSpecification) 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 (*PromptSpecification) SetAllowInterrupt

func (s *PromptSpecification) SetAllowInterrupt(v bool) *PromptSpecification

SetAllowInterrupt sets the AllowInterrupt field's value.

func (*PromptSpecification) SetMaxRetries

func (s *PromptSpecification) SetMaxRetries(v int64) *PromptSpecification

SetMaxRetries sets the MaxRetries field's value.

func (*PromptSpecification) SetMessageGroups

func (s *PromptSpecification) SetMessageGroups(v []*MessageGroup) *PromptSpecification

SetMessageGroups sets the MessageGroups field's value.

func (*PromptSpecification) SetMessageSelectionStrategy added in v1.44.48

func (s *PromptSpecification) SetMessageSelectionStrategy(v string) *PromptSpecification

SetMessageSelectionStrategy sets the MessageSelectionStrategy field's value.

func (*PromptSpecification) SetPromptAttemptsSpecification added in v1.44.105

func (s *PromptSpecification) SetPromptAttemptsSpecification(v map[string]*PromptAttemptSpecification) *PromptSpecification

SetPromptAttemptsSpecification sets the PromptAttemptsSpecification field's value.

func (PromptSpecification) String

func (s PromptSpecification) 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 (*PromptSpecification) Validate

func (s *PromptSpecification) Validate() error

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

type RecommendedIntentSummary added in v1.42.17

type RecommendedIntentSummary struct {

	// The unique identifier of a recommended intent associated with the bot recommendation.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// The name of a recommended intent associated with the bot recommendation.
	IntentName *string `locationName:"intentName" min:"1" type:"string"`

	// The count of sample utterances of a recommended intent that is associated
	// with a bot recommendation.
	SampleUtterancesCount *int64 `locationName:"sampleUtterancesCount" type:"integer"`
	// contains filtered or unexported fields
}

An object that contains a summary of a recommended intent.

func (RecommendedIntentSummary) GoString added in v1.42.17

func (s RecommendedIntentSummary) 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 (*RecommendedIntentSummary) SetIntentId added in v1.42.17

SetIntentId sets the IntentId field's value.

func (*RecommendedIntentSummary) SetIntentName added in v1.42.17

SetIntentName sets the IntentName field's value.

func (*RecommendedIntentSummary) SetSampleUtterancesCount added in v1.42.17

func (s *RecommendedIntentSummary) SetSampleUtterancesCount(v int64) *RecommendedIntentSummary

SetSampleUtterancesCount sets the SampleUtterancesCount field's value.

func (RecommendedIntentSummary) String added in v1.42.17

func (s RecommendedIntentSummary) 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 RelativeAggregationDuration added in v1.40.47

type RelativeAggregationDuration struct {

	// The type of time period that the timeValue field represents.
	//
	// TimeDimension is a required field
	TimeDimension *string `locationName:"timeDimension" type:"string" required:"true" enum:"TimeDimension"`

	// The period of the time window to gather statistics for. The valid value depends
	// on the setting of the timeDimension field.
	//
	//    * Hours - 1/3/6/12/24
	//
	//    * Days - 3
	//
	//    * Weeks - 1/2
	//
	// TimeValue is a required field
	TimeValue *int64 `locationName:"timeValue" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Specifies the time window that utterance statistics are returned for. The time window is always relative to the last time that the that utterances were aggregated. For example, if the ListAggregatedUtterances operation is called at 1600, the time window is set to 1 hour, and the last refresh time was 1530, only utterances made between 1430 and 1530 are returned.

You can choose the time window that statistics should be returned for.

  • Hours - You can request utterance statistics for 1, 3, 6, 12, or 24 hour time windows. Statistics are refreshed every half hour for 1 hour time windows, and hourly for the other time windows.

  • Days - You can request utterance statistics for 3 days. Statistics are refreshed every 6 hours.

  • Weeks - You can see statistics for one or two weeks. Statistics are refreshed every 12 hours for one week time windows, and once per day for two week time windows.

func (RelativeAggregationDuration) GoString added in v1.40.47

func (s RelativeAggregationDuration) 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 (*RelativeAggregationDuration) SetTimeDimension added in v1.40.47

SetTimeDimension sets the TimeDimension field's value.

func (*RelativeAggregationDuration) SetTimeValue added in v1.40.47

SetTimeValue sets the TimeValue field's value.

func (RelativeAggregationDuration) String added in v1.40.47

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 (*RelativeAggregationDuration) Validate added in v1.40.47

func (s *RelativeAggregationDuration) Validate() error

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

type ResourceNotFoundException

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

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

You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) 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 (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) 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 ResponseSpecification

type ResponseSpecification struct {

	// Indicates whether the user can interrupt a speech response from Amazon Lex.
	AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"`

	// A collection of responses that Amazon Lex can send to the user. Amazon Lex
	// chooses the actual response to send at runtime.
	//
	// MessageGroups is a required field
	MessageGroups []*MessageGroup `locationName:"messageGroups" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Specifies a list of message groups that Amazon Lex uses to respond the user input.

func (ResponseSpecification) GoString

func (s ResponseSpecification) 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 (*ResponseSpecification) SetAllowInterrupt

func (s *ResponseSpecification) SetAllowInterrupt(v bool) *ResponseSpecification

SetAllowInterrupt sets the AllowInterrupt field's value.

func (*ResponseSpecification) SetMessageGroups

func (s *ResponseSpecification) SetMessageGroups(v []*MessageGroup) *ResponseSpecification

SetMessageGroups sets the MessageGroups field's value.

func (ResponseSpecification) String

func (s ResponseSpecification) 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 (*ResponseSpecification) Validate

func (s *ResponseSpecification) Validate() error

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

type RuntimeHintDetails added in v1.44.277

type RuntimeHintDetails struct {

	// One or more strings that Amazon Lex should look for in the input to the bot.
	// Each phrase is given preference when deciding on slot values.
	RuntimeHintValues []*RuntimeHintValue `locationName:"runtimeHintValues" min:"1" type:"list"`

	// A map of constituent sub slot names inside a composite slot in the intent
	// and the phrases that should be added for each sub slot. Inside each composite
	// slot hints, this structure provides a mechanism to add granular sub slot
	// phrases. Only sub slot hints are supported for composite slots. The intent
	// name, composite slot name and the constituent sub slot names must exist.
	SubSlotHints map[string]*RuntimeHintDetails `locationName:"subSlotHints" type:"map"`
	// contains filtered or unexported fields
}

Provides an array of phrases that should be given preference when resolving values for a slot.

func (RuntimeHintDetails) GoString added in v1.44.277

func (s RuntimeHintDetails) 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 (*RuntimeHintDetails) SetRuntimeHintValues added in v1.44.277

func (s *RuntimeHintDetails) SetRuntimeHintValues(v []*RuntimeHintValue) *RuntimeHintDetails

SetRuntimeHintValues sets the RuntimeHintValues field's value.

func (*RuntimeHintDetails) SetSubSlotHints added in v1.44.277

func (s *RuntimeHintDetails) SetSubSlotHints(v map[string]*RuntimeHintDetails) *RuntimeHintDetails

SetSubSlotHints sets the SubSlotHints field's value.

func (RuntimeHintDetails) String added in v1.44.277

func (s RuntimeHintDetails) 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 RuntimeHintValue added in v1.44.277

type RuntimeHintValue struct {

	// The phrase that Amazon Lex should look for in the user's input to the bot.
	//
	// Phrase is a required field
	Phrase *string `locationName:"phrase" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides the phrase that Amazon Lex should look for in the user's input to the bot.

func (RuntimeHintValue) GoString added in v1.44.277

func (s RuntimeHintValue) 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 (*RuntimeHintValue) SetPhrase added in v1.44.277

func (s *RuntimeHintValue) SetPhrase(v string) *RuntimeHintValue

SetPhrase sets the Phrase field's value.

func (RuntimeHintValue) String added in v1.44.277

func (s RuntimeHintValue) 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 RuntimeHints added in v1.44.277

type RuntimeHints struct {

	// A list of the slots in the intent that should have runtime hints added, and
	// the phrases that should be added for each slot.
	//
	// The first level of the slotHints map is the name of the intent. The second
	// level is the name of the slot within the intent. For more information, see
	// Using hints to improve accuracy (https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.html).
	//
	// The intent name and slot name must exist.
	SlotHints map[string]map[string]*RuntimeHintDetails `locationName:"slotHints" type:"map"`
	// contains filtered or unexported fields
}

You can provide Amazon Lex with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.

Before you can use runtime hints with an existing bot, you must first rebuild the bot.

For more information, see Using runtime hints to improve recognition of slot values (https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.html).

func (RuntimeHints) GoString added in v1.44.277

func (s RuntimeHints) 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 (*RuntimeHints) SetSlotHints added in v1.44.277

func (s *RuntimeHints) SetSlotHints(v map[string]map[string]*RuntimeHintDetails) *RuntimeHints

SetSlotHints sets the SlotHints field's value.

func (RuntimeHints) String added in v1.44.277

func (s RuntimeHints) 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 S3BucketLogDestination

type S3BucketLogDestination struct {

	// The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service
	// (KMS) key for encrypting audio log files stored in an S3 bucket.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`

	// The S3 prefix to assign to audio log files.
	//
	// LogPrefix is a required field
	LogPrefix *string `locationName:"logPrefix" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files
	// are stored.
	//
	// S3BucketArn is a required field
	S3BucketArn *string `locationName:"s3BucketArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies an Amazon S3 bucket for logging audio conversations

func (S3BucketLogDestination) GoString

func (s S3BucketLogDestination) 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 (*S3BucketLogDestination) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*S3BucketLogDestination) SetLogPrefix

SetLogPrefix sets the LogPrefix field's value.

func (*S3BucketLogDestination) SetS3BucketArn

SetS3BucketArn sets the S3BucketArn field's value.

func (S3BucketLogDestination) String

func (s S3BucketLogDestination) 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 (*S3BucketLogDestination) Validate

func (s *S3BucketLogDestination) Validate() error

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

type S3BucketTranscriptSource added in v1.42.17

type S3BucketTranscriptSource struct {

	// The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket.
	// Only use this field if your bucket is encrypted using a customer managed
	// KMS key.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`

	// The object that contains a path format that will be applied when Amazon Lex
	// reads the transcript file in the bucket you provide. Specify this object
	// if you only want Lex to read a subset of files in your Amazon S3 bucket.
	PathFormat *PathFormat `locationName:"pathFormat" type:"structure"`

	// The name of the bucket containing the transcript and the associated metadata.
	//
	// S3BucketName is a required field
	S3BucketName *string `locationName:"s3BucketName" min:"3" type:"string" required:"true"`

	// The object that contains the filter which will be applied when Amazon Lex
	// reads through the Amazon S3 bucket. Specify this object if you want Amazon
	// Lex to read only a subset of the Amazon S3 bucket based on the filter you
	// provide.
	TranscriptFilter *TranscriptFilter `locationName:"transcriptFilter" type:"structure"`

	// The format of the transcript content. Currently, Genie only supports the
	// Amazon Lex transcript format.
	//
	// TranscriptFormat is a required field
	TranscriptFormat *string `locationName:"transcriptFormat" type:"string" required:"true" enum:"TranscriptFormat"`
	// contains filtered or unexported fields
}

The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.

func (S3BucketTranscriptSource) GoString added in v1.42.17

func (s S3BucketTranscriptSource) 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 (*S3BucketTranscriptSource) SetKmsKeyArn added in v1.42.17

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*S3BucketTranscriptSource) SetPathFormat added in v1.42.17

SetPathFormat sets the PathFormat field's value.

func (*S3BucketTranscriptSource) SetS3BucketName added in v1.42.17

SetS3BucketName sets the S3BucketName field's value.

func (*S3BucketTranscriptSource) SetTranscriptFilter added in v1.42.17

SetTranscriptFilter sets the TranscriptFilter field's value.

func (*S3BucketTranscriptSource) SetTranscriptFormat added in v1.42.17

func (s *S3BucketTranscriptSource) SetTranscriptFormat(v string) *S3BucketTranscriptSource

SetTranscriptFormat sets the TranscriptFormat field's value.

func (S3BucketTranscriptSource) String added in v1.42.17

func (s S3BucketTranscriptSource) 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 (*S3BucketTranscriptSource) Validate added in v1.42.17

func (s *S3BucketTranscriptSource) Validate() error

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

type SSMLMessage

type SSMLMessage struct {

	// The SSML text that defines the prompt.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines a Speech Synthesis Markup Language (SSML) prompt.

func (SSMLMessage) GoString

func (s SSMLMessage) 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 (*SSMLMessage) SetValue

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

SetValue sets the Value field's value.

func (SSMLMessage) String

func (s SSMLMessage) 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 (*SSMLMessage) Validate

func (s *SSMLMessage) Validate() error

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

type SampleUtterance

type SampleUtterance struct {

	// The sample utterance that Amazon Lex uses to build its machine-learning model
	// to recognize intents.
	//
	// Utterance is a required field
	Utterance *string `locationName:"utterance" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A sample utterance that invokes an intent or respond to a slot elicitation prompt.

func (SampleUtterance) GoString

func (s SampleUtterance) 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 (*SampleUtterance) SetUtterance

func (s *SampleUtterance) SetUtterance(v string) *SampleUtterance

SetUtterance sets the Utterance field's value.

func (SampleUtterance) String

func (s SampleUtterance) 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 (*SampleUtterance) Validate

func (s *SampleUtterance) Validate() error

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

type SampleValue

type SampleValue struct {

	// The value that can be used for a slot type.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines one of the values for a slot type.

func (SampleValue) GoString

func (s SampleValue) 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 (*SampleValue) SetValue

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

SetValue sets the Value field's value.

func (SampleValue) String

func (s SampleValue) 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 (*SampleValue) Validate

func (s *SampleValue) Validate() error

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

type SearchAssociatedTranscriptsInput added in v1.42.17

type SearchAssociatedTranscriptsInput struct {

	// The unique identifier of the bot associated with the transcripts that you
	// are searching.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The unique identifier of the bot recommendation associated with the transcripts
	// to search.
	//
	// BotRecommendationId is a required field
	BotRecommendationId *string `location:"uri" locationName:"botRecommendationId" min:"10" type:"string" required:"true"`

	// The version of the bot containing the transcripts that you are searching.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"`

	// A list of filter objects.
	//
	// Filters is a required field
	Filters []*AssociatedTranscriptFilter `locationName:"filters" min:"1" type:"list" required:"true"`

	// The identifier of the language and locale of the transcripts to search. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The maximum number of bot recommendations to return in each page of results.
	// If there are fewer results than the max page size, only the actual number
	// of results are returned.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// If the response from the SearchAssociatedTranscriptsRequest operation contains
	// more results than specified in the maxResults parameter, an index is returned
	// in the response. Use that index in the nextIndex parameter to return the
	// next page of results.
	NextIndex *int64 `locationName:"nextIndex" type:"integer"`

	// How SearchResults are ordered. Valid values are Ascending or Descending.
	// The default is Descending.
	SearchOrder *string `locationName:"searchOrder" type:"string" enum:"SearchOrder"`
	// contains filtered or unexported fields
}

func (SearchAssociatedTranscriptsInput) GoString added in v1.42.17

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 (*SearchAssociatedTranscriptsInput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*SearchAssociatedTranscriptsInput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*SearchAssociatedTranscriptsInput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*SearchAssociatedTranscriptsInput) SetFilters added in v1.42.17

SetFilters sets the Filters field's value.

func (*SearchAssociatedTranscriptsInput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*SearchAssociatedTranscriptsInput) SetMaxResults added in v1.42.17

SetMaxResults sets the MaxResults field's value.

func (*SearchAssociatedTranscriptsInput) SetNextIndex added in v1.42.17

SetNextIndex sets the NextIndex field's value.

func (*SearchAssociatedTranscriptsInput) SetSearchOrder added in v1.42.17

SetSearchOrder sets the SearchOrder field's value.

func (SearchAssociatedTranscriptsInput) String added in v1.42.17

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 (*SearchAssociatedTranscriptsInput) Validate added in v1.42.17

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

type SearchAssociatedTranscriptsOutput added in v1.42.17

type SearchAssociatedTranscriptsOutput struct {

	// The object that contains the associated transcript that meet the criteria
	// you specified.
	AssociatedTranscripts []*AssociatedTranscript `locationName:"associatedTranscripts" type:"list"`

	// The unique identifier of the bot associated with the transcripts that you
	// are searching.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The unique identifier of the bot recommendation associated with the transcripts
	// to search.
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string"`

	// The version of the bot containing the transcripts that you are searching.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The identifier of the language and locale of the transcripts to search. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	LocaleId *string `locationName:"localeId" type:"string"`

	// A index that indicates whether there are more results to return in a response
	// to the SearchAssociatedTranscripts operation. If the nextIndex field is present,
	// you send the contents as the nextIndex parameter of a SearchAssociatedTranscriptsRequest
	// operation to get the next page of results.
	NextIndex *int64 `locationName:"nextIndex" type:"integer"`

	// The total number of transcripts returned by the search.
	TotalResults *int64 `locationName:"totalResults" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (SearchAssociatedTranscriptsOutput) GoString added in v1.42.17

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 (*SearchAssociatedTranscriptsOutput) SetAssociatedTranscripts added in v1.42.17

SetAssociatedTranscripts sets the AssociatedTranscripts field's value.

func (*SearchAssociatedTranscriptsOutput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*SearchAssociatedTranscriptsOutput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*SearchAssociatedTranscriptsOutput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*SearchAssociatedTranscriptsOutput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*SearchAssociatedTranscriptsOutput) SetNextIndex added in v1.42.17

SetNextIndex sets the NextIndex field's value.

func (*SearchAssociatedTranscriptsOutput) SetTotalResults added in v1.42.17

SetTotalResults sets the TotalResults field's value.

func (SearchAssociatedTranscriptsOutput) String added in v1.42.17

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 SentimentAnalysisSettings

type SentimentAnalysisSettings struct {

	// Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of
	// user utterances.
	//
	// DetectSentiment is a required field
	DetectSentiment *bool `locationName:"detectSentiment" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.

func (SentimentAnalysisSettings) GoString

func (s SentimentAnalysisSettings) 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 (*SentimentAnalysisSettings) SetDetectSentiment

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

SetDetectSentiment sets the DetectSentiment field's value.

func (SentimentAnalysisSettings) String

func (s SentimentAnalysisSettings) 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 (*SentimentAnalysisSettings) Validate

func (s *SentimentAnalysisSettings) Validate() error

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

type ServiceQuotaExceededException

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

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

You have reached a quota for your bot.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) 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 (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) 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 SlotCaptureSetting added in v1.44.79

type SlotCaptureSetting struct {

	// A list of conditional branches to evaluate after the slot value is captured.
	CaptureConditional *ConditionalSpecification `locationName:"captureConditional" type:"structure"`

	// Specifies the next step that the bot runs when the slot value is captured
	// before the code hook times out.
	CaptureNextStep *DialogState `locationName:"captureNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	CaptureResponse *ResponseSpecification `locationName:"captureResponse" type:"structure"`

	// Code hook called after Amazon Lex successfully captures a slot value.
	CodeHook *DialogCodeHookInvocationSetting `locationName:"codeHook" type:"structure"`

	// Code hook called when Amazon Lex doesn't capture a slot value.
	ElicitationCodeHook *ElicitationCodeHookInvocationSetting `locationName:"elicitationCodeHook" type:"structure"`

	// A list of conditional branches to evaluate when the slot value isn't captured.
	FailureConditional *ConditionalSpecification `locationName:"failureConditional" type:"structure"`

	// Specifies the next step that the bot runs when the slot value code is not
	// recognized.
	FailureNextStep *DialogState `locationName:"failureNextStep" type:"structure"`

	// Specifies a list of message groups that Amazon Lex uses to respond the user
	// input.
	FailureResponse *ResponseSpecification `locationName:"failureResponse" type:"structure"`
	// contains filtered or unexported fields
}

Settings used when Amazon Lex successfully captures a slot value from a user.

func (SlotCaptureSetting) GoString added in v1.44.79

func (s SlotCaptureSetting) 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 (*SlotCaptureSetting) SetCaptureConditional added in v1.44.79

func (s *SlotCaptureSetting) SetCaptureConditional(v *ConditionalSpecification) *SlotCaptureSetting

SetCaptureConditional sets the CaptureConditional field's value.

func (*SlotCaptureSetting) SetCaptureNextStep added in v1.44.79

func (s *SlotCaptureSetting) SetCaptureNextStep(v *DialogState) *SlotCaptureSetting

SetCaptureNextStep sets the CaptureNextStep field's value.

func (*SlotCaptureSetting) SetCaptureResponse added in v1.44.79

func (s *SlotCaptureSetting) SetCaptureResponse(v *ResponseSpecification) *SlotCaptureSetting

SetCaptureResponse sets the CaptureResponse field's value.

func (*SlotCaptureSetting) SetCodeHook added in v1.44.79

SetCodeHook sets the CodeHook field's value.

func (*SlotCaptureSetting) SetElicitationCodeHook added in v1.44.79

SetElicitationCodeHook sets the ElicitationCodeHook field's value.

func (*SlotCaptureSetting) SetFailureConditional added in v1.44.79

func (s *SlotCaptureSetting) SetFailureConditional(v *ConditionalSpecification) *SlotCaptureSetting

SetFailureConditional sets the FailureConditional field's value.

func (*SlotCaptureSetting) SetFailureNextStep added in v1.44.79

func (s *SlotCaptureSetting) SetFailureNextStep(v *DialogState) *SlotCaptureSetting

SetFailureNextStep sets the FailureNextStep field's value.

func (*SlotCaptureSetting) SetFailureResponse added in v1.44.79

func (s *SlotCaptureSetting) SetFailureResponse(v *ResponseSpecification) *SlotCaptureSetting

SetFailureResponse sets the FailureResponse field's value.

func (SlotCaptureSetting) String added in v1.44.79

func (s SlotCaptureSetting) 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 (*SlotCaptureSetting) Validate added in v1.44.79

func (s *SlotCaptureSetting) Validate() error

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

type SlotDefaultValue

type SlotDefaultValue struct {

	// The default value to use when a user doesn't provide a value for a slot.
	//
	// DefaultValue is a required field
	DefaultValue *string `locationName:"defaultValue" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies the default value to use when a user doesn't provide a 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 SlotDefaultValueSpecification

type SlotDefaultValueSpecification struct {

	// A list of default values. Amazon Lex chooses the default value to use in
	// the order that they are presented in the list.
	//
	// DefaultValueList is a required field
	DefaultValueList []*SlotDefaultValue `locationName:"defaultValueList" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Defines a list of values that Amazon Lex should use as the default value for a slot.

func (SlotDefaultValueSpecification) 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 (*SlotDefaultValueSpecification) SetDefaultValueList

SetDefaultValueList sets the DefaultValueList field's value.

func (SlotDefaultValueSpecification) 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 (*SlotDefaultValueSpecification) Validate

func (s *SlotDefaultValueSpecification) Validate() error

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

type SlotFilter

type SlotFilter struct {

	// The name of the field to use for filtering.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"SlotFilterName"`

	// The operator to use for the filter. Specify EQ when the ListSlots operation
	// should return only aliases that equal the specified value. Specify CO when
	// the ListSlots operation should return aliases that contain the specified
	// value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"SlotFilterOperator"`

	// The value to use to filter the response.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters the response from the ListSlots operation.

func (SlotFilter) GoString

func (s SlotFilter) 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 (*SlotFilter) SetName

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

SetName sets the Name field's value.

func (*SlotFilter) SetOperator

func (s *SlotFilter) SetOperator(v string) *SlotFilter

SetOperator sets the Operator field's value.

func (*SlotFilter) SetValues

func (s *SlotFilter) SetValues(v []*string) *SlotFilter

SetValues sets the Values field's value.

func (SlotFilter) String

func (s SlotFilter) 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 (*SlotFilter) Validate

func (s *SlotFilter) Validate() error

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

type SlotPriority

type SlotPriority struct {

	// The priority that Amazon Lex should apply to the slot.
	//
	// Priority is a required field
	Priority *int64 `locationName:"priority" type:"integer" required:"true"`

	// The unique identifier of the slot.
	//
	// SlotId is a required field
	SlotId *string `locationName:"slotId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Sets the priority that Amazon Lex should use when eliciting slot values from a user.

func (SlotPriority) GoString

func (s SlotPriority) 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 (*SlotPriority) SetPriority

func (s *SlotPriority) SetPriority(v int64) *SlotPriority

SetPriority sets the Priority field's value.

func (*SlotPriority) SetSlotId

func (s *SlotPriority) SetSlotId(v string) *SlotPriority

SetSlotId sets the SlotId field's value.

func (SlotPriority) String

func (s SlotPriority) 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 (*SlotPriority) Validate

func (s *SlotPriority) Validate() error

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

type SlotResolutionTestResultItem added in v1.44.277

type SlotResolutionTestResultItem struct {

	// A result for slot resolution in the results of a test execution.
	//
	// ResultCounts is a required field
	ResultCounts *SlotResolutionTestResultItemCounts `locationName:"resultCounts" type:"structure" required:"true"`

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

Information about the success and failure rate of slot resolution in the results of a test execution.

func (SlotResolutionTestResultItem) GoString added in v1.44.277

func (s SlotResolutionTestResultItem) 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 (*SlotResolutionTestResultItem) SetResultCounts added in v1.44.277

SetResultCounts sets the ResultCounts field's value.

func (*SlotResolutionTestResultItem) SetSlotName added in v1.44.277

SetSlotName sets the SlotName field's value.

func (SlotResolutionTestResultItem) String added in v1.44.277

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 SlotResolutionTestResultItemCounts added in v1.44.277

type SlotResolutionTestResultItemCounts struct {

	// The number of matched and mismatched results for slot resolution for the
	// slot.
	//
	// SlotMatchResultCounts is a required field
	SlotMatchResultCounts map[string]*int64 `locationName:"slotMatchResultCounts" type:"map" required:"true"`

	// The number of matched, mismatched and execution error results for speech
	// transcription for the slot.
	SpeechTranscriptionResultCounts map[string]*int64 `locationName:"speechTranscriptionResultCounts" type:"map"`

	// The total number of results.
	//
	// TotalResultCount is a required field
	TotalResultCount *int64 `locationName:"totalResultCount" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Information about the counts for a slot resolution in the results of a test execution.

func (SlotResolutionTestResultItemCounts) GoString added in v1.44.277

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 (*SlotResolutionTestResultItemCounts) SetSlotMatchResultCounts added in v1.44.277

SetSlotMatchResultCounts sets the SlotMatchResultCounts field's value.

func (*SlotResolutionTestResultItemCounts) SetSpeechTranscriptionResultCounts added in v1.44.277

func (s *SlotResolutionTestResultItemCounts) SetSpeechTranscriptionResultCounts(v map[string]*int64) *SlotResolutionTestResultItemCounts

SetSpeechTranscriptionResultCounts sets the SpeechTranscriptionResultCounts field's value.

func (*SlotResolutionTestResultItemCounts) SetTotalResultCount added in v1.44.277

SetTotalResultCount sets the TotalResultCount field's value.

func (SlotResolutionTestResultItemCounts) String added in v1.44.277

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 SlotSortBy

type SlotSortBy struct {

	// The attribute to use to sort the list.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"SlotSortAttribute"`

	// The order to sort the list. You can choose ascending or descending.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of bots.

func (SlotSortBy) GoString

func (s SlotSortBy) 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 (*SlotSortBy) SetAttribute

func (s *SlotSortBy) SetAttribute(v string) *SlotSortBy

SetAttribute sets the Attribute field's value.

func (*SlotSortBy) SetOrder

func (s *SlotSortBy) SetOrder(v string) *SlotSortBy

SetOrder sets the Order field's value.

func (SlotSortBy) String

func (s SlotSortBy) 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 (*SlotSortBy) Validate

func (s *SlotSortBy) Validate() error

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

type SlotSummary

type SlotSummary struct {

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

	// The timestamp of the last date and time that the slot was updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Whether the slot is required or optional. An intent is complete when all
	// required slots are filled.
	SlotConstraint *string `locationName:"slotConstraint" type:"string" enum:"SlotConstraint"`

	// The unique identifier of the slot.
	SlotId *string `locationName:"slotId" min:"10" type:"string"`

	// The name given to the slot.
	SlotName *string `locationName:"slotName" min:"1" type:"string"`

	// The unique identifier for the slot type that defines the values for the slot.
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string"`

	// Prompts that are sent to the user to elicit a value for the slot.
	ValueElicitationPromptSpecification *PromptSpecification `locationName:"valueElicitationPromptSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Summary information about a slot, a value that the bot elicits from the user.

func (SlotSummary) GoString

func (s SlotSummary) 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 (*SlotSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*SlotSummary) SetLastUpdatedDateTime

func (s *SlotSummary) SetLastUpdatedDateTime(v time.Time) *SlotSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*SlotSummary) SetSlotConstraint

func (s *SlotSummary) SetSlotConstraint(v string) *SlotSummary

SetSlotConstraint sets the SlotConstraint field's value.

func (*SlotSummary) SetSlotId

func (s *SlotSummary) SetSlotId(v string) *SlotSummary

SetSlotId sets the SlotId field's value.

func (*SlotSummary) SetSlotName

func (s *SlotSummary) SetSlotName(v string) *SlotSummary

SetSlotName sets the SlotName field's value.

func (*SlotSummary) SetSlotTypeId

func (s *SlotSummary) SetSlotTypeId(v string) *SlotSummary

SetSlotTypeId sets the SlotTypeId field's value.

func (*SlotSummary) SetValueElicitationPromptSpecification

func (s *SlotSummary) SetValueElicitationPromptSpecification(v *PromptSpecification) *SlotSummary

SetValueElicitationPromptSpecification sets the ValueElicitationPromptSpecification field's value.

func (SlotSummary) String

func (s SlotSummary) 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 SlotTypeFilter

type SlotTypeFilter struct {

	// The name of the field to use for filtering.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true" enum:"SlotTypeFilterName"`

	// The operator to use for the filter. Specify EQ when the ListSlotTypes operation
	// should return only aliases that equal the specified value. Specify CO when
	// the ListSlotTypes operation should return aliases that contain the specified
	// value.
	//
	// Operator is a required field
	Operator *string `locationName:"operator" type:"string" required:"true" enum:"SlotTypeFilterOperator"`

	// The value to use to filter the response.
	//
	// Values is a required field
	Values []*string `locationName:"values" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Filters the response from the ListSlotTypes operation.

func (SlotTypeFilter) GoString

func (s SlotTypeFilter) 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 (*SlotTypeFilter) SetName

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

SetName sets the Name field's value.

func (*SlotTypeFilter) SetOperator

func (s *SlotTypeFilter) SetOperator(v string) *SlotTypeFilter

SetOperator sets the Operator field's value.

func (*SlotTypeFilter) SetValues

func (s *SlotTypeFilter) SetValues(v []*string) *SlotTypeFilter

SetValues sets the Values field's value.

func (SlotTypeFilter) String

func (s SlotTypeFilter) 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 (*SlotTypeFilter) Validate

func (s *SlotTypeFilter) Validate() error

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

type SlotTypeSortBy

type SlotTypeSortBy struct {

	// The attribute to use to sort the list of slot types.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"SlotTypeSortAttribute"`

	// The order to sort the list. You can say ascending or descending.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Specifies attributes for sorting a list of slot types.

func (SlotTypeSortBy) GoString

func (s SlotTypeSortBy) 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 (*SlotTypeSortBy) SetAttribute

func (s *SlotTypeSortBy) SetAttribute(v string) *SlotTypeSortBy

SetAttribute sets the Attribute field's value.

func (*SlotTypeSortBy) SetOrder

func (s *SlotTypeSortBy) SetOrder(v string) *SlotTypeSortBy

SetOrder sets the Order field's value.

func (SlotTypeSortBy) String

func (s SlotTypeSortBy) 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 (*SlotTypeSortBy) Validate

func (s *SlotTypeSortBy) Validate() error

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

type SlotTypeStatistics added in v1.42.17

type SlotTypeStatistics struct {

	// The number of recommended slot types associated with the bot recommendation.
	DiscoveredSlotTypeCount *int64 `locationName:"discoveredSlotTypeCount" type:"integer"`
	// contains filtered or unexported fields
}

The object that contains the statistical summary of the recommended slot type associated with the bot recommendation.

func (SlotTypeStatistics) GoString added in v1.42.17

func (s SlotTypeStatistics) 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 (*SlotTypeStatistics) SetDiscoveredSlotTypeCount added in v1.42.17

func (s *SlotTypeStatistics) SetDiscoveredSlotTypeCount(v int64) *SlotTypeStatistics

SetDiscoveredSlotTypeCount sets the DiscoveredSlotTypeCount field's value.

func (SlotTypeStatistics) String added in v1.42.17

func (s SlotTypeStatistics) 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 SlotTypeSummary

type SlotTypeSummary struct {

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

	// A timestamp of the date and time that the slot type was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// If the slot type is derived from a built-on slot type, the name of the parent
	// slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" type:"string"`

	// Indicates the type of the slot type.
	//
	//    * Custom - A slot type that you created using custom values. For more
	//    information, see Creating custom slot types (https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html).
	//
	//    * Extended - A slot type created by extending the AMAZON.AlphaNumeric
	//    built-in slot type. For more information, see AMAZON.AlphaNumeric (https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html).
	//
	//    * ExternalGrammar - A slot type using a custom GRXML grammar to define
	//    values. For more information, see Using a custom grammar slot type (https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html).
	SlotTypeCategory *string `locationName:"slotTypeCategory" type:"string" enum:"SlotTypeCategory"`

	// The unique identifier assigned to the slot type.
	SlotTypeId *string `locationName:"slotTypeId" min:"10" type:"string"`

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

Provides summary information about a slot type.

func (SlotTypeSummary) GoString

func (s SlotTypeSummary) 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 (*SlotTypeSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*SlotTypeSummary) SetLastUpdatedDateTime

func (s *SlotTypeSummary) SetLastUpdatedDateTime(v time.Time) *SlotTypeSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*SlotTypeSummary) SetParentSlotTypeSignature

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

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*SlotTypeSummary) SetSlotTypeCategory added in v1.42.22

func (s *SlotTypeSummary) SetSlotTypeCategory(v string) *SlotTypeSummary

SetSlotTypeCategory sets the SlotTypeCategory field's value.

func (*SlotTypeSummary) SetSlotTypeId

func (s *SlotTypeSummary) SetSlotTypeId(v string) *SlotTypeSummary

SetSlotTypeId sets the SlotTypeId field's value.

func (*SlotTypeSummary) SetSlotTypeName

func (s *SlotTypeSummary) SetSlotTypeName(v string) *SlotTypeSummary

SetSlotTypeName sets the SlotTypeName field's value.

func (SlotTypeSummary) String

func (s SlotTypeSummary) 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 SlotTypeValue

type SlotTypeValue struct {

	// The value of the slot type entry.
	SampleValue *SampleValue `locationName:"sampleValue" type:"structure"`

	// Additional values related to the slot type entry.
	Synonyms []*SampleValue `locationName:"synonyms" min:"1" type:"list"`
	// contains filtered or unexported fields
}

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

func (SlotTypeValue) GoString

func (s SlotTypeValue) 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 (*SlotTypeValue) SetSampleValue

func (s *SlotTypeValue) SetSampleValue(v *SampleValue) *SlotTypeValue

SetSampleValue sets the SampleValue field's value.

func (*SlotTypeValue) SetSynonyms

func (s *SlotTypeValue) SetSynonyms(v []*SampleValue) *SlotTypeValue

SetSynonyms sets the Synonyms field's value.

func (SlotTypeValue) String

func (s SlotTypeValue) 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 (*SlotTypeValue) Validate

func (s *SlotTypeValue) Validate() error

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

type SlotValue added in v1.44.79

type SlotValue struct {

	// The value that Amazon Lex determines for the slot. The actual value depends
	// on the setting of the value selection strategy for the bot. You can choose
	// to use the value entered by the user, or you can have Amazon Lex choose the
	// first value in the resolvedValues list.
	InterpretedValue *string `locationName:"interpretedValue" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The value to set in a slot.

func (SlotValue) GoString added in v1.44.79

func (s SlotValue) 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 (*SlotValue) SetInterpretedValue added in v1.44.79

func (s *SlotValue) SetInterpretedValue(v string) *SlotValue

SetInterpretedValue sets the InterpretedValue field's value.

func (SlotValue) String added in v1.44.79

func (s SlotValue) 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 (*SlotValue) Validate added in v1.44.79

func (s *SlotValue) Validate() error

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

type SlotValueElicitationSetting

type SlotValueElicitationSetting struct {

	// A list of default values for a 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.
	DefaultValueSpecification *SlotDefaultValueSpecification `locationName:"defaultValueSpecification" type:"structure"`

	// The prompt that Amazon Lex uses to elicit the slot value from the user.
	PromptSpecification *PromptSpecification `locationName:"promptSpecification" type:"structure"`

	// If you know a specific pattern that 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 []*SampleUtterance `locationName:"sampleUtterances" type:"list"`

	// Specifies the settings that Amazon Lex uses when a slot value is successfully
	// entered by a user.
	SlotCaptureSetting *SlotCaptureSetting `locationName:"slotCaptureSetting" type:"structure"`

	// Specifies whether the slot is required or optional.
	//
	// SlotConstraint is a required field
	SlotConstraint *string `locationName:"slotConstraint" type:"string" required:"true" enum:"SlotConstraint"`

	// Specifies the prompts that Amazon Lex uses while a bot is waiting for customer
	// input.
	WaitAndContinueSpecification *WaitAndContinueSpecification `locationName:"waitAndContinueSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Specifies the elicitation setting details eliciting a slot.

func (SlotValueElicitationSetting) GoString

func (s SlotValueElicitationSetting) 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 (*SlotValueElicitationSetting) SetDefaultValueSpecification

SetDefaultValueSpecification sets the DefaultValueSpecification field's value.

func (*SlotValueElicitationSetting) SetPromptSpecification

SetPromptSpecification sets the PromptSpecification field's value.

func (*SlotValueElicitationSetting) SetSampleUtterances

SetSampleUtterances sets the SampleUtterances field's value.

func (*SlotValueElicitationSetting) SetSlotCaptureSetting added in v1.44.79

SetSlotCaptureSetting sets the SlotCaptureSetting field's value.

func (*SlotValueElicitationSetting) SetSlotConstraint

SetSlotConstraint sets the SlotConstraint field's value.

func (*SlotValueElicitationSetting) SetWaitAndContinueSpecification

SetWaitAndContinueSpecification sets the WaitAndContinueSpecification field's value.

func (SlotValueElicitationSetting) 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 (*SlotValueElicitationSetting) Validate

func (s *SlotValueElicitationSetting) Validate() error

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

type SlotValueOverride added in v1.44.79

type SlotValueOverride struct {

	// When the shape value is List, it indicates that the values field contains
	// a list of slot values. When the value is Scalar, it indicates that the value
	// field contains a single value.
	Shape *string `locationName:"shape" type:"string" enum:"SlotShape"`

	// The current value of the slot.
	Value *SlotValue `locationName:"value" type:"structure"`

	// A list of one or more values that the user provided for the slot. For example,
	// for a slot that elicits pizza toppings, the values might be "pepperoni" and
	// "pineapple."
	Values []*SlotValueOverride `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

The slot values that Amazon Lex uses when it sets slot values in a dialog step.

func (SlotValueOverride) GoString added in v1.44.79

func (s SlotValueOverride) 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 (*SlotValueOverride) SetShape added in v1.44.79

func (s *SlotValueOverride) SetShape(v string) *SlotValueOverride

SetShape sets the Shape field's value.

func (*SlotValueOverride) SetValue added in v1.44.79

SetValue sets the Value field's value.

func (*SlotValueOverride) SetValues added in v1.44.79

SetValues sets the Values field's value.

func (SlotValueOverride) String added in v1.44.79

func (s SlotValueOverride) 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 (*SlotValueOverride) Validate added in v1.44.79

func (s *SlotValueOverride) Validate() error

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

type SlotValueRegexFilter

type SlotValueRegexFilter 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 (SlotValueRegexFilter) GoString

func (s SlotValueRegexFilter) 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 (*SlotValueRegexFilter) SetPattern

SetPattern sets the Pattern field's value.

func (SlotValueRegexFilter) String

func (s SlotValueRegexFilter) 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 (*SlotValueRegexFilter) Validate

func (s *SlotValueRegexFilter) Validate() error

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

type SlotValueSelectionSetting

type SlotValueSelectionSetting struct {

	// Provides settings that enable advanced recognition settings for slot values.
	// You can use this to enable using slot values as a custom vocabulary for recognizing
	// user utterances.
	AdvancedRecognitionSetting *AdvancedRecognitionSetting `locationName:"advancedRecognitionSetting" type:"structure"`

	// A regular expression used to validate the value of a slot.
	RegexFilter *SlotValueRegexFilter `locationName:"regexFilter" type:"structure"`

	// 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.
	//
	// ResolutionStrategy is a required field
	ResolutionStrategy *string `locationName:"resolutionStrategy" type:"string" required:"true" enum:"SlotValueResolutionStrategy"`
	// contains filtered or unexported fields
}

Contains settings used by Amazon Lex to select a slot value.

func (SlotValueSelectionSetting) GoString

func (s SlotValueSelectionSetting) 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 (*SlotValueSelectionSetting) SetAdvancedRecognitionSetting added in v1.42.33

SetAdvancedRecognitionSetting sets the AdvancedRecognitionSetting field's value.

func (*SlotValueSelectionSetting) SetRegexFilter

SetRegexFilter sets the RegexFilter field's value.

func (*SlotValueSelectionSetting) SetResolutionStrategy

func (s *SlotValueSelectionSetting) SetResolutionStrategy(v string) *SlotValueSelectionSetting

SetResolutionStrategy sets the ResolutionStrategy field's value.

func (SlotValueSelectionSetting) String

func (s SlotValueSelectionSetting) 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 (*SlotValueSelectionSetting) Validate

func (s *SlotValueSelectionSetting) Validate() error

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

type Specifications added in v1.44.95

type Specifications struct {

	// The unique identifier assigned to the slot type.
	//
	// SlotTypeId is a required field
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string" required:"true"`

	// Specifies the elicitation setting details for constituent sub slots of a
	// composite slot.
	//
	// ValueElicitationSetting is a required field
	ValueElicitationSetting *SubSlotValueElicitationSetting `locationName:"valueElicitationSetting" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Subslot specifications.

func (Specifications) GoString added in v1.44.95

func (s Specifications) 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 (*Specifications) SetSlotTypeId added in v1.44.95

func (s *Specifications) SetSlotTypeId(v string) *Specifications

SetSlotTypeId sets the SlotTypeId field's value.

func (*Specifications) SetValueElicitationSetting added in v1.44.95

func (s *Specifications) SetValueElicitationSetting(v *SubSlotValueElicitationSetting) *Specifications

SetValueElicitationSetting sets the ValueElicitationSetting field's value.

func (Specifications) String added in v1.44.95

func (s Specifications) 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 (*Specifications) Validate added in v1.44.95

func (s *Specifications) Validate() error

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

type StartBotRecommendationInput added in v1.42.17

type StartBotRecommendationInput struct {

	// The unique identifier of the bot containing the bot recommendation.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot containing the bot recommendation.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The object representing the passwords that will be used to encrypt the data
	// related to the bot recommendation results, as well as the KMS key ARN used
	// to encrypt the associated metadata.
	EncryptionSetting *EncryptionSetting `locationName:"encryptionSetting" type:"structure"`

	// The identifier of the language and locale of the bot recommendation to start.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The object representing the Amazon S3 bucket containing the transcript, as
	// well as the associated metadata.
	//
	// TranscriptSourceSetting is a required field
	TranscriptSourceSetting *TranscriptSourceSetting `locationName:"transcriptSourceSetting" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StartBotRecommendationInput) GoString added in v1.42.17

func (s StartBotRecommendationInput) 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 (*StartBotRecommendationInput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*StartBotRecommendationInput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*StartBotRecommendationInput) SetEncryptionSetting added in v1.42.17

SetEncryptionSetting sets the EncryptionSetting field's value.

func (*StartBotRecommendationInput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*StartBotRecommendationInput) SetTranscriptSourceSetting added in v1.42.17

SetTranscriptSourceSetting sets the TranscriptSourceSetting field's value.

func (StartBotRecommendationInput) String added in v1.42.17

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 (*StartBotRecommendationInput) Validate added in v1.42.17

func (s *StartBotRecommendationInput) Validate() error

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

type StartBotRecommendationOutput added in v1.42.17

type StartBotRecommendationOutput struct {

	// The unique identifier of the bot containing the bot recommendation.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The identifier of the bot recommendation that you have created.
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string"`

	// The status of the bot recommendation.
	//
	// If the status is Failed, then the reasons for the failure are listed in the
	// failureReasons field.
	BotRecommendationStatus *string `locationName:"botRecommendationStatus" type:"string" enum:"BotRecommendationStatus"`

	// The version of the bot containing the bot recommendation.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp of the date and time that the bot recommendation was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The object representing the passwords that were used to encrypt the data
	// related to the bot recommendation results, as well as the KMS key ARN used
	// to encrypt the associated metadata.
	EncryptionSetting *EncryptionSetting `locationName:"encryptionSetting" type:"structure"`

	// The identifier of the language and locale of the bot recommendation to start.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	LocaleId *string `locationName:"localeId" type:"string"`

	// The object representing the Amazon S3 bucket containing the transcript, as
	// well as the associated metadata.
	TranscriptSourceSetting *TranscriptSourceSetting `locationName:"transcriptSourceSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (StartBotRecommendationOutput) GoString added in v1.42.17

func (s StartBotRecommendationOutput) 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 (*StartBotRecommendationOutput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*StartBotRecommendationOutput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*StartBotRecommendationOutput) SetBotRecommendationStatus added in v1.42.17

func (s *StartBotRecommendationOutput) SetBotRecommendationStatus(v string) *StartBotRecommendationOutput

SetBotRecommendationStatus sets the BotRecommendationStatus field's value.

func (*StartBotRecommendationOutput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*StartBotRecommendationOutput) SetCreationDateTime added in v1.42.17

SetCreationDateTime sets the CreationDateTime field's value.

func (*StartBotRecommendationOutput) SetEncryptionSetting added in v1.42.17

SetEncryptionSetting sets the EncryptionSetting field's value.

func (*StartBotRecommendationOutput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*StartBotRecommendationOutput) SetTranscriptSourceSetting added in v1.42.17

SetTranscriptSourceSetting sets the TranscriptSourceSetting field's value.

func (StartBotRecommendationOutput) String added in v1.42.17

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 StartImportInput added in v1.38.42

type StartImportInput struct {

	// The password used to encrypt the zip archive that contains the resource definition.
	// You should always encrypt the zip archive to protect it during transit between
	// your site and Amazon Lex.
	//
	// FilePassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by StartImportInput's
	// String and GoString methods.
	FilePassword *string `locationName:"filePassword" min:"1" type:"string" sensitive:"true"`

	// The unique identifier for the import. It is included in the response from
	// the CreateUploadUrl (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html)
	// operation.
	//
	// ImportId is a required field
	ImportId *string `locationName:"importId" min:"10" type:"string" required:"true"`

	// The strategy to use when there is a name conflict between the imported resource
	// and an existing resource. When the merge strategy is FailOnConflict existing
	// resources are not overwritten and the import fails.
	//
	// MergeStrategy is a required field
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" required:"true" enum:"MergeStrategy"`

	// Parameters for creating the bot, bot locale or custom vocabulary.
	//
	// ResourceSpecification is a required field
	ResourceSpecification *ImportResourceSpecification `locationName:"resourceSpecification" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StartImportInput) GoString added in v1.38.42

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) SetFilePassword added in v1.38.42

func (s *StartImportInput) SetFilePassword(v string) *StartImportInput

SetFilePassword sets the FilePassword field's value.

func (*StartImportInput) SetImportId added in v1.38.42

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

SetImportId sets the ImportId field's value.

func (*StartImportInput) SetMergeStrategy added in v1.38.42

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

SetMergeStrategy sets the MergeStrategy field's value.

func (*StartImportInput) SetResourceSpecification added in v1.38.42

func (s *StartImportInput) SetResourceSpecification(v *ImportResourceSpecification) *StartImportInput

SetResourceSpecification sets the ResourceSpecification field's value.

func (StartImportInput) String added in v1.38.42

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 added in v1.38.42

func (s *StartImportInput) Validate() error

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

type StartImportOutput added in v1.38.42

type StartImportOutput struct {

	// The date and time that the import request was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// A unique identifier for the import.
	ImportId *string `locationName:"importId" min:"10" type:"string"`

	// The current status of the import. When the status is Complete the bot, bot
	// alias, or custom vocabulary is ready to use.
	ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"`

	// The strategy used when there was a name conflict between the imported resource
	// and an existing resource. When the merge strategy is FailOnConflict existing
	// resources are not overwritten and the import fails.
	MergeStrategy *string `locationName:"mergeStrategy" type:"string" enum:"MergeStrategy"`

	// The parameters used when importing the resource.
	ResourceSpecification *ImportResourceSpecification `locationName:"resourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

func (StartImportOutput) GoString added in v1.38.42

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) SetCreationDateTime added in v1.38.42

func (s *StartImportOutput) SetCreationDateTime(v time.Time) *StartImportOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*StartImportOutput) SetImportId added in v1.38.42

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

SetImportId sets the ImportId field's value.

func (*StartImportOutput) SetImportStatus added in v1.38.42

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

SetImportStatus sets the ImportStatus field's value.

func (*StartImportOutput) SetMergeStrategy added in v1.38.42

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

SetMergeStrategy sets the MergeStrategy field's value.

func (*StartImportOutput) SetResourceSpecification added in v1.38.42

func (s *StartImportOutput) SetResourceSpecification(v *ImportResourceSpecification) *StartImportOutput

SetResourceSpecification sets the ResourceSpecification field's value.

func (StartImportOutput) String added in v1.38.42

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 StartTestExecutionInput added in v1.44.277

type StartTestExecutionInput struct {

	// Indicates whether we use streaming or non-streaming APIs for the test set
	// execution. For streaming, StartConversation Runtime API is used. Whereas,
	// for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime
	// API are used.
	//
	// ApiMode is a required field
	ApiMode *string `locationName:"apiMode" type:"string" required:"true" enum:"TestExecutionApiMode"`

	// The target bot for the test set execution.
	//
	// Target is a required field
	Target *TestExecutionTarget `locationName:"target" type:"structure" required:"true"`

	// Indicates whether audio or text is used.
	TestExecutionModality *string `locationName:"testExecutionModality" type:"string" enum:"TestExecutionModality"`

	// The test set Id for the test set execution.
	//
	// TestSetId is a required field
	TestSetId *string `location:"uri" locationName:"testSetId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartTestExecutionInput) GoString added in v1.44.277

func (s StartTestExecutionInput) 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 (*StartTestExecutionInput) SetApiMode added in v1.44.277

SetApiMode sets the ApiMode field's value.

func (*StartTestExecutionInput) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*StartTestExecutionInput) SetTestExecutionModality added in v1.44.277

func (s *StartTestExecutionInput) SetTestExecutionModality(v string) *StartTestExecutionInput

SetTestExecutionModality sets the TestExecutionModality field's value.

func (*StartTestExecutionInput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (StartTestExecutionInput) String added in v1.44.277

func (s StartTestExecutionInput) 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 (*StartTestExecutionInput) Validate added in v1.44.277

func (s *StartTestExecutionInput) Validate() error

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

type StartTestExecutionOutput added in v1.44.277

type StartTestExecutionOutput struct {

	// Indicates whether we use streaming or non-streaming APIs for the test set
	// execution. For streaming, StartConversation Amazon Lex Runtime API is used.
	// Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex
	// Runtime API are used.
	ApiMode *string `locationName:"apiMode" type:"string" enum:"TestExecutionApiMode"`

	// The creation date and time for the test set execution.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The target bot for the test set execution.
	Target *TestExecutionTarget `locationName:"target" type:"structure"`

	// The unique identifier of the test set execution.
	TestExecutionId *string `locationName:"testExecutionId" min:"10" type:"string"`

	// Indicates whether audio or text is used.
	TestExecutionModality *string `locationName:"testExecutionModality" type:"string" enum:"TestExecutionModality"`

	// The test set Id for the test set execution.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`
	// contains filtered or unexported fields
}

func (StartTestExecutionOutput) GoString added in v1.44.277

func (s StartTestExecutionOutput) 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 (*StartTestExecutionOutput) SetApiMode added in v1.44.277

SetApiMode sets the ApiMode field's value.

func (*StartTestExecutionOutput) SetCreationDateTime added in v1.44.277

func (s *StartTestExecutionOutput) SetCreationDateTime(v time.Time) *StartTestExecutionOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*StartTestExecutionOutput) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*StartTestExecutionOutput) SetTestExecutionId added in v1.44.277

func (s *StartTestExecutionOutput) SetTestExecutionId(v string) *StartTestExecutionOutput

SetTestExecutionId sets the TestExecutionId field's value.

func (*StartTestExecutionOutput) SetTestExecutionModality added in v1.44.277

func (s *StartTestExecutionOutput) SetTestExecutionModality(v string) *StartTestExecutionOutput

SetTestExecutionModality sets the TestExecutionModality field's value.

func (*StartTestExecutionOutput) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (StartTestExecutionOutput) String added in v1.44.277

func (s StartTestExecutionOutput) 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 StartTestSetGenerationInput added in v1.44.277

type StartTestSetGenerationInput struct {

	// The test set description for the test set generation request.
	Description *string `locationName:"description" type:"string"`

	// The data source for the test set generation.
	//
	// GenerationDataSource is a required field
	GenerationDataSource *TestSetGenerationDataSource `locationName:"generationDataSource" type:"structure" required:"true"`

	// The roleARN used for any operation in the test set to access resources in
	// the Amazon Web Services account.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"`

	// The Amazon S3 storage location for the test set generation.
	//
	// StorageLocation is a required field
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure" required:"true"`

	// The test set name for the test set generation request.
	//
	// TestSetName is a required field
	TestSetName *string `locationName:"testSetName" min:"1" type:"string" required:"true"`

	// A list of tags to add to the test set. You can only add tags when you import/generate
	// a new test set. You can't use the UpdateTestSet operation to update tags.
	// To update tags, use the TagResource operation.
	TestSetTags map[string]*string `locationName:"testSetTags" type:"map"`
	// contains filtered or unexported fields
}

func (StartTestSetGenerationInput) GoString added in v1.44.277

func (s StartTestSetGenerationInput) 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 (*StartTestSetGenerationInput) SetDescription added in v1.44.277

SetDescription sets the Description field's value.

func (*StartTestSetGenerationInput) SetGenerationDataSource added in v1.44.277

SetGenerationDataSource sets the GenerationDataSource field's value.

func (*StartTestSetGenerationInput) SetRoleArn added in v1.44.277

SetRoleArn sets the RoleArn field's value.

func (*StartTestSetGenerationInput) SetStorageLocation added in v1.44.277

SetStorageLocation sets the StorageLocation field's value.

func (*StartTestSetGenerationInput) SetTestSetName added in v1.44.277

SetTestSetName sets the TestSetName field's value.

func (*StartTestSetGenerationInput) SetTestSetTags added in v1.44.277

SetTestSetTags sets the TestSetTags field's value.

func (StartTestSetGenerationInput) String added in v1.44.277

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 (*StartTestSetGenerationInput) Validate added in v1.44.277

func (s *StartTestSetGenerationInput) Validate() error

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

type StartTestSetGenerationOutput added in v1.44.277

type StartTestSetGenerationOutput struct {

	// The creation date and time for the test set generation.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description used for the test set generation.
	Description *string `locationName:"description" type:"string"`

	// The data source for the test set generation.
	GenerationDataSource *TestSetGenerationDataSource `locationName:"generationDataSource" type:"structure"`

	// The roleARN used for any operation in the test set to access resources in
	// the Amazon Web Services account.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`

	// The Amazon S3 storage location for the test set generation.
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure"`

	// The unique identifier of the test set generation to describe.
	TestSetGenerationId *string `locationName:"testSetGenerationId" min:"10" type:"string"`

	// The status for the test set generation.
	TestSetGenerationStatus *string `locationName:"testSetGenerationStatus" type:"string" enum:"TestSetGenerationStatus"`

	// The test set name used for the test set generation.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`

	// A list of tags that was used for the test set that is being generated.
	TestSetTags map[string]*string `locationName:"testSetTags" type:"map"`
	// contains filtered or unexported fields
}

func (StartTestSetGenerationOutput) GoString added in v1.44.277

func (s StartTestSetGenerationOutput) 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 (*StartTestSetGenerationOutput) SetCreationDateTime added in v1.44.277

SetCreationDateTime sets the CreationDateTime field's value.

func (*StartTestSetGenerationOutput) SetDescription added in v1.44.277

SetDescription sets the Description field's value.

func (*StartTestSetGenerationOutput) SetGenerationDataSource added in v1.44.277

SetGenerationDataSource sets the GenerationDataSource field's value.

func (*StartTestSetGenerationOutput) SetRoleArn added in v1.44.277

SetRoleArn sets the RoleArn field's value.

func (*StartTestSetGenerationOutput) SetStorageLocation added in v1.44.277

SetStorageLocation sets the StorageLocation field's value.

func (*StartTestSetGenerationOutput) SetTestSetGenerationId added in v1.44.277

SetTestSetGenerationId sets the TestSetGenerationId field's value.

func (*StartTestSetGenerationOutput) SetTestSetGenerationStatus added in v1.44.277

func (s *StartTestSetGenerationOutput) SetTestSetGenerationStatus(v string) *StartTestSetGenerationOutput

SetTestSetGenerationStatus sets the TestSetGenerationStatus field's value.

func (*StartTestSetGenerationOutput) SetTestSetName added in v1.44.277

SetTestSetName sets the TestSetName field's value.

func (*StartTestSetGenerationOutput) SetTestSetTags added in v1.44.277

SetTestSetTags sets the TestSetTags field's value.

func (StartTestSetGenerationOutput) String added in v1.44.277

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 StillWaitingResponseSpecification

type StillWaitingResponseSpecification struct {

	// Indicates that the user can interrupt the response by speaking while the
	// message is being played.
	AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"`

	// How often a message should be sent to the user. Minimum of 1 second, maximum
	// of 5 minutes.
	//
	// FrequencyInSeconds is a required field
	FrequencyInSeconds *int64 `locationName:"frequencyInSeconds" min:"1" type:"integer" required:"true"`

	// One or more message groups, each containing one or more messages, that define
	// the prompts that Amazon Lex sends to the user.
	//
	// MessageGroups is a required field
	MessageGroups []*MessageGroup `locationName:"messageGroups" min:"1" type:"list" required:"true"`

	// If Amazon Lex waits longer than this length of time for a response, it will
	// stop sending messages.
	//
	// TimeoutInSeconds is a required field
	TimeoutInSeconds *int64 `locationName:"timeoutInSeconds" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.

func (StillWaitingResponseSpecification) 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 (*StillWaitingResponseSpecification) SetAllowInterrupt

SetAllowInterrupt sets the AllowInterrupt field's value.

func (*StillWaitingResponseSpecification) SetFrequencyInSeconds

SetFrequencyInSeconds sets the FrequencyInSeconds field's value.

func (*StillWaitingResponseSpecification) SetMessageGroups

SetMessageGroups sets the MessageGroups field's value.

func (*StillWaitingResponseSpecification) SetTimeoutInSeconds

SetTimeoutInSeconds sets the TimeoutInSeconds field's value.

func (StillWaitingResponseSpecification) 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 (*StillWaitingResponseSpecification) Validate

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

type StopBotRecommendationInput added in v1.44.82

type StopBotRecommendationInput struct {

	// The unique identifier of the bot containing the bot recommendation to be
	// stopped.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The unique identifier of the bot recommendation to be stopped.
	//
	// BotRecommendationId is a required field
	BotRecommendationId *string `location:"uri" locationName:"botRecommendationId" min:"10" type:"string" required:"true"`

	// The version of the bot containing the bot recommendation.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The identifier of the language and locale of the bot recommendation to stop.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopBotRecommendationInput) GoString added in v1.44.82

func (s StopBotRecommendationInput) 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 (*StopBotRecommendationInput) SetBotId added in v1.44.82

SetBotId sets the BotId field's value.

func (*StopBotRecommendationInput) SetBotRecommendationId added in v1.44.82

func (s *StopBotRecommendationInput) SetBotRecommendationId(v string) *StopBotRecommendationInput

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*StopBotRecommendationInput) SetBotVersion added in v1.44.82

SetBotVersion sets the BotVersion field's value.

func (*StopBotRecommendationInput) SetLocaleId added in v1.44.82

SetLocaleId sets the LocaleId field's value.

func (StopBotRecommendationInput) String added in v1.44.82

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 (*StopBotRecommendationInput) Validate added in v1.44.82

func (s *StopBotRecommendationInput) Validate() error

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

type StopBotRecommendationOutput added in v1.44.82

type StopBotRecommendationOutput struct {

	// The unique identifier of the bot containing the bot recommendation that is
	// being stopped.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The unique identifier of the bot recommendation that is being stopped.
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string"`

	// The status of the bot recommendation. If the status is Failed, then the reasons
	// for the failure are listed in the failureReasons field.
	BotRecommendationStatus *string `locationName:"botRecommendationStatus" type:"string" enum:"BotRecommendationStatus"`

	// The version of the bot containing the recommendation that is being stopped.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The identifier of the language and locale of the bot response to stop. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	LocaleId *string `locationName:"localeId" type:"string"`
	// contains filtered or unexported fields
}

func (StopBotRecommendationOutput) GoString added in v1.44.82

func (s StopBotRecommendationOutput) 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 (*StopBotRecommendationOutput) SetBotId added in v1.44.82

SetBotId sets the BotId field's value.

func (*StopBotRecommendationOutput) SetBotRecommendationId added in v1.44.82

func (s *StopBotRecommendationOutput) SetBotRecommendationId(v string) *StopBotRecommendationOutput

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*StopBotRecommendationOutput) SetBotRecommendationStatus added in v1.44.82

func (s *StopBotRecommendationOutput) SetBotRecommendationStatus(v string) *StopBotRecommendationOutput

SetBotRecommendationStatus sets the BotRecommendationStatus field's value.

func (*StopBotRecommendationOutput) SetBotVersion added in v1.44.82

SetBotVersion sets the BotVersion field's value.

func (*StopBotRecommendationOutput) SetLocaleId added in v1.44.82

SetLocaleId sets the LocaleId field's value.

func (StopBotRecommendationOutput) String added in v1.44.82

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 SubSlotSetting added in v1.44.95

type SubSlotSetting struct {

	// The expression text for defining the constituent sub slots in the composite
	// slot using logical AND and OR operators.
	Expression *string `locationName:"expression" type:"string"`

	// Specifications for the constituent sub slots of a composite slot.
	SlotSpecifications map[string]*Specifications `locationName:"slotSpecifications" type:"map"`
	// contains filtered or unexported fields
}

Specifications for the constituent sub slots and the expression for the composite slot.

func (SubSlotSetting) GoString added in v1.44.95

func (s SubSlotSetting) 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 (*SubSlotSetting) SetExpression added in v1.44.95

func (s *SubSlotSetting) SetExpression(v string) *SubSlotSetting

SetExpression sets the Expression field's value.

func (*SubSlotSetting) SetSlotSpecifications added in v1.44.95

func (s *SubSlotSetting) SetSlotSpecifications(v map[string]*Specifications) *SubSlotSetting

SetSlotSpecifications sets the SlotSpecifications field's value.

func (SubSlotSetting) String added in v1.44.95

func (s SubSlotSetting) 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 (*SubSlotSetting) Validate added in v1.44.95

func (s *SubSlotSetting) Validate() error

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

type SubSlotTypeComposition added in v1.44.95

type SubSlotTypeComposition struct {

	// Name of a constituent sub slot inside a composite slot.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The unique identifier assigned to a slot type. This refers to either a built-in
	// slot type or the unique slotTypeId of a custom slot type.
	//
	// SlotTypeId is a required field
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Subslot type composition.

func (SubSlotTypeComposition) GoString added in v1.44.95

func (s SubSlotTypeComposition) 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 (*SubSlotTypeComposition) SetName added in v1.44.95

SetName sets the Name field's value.

func (*SubSlotTypeComposition) SetSlotTypeId added in v1.44.95

SetSlotTypeId sets the SlotTypeId field's value.

func (SubSlotTypeComposition) String added in v1.44.95

func (s SubSlotTypeComposition) 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 (*SubSlotTypeComposition) Validate added in v1.44.95

func (s *SubSlotTypeComposition) Validate() error

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

type SubSlotValueElicitationSetting added in v1.44.95

type SubSlotValueElicitationSetting struct {

	// Defines a list of values that Amazon Lex should use as the default value
	// for a slot.
	DefaultValueSpecification *SlotDefaultValueSpecification `locationName:"defaultValueSpecification" type:"structure"`

	// Specifies a list of message groups that Amazon Lex sends to a user to elicit
	// a response.
	//
	// PromptSpecification is a required field
	PromptSpecification *PromptSpecification `locationName:"promptSpecification" type:"structure" required:"true"`

	// If you know a specific pattern that users might respond to an Amazon Lex
	// request for a sub slot value, you can provide those utterances to improve
	// accuracy. This is optional. In most cases Amazon Lex is capable of understanding
	// user utterances. This is similar to SampleUtterances for slots.
	SampleUtterances []*SampleUtterance `locationName:"sampleUtterances" type:"list"`

	// Specifies the prompts that Amazon Lex uses while a bot is waiting for customer
	// input.
	WaitAndContinueSpecification *WaitAndContinueSpecification `locationName:"waitAndContinueSpecification" type:"structure"`
	// contains filtered or unexported fields
}

Subslot elicitation settings.

DefaultValueSpecification is a list of default values for a constituent sub slot in a composite 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. This is similar to DefaultValueSpecification for slots.

PromptSpecification is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to PromptSpecification for slots.

func (SubSlotValueElicitationSetting) GoString added in v1.44.95

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 (*SubSlotValueElicitationSetting) SetDefaultValueSpecification added in v1.44.95

SetDefaultValueSpecification sets the DefaultValueSpecification field's value.

func (*SubSlotValueElicitationSetting) SetPromptSpecification added in v1.44.95

SetPromptSpecification sets the PromptSpecification field's value.

func (*SubSlotValueElicitationSetting) SetSampleUtterances added in v1.44.95

SetSampleUtterances sets the SampleUtterances field's value.

func (*SubSlotValueElicitationSetting) SetWaitAndContinueSpecification added in v1.44.95

SetWaitAndContinueSpecification sets the WaitAndContinueSpecification field's value.

func (SubSlotValueElicitationSetting) String added in v1.44.95

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 (*SubSlotValueElicitationSetting) Validate added in v1.44.95

func (s *SubSlotValueElicitationSetting) 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 map[string]*string `locationName:"tags" type:"map" 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 map[string]*string) *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 TestExecutionResultFilterBy added in v1.44.277

type TestExecutionResultFilterBy struct {

	// Contains information about the method for filtering Conversation level test
	// results.
	ConversationLevelTestResultsFilterBy *ConversationLevelTestResultsFilterBy `locationName:"conversationLevelTestResultsFilterBy" type:"structure"`

	// Specifies which results to filter. See Test result details">Test results
	// details (https://docs.aws.amazon.com/lexv2/latest/dg/test-results-details-test-set.html)
	// for details about different types of results.
	//
	// ResultTypeFilter is a required field
	ResultTypeFilter *string `locationName:"resultTypeFilter" type:"string" required:"true" enum:"TestResultTypeFilter"`
	// contains filtered or unexported fields
}

Contains information about the method by which to filter the results of the test execution.

func (TestExecutionResultFilterBy) GoString added in v1.44.277

func (s TestExecutionResultFilterBy) 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 (*TestExecutionResultFilterBy) SetConversationLevelTestResultsFilterBy added in v1.44.277

SetConversationLevelTestResultsFilterBy sets the ConversationLevelTestResultsFilterBy field's value.

func (*TestExecutionResultFilterBy) SetResultTypeFilter added in v1.44.277

SetResultTypeFilter sets the ResultTypeFilter field's value.

func (TestExecutionResultFilterBy) String added in v1.44.277

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 (*TestExecutionResultFilterBy) Validate added in v1.44.277

func (s *TestExecutionResultFilterBy) Validate() error

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

type TestExecutionResultItems added in v1.44.277

type TestExecutionResultItems struct {

	// Results related to conversations in the test set, including metrics about
	// success and failure of conversations and intent and slot failures.
	ConversationLevelTestResults *ConversationLevelTestResults `locationName:"conversationLevelTestResults" type:"structure"`

	// Intent recognition results aggregated by intent name. The aggregated results
	// contain success and failure rates of intent recognition, speech transcriptions,
	// and end-to-end conversations.
	IntentClassificationTestResults *IntentClassificationTestResults `locationName:"intentClassificationTestResults" type:"structure"`

	// Slot resolution results aggregated by intent and slot name. The aggregated
	// results contain success and failure rates of slot resolution, speech transcriptions,
	// and end-to-end conversations
	IntentLevelSlotResolutionTestResults *IntentLevelSlotResolutionTestResults `locationName:"intentLevelSlotResolutionTestResults" type:"structure"`

	// Overall results for the test execution, including the breakdown of conversations
	// and single-input utterances.
	OverallTestResults *OverallTestResults `locationName:"overallTestResults" type:"structure"`

	// Results related to utterances in the test set.
	UtteranceLevelTestResults *UtteranceLevelTestResults `locationName:"utteranceLevelTestResults" type:"structure"`
	// contains filtered or unexported fields
}

Contains the results of the test execution, grouped by type of results. See Test result details">Test results details (https://docs.aws.amazon.com/lexv2/latest/dg/test-results-details-test-set.html) for details about different types of results.

func (TestExecutionResultItems) GoString added in v1.44.277

func (s TestExecutionResultItems) 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 (*TestExecutionResultItems) SetConversationLevelTestResults added in v1.44.277

func (s *TestExecutionResultItems) SetConversationLevelTestResults(v *ConversationLevelTestResults) *TestExecutionResultItems

SetConversationLevelTestResults sets the ConversationLevelTestResults field's value.

func (*TestExecutionResultItems) SetIntentClassificationTestResults added in v1.44.277

func (s *TestExecutionResultItems) SetIntentClassificationTestResults(v *IntentClassificationTestResults) *TestExecutionResultItems

SetIntentClassificationTestResults sets the IntentClassificationTestResults field's value.

func (*TestExecutionResultItems) SetIntentLevelSlotResolutionTestResults added in v1.44.277

func (s *TestExecutionResultItems) SetIntentLevelSlotResolutionTestResults(v *IntentLevelSlotResolutionTestResults) *TestExecutionResultItems

SetIntentLevelSlotResolutionTestResults sets the IntentLevelSlotResolutionTestResults field's value.

func (*TestExecutionResultItems) SetOverallTestResults added in v1.44.277

SetOverallTestResults sets the OverallTestResults field's value.

func (*TestExecutionResultItems) SetUtteranceLevelTestResults added in v1.44.277

SetUtteranceLevelTestResults sets the UtteranceLevelTestResults field's value.

func (TestExecutionResultItems) String added in v1.44.277

func (s TestExecutionResultItems) 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 TestExecutionSortBy added in v1.44.277

type TestExecutionSortBy struct {

	// Specifies whether to sort the test set executions by the date and time at
	// which the test sets were created.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"TestExecutionSortAttribute"`

	// Specifies whether to sort in ascending or descending order.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Contains information about the method by which to sort the instances of test executions you have carried out.

func (TestExecutionSortBy) GoString added in v1.44.277

func (s TestExecutionSortBy) 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 (*TestExecutionSortBy) SetAttribute added in v1.44.277

func (s *TestExecutionSortBy) SetAttribute(v string) *TestExecutionSortBy

SetAttribute sets the Attribute field's value.

func (*TestExecutionSortBy) SetOrder added in v1.44.277

SetOrder sets the Order field's value.

func (TestExecutionSortBy) String added in v1.44.277

func (s TestExecutionSortBy) 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 (*TestExecutionSortBy) Validate added in v1.44.277

func (s *TestExecutionSortBy) Validate() error

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

type TestExecutionSummary added in v1.44.277

type TestExecutionSummary struct {

	// Specifies whether the API mode for the test execution is streaming or non-streaming.
	ApiMode *string `locationName:"apiMode" type:"string" enum:"TestExecutionApiMode"`

	// The date and time at which the test execution was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The date and time at which the test execution was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Contains information about the bot used for the test execution..
	Target *TestExecutionTarget `locationName:"target" type:"structure"`

	// The unique identifier of the test execution.
	TestExecutionId *string `locationName:"testExecutionId" min:"10" type:"string"`

	// Specifies whether the data used for the test execution is written or spoken.
	TestExecutionModality *string `locationName:"testExecutionModality" type:"string" enum:"TestExecutionModality"`

	// The current status of the test execution.
	TestExecutionStatus *string `locationName:"testExecutionStatus" type:"string" enum:"TestExecutionStatus"`

	// The unique identifier of the test set used in the test execution.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`

	// The name of the test set used in the test execution.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Summarizes metadata about the test execution.

func (TestExecutionSummary) GoString added in v1.44.277

func (s TestExecutionSummary) 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 (*TestExecutionSummary) SetApiMode added in v1.44.277

SetApiMode sets the ApiMode field's value.

func (*TestExecutionSummary) SetCreationDateTime added in v1.44.277

func (s *TestExecutionSummary) SetCreationDateTime(v time.Time) *TestExecutionSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*TestExecutionSummary) SetLastUpdatedDateTime added in v1.44.277

func (s *TestExecutionSummary) SetLastUpdatedDateTime(v time.Time) *TestExecutionSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*TestExecutionSummary) SetTarget added in v1.44.277

SetTarget sets the Target field's value.

func (*TestExecutionSummary) SetTestExecutionId added in v1.44.277

func (s *TestExecutionSummary) SetTestExecutionId(v string) *TestExecutionSummary

SetTestExecutionId sets the TestExecutionId field's value.

func (*TestExecutionSummary) SetTestExecutionModality added in v1.44.277

func (s *TestExecutionSummary) SetTestExecutionModality(v string) *TestExecutionSummary

SetTestExecutionModality sets the TestExecutionModality field's value.

func (*TestExecutionSummary) SetTestExecutionStatus added in v1.44.277

func (s *TestExecutionSummary) SetTestExecutionStatus(v string) *TestExecutionSummary

SetTestExecutionStatus sets the TestExecutionStatus field's value.

func (*TestExecutionSummary) SetTestSetId added in v1.44.277

func (s *TestExecutionSummary) SetTestSetId(v string) *TestExecutionSummary

SetTestSetId sets the TestSetId field's value.

func (*TestExecutionSummary) SetTestSetName added in v1.44.277

func (s *TestExecutionSummary) SetTestSetName(v string) *TestExecutionSummary

SetTestSetName sets the TestSetName field's value.

func (TestExecutionSummary) String added in v1.44.277

func (s TestExecutionSummary) 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 TestExecutionTarget added in v1.44.277

type TestExecutionTarget struct {

	// Contains information about the bot alias used for the test execution.
	BotAliasTarget *BotAliasTestExecutionTarget `locationName:"botAliasTarget" type:"structure"`
	// contains filtered or unexported fields
}

Contains information about the bot used for the test execution.

func (TestExecutionTarget) GoString added in v1.44.277

func (s TestExecutionTarget) 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 (*TestExecutionTarget) SetBotAliasTarget added in v1.44.277

SetBotAliasTarget sets the BotAliasTarget field's value.

func (TestExecutionTarget) String added in v1.44.277

func (s TestExecutionTarget) 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 (*TestExecutionTarget) Validate added in v1.44.277

func (s *TestExecutionTarget) Validate() error

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

type TestSetDiscrepancyErrors added in v1.44.277

type TestSetDiscrepancyErrors struct {

	// Contains information about discrepancies found for intents between the test
	// set and the bot.
	//
	// IntentDiscrepancies is a required field
	IntentDiscrepancies []*TestSetIntentDiscrepancyItem `locationName:"intentDiscrepancies" type:"list" required:"true"`

	// Contains information about discrepancies found for slots between the test
	// set and the bot.
	//
	// SlotDiscrepancies is a required field
	SlotDiscrepancies []*TestSetSlotDiscrepancyItem `locationName:"slotDiscrepancies" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains details about the errors in the test set discrepancy report

func (TestSetDiscrepancyErrors) GoString added in v1.44.277

func (s TestSetDiscrepancyErrors) 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 (*TestSetDiscrepancyErrors) SetIntentDiscrepancies added in v1.44.277

SetIntentDiscrepancies sets the IntentDiscrepancies field's value.

func (*TestSetDiscrepancyErrors) SetSlotDiscrepancies added in v1.44.277

SetSlotDiscrepancies sets the SlotDiscrepancies field's value.

func (TestSetDiscrepancyErrors) String added in v1.44.277

func (s TestSetDiscrepancyErrors) 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 TestSetDiscrepancyReportBotAliasTarget added in v1.44.277

type TestSetDiscrepancyReportBotAliasTarget struct {

	// The unique identifier for the bot associated with the bot alias.
	//
	// BotAliasId is a required field
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string" required:"true"`

	// The unique identifier for the bot alias.
	//
	// BotId is a required field
	BotId *string `locationName:"botId" min:"10" type:"string" required:"true"`

	// The unique identifier of the locale associated with the bot alias.
	//
	// LocaleId is a required field
	LocaleId *string `locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the bot alias used for the test set discrepancy report.

func (TestSetDiscrepancyReportBotAliasTarget) GoString added in v1.44.277

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 (*TestSetDiscrepancyReportBotAliasTarget) SetBotAliasId added in v1.44.277

SetBotAliasId sets the BotAliasId field's value.

func (*TestSetDiscrepancyReportBotAliasTarget) SetBotId added in v1.44.277

SetBotId sets the BotId field's value.

func (*TestSetDiscrepancyReportBotAliasTarget) SetLocaleId added in v1.44.277

SetLocaleId sets the LocaleId field's value.

func (TestSetDiscrepancyReportBotAliasTarget) String added in v1.44.277

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 (*TestSetDiscrepancyReportBotAliasTarget) Validate added in v1.44.277

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

type TestSetDiscrepancyReportResourceTarget added in v1.44.277

type TestSetDiscrepancyReportResourceTarget struct {

	// Contains information about the bot alias used as the resource for the test
	// set discrepancy report.
	BotAliasTarget *TestSetDiscrepancyReportBotAliasTarget `locationName:"botAliasTarget" type:"structure"`
	// contains filtered or unexported fields
}

Contains information about the resource used for the test set discrepancy report.

func (TestSetDiscrepancyReportResourceTarget) GoString added in v1.44.277

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 (*TestSetDiscrepancyReportResourceTarget) SetBotAliasTarget added in v1.44.277

SetBotAliasTarget sets the BotAliasTarget field's value.

func (TestSetDiscrepancyReportResourceTarget) String added in v1.44.277

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 (*TestSetDiscrepancyReportResourceTarget) Validate added in v1.44.277

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

type TestSetExportSpecification added in v1.44.277

type TestSetExportSpecification struct {

	// The unique identifier of the test set.
	//
	// TestSetId is a required field
	TestSetId *string `locationName:"testSetId" min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the test set that is exported.

func (TestSetExportSpecification) GoString added in v1.44.277

func (s TestSetExportSpecification) 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 (*TestSetExportSpecification) SetTestSetId added in v1.44.277

SetTestSetId sets the TestSetId field's value.

func (TestSetExportSpecification) String added in v1.44.277

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 (*TestSetExportSpecification) Validate added in v1.44.277

func (s *TestSetExportSpecification) Validate() error

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

type TestSetGenerationDataSource added in v1.44.277

type TestSetGenerationDataSource struct {

	// Contains information about the bot from which the conversation logs are sourced.
	ConversationLogsDataSource *ConversationLogsDataSource `locationName:"conversationLogsDataSource" type:"structure"`
	// contains filtered or unexported fields
}

Contains information about the data source from which the test set is generated.

func (TestSetGenerationDataSource) GoString added in v1.44.277

func (s TestSetGenerationDataSource) 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 (*TestSetGenerationDataSource) SetConversationLogsDataSource added in v1.44.277

SetConversationLogsDataSource sets the ConversationLogsDataSource field's value.

func (TestSetGenerationDataSource) String added in v1.44.277

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 (*TestSetGenerationDataSource) Validate added in v1.44.277

func (s *TestSetGenerationDataSource) Validate() error

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

type TestSetImportInputLocation added in v1.44.277

type TestSetImportInputLocation struct {

	// The name of the Amazon S3 bucket.
	//
	// S3BucketName is a required field
	S3BucketName *string `locationName:"s3BucketName" min:"3" type:"string" required:"true"`

	// The path inside the Amazon S3 bucket pointing to the test-set CSV file.
	//
	// S3Path is a required field
	S3Path *string `locationName:"s3Path" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the Amazon S3 location from which the test set is imported.

func (TestSetImportInputLocation) GoString added in v1.44.277

func (s TestSetImportInputLocation) 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 (*TestSetImportInputLocation) SetS3BucketName added in v1.44.277

SetS3BucketName sets the S3BucketName field's value.

func (*TestSetImportInputLocation) SetS3Path added in v1.44.277

SetS3Path sets the S3Path field's value.

func (TestSetImportInputLocation) String added in v1.44.277

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 (*TestSetImportInputLocation) Validate added in v1.44.277

func (s *TestSetImportInputLocation) Validate() error

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

type TestSetImportResourceSpecification added in v1.44.277

type TestSetImportResourceSpecification struct {

	// The description of the test set.
	Description *string `locationName:"description" type:"string"`

	// Contains information about the input location from where test-set should
	// be imported.
	//
	// ImportInputLocation is a required field
	ImportInputLocation *TestSetImportInputLocation `locationName:"importInputLocation" type:"structure" required:"true"`

	// Specifies whether the test-set being imported contains written or spoken
	// data.
	//
	// Modality is a required field
	Modality *string `locationName:"modality" type:"string" required:"true" enum:"TestSetModality"`

	// The Amazon Resource Name (ARN) of an IAM role that has permission to access
	// the test set.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"`

	// Contains information about the location that Amazon Lex uses to store the
	// test-set.
	//
	// StorageLocation is a required field
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure" required:"true"`

	// The name of the test set.
	//
	// TestSetName is a required field
	TestSetName *string `locationName:"testSetName" min:"1" type:"string" required:"true"`

	// A list of tags to add to the test set. You can only add tags when you import/generate
	// a new test set. You can't use the UpdateTestSet operation to update tags.
	// To update tags, use the TagResource operation.
	TestSetTags map[string]*string `locationName:"testSetTags" type:"map"`
	// contains filtered or unexported fields
}

Contains information about the test set that is imported.

func (TestSetImportResourceSpecification) GoString added in v1.44.277

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 (*TestSetImportResourceSpecification) SetDescription added in v1.44.277

SetDescription sets the Description field's value.

func (*TestSetImportResourceSpecification) SetImportInputLocation added in v1.44.277

SetImportInputLocation sets the ImportInputLocation field's value.

func (*TestSetImportResourceSpecification) SetModality added in v1.44.277

SetModality sets the Modality field's value.

func (*TestSetImportResourceSpecification) SetRoleArn added in v1.44.277

SetRoleArn sets the RoleArn field's value.

func (*TestSetImportResourceSpecification) SetStorageLocation added in v1.44.277

SetStorageLocation sets the StorageLocation field's value.

func (*TestSetImportResourceSpecification) SetTestSetName added in v1.44.277

SetTestSetName sets the TestSetName field's value.

func (*TestSetImportResourceSpecification) SetTestSetTags added in v1.44.277

SetTestSetTags sets the TestSetTags field's value.

func (TestSetImportResourceSpecification) String added in v1.44.277

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 (*TestSetImportResourceSpecification) Validate added in v1.44.277

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

type TestSetIntentDiscrepancyItem added in v1.44.277

type TestSetIntentDiscrepancyItem struct {

	// The error message for a discrepancy for an intent between the test set and
	// the bot.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" type:"string" required:"true"`

	// The name of the intent in the discrepancy report.
	//
	// IntentName is a required field
	IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about discrepancy in an intent information between the test set and the bot.

func (TestSetIntentDiscrepancyItem) GoString added in v1.44.277

func (s TestSetIntentDiscrepancyItem) 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 (*TestSetIntentDiscrepancyItem) SetErrorMessage added in v1.44.277

SetErrorMessage sets the ErrorMessage field's value.

func (*TestSetIntentDiscrepancyItem) SetIntentName added in v1.44.277

SetIntentName sets the IntentName field's value.

func (TestSetIntentDiscrepancyItem) String added in v1.44.277

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 TestSetSlotDiscrepancyItem added in v1.44.277

type TestSetSlotDiscrepancyItem struct {

	// The error message for a discrepancy for an intent between the test set and
	// the bot.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" type:"string" required:"true"`

	// The name of the intent associated with the slot in the discrepancy report.
	//
	// IntentName is a required field
	IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"`

	// The name of the slot in the discrepancy report.
	//
	// SlotName is a required field
	SlotName *string `locationName:"slotName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about discrepancy in a slot information between the test set and the bot.

func (TestSetSlotDiscrepancyItem) GoString added in v1.44.277

func (s TestSetSlotDiscrepancyItem) 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 (*TestSetSlotDiscrepancyItem) SetErrorMessage added in v1.44.277

SetErrorMessage sets the ErrorMessage field's value.

func (*TestSetSlotDiscrepancyItem) SetIntentName added in v1.44.277

SetIntentName sets the IntentName field's value.

func (*TestSetSlotDiscrepancyItem) SetSlotName added in v1.44.277

SetSlotName sets the SlotName field's value.

func (TestSetSlotDiscrepancyItem) String added in v1.44.277

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 TestSetSortBy added in v1.44.277

type TestSetSortBy struct {

	// Specifies whether to sort the test sets by name or by the time they were
	// last updated.
	//
	// Attribute is a required field
	Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"TestSetSortAttribute"`

	// Specifies whether to sort in ascending or descending order.
	//
	// Order is a required field
	Order *string `locationName:"order" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Contains information about the methods by which to sort the test set.

func (TestSetSortBy) GoString added in v1.44.277

func (s TestSetSortBy) 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 (*TestSetSortBy) SetAttribute added in v1.44.277

func (s *TestSetSortBy) SetAttribute(v string) *TestSetSortBy

SetAttribute sets the Attribute field's value.

func (*TestSetSortBy) SetOrder added in v1.44.277

func (s *TestSetSortBy) SetOrder(v string) *TestSetSortBy

SetOrder sets the Order field's value.

func (TestSetSortBy) String added in v1.44.277

func (s TestSetSortBy) 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 (*TestSetSortBy) Validate added in v1.44.277

func (s *TestSetSortBy) Validate() error

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

type TestSetStorageLocation added in v1.44.277

type TestSetStorageLocation struct {

	// The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service
	// (KMS) key for encrypting the test set.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"`

	// The name of the Amazon S3 bucket in which the test set is stored.
	//
	// S3BucketName is a required field
	S3BucketName *string `locationName:"s3BucketName" min:"3" type:"string" required:"true"`

	// The path inside the Amazon S3 bucket where the test set is stored.
	//
	// S3Path is a required field
	S3Path *string `locationName:"s3Path" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the location in which the test set is stored.

func (TestSetStorageLocation) GoString added in v1.44.277

func (s TestSetStorageLocation) 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 (*TestSetStorageLocation) SetKmsKeyArn added in v1.44.277

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*TestSetStorageLocation) SetS3BucketName added in v1.44.277

func (s *TestSetStorageLocation) SetS3BucketName(v string) *TestSetStorageLocation

SetS3BucketName sets the S3BucketName field's value.

func (*TestSetStorageLocation) SetS3Path added in v1.44.277

SetS3Path sets the S3Path field's value.

func (TestSetStorageLocation) String added in v1.44.277

func (s TestSetStorageLocation) 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 (*TestSetStorageLocation) Validate added in v1.44.277

func (s *TestSetStorageLocation) Validate() error

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

type TestSetSummary added in v1.44.277

type TestSetSummary struct {

	// The date and time at which the test set was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The description of the test set.
	Description *string `locationName:"description" type:"string"`

	// The date and time at which the test set was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Specifies whether the test set contains written or spoken data.
	Modality *string `locationName:"modality" type:"string" enum:"TestSetModality"`

	// The number of turns in the test set.
	NumTurns *int64 `locationName:"numTurns" type:"integer"`

	// The Amazon Resource Name (ARN) of an IAM role that has permission to access
	// the test set.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`

	// The status of the test set.
	Status *string `locationName:"status" type:"string" enum:"TestSetStatus"`

	// Contains information about the location at which the test set is stored.
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure"`

	// The unique identifier of the test set.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`

	// The name of the test set.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains summary information about the test set.

func (TestSetSummary) GoString added in v1.44.277

func (s TestSetSummary) 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 (*TestSetSummary) SetCreationDateTime added in v1.44.277

func (s *TestSetSummary) SetCreationDateTime(v time.Time) *TestSetSummary

SetCreationDateTime sets the CreationDateTime field's value.

func (*TestSetSummary) SetDescription added in v1.44.277

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

SetDescription sets the Description field's value.

func (*TestSetSummary) SetLastUpdatedDateTime added in v1.44.277

func (s *TestSetSummary) SetLastUpdatedDateTime(v time.Time) *TestSetSummary

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*TestSetSummary) SetModality added in v1.44.277

func (s *TestSetSummary) SetModality(v string) *TestSetSummary

SetModality sets the Modality field's value.

func (*TestSetSummary) SetNumTurns added in v1.44.277

func (s *TestSetSummary) SetNumTurns(v int64) *TestSetSummary

SetNumTurns sets the NumTurns field's value.

func (*TestSetSummary) SetRoleArn added in v1.44.277

func (s *TestSetSummary) SetRoleArn(v string) *TestSetSummary

SetRoleArn sets the RoleArn field's value.

func (*TestSetSummary) SetStatus added in v1.44.277

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

SetStatus sets the Status field's value.

func (*TestSetSummary) SetStorageLocation added in v1.44.277

func (s *TestSetSummary) SetStorageLocation(v *TestSetStorageLocation) *TestSetSummary

SetStorageLocation sets the StorageLocation field's value.

func (*TestSetSummary) SetTestSetId added in v1.44.277

func (s *TestSetSummary) SetTestSetId(v string) *TestSetSummary

SetTestSetId sets the TestSetId field's value.

func (*TestSetSummary) SetTestSetName added in v1.44.277

func (s *TestSetSummary) SetTestSetName(v string) *TestSetSummary

SetTestSetName sets the TestSetName field's value.

func (TestSetSummary) String added in v1.44.277

func (s TestSetSummary) 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 TestSetTurnRecord added in v1.44.277

type TestSetTurnRecord struct {

	// The unique identifier for the conversation associated with the turn.
	ConversationId *string `locationName:"conversationId" min:"1" type:"string"`

	// The record number associated with the turn.
	//
	// RecordNumber is a required field
	RecordNumber *int64 `locationName:"recordNumber" min:"1" type:"long" required:"true"`

	// The number of turns that has elapsed up to that turn.
	TurnNumber *int64 `locationName:"turnNumber" type:"integer"`

	// Contains information about the agent or user turn depending upon type of
	// turn.
	//
	// TurnSpecification is a required field
	TurnSpecification *TurnSpecification `locationName:"turnSpecification" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains information about a turn in a test set.

func (TestSetTurnRecord) GoString added in v1.44.277

func (s TestSetTurnRecord) 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 (*TestSetTurnRecord) SetConversationId added in v1.44.277

func (s *TestSetTurnRecord) SetConversationId(v string) *TestSetTurnRecord

SetConversationId sets the ConversationId field's value.

func (*TestSetTurnRecord) SetRecordNumber added in v1.44.277

func (s *TestSetTurnRecord) SetRecordNumber(v int64) *TestSetTurnRecord

SetRecordNumber sets the RecordNumber field's value.

func (*TestSetTurnRecord) SetTurnNumber added in v1.44.277

func (s *TestSetTurnRecord) SetTurnNumber(v int64) *TestSetTurnRecord

SetTurnNumber sets the TurnNumber field's value.

func (*TestSetTurnRecord) SetTurnSpecification added in v1.44.277

func (s *TestSetTurnRecord) SetTurnSpecification(v *TurnSpecification) *TestSetTurnRecord

SetTurnSpecification sets the TurnSpecification field's value.

func (TestSetTurnRecord) String added in v1.44.277

func (s TestSetTurnRecord) 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 TestSetTurnResult added in v1.44.277

type TestSetTurnResult struct {

	// Contains information about the agent messages in the turn.
	Agent *AgentTurnResult `locationName:"agent" type:"structure"`

	// Contains information about the user messages in the turn.
	User *UserTurnResult `locationName:"user" type:"structure"`
	// contains filtered or unexported fields
}

Contains information about the results of the analysis of a turn in the test set.

func (TestSetTurnResult) GoString added in v1.44.277

func (s TestSetTurnResult) 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 (*TestSetTurnResult) SetAgent added in v1.44.277

SetAgent sets the Agent field's value.

func (*TestSetTurnResult) SetUser added in v1.44.277

SetUser sets the User field's value.

func (TestSetTurnResult) String added in v1.44.277

func (s TestSetTurnResult) 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 TextInputSpecification added in v1.44.105

type TextInputSpecification struct {

	// Time for which a bot waits before re-prompting a customer for text input.
	//
	// StartTimeoutMs is a required field
	StartTimeoutMs *int64 `locationName:"startTimeoutMs" min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Specifies the text input specifications.

func (TextInputSpecification) GoString added in v1.44.105

func (s TextInputSpecification) 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 (*TextInputSpecification) SetStartTimeoutMs added in v1.44.105

func (s *TextInputSpecification) SetStartTimeoutMs(v int64) *TextInputSpecification

SetStartTimeoutMs sets the StartTimeoutMs field's value.

func (TextInputSpecification) String added in v1.44.105

func (s TextInputSpecification) 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 (*TextInputSpecification) Validate added in v1.44.105

func (s *TextInputSpecification) Validate() error

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

type TextLogDestination

type TextLogDestination struct {

	// Defines the Amazon CloudWatch Logs log group where text and metadata logs
	// are delivered.
	//
	// CloudWatch is a required field
	CloudWatch *CloudWatchLogGroupLogDestination `locationName:"cloudWatch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Defines the Amazon CloudWatch Logs destination log group for conversation text logs.

func (TextLogDestination) GoString

func (s TextLogDestination) 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 (*TextLogDestination) SetCloudWatch

SetCloudWatch sets the CloudWatch field's value.

func (TextLogDestination) String

func (s TextLogDestination) 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 (*TextLogDestination) Validate

func (s *TextLogDestination) Validate() error

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

type TextLogSetting

type TextLogSetting struct {

	// Defines the Amazon CloudWatch Logs destination log group for conversation
	// text logs.
	//
	// Destination is a required field
	Destination *TextLogDestination `locationName:"destination" type:"structure" required:"true"`

	// Determines whether conversation logs should be stored for an alias.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Defines settings to enable text conversation logs.

func (TextLogSetting) GoString

func (s TextLogSetting) 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 (*TextLogSetting) SetDestination

func (s *TextLogSetting) SetDestination(v *TextLogDestination) *TextLogSetting

SetDestination sets the Destination field's value.

func (*TextLogSetting) SetEnabled

func (s *TextLogSetting) SetEnabled(v bool) *TextLogSetting

SetEnabled sets the Enabled field's value.

func (TextLogSetting) String

func (s TextLogSetting) 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 (*TextLogSetting) Validate

func (s *TextLogSetting) Validate() error

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

type ThrottlingException

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

	Message_ *string `locationName:"message" type:"string"`

	// The number of seconds after which the user can invoke the API again.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

Your request rate is too high. Reduce the frequency of requests.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) 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 (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) 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 TranscriptFilter added in v1.42.17

type TranscriptFilter struct {

	// The object representing the filter that Amazon Lex will use to select the
	// appropriate transcript when the transcript format is the Amazon Lex format.
	LexTranscriptFilter *LexTranscriptFilter `locationName:"lexTranscriptFilter" type:"structure"`
	// contains filtered or unexported fields
}

The object representing the filter that Amazon Lex will use to select the appropriate transcript.

func (TranscriptFilter) GoString added in v1.42.17

func (s TranscriptFilter) 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 (*TranscriptFilter) SetLexTranscriptFilter added in v1.42.17

func (s *TranscriptFilter) SetLexTranscriptFilter(v *LexTranscriptFilter) *TranscriptFilter

SetLexTranscriptFilter sets the LexTranscriptFilter field's value.

func (TranscriptFilter) String added in v1.42.17

func (s TranscriptFilter) 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 (*TranscriptFilter) Validate added in v1.42.17

func (s *TranscriptFilter) Validate() error

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

type TranscriptSourceSetting added in v1.42.17

type TranscriptSourceSetting struct {

	// Indicates the setting of the Amazon S3 bucket where the transcript is stored.
	S3BucketTranscriptSource *S3BucketTranscriptSource `locationName:"s3BucketTranscriptSource" type:"structure"`
	// contains filtered or unexported fields
}

Indicates the setting of the location where the transcript is stored.

func (TranscriptSourceSetting) GoString added in v1.42.17

func (s TranscriptSourceSetting) 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 (*TranscriptSourceSetting) SetS3BucketTranscriptSource added in v1.42.17

func (s *TranscriptSourceSetting) SetS3BucketTranscriptSource(v *S3BucketTranscriptSource) *TranscriptSourceSetting

SetS3BucketTranscriptSource sets the S3BucketTranscriptSource field's value.

func (TranscriptSourceSetting) String added in v1.42.17

func (s TranscriptSourceSetting) 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 (*TranscriptSourceSetting) Validate added in v1.42.17

func (s *TranscriptSourceSetting) Validate() error

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

type TurnSpecification added in v1.44.277

type TurnSpecification struct {

	// Contains information about the agent messages in the turn.
	AgentTurn *AgentTurnSpecification `locationName:"agentTurn" type:"structure"`

	// Contains information about the user messages in the turn.
	UserTurn *UserTurnSpecification `locationName:"userTurn" type:"structure"`
	// contains filtered or unexported fields
}

Contains information about the messages in the turn.

func (TurnSpecification) GoString added in v1.44.277

func (s TurnSpecification) 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 (*TurnSpecification) SetAgentTurn added in v1.44.277

SetAgentTurn sets the AgentTurn field's value.

func (*TurnSpecification) SetUserTurn added in v1.44.277

SetUserTurn sets the UserTurn field's value.

func (TurnSpecification) String added in v1.44.277

func (s TurnSpecification) 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 UpdateBotAliasInput

type UpdateBotAliasInput struct {

	// The unique identifier of the bot alias.
	//
	// BotAliasId is a required field
	BotAliasId *string `location:"uri" locationName:"botAliasId" min:"10" type:"string" required:"true"`

	// The new Lambda functions to use in each locale for the bot alias.
	BotAliasLocaleSettings map[string]*BotAliasLocaleSettings `locationName:"botAliasLocaleSettings" min:"1" type:"map"`

	// The new name to assign to the bot alias.
	//
	// BotAliasName is a required field
	BotAliasName *string `locationName:"botAliasName" min:"1" type:"string" required:"true"`

	// The identifier of the bot with the updated alias.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The new bot version to assign to the bot alias.
	BotVersion *string `locationName:"botVersion" min:"1" type:"string"`

	// The new settings for storing conversation logs in Amazon CloudWatch Logs
	// and Amazon S3 buckets.
	ConversationLogSettings *ConversationLogSettings `locationName:"conversationLogSettings" type:"structure"`

	// The new description to assign to the bot alias.
	Description *string `locationName:"description" type:"string"`

	// Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment
	// of user utterances.
	SentimentAnalysisSettings *SentimentAnalysisSettings `locationName:"sentimentAnalysisSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBotAliasInput) GoString

func (s UpdateBotAliasInput) 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 (*UpdateBotAliasInput) SetBotAliasId

func (s *UpdateBotAliasInput) SetBotAliasId(v string) *UpdateBotAliasInput

SetBotAliasId sets the BotAliasId field's value.

func (*UpdateBotAliasInput) SetBotAliasLocaleSettings

func (s *UpdateBotAliasInput) SetBotAliasLocaleSettings(v map[string]*BotAliasLocaleSettings) *UpdateBotAliasInput

SetBotAliasLocaleSettings sets the BotAliasLocaleSettings field's value.

func (*UpdateBotAliasInput) SetBotAliasName

func (s *UpdateBotAliasInput) SetBotAliasName(v string) *UpdateBotAliasInput

SetBotAliasName sets the BotAliasName field's value.

func (*UpdateBotAliasInput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateBotAliasInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateBotAliasInput) SetConversationLogSettings

func (s *UpdateBotAliasInput) SetConversationLogSettings(v *ConversationLogSettings) *UpdateBotAliasInput

SetConversationLogSettings sets the ConversationLogSettings field's value.

func (*UpdateBotAliasInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateBotAliasInput) SetSentimentAnalysisSettings

func (s *UpdateBotAliasInput) SetSentimentAnalysisSettings(v *SentimentAnalysisSettings) *UpdateBotAliasInput

SetSentimentAnalysisSettings sets the SentimentAnalysisSettings field's value.

func (UpdateBotAliasInput) String

func (s UpdateBotAliasInput) 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 (*UpdateBotAliasInput) Validate

func (s *UpdateBotAliasInput) Validate() error

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

type UpdateBotAliasOutput

type UpdateBotAliasOutput struct {

	// The identifier of the updated bot alias.
	BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"`

	// The updated Lambda functions to use in each locale for the bot alias.
	BotAliasLocaleSettings map[string]*BotAliasLocaleSettings `locationName:"botAliasLocaleSettings" min:"1" type:"map"`

	// The updated name of the bot alias.
	BotAliasName *string `locationName:"botAliasName" min:"1" type:"string"`

	// The current status of the bot alias. When the status is Available the alias
	// is ready for use.
	BotAliasStatus *string `locationName:"botAliasStatus" type:"string" enum:"BotAliasStatus"`

	// The identifier of the bot with the updated alias.
	BotId *string `locationName:"botId" min:"10" type:"string"`

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

	// The updated settings for storing conversation logs in Amazon CloudWatch Logs
	// and Amazon S3 buckets.
	ConversationLogSettings *ConversationLogSettings `locationName:"conversationLogSettings" type:"structure"`

	// A timestamp of the date and time that the bot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// A timestamp of the date and time that the bot was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment
	// of user utterances.
	SentimentAnalysisSettings *SentimentAnalysisSettings `locationName:"sentimentAnalysisSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBotAliasOutput) GoString

func (s UpdateBotAliasOutput) 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 (*UpdateBotAliasOutput) SetBotAliasId

func (s *UpdateBotAliasOutput) SetBotAliasId(v string) *UpdateBotAliasOutput

SetBotAliasId sets the BotAliasId field's value.

func (*UpdateBotAliasOutput) SetBotAliasLocaleSettings

func (s *UpdateBotAliasOutput) SetBotAliasLocaleSettings(v map[string]*BotAliasLocaleSettings) *UpdateBotAliasOutput

SetBotAliasLocaleSettings sets the BotAliasLocaleSettings field's value.

func (*UpdateBotAliasOutput) SetBotAliasName

func (s *UpdateBotAliasOutput) SetBotAliasName(v string) *UpdateBotAliasOutput

SetBotAliasName sets the BotAliasName field's value.

func (*UpdateBotAliasOutput) SetBotAliasStatus

func (s *UpdateBotAliasOutput) SetBotAliasStatus(v string) *UpdateBotAliasOutput

SetBotAliasStatus sets the BotAliasStatus field's value.

func (*UpdateBotAliasOutput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateBotAliasOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateBotAliasOutput) SetConversationLogSettings

func (s *UpdateBotAliasOutput) SetConversationLogSettings(v *ConversationLogSettings) *UpdateBotAliasOutput

SetConversationLogSettings sets the ConversationLogSettings field's value.

func (*UpdateBotAliasOutput) SetCreationDateTime

func (s *UpdateBotAliasOutput) SetCreationDateTime(v time.Time) *UpdateBotAliasOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateBotAliasOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateBotAliasOutput) SetLastUpdatedDateTime

func (s *UpdateBotAliasOutput) SetLastUpdatedDateTime(v time.Time) *UpdateBotAliasOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateBotAliasOutput) SetSentimentAnalysisSettings

func (s *UpdateBotAliasOutput) SetSentimentAnalysisSettings(v *SentimentAnalysisSettings) *UpdateBotAliasOutput

SetSentimentAnalysisSettings sets the SentimentAnalysisSettings field's value.

func (UpdateBotAliasOutput) String

func (s UpdateBotAliasOutput) 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 UpdateBotInput

type UpdateBotInput struct {

	// The unique identifier of the bot to update. This identifier is returned by
	// the CreateBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html)
	// operation.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The list of bot members in the network associated with the update action.
	BotMembers []*BotMember `locationName:"botMembers" type:"list"`

	// The new name of the bot. The name must be unique in the account that creates
	// the bot.
	//
	// BotName is a required field
	BotName *string `locationName:"botName" min:"1" type:"string" required:"true"`

	// The type of the bot to be updated.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

	// Provides information on additional privacy protections Amazon Lex should
	// use with the bot's data.
	//
	// DataPrivacy is a required field
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure" required:"true"`

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

	// The time, in seconds, that Amazon Lex should keep information about a user's
	// conversation with the bot.
	//
	// A user interaction 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.
	//
	// You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
	//
	// IdleSessionTTLInSeconds is a required field
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer" required:"true"`

	// The Amazon Resource Name (ARN) of an IAM role that has permissions to access
	// the bot.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateBotInput) GoString

func (s UpdateBotInput) 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 (*UpdateBotInput) SetBotId

func (s *UpdateBotInput) SetBotId(v string) *UpdateBotInput

SetBotId sets the BotId field's value.

func (*UpdateBotInput) SetBotMembers added in v1.44.198

func (s *UpdateBotInput) SetBotMembers(v []*BotMember) *UpdateBotInput

SetBotMembers sets the BotMembers field's value.

func (*UpdateBotInput) SetBotName

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

SetBotName sets the BotName field's value.

func (*UpdateBotInput) SetBotType added in v1.44.198

func (s *UpdateBotInput) SetBotType(v string) *UpdateBotInput

SetBotType sets the BotType field's value.

func (*UpdateBotInput) SetDataPrivacy

func (s *UpdateBotInput) SetDataPrivacy(v *DataPrivacy) *UpdateBotInput

SetDataPrivacy sets the DataPrivacy field's value.

func (*UpdateBotInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateBotInput) SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*UpdateBotInput) SetRoleArn

func (s *UpdateBotInput) SetRoleArn(v string) *UpdateBotInput

SetRoleArn sets the RoleArn field's value.

func (UpdateBotInput) String

func (s UpdateBotInput) 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 (*UpdateBotInput) Validate

func (s *UpdateBotInput) Validate() error

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

type UpdateBotLocaleInput

type UpdateBotLocaleInput struct {

	// The unique identifier of the bot that contains the locale.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the locale to be updated. The version
	// can only be the DRAFT version.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The new description of the locale.
	Description *string `locationName:"description" type:"string"`

	// The identifier of the language and locale to update. The string must match
	// one of the supported locales. For more information, see Supported languages
	// (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
	// and AMAZON.KendraSearchIntent intents in the list of possible intents for
	// an utterance.
	//
	// NluIntentConfidenceThreshold is a required field
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double" required:"true"`

	// The new Amazon Polly voice Amazon Lex should use for voice interaction with
	// the user.
	VoiceSettings *VoiceSettings `locationName:"voiceSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBotLocaleInput) GoString

func (s UpdateBotLocaleInput) 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 (*UpdateBotLocaleInput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateBotLocaleInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateBotLocaleInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateBotLocaleInput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*UpdateBotLocaleInput) SetNluIntentConfidenceThreshold

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

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*UpdateBotLocaleInput) SetVoiceSettings

func (s *UpdateBotLocaleInput) SetVoiceSettings(v *VoiceSettings) *UpdateBotLocaleInput

SetVoiceSettings sets the VoiceSettings field's value.

func (UpdateBotLocaleInput) String

func (s UpdateBotLocaleInput) 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 (*UpdateBotLocaleInput) Validate

func (s *UpdateBotLocaleInput) Validate() error

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

type UpdateBotLocaleOutput

type UpdateBotLocaleOutput struct {

	// The identifier of the bot that contains the updated locale.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The current status of the locale. When the bot status is Built the locale
	// is ready for use.
	BotLocaleStatus *string `locationName:"botLocaleStatus" type:"string" enum:"BotLocaleStatus"`

	// The version of the bot that contains the updated locale.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp of the date and time that the locale was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The updated description of the locale.
	Description *string `locationName:"description" type:"string"`

	// If the botLocaleStatus is Failed, the failureReasons field lists the errors
	// that occurred while building the bot.
	FailureReasons []*string `locationName:"failureReasons" type:"list"`

	// A timestamp of the date and time that the locale was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The language and locale of the updated bot locale.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The updated locale name for the locale.
	LocaleName *string `locationName:"localeName" type:"string"`

	// The updated confidence threshold for inserting the AMAZON.FallbackIntent
	// and AMAZON.KendraSearchIntent intents in the list of possible intents for
	// an utterance.
	NluIntentConfidenceThreshold *float64 `locationName:"nluIntentConfidenceThreshold" type:"double"`

	// Recommended actions to take to resolve an error in the failureReasons field.
	RecommendedActions []*string `locationName:"recommendedActions" type:"list"`

	// The updated Amazon Polly voice to use for voice interaction with the user.
	VoiceSettings *VoiceSettings `locationName:"voiceSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBotLocaleOutput) GoString

func (s UpdateBotLocaleOutput) 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 (*UpdateBotLocaleOutput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateBotLocaleOutput) SetBotLocaleStatus

func (s *UpdateBotLocaleOutput) SetBotLocaleStatus(v string) *UpdateBotLocaleOutput

SetBotLocaleStatus sets the BotLocaleStatus field's value.

func (*UpdateBotLocaleOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateBotLocaleOutput) SetCreationDateTime

func (s *UpdateBotLocaleOutput) SetCreationDateTime(v time.Time) *UpdateBotLocaleOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateBotLocaleOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateBotLocaleOutput) SetFailureReasons

func (s *UpdateBotLocaleOutput) SetFailureReasons(v []*string) *UpdateBotLocaleOutput

SetFailureReasons sets the FailureReasons field's value.

func (*UpdateBotLocaleOutput) SetLastUpdatedDateTime

func (s *UpdateBotLocaleOutput) SetLastUpdatedDateTime(v time.Time) *UpdateBotLocaleOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateBotLocaleOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*UpdateBotLocaleOutput) SetLocaleName

func (s *UpdateBotLocaleOutput) SetLocaleName(v string) *UpdateBotLocaleOutput

SetLocaleName sets the LocaleName field's value.

func (*UpdateBotLocaleOutput) SetNluIntentConfidenceThreshold

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

SetNluIntentConfidenceThreshold sets the NluIntentConfidenceThreshold field's value.

func (*UpdateBotLocaleOutput) SetRecommendedActions added in v1.42.22

func (s *UpdateBotLocaleOutput) SetRecommendedActions(v []*string) *UpdateBotLocaleOutput

SetRecommendedActions sets the RecommendedActions field's value.

func (*UpdateBotLocaleOutput) SetVoiceSettings

SetVoiceSettings sets the VoiceSettings field's value.

func (UpdateBotLocaleOutput) String

func (s UpdateBotLocaleOutput) 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 UpdateBotOutput

type UpdateBotOutput struct {

	// The unique identifier of the bot that was updated.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The list of bot members in the network that was updated.
	BotMembers []*BotMember `locationName:"botMembers" type:"list"`

	// The name of the bot after the update.
	BotName *string `locationName:"botName" min:"1" type:"string"`

	// Shows the current status of the bot. The bot is first in the Creating status.
	// Once the bot is read for use, it changes to the Available status. After the
	// bot is created, you can use the DRAFT version of the bot.
	BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"`

	// The type of the bot that was updated.
	BotType *string `locationName:"botType" type:"string" enum:"BotType"`

	// A timestamp of the date and time that the bot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The data privacy settings for the bot after the update.
	DataPrivacy *DataPrivacy `locationName:"dataPrivacy" type:"structure"`

	// The description of the bot after the update.
	Description *string `locationName:"description" type:"string"`

	// The session timeout, in seconds, for the bot after the update.
	IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"`

	// A timestamp of the date and time that the bot was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The Amazon Resource Name (ARN) of the IAM role used by the bot after the
	// update.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBotOutput) GoString

func (s UpdateBotOutput) 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 (*UpdateBotOutput) SetBotId

func (s *UpdateBotOutput) SetBotId(v string) *UpdateBotOutput

SetBotId sets the BotId field's value.

func (*UpdateBotOutput) SetBotMembers added in v1.44.198

func (s *UpdateBotOutput) SetBotMembers(v []*BotMember) *UpdateBotOutput

SetBotMembers sets the BotMembers field's value.

func (*UpdateBotOutput) SetBotName

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

SetBotName sets the BotName field's value.

func (*UpdateBotOutput) SetBotStatus

func (s *UpdateBotOutput) SetBotStatus(v string) *UpdateBotOutput

SetBotStatus sets the BotStatus field's value.

func (*UpdateBotOutput) SetBotType added in v1.44.198

func (s *UpdateBotOutput) SetBotType(v string) *UpdateBotOutput

SetBotType sets the BotType field's value.

func (*UpdateBotOutput) SetCreationDateTime

func (s *UpdateBotOutput) SetCreationDateTime(v time.Time) *UpdateBotOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateBotOutput) SetDataPrivacy

func (s *UpdateBotOutput) SetDataPrivacy(v *DataPrivacy) *UpdateBotOutput

SetDataPrivacy sets the DataPrivacy field's value.

func (*UpdateBotOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateBotOutput) SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

func (*UpdateBotOutput) SetLastUpdatedDateTime

func (s *UpdateBotOutput) SetLastUpdatedDateTime(v time.Time) *UpdateBotOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateBotOutput) SetRoleArn

func (s *UpdateBotOutput) SetRoleArn(v string) *UpdateBotOutput

SetRoleArn sets the RoleArn field's value.

func (UpdateBotOutput) String

func (s UpdateBotOutput) 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 UpdateBotRecommendationInput added in v1.42.17

type UpdateBotRecommendationInput struct {

	// The unique identifier of the bot containing the bot recommendation to be
	// updated.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The unique identifier of the bot recommendation to be updated.
	//
	// BotRecommendationId is a required field
	BotRecommendationId *string `location:"uri" locationName:"botRecommendationId" min:"10" type:"string" required:"true"`

	// The version of the bot containing the bot recommendation to be updated.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The object representing the passwords that will be used to encrypt the data
	// related to the bot recommendation results, as well as the KMS key ARN used
	// to encrypt the associated metadata.
	//
	// EncryptionSetting is a required field
	EncryptionSetting *EncryptionSetting `locationName:"encryptionSetting" type:"structure" required:"true"`

	// The identifier of the language and locale of the bot recommendation to update.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateBotRecommendationInput) GoString added in v1.42.17

func (s UpdateBotRecommendationInput) 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 (*UpdateBotRecommendationInput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*UpdateBotRecommendationInput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*UpdateBotRecommendationInput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*UpdateBotRecommendationInput) SetEncryptionSetting added in v1.42.17

SetEncryptionSetting sets the EncryptionSetting field's value.

func (*UpdateBotRecommendationInput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (UpdateBotRecommendationInput) String added in v1.42.17

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 (*UpdateBotRecommendationInput) Validate added in v1.42.17

func (s *UpdateBotRecommendationInput) Validate() error

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

type UpdateBotRecommendationOutput added in v1.42.17

type UpdateBotRecommendationOutput struct {

	// The unique identifier of the bot containing the bot recommendation that has
	// been updated.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The unique identifier of the bot recommendation to be updated.
	BotRecommendationId *string `locationName:"botRecommendationId" min:"10" type:"string"`

	// The status of the bot recommendation.
	//
	// If the status is Failed, then the reasons for the failure are listed in the
	// failureReasons field.
	BotRecommendationStatus *string `locationName:"botRecommendationStatus" type:"string" enum:"BotRecommendationStatus"`

	// The version of the bot containing the bot recommendation that has been updated.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp of the date and time that the bot recommendation was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The object representing the passwords that were used to encrypt the data
	// related to the bot recommendation results, as well as the KMS key ARN used
	// to encrypt the associated metadata.
	EncryptionSetting *EncryptionSetting `locationName:"encryptionSetting" type:"structure"`

	// A timestamp of the date and time that the bot recommendation was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The identifier of the language and locale of the bot recommendation to update.
	// The string must match one of the supported locales. For more information,
	// see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	LocaleId *string `locationName:"localeId" type:"string"`

	// The object representing the Amazon S3 bucket containing the transcript, as
	// well as the associated metadata.
	TranscriptSourceSetting *TranscriptSourceSetting `locationName:"transcriptSourceSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBotRecommendationOutput) GoString added in v1.42.17

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 (*UpdateBotRecommendationOutput) SetBotId added in v1.42.17

SetBotId sets the BotId field's value.

func (*UpdateBotRecommendationOutput) SetBotRecommendationId added in v1.42.17

SetBotRecommendationId sets the BotRecommendationId field's value.

func (*UpdateBotRecommendationOutput) SetBotRecommendationStatus added in v1.42.17

func (s *UpdateBotRecommendationOutput) SetBotRecommendationStatus(v string) *UpdateBotRecommendationOutput

SetBotRecommendationStatus sets the BotRecommendationStatus field's value.

func (*UpdateBotRecommendationOutput) SetBotVersion added in v1.42.17

SetBotVersion sets the BotVersion field's value.

func (*UpdateBotRecommendationOutput) SetCreationDateTime added in v1.42.17

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateBotRecommendationOutput) SetEncryptionSetting added in v1.42.17

SetEncryptionSetting sets the EncryptionSetting field's value.

func (*UpdateBotRecommendationOutput) SetLastUpdatedDateTime added in v1.42.17

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateBotRecommendationOutput) SetLocaleId added in v1.42.17

SetLocaleId sets the LocaleId field's value.

func (*UpdateBotRecommendationOutput) SetTranscriptSourceSetting added in v1.42.17

SetTranscriptSourceSetting sets the TranscriptSourceSetting field's value.

func (UpdateBotRecommendationOutput) String added in v1.42.17

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 UpdateExportInput added in v1.38.42

type UpdateExportInput struct {

	// The unique identifier Amazon Lex assigned to the export.
	//
	// ExportId is a required field
	ExportId *string `location:"uri" locationName:"exportId" min:"10" type:"string" required:"true"`

	// The new password to use to encrypt the export zip archive.
	//
	// FilePassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateExportInput's
	// String and GoString methods.
	FilePassword *string `locationName:"filePassword" min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateExportInput) GoString added in v1.38.42

func (s UpdateExportInput) 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 (*UpdateExportInput) SetExportId added in v1.38.42

func (s *UpdateExportInput) SetExportId(v string) *UpdateExportInput

SetExportId sets the ExportId field's value.

func (*UpdateExportInput) SetFilePassword added in v1.38.42

func (s *UpdateExportInput) SetFilePassword(v string) *UpdateExportInput

SetFilePassword sets the FilePassword field's value.

func (UpdateExportInput) String added in v1.38.42

func (s UpdateExportInput) 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 (*UpdateExportInput) Validate added in v1.38.42

func (s *UpdateExportInput) Validate() error

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

type UpdateExportOutput added in v1.38.42

type UpdateExportOutput struct {

	// The date and time that the export was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The unique identifier Amazon Lex assigned to the export.
	ExportId *string `locationName:"exportId" min:"10" type:"string"`

	// The status of the export. When the status is Completed the export archive
	// is available for download.
	ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"`

	// The file format used for the files that define the resource. The TSV format
	// is required to export a custom vocabulary only; otherwise use LexJson format.
	FileFormat *string `locationName:"fileFormat" type:"string" enum:"ImportExportFileFormat"`

	// The date and time that the export was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// A description of the type of resource that was exported, either a bot or
	// a bot locale.
	ResourceSpecification *ExportResourceSpecification `locationName:"resourceSpecification" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateExportOutput) GoString added in v1.38.42

func (s UpdateExportOutput) 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 (*UpdateExportOutput) SetCreationDateTime added in v1.38.42

func (s *UpdateExportOutput) SetCreationDateTime(v time.Time) *UpdateExportOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateExportOutput) SetExportId added in v1.38.42

func (s *UpdateExportOutput) SetExportId(v string) *UpdateExportOutput

SetExportId sets the ExportId field's value.

func (*UpdateExportOutput) SetExportStatus added in v1.38.42

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

SetExportStatus sets the ExportStatus field's value.

func (*UpdateExportOutput) SetFileFormat added in v1.38.42

func (s *UpdateExportOutput) SetFileFormat(v string) *UpdateExportOutput

SetFileFormat sets the FileFormat field's value.

func (*UpdateExportOutput) SetLastUpdatedDateTime added in v1.38.42

func (s *UpdateExportOutput) SetLastUpdatedDateTime(v time.Time) *UpdateExportOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateExportOutput) SetResourceSpecification added in v1.38.42

func (s *UpdateExportOutput) SetResourceSpecification(v *ExportResourceSpecification) *UpdateExportOutput

SetResourceSpecification sets the ResourceSpecification field's value.

func (UpdateExportOutput) String added in v1.38.42

func (s UpdateExportOutput) 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 UpdateIntentInput

type UpdateIntentInput struct {

	// The identifier of the bot that contains the intent.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the intent. Must be DRAFT.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

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

	// The new Lambda function to use between each turn of the conversation with
	// the bot.
	DialogCodeHook *DialogCodeHookSettings `locationName:"dialogCodeHook" type:"structure"`

	// The new Lambda function to call when all of the intents required slots are
	// provided and the intent is ready for fulfillment.
	FulfillmentCodeHook *FulfillmentCodeHookSettings `locationName:"fulfillmentCodeHook" type:"structure"`

	// Configuration settings for a response sent to the user before Amazon Lex
	// starts eliciting slots.
	InitialResponseSetting *InitialResponseSetting `locationName:"initialResponseSetting" type:"structure"`

	// A new list of contexts that must be active in order for Amazon Lex to consider
	// the intent.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// The new response that Amazon Lex sends the user when the intent is closed.
	IntentClosingSetting *IntentClosingSetting `locationName:"intentClosingSetting" type:"structure"`

	// New prompts that Amazon Lex sends to the user to confirm the completion of
	// an intent.
	IntentConfirmationSetting *IntentConfirmationSetting `locationName:"intentConfirmationSetting" type:"structure"`

	// The unique identifier of the intent to update.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

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

	// New configuration settings for connecting to an Amazon Kendra index.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// The identifier of the language and locale where this intent is used. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// A new list of contexts that Amazon Lex activates when the intent is fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// The signature of the new built-in intent to use as the parent of this intent.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// New utterances used to invoke the intent.
	SampleUtterances []*SampleUtterance `locationName:"sampleUtterances" type:"list"`

	// A new list of slots and their priorities that are contained by the intent.
	SlotPriorities []*SlotPriority `locationName:"slotPriorities" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateIntentInput) GoString

func (s UpdateIntentInput) 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 (*UpdateIntentInput) SetBotId

func (s *UpdateIntentInput) SetBotId(v string) *UpdateIntentInput

SetBotId sets the BotId field's value.

func (*UpdateIntentInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateIntentInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateIntentInput) SetDialogCodeHook

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*UpdateIntentInput) SetFulfillmentCodeHook

func (s *UpdateIntentInput) SetFulfillmentCodeHook(v *FulfillmentCodeHookSettings) *UpdateIntentInput

SetFulfillmentCodeHook sets the FulfillmentCodeHook field's value.

func (*UpdateIntentInput) SetInitialResponseSetting added in v1.44.79

func (s *UpdateIntentInput) SetInitialResponseSetting(v *InitialResponseSetting) *UpdateIntentInput

SetInitialResponseSetting sets the InitialResponseSetting field's value.

func (*UpdateIntentInput) SetInputContexts

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

SetInputContexts sets the InputContexts field's value.

func (*UpdateIntentInput) SetIntentClosingSetting

func (s *UpdateIntentInput) SetIntentClosingSetting(v *IntentClosingSetting) *UpdateIntentInput

SetIntentClosingSetting sets the IntentClosingSetting field's value.

func (*UpdateIntentInput) SetIntentConfirmationSetting

func (s *UpdateIntentInput) SetIntentConfirmationSetting(v *IntentConfirmationSetting) *UpdateIntentInput

SetIntentConfirmationSetting sets the IntentConfirmationSetting field's value.

func (*UpdateIntentInput) SetIntentId

func (s *UpdateIntentInput) SetIntentId(v string) *UpdateIntentInput

SetIntentId sets the IntentId field's value.

func (*UpdateIntentInput) SetIntentName

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

SetIntentName sets the IntentName field's value.

func (*UpdateIntentInput) SetKendraConfiguration

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

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*UpdateIntentInput) SetLocaleId

func (s *UpdateIntentInput) SetLocaleId(v string) *UpdateIntentInput

SetLocaleId sets the LocaleId field's value.

func (*UpdateIntentInput) SetOutputContexts

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

SetOutputContexts sets the OutputContexts field's value.

func (*UpdateIntentInput) SetParentIntentSignature

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

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*UpdateIntentInput) SetSampleUtterances

func (s *UpdateIntentInput) SetSampleUtterances(v []*SampleUtterance) *UpdateIntentInput

SetSampleUtterances sets the SampleUtterances field's value.

func (*UpdateIntentInput) SetSlotPriorities

func (s *UpdateIntentInput) SetSlotPriorities(v []*SlotPriority) *UpdateIntentInput

SetSlotPriorities sets the SlotPriorities field's value.

func (UpdateIntentInput) String

func (s UpdateIntentInput) 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 (*UpdateIntentInput) Validate

func (s *UpdateIntentInput) Validate() error

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

type UpdateIntentOutput

type UpdateIntentOutput struct {

	// The identifier of the bot that contains the intent.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the intent. Will always be DRAFT.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// A timestamp of when the intent was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// The updated Lambda function called during each turn of the conversation with
	// the user.
	DialogCodeHook *DialogCodeHookSettings `locationName:"dialogCodeHook" type:"structure"`

	// The updated Lambda function called when the intent is ready for fulfillment.
	FulfillmentCodeHook *FulfillmentCodeHookSettings `locationName:"fulfillmentCodeHook" type:"structure"`

	// Configuration settings for a response sent to the user before Amazon Lex
	// starts eliciting slots.
	InitialResponseSetting *InitialResponseSetting `locationName:"initialResponseSetting" type:"structure"`

	// The updated list of contexts that must be active for the intent to be considered
	// by Amazon Lex.
	InputContexts []*InputContext `locationName:"inputContexts" type:"list"`

	// The updated response that Amazon Lex sends the user when the intent is closed.
	IntentClosingSetting *IntentClosingSetting `locationName:"intentClosingSetting" type:"structure"`

	// The updated prompts that Amazon Lex sends to the user to confirm the completion
	// of an intent.
	IntentConfirmationSetting *IntentConfirmationSetting `locationName:"intentConfirmationSetting" type:"structure"`

	// The identifier of the intent that was updated.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

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

	// The updated configuration for connecting to an Amazon Kendra index with the
	// AMAZON.KendraSearchIntent intent.
	KendraConfiguration *KendraConfiguration `locationName:"kendraConfiguration" type:"structure"`

	// A timestamp of the last time that the intent was modified.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The updated language and locale of the intent.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The updated list of contexts that Amazon Lex activates when the intent is
	// fulfilled.
	OutputContexts []*OutputContext `locationName:"outputContexts" type:"list"`

	// The updated built-in intent that is the parent of this intent.
	ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"`

	// The updated list of sample utterances for the intent.
	SampleUtterances []*SampleUtterance `locationName:"sampleUtterances" type:"list"`

	// The updated list of slots and their priorities that are elicited from the
	// user for the intent.
	SlotPriorities []*SlotPriority `locationName:"slotPriorities" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateIntentOutput) GoString

func (s UpdateIntentOutput) 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 (*UpdateIntentOutput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateIntentOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateIntentOutput) SetCreationDateTime

func (s *UpdateIntentOutput) SetCreationDateTime(v time.Time) *UpdateIntentOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateIntentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateIntentOutput) SetDialogCodeHook

SetDialogCodeHook sets the DialogCodeHook field's value.

func (*UpdateIntentOutput) SetFulfillmentCodeHook

func (s *UpdateIntentOutput) SetFulfillmentCodeHook(v *FulfillmentCodeHookSettings) *UpdateIntentOutput

SetFulfillmentCodeHook sets the FulfillmentCodeHook field's value.

func (*UpdateIntentOutput) SetInitialResponseSetting added in v1.44.79

func (s *UpdateIntentOutput) SetInitialResponseSetting(v *InitialResponseSetting) *UpdateIntentOutput

SetInitialResponseSetting sets the InitialResponseSetting field's value.

func (*UpdateIntentOutput) SetInputContexts

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

SetInputContexts sets the InputContexts field's value.

func (*UpdateIntentOutput) SetIntentClosingSetting

func (s *UpdateIntentOutput) SetIntentClosingSetting(v *IntentClosingSetting) *UpdateIntentOutput

SetIntentClosingSetting sets the IntentClosingSetting field's value.

func (*UpdateIntentOutput) SetIntentConfirmationSetting

func (s *UpdateIntentOutput) SetIntentConfirmationSetting(v *IntentConfirmationSetting) *UpdateIntentOutput

SetIntentConfirmationSetting sets the IntentConfirmationSetting field's value.

func (*UpdateIntentOutput) SetIntentId

func (s *UpdateIntentOutput) SetIntentId(v string) *UpdateIntentOutput

SetIntentId sets the IntentId field's value.

func (*UpdateIntentOutput) SetIntentName

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

SetIntentName sets the IntentName field's value.

func (*UpdateIntentOutput) SetKendraConfiguration

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

SetKendraConfiguration sets the KendraConfiguration field's value.

func (*UpdateIntentOutput) SetLastUpdatedDateTime

func (s *UpdateIntentOutput) SetLastUpdatedDateTime(v time.Time) *UpdateIntentOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateIntentOutput) SetLocaleId

func (s *UpdateIntentOutput) SetLocaleId(v string) *UpdateIntentOutput

SetLocaleId sets the LocaleId field's value.

func (*UpdateIntentOutput) SetOutputContexts

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

SetOutputContexts sets the OutputContexts field's value.

func (*UpdateIntentOutput) SetParentIntentSignature

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

SetParentIntentSignature sets the ParentIntentSignature field's value.

func (*UpdateIntentOutput) SetSampleUtterances

func (s *UpdateIntentOutput) SetSampleUtterances(v []*SampleUtterance) *UpdateIntentOutput

SetSampleUtterances sets the SampleUtterances field's value.

func (*UpdateIntentOutput) SetSlotPriorities

func (s *UpdateIntentOutput) SetSlotPriorities(v []*SlotPriority) *UpdateIntentOutput

SetSlotPriorities sets the SlotPriorities field's value.

func (UpdateIntentOutput) String

func (s UpdateIntentOutput) 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 UpdateResourcePolicyInput added in v1.38.44

type UpdateResourcePolicyInput struct {

	// The identifier of the revision of the policy to update. If this revision
	// ID doesn't match the current revision ID, Amazon Lex throws an exception.
	//
	// If you don't specify a revision, Amazon Lex overwrites the contents of the
	// policy with the new values.
	ExpectedRevisionId *string `location:"querystring" locationName:"expectedRevisionId" min:"1" type:"string"`

	// A resource policy to add to the resource. The policy is a JSON structure
	// that contains one or more statements that define the policy. The policy must
	// follow the IAM syntax. For more information about the contents of a JSON
	// policy document, see IAM JSON policy reference (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html).
	//
	// If the policy isn't valid, Amazon Lex returns a validation exception.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" min:"2" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateResourcePolicyInput) GoString added in v1.38.44

func (s UpdateResourcePolicyInput) 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 (*UpdateResourcePolicyInput) SetExpectedRevisionId added in v1.38.44

func (s *UpdateResourcePolicyInput) SetExpectedRevisionId(v string) *UpdateResourcePolicyInput

SetExpectedRevisionId sets the ExpectedRevisionId field's value.

func (*UpdateResourcePolicyInput) SetPolicy added in v1.38.44

SetPolicy sets the Policy field's value.

func (*UpdateResourcePolicyInput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (UpdateResourcePolicyInput) String added in v1.38.44

func (s UpdateResourcePolicyInput) 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 (*UpdateResourcePolicyInput) Validate added in v1.38.44

func (s *UpdateResourcePolicyInput) Validate() error

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

type UpdateResourcePolicyOutput added in v1.38.44

type UpdateResourcePolicyOutput struct {

	// The Amazon Resource Name (ARN) of the bot or bot alias that the resource
	// policy is attached to.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy. Use the revision ID to make
	// sure that you are updating the most current version of a resource policy
	// when you add a policy statement to a resource, delete a resource, or update
	// a resource.
	RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateResourcePolicyOutput) GoString added in v1.38.44

func (s UpdateResourcePolicyOutput) 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 (*UpdateResourcePolicyOutput) SetResourceArn added in v1.38.44

SetResourceArn sets the ResourceArn field's value.

func (*UpdateResourcePolicyOutput) SetRevisionId added in v1.38.44

SetRevisionId sets the RevisionId field's value.

func (UpdateResourcePolicyOutput) String added in v1.38.44

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 UpdateSlotInput

type UpdateSlotInput struct {

	// The unique identifier of the bot that contains the slot.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the slot. Must always be DRAFT.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// The new description for the slot.
	Description *string `locationName:"description" type:"string"`

	// The identifier of the intent that contains the slot.
	//
	// IntentId is a required field
	IntentId *string `location:"uri" locationName:"intentId" min:"10" type:"string" required:"true"`

	// The identifier of the language and locale that contains the slot. The string
	// must match one of the supported locales. For more information, see Supported
	// languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// Determines whether the slot accepts multiple values in one response. Multiple
	// value slots are only available in the en-US locale. If you set this value
	// to true in any other locale, Amazon Lex throws a ValidationException.
	//
	// If the multipleValuesSetting is not set, the default value is false.
	MultipleValuesSetting *MultipleValuesSetting `locationName:"multipleValuesSetting" type:"structure"`

	// New settings that determine how slot values are formatted in Amazon CloudWatch
	// logs.
	ObfuscationSetting *ObfuscationSetting `locationName:"obfuscationSetting" type:"structure"`

	// The unique identifier for the slot to update.
	//
	// SlotId is a required field
	SlotId *string `location:"uri" locationName:"slotId" min:"10" type:"string" required:"true"`

	// The new name for the slot.
	//
	// SlotName is a required field
	SlotName *string `locationName:"slotName" min:"1" type:"string" required:"true"`

	// The unique identifier of the new slot type to associate with this slot.
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string"`

	// Specifications for the constituent sub slots and the expression for the composite
	// slot.
	SubSlotSetting *SubSlotSetting `locationName:"subSlotSetting" type:"structure"`

	// A new set of prompts that Amazon Lex sends to the user to elicit a response
	// the provides a value for the slot.
	//
	// ValueElicitationSetting is a required field
	ValueElicitationSetting *SlotValueElicitationSetting `locationName:"valueElicitationSetting" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateSlotInput) GoString

func (s UpdateSlotInput) 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 (*UpdateSlotInput) SetBotId

func (s *UpdateSlotInput) SetBotId(v string) *UpdateSlotInput

SetBotId sets the BotId field's value.

func (*UpdateSlotInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateSlotInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateSlotInput) SetIntentId

func (s *UpdateSlotInput) SetIntentId(v string) *UpdateSlotInput

SetIntentId sets the IntentId field's value.

func (*UpdateSlotInput) SetLocaleId

func (s *UpdateSlotInput) SetLocaleId(v string) *UpdateSlotInput

SetLocaleId sets the LocaleId field's value.

func (*UpdateSlotInput) SetMultipleValuesSetting added in v1.38.62

func (s *UpdateSlotInput) SetMultipleValuesSetting(v *MultipleValuesSetting) *UpdateSlotInput

SetMultipleValuesSetting sets the MultipleValuesSetting field's value.

func (*UpdateSlotInput) SetObfuscationSetting

func (s *UpdateSlotInput) SetObfuscationSetting(v *ObfuscationSetting) *UpdateSlotInput

SetObfuscationSetting sets the ObfuscationSetting field's value.

func (*UpdateSlotInput) SetSlotId

func (s *UpdateSlotInput) SetSlotId(v string) *UpdateSlotInput

SetSlotId sets the SlotId field's value.

func (*UpdateSlotInput) SetSlotName

func (s *UpdateSlotInput) SetSlotName(v string) *UpdateSlotInput

SetSlotName sets the SlotName field's value.

func (*UpdateSlotInput) SetSlotTypeId

func (s *UpdateSlotInput) SetSlotTypeId(v string) *UpdateSlotInput

SetSlotTypeId sets the SlotTypeId field's value.

func (*UpdateSlotInput) SetSubSlotSetting added in v1.44.95

func (s *UpdateSlotInput) SetSubSlotSetting(v *SubSlotSetting) *UpdateSlotInput

SetSubSlotSetting sets the SubSlotSetting field's value.

func (*UpdateSlotInput) SetValueElicitationSetting

func (s *UpdateSlotInput) SetValueElicitationSetting(v *SlotValueElicitationSetting) *UpdateSlotInput

SetValueElicitationSetting sets the ValueElicitationSetting field's value.

func (UpdateSlotInput) String

func (s UpdateSlotInput) 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 (*UpdateSlotInput) Validate

func (s *UpdateSlotInput) Validate() error

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

type UpdateSlotOutput

type UpdateSlotOutput struct {

	// The identifier of the bot that contains the slot.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the slot. Will always be DRAFT.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// The timestamp of the date and time that the slot was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// The intent that contains the slot.
	IntentId *string `locationName:"intentId" min:"10" type:"string"`

	// The timestamp of the date and time that the slot was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The locale that contains the slot.
	LocaleId *string `locationName:"localeId" type:"string"`

	// Indicates whether the slot accepts multiple values in one response.
	MultipleValuesSetting *MultipleValuesSetting `locationName:"multipleValuesSetting" type:"structure"`

	// The updated setting that determines whether the slot value is obfuscated
	// in the Amazon CloudWatch logs.
	ObfuscationSetting *ObfuscationSetting `locationName:"obfuscationSetting" type:"structure"`

	// The unique identifier of the slot that was updated.
	SlotId *string `locationName:"slotId" min:"10" type:"string"`

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

	// The updated identifier of the slot type that provides values for the slot.
	SlotTypeId *string `locationName:"slotTypeId" min:"1" type:"string"`

	// Specifications for the constituent sub slots and the expression for the composite
	// slot.
	SubSlotSetting *SubSlotSetting `locationName:"subSlotSetting" type:"structure"`

	// The updated prompts that Amazon Lex sends to the user to elicit a response
	// that provides a value for the slot.
	ValueElicitationSetting *SlotValueElicitationSetting `locationName:"valueElicitationSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateSlotOutput) GoString

func (s UpdateSlotOutput) 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 (*UpdateSlotOutput) SetBotId

func (s *UpdateSlotOutput) SetBotId(v string) *UpdateSlotOutput

SetBotId sets the BotId field's value.

func (*UpdateSlotOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateSlotOutput) SetCreationDateTime

func (s *UpdateSlotOutput) SetCreationDateTime(v time.Time) *UpdateSlotOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateSlotOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateSlotOutput) SetIntentId

func (s *UpdateSlotOutput) SetIntentId(v string) *UpdateSlotOutput

SetIntentId sets the IntentId field's value.

func (*UpdateSlotOutput) SetLastUpdatedDateTime

func (s *UpdateSlotOutput) SetLastUpdatedDateTime(v time.Time) *UpdateSlotOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateSlotOutput) SetLocaleId

func (s *UpdateSlotOutput) SetLocaleId(v string) *UpdateSlotOutput

SetLocaleId sets the LocaleId field's value.

func (*UpdateSlotOutput) SetMultipleValuesSetting added in v1.38.62

func (s *UpdateSlotOutput) SetMultipleValuesSetting(v *MultipleValuesSetting) *UpdateSlotOutput

SetMultipleValuesSetting sets the MultipleValuesSetting field's value.

func (*UpdateSlotOutput) SetObfuscationSetting

func (s *UpdateSlotOutput) SetObfuscationSetting(v *ObfuscationSetting) *UpdateSlotOutput

SetObfuscationSetting sets the ObfuscationSetting field's value.

func (*UpdateSlotOutput) SetSlotId

func (s *UpdateSlotOutput) SetSlotId(v string) *UpdateSlotOutput

SetSlotId sets the SlotId field's value.

func (*UpdateSlotOutput) SetSlotName

func (s *UpdateSlotOutput) SetSlotName(v string) *UpdateSlotOutput

SetSlotName sets the SlotName field's value.

func (*UpdateSlotOutput) SetSlotTypeId

func (s *UpdateSlotOutput) SetSlotTypeId(v string) *UpdateSlotOutput

SetSlotTypeId sets the SlotTypeId field's value.

func (*UpdateSlotOutput) SetSubSlotSetting added in v1.44.95

func (s *UpdateSlotOutput) SetSubSlotSetting(v *SubSlotSetting) *UpdateSlotOutput

SetSubSlotSetting sets the SubSlotSetting field's value.

func (*UpdateSlotOutput) SetValueElicitationSetting

func (s *UpdateSlotOutput) SetValueElicitationSetting(v *SlotValueElicitationSetting) *UpdateSlotOutput

SetValueElicitationSetting sets the ValueElicitationSetting field's value.

func (UpdateSlotOutput) String

func (s UpdateSlotOutput) 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 UpdateSlotTypeInput

type UpdateSlotTypeInput struct {

	// The identifier of the bot that contains the slot type.
	//
	// BotId is a required field
	BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"`

	// The version of the bot that contains the slot type. Must be DRAFT.
	//
	// BotVersion is a required field
	BotVersion *string `location:"uri" locationName:"botVersion" min:"5" type:"string" required:"true"`

	// Specifications for a composite slot type.
	CompositeSlotTypeSetting *CompositeSlotTypeSetting `locationName:"compositeSlotTypeSetting" type:"structure"`

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

	// Provides information about the external source of the slot type's definition.
	ExternalSourceSetting *ExternalSourceSetting `locationName:"externalSourceSetting" type:"structure"`

	// The identifier of the language and locale that contains the slot type. The
	// string must match one of the supported locales. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
	//
	// LocaleId is a required field
	LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"`

	// The new built-in slot type that should be used as the parent of this slot
	// type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" type:"string"`

	// The unique identifier of the slot type to update.
	//
	// SlotTypeId is a required field
	SlotTypeId *string `location:"uri" locationName:"slotTypeId" min:"10" type:"string" required:"true"`

	// The new name of the slot type.
	//
	// SlotTypeName is a required field
	SlotTypeName *string `locationName:"slotTypeName" min:"1" type:"string" required:"true"`

	// A new list of values and their optional synonyms that define the values that
	// the slot type can take.
	SlotTypeValues []*SlotTypeValue `locationName:"slotTypeValues" min:"1" type:"list"`

	// The strategy that Amazon Lex should use when deciding on a value from the
	// list of slot type values.
	ValueSelectionSetting *SlotValueSelectionSetting `locationName:"valueSelectionSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateSlotTypeInput) GoString

func (s UpdateSlotTypeInput) 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 (*UpdateSlotTypeInput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateSlotTypeInput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateSlotTypeInput) SetCompositeSlotTypeSetting added in v1.44.95

func (s *UpdateSlotTypeInput) SetCompositeSlotTypeSetting(v *CompositeSlotTypeSetting) *UpdateSlotTypeInput

SetCompositeSlotTypeSetting sets the CompositeSlotTypeSetting field's value.

func (*UpdateSlotTypeInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateSlotTypeInput) SetExternalSourceSetting added in v1.42.22

func (s *UpdateSlotTypeInput) SetExternalSourceSetting(v *ExternalSourceSetting) *UpdateSlotTypeInput

SetExternalSourceSetting sets the ExternalSourceSetting field's value.

func (*UpdateSlotTypeInput) SetLocaleId

func (s *UpdateSlotTypeInput) SetLocaleId(v string) *UpdateSlotTypeInput

SetLocaleId sets the LocaleId field's value.

func (*UpdateSlotTypeInput) SetParentSlotTypeSignature

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

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*UpdateSlotTypeInput) SetSlotTypeId

func (s *UpdateSlotTypeInput) SetSlotTypeId(v string) *UpdateSlotTypeInput

SetSlotTypeId sets the SlotTypeId field's value.

func (*UpdateSlotTypeInput) SetSlotTypeName

func (s *UpdateSlotTypeInput) SetSlotTypeName(v string) *UpdateSlotTypeInput

SetSlotTypeName sets the SlotTypeName field's value.

func (*UpdateSlotTypeInput) SetSlotTypeValues

func (s *UpdateSlotTypeInput) SetSlotTypeValues(v []*SlotTypeValue) *UpdateSlotTypeInput

SetSlotTypeValues sets the SlotTypeValues field's value.

func (*UpdateSlotTypeInput) SetValueSelectionSetting

func (s *UpdateSlotTypeInput) SetValueSelectionSetting(v *SlotValueSelectionSetting) *UpdateSlotTypeInput

SetValueSelectionSetting sets the ValueSelectionSetting field's value.

func (UpdateSlotTypeInput) String

func (s UpdateSlotTypeInput) 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 (*UpdateSlotTypeInput) Validate

func (s *UpdateSlotTypeInput) Validate() error

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

type UpdateSlotTypeOutput

type UpdateSlotTypeOutput struct {

	// The identifier of the bot that contains the slot type.
	BotId *string `locationName:"botId" min:"10" type:"string"`

	// The version of the bot that contains the slot type. This is always DRAFT.
	BotVersion *string `locationName:"botVersion" min:"5" type:"string"`

	// Specifications for a composite slot type.
	CompositeSlotTypeSetting *CompositeSlotTypeSetting `locationName:"compositeSlotTypeSetting" type:"structure"`

	// The timestamp of the date and time that the slot type was created.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

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

	// Provides information about the external source of the slot type's definition.
	ExternalSourceSetting *ExternalSourceSetting `locationName:"externalSourceSetting" type:"structure"`

	// A timestamp of the date and time that the slot type was last updated.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// The language and locale of the updated slot type.
	LocaleId *string `locationName:"localeId" type:"string"`

	// The updated signature of the built-in slot type that is the parent of this
	// slot type.
	ParentSlotTypeSignature *string `locationName:"parentSlotTypeSignature" type:"string"`

	// The unique identifier of the updated slot type.
	SlotTypeId *string `locationName:"slotTypeId" min:"10" type:"string"`

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

	// The updated values that the slot type provides.
	SlotTypeValues []*SlotTypeValue `locationName:"slotTypeValues" min:"1" type:"list"`

	// The updated strategy that Amazon Lex uses to determine which value to select
	// from the slot type.
	ValueSelectionSetting *SlotValueSelectionSetting `locationName:"valueSelectionSetting" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateSlotTypeOutput) GoString

func (s UpdateSlotTypeOutput) 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 (*UpdateSlotTypeOutput) SetBotId

SetBotId sets the BotId field's value.

func (*UpdateSlotTypeOutput) SetBotVersion

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

SetBotVersion sets the BotVersion field's value.

func (*UpdateSlotTypeOutput) SetCompositeSlotTypeSetting added in v1.44.95

func (s *UpdateSlotTypeOutput) SetCompositeSlotTypeSetting(v *CompositeSlotTypeSetting) *UpdateSlotTypeOutput

SetCompositeSlotTypeSetting sets the CompositeSlotTypeSetting field's value.

func (*UpdateSlotTypeOutput) SetCreationDateTime

func (s *UpdateSlotTypeOutput) SetCreationDateTime(v time.Time) *UpdateSlotTypeOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateSlotTypeOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateSlotTypeOutput) SetExternalSourceSetting added in v1.42.22

func (s *UpdateSlotTypeOutput) SetExternalSourceSetting(v *ExternalSourceSetting) *UpdateSlotTypeOutput

SetExternalSourceSetting sets the ExternalSourceSetting field's value.

func (*UpdateSlotTypeOutput) SetLastUpdatedDateTime

func (s *UpdateSlotTypeOutput) SetLastUpdatedDateTime(v time.Time) *UpdateSlotTypeOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateSlotTypeOutput) SetLocaleId

SetLocaleId sets the LocaleId field's value.

func (*UpdateSlotTypeOutput) SetParentSlotTypeSignature

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

SetParentSlotTypeSignature sets the ParentSlotTypeSignature field's value.

func (*UpdateSlotTypeOutput) SetSlotTypeId

func (s *UpdateSlotTypeOutput) SetSlotTypeId(v string) *UpdateSlotTypeOutput

SetSlotTypeId sets the SlotTypeId field's value.

func (*UpdateSlotTypeOutput) SetSlotTypeName

func (s *UpdateSlotTypeOutput) SetSlotTypeName(v string) *UpdateSlotTypeOutput

SetSlotTypeName sets the SlotTypeName field's value.

func (*UpdateSlotTypeOutput) SetSlotTypeValues

func (s *UpdateSlotTypeOutput) SetSlotTypeValues(v []*SlotTypeValue) *UpdateSlotTypeOutput

SetSlotTypeValues sets the SlotTypeValues field's value.

func (*UpdateSlotTypeOutput) SetValueSelectionSetting

func (s *UpdateSlotTypeOutput) SetValueSelectionSetting(v *SlotValueSelectionSetting) *UpdateSlotTypeOutput

SetValueSelectionSetting sets the ValueSelectionSetting field's value.

func (UpdateSlotTypeOutput) String

func (s UpdateSlotTypeOutput) 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 UpdateTestSetInput added in v1.44.277

type UpdateTestSetInput struct {

	// The new test set description.
	Description *string `locationName:"description" type:"string"`

	// The test set Id for which update test operation to be performed.
	//
	// TestSetId is a required field
	TestSetId *string `location:"uri" locationName:"testSetId" min:"10" type:"string" required:"true"`

	// The new test set name.
	//
	// TestSetName is a required field
	TestSetName *string `locationName:"testSetName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateTestSetInput) GoString added in v1.44.277

func (s UpdateTestSetInput) 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 (*UpdateTestSetInput) SetDescription added in v1.44.277

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

SetDescription sets the Description field's value.

func (*UpdateTestSetInput) SetTestSetId added in v1.44.277

func (s *UpdateTestSetInput) SetTestSetId(v string) *UpdateTestSetInput

SetTestSetId sets the TestSetId field's value.

func (*UpdateTestSetInput) SetTestSetName added in v1.44.277

func (s *UpdateTestSetInput) SetTestSetName(v string) *UpdateTestSetInput

SetTestSetName sets the TestSetName field's value.

func (UpdateTestSetInput) String added in v1.44.277

func (s UpdateTestSetInput) 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 (*UpdateTestSetInput) Validate added in v1.44.277

func (s *UpdateTestSetInput) Validate() error

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

type UpdateTestSetOutput added in v1.44.277

type UpdateTestSetOutput struct {

	// The creation date and time for the updated test set.
	CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"`

	// The test set description for the updated test set.
	Description *string `locationName:"description" type:"string"`

	// The date and time of the last update for the updated test set.
	LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"`

	// Indicates whether audio or text is used for the updated test set.
	Modality *string `locationName:"modality" type:"string" enum:"TestSetModality"`

	// The number of conversation turns from the updated test set.
	NumTurns *int64 `locationName:"numTurns" type:"integer"`

	// The roleARN used for any operation in the test set to access resources in
	// the Amazon Web Services account.
	RoleArn *string `locationName:"roleArn" min:"32" type:"string"`

	// The status for the updated test set.
	Status *string `locationName:"status" type:"string" enum:"TestSetStatus"`

	// The Amazon S3 storage location for the updated test set.
	StorageLocation *TestSetStorageLocation `locationName:"storageLocation" type:"structure"`

	// The test set Id for which update test operation to be performed.
	TestSetId *string `locationName:"testSetId" min:"10" type:"string"`

	// The test set name for the updated test set.
	TestSetName *string `locationName:"testSetName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateTestSetOutput) GoString added in v1.44.277

func (s UpdateTestSetOutput) 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 (*UpdateTestSetOutput) SetCreationDateTime added in v1.44.277

func (s *UpdateTestSetOutput) SetCreationDateTime(v time.Time) *UpdateTestSetOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*UpdateTestSetOutput) SetDescription added in v1.44.277

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

SetDescription sets the Description field's value.

func (*UpdateTestSetOutput) SetLastUpdatedDateTime added in v1.44.277

func (s *UpdateTestSetOutput) SetLastUpdatedDateTime(v time.Time) *UpdateTestSetOutput

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

func (*UpdateTestSetOutput) SetModality added in v1.44.277

func (s *UpdateTestSetOutput) SetModality(v string) *UpdateTestSetOutput

SetModality sets the Modality field's value.

func (*UpdateTestSetOutput) SetNumTurns added in v1.44.277

func (s *UpdateTestSetOutput) SetNumTurns(v int64) *UpdateTestSetOutput

SetNumTurns sets the NumTurns field's value.

func (*UpdateTestSetOutput) SetRoleArn added in v1.44.277

SetRoleArn sets the RoleArn field's value.

func (*UpdateTestSetOutput) SetStatus added in v1.44.277

SetStatus sets the Status field's value.

func (*UpdateTestSetOutput) SetStorageLocation added in v1.44.277

SetStorageLocation sets the StorageLocation field's value.

func (*UpdateTestSetOutput) SetTestSetId added in v1.44.277

func (s *UpdateTestSetOutput) SetTestSetId(v string) *UpdateTestSetOutput

SetTestSetId sets the TestSetId field's value.

func (*UpdateTestSetOutput) SetTestSetName added in v1.44.277

func (s *UpdateTestSetOutput) SetTestSetName(v string) *UpdateTestSetOutput

SetTestSetName sets the TestSetName field's value.

func (UpdateTestSetOutput) String added in v1.44.277

func (s UpdateTestSetOutput) 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 UserTurnInputSpecification added in v1.44.277

type UserTurnInputSpecification struct {

	// Request attributes of the user turn.
	RequestAttributes map[string]*string `locationName:"requestAttributes" type:"map"`

	// Contains information about the session state in the input.
	SessionState *InputSessionStateSpecification `locationName:"sessionState" type:"structure"`

	// The utterance input in the user turn.
	//
	// UtteranceInput is a required field
	UtteranceInput *UtteranceInputSpecification `locationName:"utteranceInput" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the user messages in the turn in the input.

func (UserTurnInputSpecification) GoString added in v1.44.277

func (s UserTurnInputSpecification) 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 (*UserTurnInputSpecification) SetRequestAttributes added in v1.44.277

func (s *UserTurnInputSpecification) SetRequestAttributes(v map[string]*string) *UserTurnInputSpecification

SetRequestAttributes sets the RequestAttributes field's value.

func (*UserTurnInputSpecification) SetSessionState added in v1.44.277

SetSessionState sets the SessionState field's value.

func (*UserTurnInputSpecification) SetUtteranceInput added in v1.44.277

SetUtteranceInput sets the UtteranceInput field's value.

func (UserTurnInputSpecification) String added in v1.44.277

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 UserTurnIntentOutput_ added in v1.44.277

type UserTurnIntentOutput_ struct {

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

	// The slots associated with the intent.
	Slots map[string]*UserTurnSlotOutput_ `locationName:"slots" type:"map"`
	// contains filtered or unexported fields
}

Contains information about the intent that is output for the turn by the test execution.

func (UserTurnIntentOutput_) GoString added in v1.44.277

func (s UserTurnIntentOutput_) 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 (*UserTurnIntentOutput_) SetName added in v1.44.277

SetName sets the Name field's value.

func (*UserTurnIntentOutput_) SetSlots added in v1.44.277

SetSlots sets the Slots field's value.

func (UserTurnIntentOutput_) String added in v1.44.277

func (s UserTurnIntentOutput_) 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 UserTurnOutputSpecification added in v1.44.277

type UserTurnOutputSpecification struct {

	// The contexts that are active in the turn.
	ActiveContexts []*ActiveContext `locationName:"activeContexts" type:"list"`

	// Contains information about the intent.
	//
	// Intent is a required field
	Intent *UserTurnIntentOutput_ `locationName:"intent" type:"structure" required:"true"`

	// The transcript that is output for the user turn by the test execution.
	Transcript *string `locationName:"transcript" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains results that are output for the user turn by the test execution.

func (UserTurnOutputSpecification) GoString added in v1.44.277

func (s UserTurnOutputSpecification) 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 (*UserTurnOutputSpecification) SetActiveContexts added in v1.44.277

SetActiveContexts sets the ActiveContexts field's value.

func (*UserTurnOutputSpecification) SetIntent added in v1.44.277

SetIntent sets the Intent field's value.

func (*UserTurnOutputSpecification) SetTranscript added in v1.44.277

SetTranscript sets the Transcript field's value.

func (UserTurnOutputSpecification) String added in v1.44.277

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 UserTurnResult added in v1.44.277

type UserTurnResult struct {

	// Contains information about the actual output for the user turn.
	ActualOutput *UserTurnOutputSpecification `locationName:"actualOutput" type:"structure"`

	// Contains information about the results related to the conversation associated
	// with the user turn.
	ConversationLevelResult *ConversationLevelResultDetail `locationName:"conversationLevelResult" type:"structure"`

	// Specifies whether the expected and actual outputs match or not, or if there
	// is an error in execution.
	EndToEndResult *string `locationName:"endToEndResult" type:"string" enum:"TestResultMatchStatus"`

	// Details about an error in an execution of a test set.
	ErrorDetails *ExecutionErrorDetails `locationName:"errorDetails" type:"structure"`

	// Contains information about the expected output for the user turn.
	//
	// ExpectedOutput is a required field
	ExpectedOutput *UserTurnOutputSpecification `locationName:"expectedOutput" type:"structure" required:"true"`

	// Contains information about the user messages in the turn in the input.
	//
	// Input is a required field
	Input *UserTurnInputSpecification `locationName:"input" type:"structure" required:"true"`

	// Specifies whether the expected and actual intents match or not.
	IntentMatchResult *string `locationName:"intentMatchResult" type:"string" enum:"TestResultMatchStatus"`

	// Specifies whether the expected and actual slots match or not.
	SlotMatchResult *string `locationName:"slotMatchResult" type:"string" enum:"TestResultMatchStatus"`

	// Specifies whether the expected and actual speech transcriptions match or
	// not, or if there is an error in execution.
	SpeechTranscriptionResult *string `locationName:"speechTranscriptionResult" type:"string" enum:"TestResultMatchStatus"`
	// contains filtered or unexported fields
}

Contains the results for the user turn by the test execution.

func (UserTurnResult) GoString added in v1.44.277

func (s UserTurnResult) 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 (*UserTurnResult) SetActualOutput added in v1.44.277

SetActualOutput sets the ActualOutput field's value.

func (*UserTurnResult) SetConversationLevelResult added in v1.44.277

func (s *UserTurnResult) SetConversationLevelResult(v *ConversationLevelResultDetail) *UserTurnResult

SetConversationLevelResult sets the ConversationLevelResult field's value.

func (*UserTurnResult) SetEndToEndResult added in v1.44.277

func (s *UserTurnResult) SetEndToEndResult(v string) *UserTurnResult

SetEndToEndResult sets the EndToEndResult field's value.

func (*UserTurnResult) SetErrorDetails added in v1.44.277

func (s *UserTurnResult) SetErrorDetails(v *ExecutionErrorDetails) *UserTurnResult

SetErrorDetails sets the ErrorDetails field's value.

func (*UserTurnResult) SetExpectedOutput added in v1.44.277

func (s *UserTurnResult) SetExpectedOutput(v *UserTurnOutputSpecification) *UserTurnResult

SetExpectedOutput sets the ExpectedOutput field's value.

func (*UserTurnResult) SetInput added in v1.44.277

SetInput sets the Input field's value.

func (*UserTurnResult) SetIntentMatchResult added in v1.44.277

func (s *UserTurnResult) SetIntentMatchResult(v string) *UserTurnResult

SetIntentMatchResult sets the IntentMatchResult field's value.

func (*UserTurnResult) SetSlotMatchResult added in v1.44.277

func (s *UserTurnResult) SetSlotMatchResult(v string) *UserTurnResult

SetSlotMatchResult sets the SlotMatchResult field's value.

func (*UserTurnResult) SetSpeechTranscriptionResult added in v1.44.277

func (s *UserTurnResult) SetSpeechTranscriptionResult(v string) *UserTurnResult

SetSpeechTranscriptionResult sets the SpeechTranscriptionResult field's value.

func (UserTurnResult) String added in v1.44.277

func (s UserTurnResult) 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 UserTurnSlotOutput_ added in v1.44.277

type UserTurnSlotOutput_ struct {

	// A list of items mapping the name of the subslots to information about those
	// subslots.
	SubSlots map[string]*UserTurnSlotOutput_ `locationName:"subSlots" type:"map"`

	// The value output by the slot recognition.
	Value *string `locationName:"value" min:"1" type:"string"`

	// Values that are output by the slot recognition.
	Values []*UserTurnSlotOutput_ `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Contains information about a slot output by the test set execution.

func (UserTurnSlotOutput_) GoString added in v1.44.277

func (s UserTurnSlotOutput_) 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 (*UserTurnSlotOutput_) SetSubSlots added in v1.44.277

SetSubSlots sets the SubSlots field's value.

func (*UserTurnSlotOutput_) SetValue added in v1.44.277

SetValue sets the Value field's value.

func (*UserTurnSlotOutput_) SetValues added in v1.44.277

SetValues sets the Values field's value.

func (UserTurnSlotOutput_) String added in v1.44.277

func (s UserTurnSlotOutput_) 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 UserTurnSpecification added in v1.44.277

type UserTurnSpecification struct {

	// Contains results about the expected output for the user turn.
	//
	// Expected is a required field
	Expected *UserTurnOutputSpecification `locationName:"expected" type:"structure" required:"true"`

	// Contains information about the user messages in the turn in the input.
	//
	// Input is a required field
	Input *UserTurnInputSpecification `locationName:"input" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the expected and input values for the user turn.

func (UserTurnSpecification) GoString added in v1.44.277

func (s UserTurnSpecification) 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 (*UserTurnSpecification) SetExpected added in v1.44.277

SetExpected sets the Expected field's value.

func (*UserTurnSpecification) SetInput added in v1.44.277

SetInput sets the Input field's value.

func (UserTurnSpecification) String added in v1.44.277

func (s UserTurnSpecification) 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 UtteranceAggregationDuration added in v1.40.47

type UtteranceAggregationDuration struct {

	// The desired time window for aggregating utterances.
	//
	// RelativeAggregationDuration is a required field
	RelativeAggregationDuration *RelativeAggregationDuration `locationName:"relativeAggregationDuration" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Provides parameters for setting the time window and duration for aggregating utterance data.

func (UtteranceAggregationDuration) GoString added in v1.40.47

func (s UtteranceAggregationDuration) 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 (*UtteranceAggregationDuration) SetRelativeAggregationDuration added in v1.40.47

SetRelativeAggregationDuration sets the RelativeAggregationDuration field's value.

func (UtteranceAggregationDuration) String added in v1.40.47

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 (*UtteranceAggregationDuration) Validate added in v1.40.47

func (s *UtteranceAggregationDuration) Validate() error

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

type UtteranceAudioInputSpecification added in v1.44.277

type UtteranceAudioInputSpecification struct {

	// Amazon S3 file pointing to the audio.
	//
	// AudioFileS3Location is a required field
	AudioFileS3Location *string `locationName:"audioFileS3Location" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the audio for an utterance.

func (UtteranceAudioInputSpecification) GoString added in v1.44.277

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 (*UtteranceAudioInputSpecification) SetAudioFileS3Location added in v1.44.277

SetAudioFileS3Location sets the AudioFileS3Location field's value.

func (UtteranceAudioInputSpecification) String added in v1.44.277

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 UtteranceInputSpecification added in v1.44.277

type UtteranceInputSpecification struct {

	// Contains information about the audio input for an utterance.
	AudioInput *UtteranceAudioInputSpecification `locationName:"audioInput" type:"structure"`

	// A text input transcription of the utterance. It is only applicable for test-sets
	// containing text data.
	TextInput *string `locationName:"textInput" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains information about input of an utterance.

func (UtteranceInputSpecification) GoString added in v1.44.277

func (s UtteranceInputSpecification) 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 (*UtteranceInputSpecification) SetAudioInput added in v1.44.277

SetAudioInput sets the AudioInput field's value.

func (*UtteranceInputSpecification) SetTextInput added in v1.44.277

SetTextInput sets the TextInput field's value.

func (UtteranceInputSpecification) String added in v1.44.277

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 UtteranceLevelTestResultItem added in v1.44.277

type UtteranceLevelTestResultItem struct {

	// The unique identifier for the conversation associated with the result.
	ConversationId *string `locationName:"conversationId" min:"1" type:"string"`

	// The record number of the result.
	//
	// RecordNumber is a required field
	RecordNumber *int64 `locationName:"recordNumber" min:"1" type:"long" required:"true"`

	// Contains information about the turn associated with the result.
	//
	// TurnResult is a required field
	TurnResult *TestSetTurnResult `locationName:"turnResult" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains information about multiple utterances in the results of a test set execution.

func (UtteranceLevelTestResultItem) GoString added in v1.44.277

func (s UtteranceLevelTestResultItem) 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 (*UtteranceLevelTestResultItem) SetConversationId added in v1.44.277

SetConversationId sets the ConversationId field's value.

func (*UtteranceLevelTestResultItem) SetRecordNumber added in v1.44.277

SetRecordNumber sets the RecordNumber field's value.

func (*UtteranceLevelTestResultItem) SetTurnResult added in v1.44.277

SetTurnResult sets the TurnResult field's value.

func (UtteranceLevelTestResultItem) String added in v1.44.277

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 UtteranceLevelTestResults added in v1.44.277

type UtteranceLevelTestResults struct {

	// Contains information about an utterance in the results of the test set execution.
	//
	// Items is a required field
	Items []*UtteranceLevelTestResultItem `locationName:"items" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the utterances in the results of the test set execution.

func (UtteranceLevelTestResults) GoString added in v1.44.277

func (s UtteranceLevelTestResults) 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 (*UtteranceLevelTestResults) SetItems added in v1.44.277

SetItems sets the Items field's value.

func (UtteranceLevelTestResults) String added in v1.44.277

func (s UtteranceLevelTestResults) 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 ValidationException

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

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

One of the input parameters in your request isn't valid. Check the parameters and try your request again.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) 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 (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) 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 VoiceSettings

type VoiceSettings struct {

	// Indicates the type of Amazon Polly voice that Amazon Lex should use for voice
	// interaction with the user. For more information, see the engine parameter
	// of the SynthesizeSpeech operation (https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine)
	// in the Amazon Polly developer guide.
	//
	// If you do not specify a value, the default is standard.
	Engine *string `locationName:"engine" type:"string" enum:"VoiceEngine"`

	// The identifier of the Amazon Polly voice to use.
	//
	// VoiceId is a required field
	VoiceId *string `locationName:"voiceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines settings for using an Amazon Polly voice to communicate with a user.

func (VoiceSettings) GoString

func (s VoiceSettings) 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 (*VoiceSettings) SetEngine added in v1.42.8

func (s *VoiceSettings) SetEngine(v string) *VoiceSettings

SetEngine sets the Engine field's value.

func (*VoiceSettings) SetVoiceId

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

SetVoiceId sets the VoiceId field's value.

func (VoiceSettings) String

func (s VoiceSettings) 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 (*VoiceSettings) Validate

func (s *VoiceSettings) Validate() error

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

type WaitAndContinueSpecification

type WaitAndContinueSpecification struct {

	// Specifies whether the bot will wait for a user to respond. When this field
	// is false, wait and continue responses for a slot aren't used. If the active
	// field isn't specified, the default is true.
	Active *bool `locationName:"active" type:"boolean"`

	// The response that Amazon Lex sends to indicate that the bot is ready to continue
	// the conversation.
	//
	// ContinueResponse is a required field
	ContinueResponse *ResponseSpecification `locationName:"continueResponse" type:"structure" required:"true"`

	// A response that Amazon Lex sends periodically to the user to indicate that
	// the bot is still waiting for input from the user.
	StillWaitingResponse *StillWaitingResponseSpecification `locationName:"stillWaitingResponse" type:"structure"`

	// The response that Amazon Lex sends to indicate that the bot is waiting for
	// the conversation to continue.
	//
	// WaitingResponse is a required field
	WaitingResponse *ResponseSpecification `locationName:"waitingResponse" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.

func (WaitAndContinueSpecification) GoString

func (s WaitAndContinueSpecification) 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 (*WaitAndContinueSpecification) SetActive added in v1.40.16

SetActive sets the Active field's value.

func (*WaitAndContinueSpecification) SetContinueResponse

SetContinueResponse sets the ContinueResponse field's value.

func (*WaitAndContinueSpecification) SetStillWaitingResponse

SetStillWaitingResponse sets the StillWaitingResponse field's value.

func (*WaitAndContinueSpecification) SetWaitingResponse

SetWaitingResponse sets the WaitingResponse field's value.

func (WaitAndContinueSpecification) 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 (*WaitAndContinueSpecification) Validate

func (s *WaitAndContinueSpecification) Validate() error

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

Directories

Path Synopsis
Package lexmodelsv2iface provides an interface to enable mocking the Amazon Lex Model Building V2 service client for testing your code.
Package lexmodelsv2iface provides an interface to enable mocking the Amazon Lex Model Building V2 service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL