mirror of
https://github.com/Luzifer/share.git
synced 2024-12-26 05:21:19 +00:00
45 lines
1.6 KiB
Go
45 lines
1.6 KiB
Go
|
// 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"
|
||
|
)
|