forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
59 lines (49 loc) · 2.25 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package comprehend
const (
// ErrCodeBatchSizeLimitExceededException for service response error code
// "BatchSizeLimitExceededException".
//
// The number of documents in the request exceeds the limit of 25. Try your
// request again with fewer documents.
ErrCodeBatchSizeLimitExceededException = "BatchSizeLimitExceededException"
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// An internal server error occurred. Retry your request.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeInvalidFilterException for service response error code
// "InvalidFilterException".
//
// The filter specified for the ListTopicDetectionJobs operation is invalid.
// Specify a different filter.
ErrCodeInvalidFilterException = "InvalidFilterException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// The request is invalid.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeJobNotFoundException for service response error code
// "JobNotFoundException".
//
// The specified job was not found. Check the job ID and try again.
ErrCodeJobNotFoundException = "JobNotFoundException"
// ErrCodeTextSizeLimitExceededException for service response error code
// "TextSizeLimitExceededException".
//
// The size of the input text exceeds the limit. Use a smaller document.
ErrCodeTextSizeLimitExceededException = "TextSizeLimitExceededException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// The number of requests exceeds the limit. Resubmit your request later.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnsupportedLanguageException for service response error code
// "UnsupportedLanguageException".
//
// Amazon Comprehend can't process the language of the input text. For all APIs
// except DetectDominantLanguage, Amazon Comprehend accepts only English or
// Spanish text. For the DetectDominantLanguage API, Amazon Comprehend detects
// 100 languages. For a list of languages, see how-languages
ErrCodeUnsupportedLanguageException = "UnsupportedLanguageException"
)