Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- translate :: Service
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedLanguagePairException :: AsError a => Getting (First ServiceError) a ServiceError
- _DetectedLanguageLowConfidenceException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
Service Configuration
Errors
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is invalid.
_UnsupportedLanguagePairException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Translate cannot translate input text in the source language into this target language. For more information, see 'how-to-error-msg' .
_DetectedLanguageLowConfidenceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the DetectDominantLanguage operation in the Amazon Comprehend Developer Guide .
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of requests exceeds the limit. Resubmit your request later.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal server error occurred. Retry your request.
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Translate is unavailable. Retry your request later.
_TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The size of the input text exceeds the length constraint for the Text
field. Try again with a shorter text.