forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
78 lines (65 loc) · 2.79 KB
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// 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
// the bot build failed.
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".
//
// One of the downstream 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, it results in Lambda throwing an exception.
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".
//
// Lambda fulfilment function returned DelegateDialogAction to Amazon Lex without
// changing any slot values.
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"
)