forked from cPu1/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.go
44 lines (36 loc) · 1.61 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package translate
const (
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// An internal server error occurred. Retry your request.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// The request is invalid.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// Amazon Translate is unavailable. Retry your request later.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTextSizeLimitExceededException for service response error code
// "TextSizeLimitExceededException".
//
// The size of the input text exceeds the length constraint for the Text field.
// Try again with a shorter text.
ErrCodeTextSizeLimitExceededException = "TextSizeLimitExceededException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// The number of requests exceeds the limit. Resubmit your request later.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnsupportedLanguagePairException for service response error code
// "UnsupportedLanguagePairException".
//
// Amazon Translate cannot translate input text in the source language into
// this target language. For more information, see how-to-error-msg.
ErrCodeUnsupportedLanguagePairException = "UnsupportedLanguagePairException"
)