2017-05-11 16:39:54 +02:00
|
|
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
|
|
|
|
|
|
|
package lexruntimeservice
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
|
|
// ErrCodeBadGatewayException for service response error code
|
|
|
|
// "BadGatewayException".
|
|
|
|
//
|
|
|
|
// Either the Amazon Lex bot is still building, or one of the dependent services
|
|
|
|
// (Amazon Polly, AWS Lambda) failed with an internal service error.
|
|
|
|
ErrCodeBadGatewayException = "BadGatewayException"
|
|
|
|
|
|
|
|
// ErrCodeBadRequestException for service response error code
|
|
|
|
// "BadRequestException".
|
|
|
|
//
|
|
|
|
// Request validation failed, there is no usable message in the context, or
|
2017-09-30 16:27:27 +02:00
|
|
|
// the bot build failed, is still in progress, or contains unbuilt changes.
|
2017-05-11 16:39:54 +02:00
|
|
|
ErrCodeBadRequestException = "BadRequestException"
|
|
|
|
|
|
|
|
// ErrCodeConflictException for service response error code
|
|
|
|
// "ConflictException".
|
|
|
|
//
|
|
|
|
// Two clients are using the same AWS account, Amazon Lex bot, and user ID.
|
|
|
|
ErrCodeConflictException = "ConflictException"
|
|
|
|
|
|
|
|
// ErrCodeDependencyFailedException for service response error code
|
|
|
|
// "DependencyFailedException".
|
|
|
|
//
|
2017-09-30 16:27:27 +02:00
|
|
|
// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception.
|
|
|
|
// For example,
|
|
|
|
//
|
|
|
|
// * If Amazon Lex does not have sufficient permissions to call a Lambda
|
|
|
|
// function.
|
|
|
|
//
|
|
|
|
// * If a Lambda function takes longer than 30 seconds to execute.
|
|
|
|
//
|
|
|
|
// * If a fulfillment Lambda function returns a Delegate dialog action without
|
|
|
|
// removing any slot values.
|
2017-05-11 16:39:54 +02:00
|
|
|
ErrCodeDependencyFailedException = "DependencyFailedException"
|
|
|
|
|
|
|
|
// ErrCodeInternalFailureException for service response error code
|
|
|
|
// "InternalFailureException".
|
|
|
|
//
|
|
|
|
// Internal service error. Retry the call.
|
|
|
|
ErrCodeInternalFailureException = "InternalFailureException"
|
|
|
|
|
|
|
|
// ErrCodeLimitExceededException for service response error code
|
|
|
|
// "LimitExceededException".
|
|
|
|
//
|
|
|
|
// Exceeded a limit.
|
|
|
|
ErrCodeLimitExceededException = "LimitExceededException"
|
|
|
|
|
|
|
|
// ErrCodeLoopDetectedException for service response error code
|
|
|
|
// "LoopDetectedException".
|
|
|
|
//
|
2017-09-30 16:27:27 +02:00
|
|
|
// This exception is not used.
|
2017-05-11 16:39:54 +02:00
|
|
|
ErrCodeLoopDetectedException = "LoopDetectedException"
|
|
|
|
|
|
|
|
// ErrCodeNotAcceptableException for service response error code
|
|
|
|
// "NotAcceptableException".
|
|
|
|
//
|
|
|
|
// The accept header in the request does not have a valid value.
|
|
|
|
ErrCodeNotAcceptableException = "NotAcceptableException"
|
|
|
|
|
|
|
|
// ErrCodeNotFoundException for service response error code
|
|
|
|
// "NotFoundException".
|
|
|
|
//
|
|
|
|
// The resource (such as the Amazon Lex bot or an alias) that is referred to
|
|
|
|
// is not found.
|
|
|
|
ErrCodeNotFoundException = "NotFoundException"
|
|
|
|
|
|
|
|
// ErrCodeRequestTimeoutException for service response error code
|
|
|
|
// "RequestTimeoutException".
|
|
|
|
//
|
|
|
|
// The input speech is too long.
|
|
|
|
ErrCodeRequestTimeoutException = "RequestTimeoutException"
|
|
|
|
|
|
|
|
// ErrCodeUnsupportedMediaTypeException for service response error code
|
|
|
|
// "UnsupportedMediaTypeException".
|
|
|
|
//
|
|
|
|
// The Content-Type header (PostContent API) has an invalid value.
|
|
|
|
ErrCodeUnsupportedMediaTypeException = "UnsupportedMediaTypeException"
|
|
|
|
)
|