-
Notifications
You must be signed in to change notification settings - Fork 623
/
api_errors.go
48 lines (40 loc) · 1.85 KB
/
api_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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package comprehendmedical
const (
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// An internal server error occurred. Retry your request.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeInvalidEncodingException for service response error code
// "InvalidEncodingException".
//
// The input text was not in valid UTF-8 character encoding. Check your text
// then retry your request.
ErrCodeInvalidEncodingException = "InvalidEncodingException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// The request that you made is invalid. Check your request to determine why
// it's invalid and then retry the request.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// The Comprehend Medical service is temporarily unavailable. Please wait and
// then retry your request.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTextSizeLimitExceededException for service response error code
// "TextSizeLimitExceededException".
//
// The size of the text you submitted exceeds the size limit. Reduce the size
// of the text or use a smaller document and then retry your request.
ErrCodeTextSizeLimitExceededException = "TextSizeLimitExceededException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// You have made too many requests within a short period of time. Wait for a
// short time and then try your request again. Contact customer support for
// more information about a service limit increase.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
)