amazonka-translate-1.6.1: Amazon Translate SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Translate.Types

Contents

Description

 
Synopsis

Service Configuration

translate :: Service Source #

API version 2017-07-01 of the Amazon Translate SDK configuration.

Errors

_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.