amazonka-translate-2.0: Amazon Translate SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Translate.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_ConcurrentModificationException :: AsError a => Fold a ServiceError Source #

Another modification is being made. That modification must complete before you can make your change.

_ConflictException :: AsError a => Fold a ServiceError Source #

There was a conflict processing the request. Try your request again.

_DetectedLanguageLowConfidenceException :: AsError a => Fold 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.

_InternalServerException :: AsError a => Fold a ServiceError Source #

An internal server error occurred. Retry your request.

_InvalidFilterException :: AsError a => Fold a ServiceError Source #

The filter specified for the operation is not valid. Specify a different filter.

_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #

The value of the parameter is not valid. Review the value of the parameter you are using to correct it, and then retry your operation.

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

The request that you made is not valid. Check your request to determine why it's not valid and then retry the request.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

The specified limit has been exceeded. Review your request and retry it with a quantity below the stated limit.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The resource you are looking for has not been found. Review the resource you're looking for and see if a different resource will accomplish your needs before retrying the revised request.

_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #

The Amazon Translate service is temporarily unavailable. Wait a bit and then retry your request.

_TextSizeLimitExceededException :: AsError a => Fold a ServiceError Source #

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.

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

You have made too many requests within a short period of time. Wait for a short time and then try your request again.

_TooManyTagsException :: AsError a => Fold a ServiceError Source #

You have added too many tags to this resource. The maximum is 50 tags.

_UnsupportedDisplayLanguageCodeException :: AsError a => Fold a ServiceError Source #

Requested display language code is not supported.

_UnsupportedLanguagePairException :: AsError a => Fold a ServiceError Source #

Amazon Translate does not support translation from the language of the source text into the requested target language. For more information, see Error messages.

Directionality

newtype Directionality Source #

Constructors

Directionality' 

Bundled Patterns

pattern Directionality_MULTI :: Directionality 
pattern Directionality_UNI :: Directionality 

Instances

Instances details
FromJSON Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

FromJSONKey Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToJSON Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToJSONKey Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToByteString Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToHeader Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToLog Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToQuery Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

FromText Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToText Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

FromXML Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

ToXML Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

Methods

toXML :: Directionality -> XML #

Generic Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

Associated Types

type Rep Directionality :: Type -> Type #

Read Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

Show Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

NFData Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

Methods

rnf :: Directionality -> () #

Eq Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

Ord Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

Hashable Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

type Rep Directionality Source # 
Instance details

Defined in Amazonka.Translate.Types.Directionality

type Rep Directionality = D1 ('MetaData "Directionality" "Amazonka.Translate.Types.Directionality" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "Directionality'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDirectionality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DisplayLanguageCode

newtype DisplayLanguageCode Source #

Instances

Instances details
FromJSON DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

FromJSONKey DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToJSON DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToJSONKey DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToByteString DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToHeader DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToLog DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToQuery DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

FromText DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToText DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

FromXML DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

ToXML DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

Generic DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

Associated Types

type Rep DisplayLanguageCode :: Type -> Type #

Read DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

Show DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

NFData DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

Methods

rnf :: DisplayLanguageCode -> () #

Eq DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

Ord DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

Hashable DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

type Rep DisplayLanguageCode Source # 
Instance details

Defined in Amazonka.Translate.Types.DisplayLanguageCode

type Rep DisplayLanguageCode = D1 ('MetaData "DisplayLanguageCode" "Amazonka.Translate.Types.DisplayLanguageCode" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "DisplayLanguageCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDisplayLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionKeyType

newtype EncryptionKeyType Source #

Bundled Patterns

pattern EncryptionKeyType_KMS :: EncryptionKeyType 

Instances

Instances details
FromJSON EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

FromJSONKey EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToJSON EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToJSONKey EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToByteString EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToHeader EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToLog EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToQuery EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

FromText EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToText EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

FromXML EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToXML EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Generic EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Associated Types

type Rep EncryptionKeyType :: Type -> Type #

Read EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Show EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

NFData EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Methods

rnf :: EncryptionKeyType -> () #

Eq EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Ord EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Hashable EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

type Rep EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

type Rep EncryptionKeyType = D1 ('MetaData "EncryptionKeyType" "Amazonka.Translate.Types.EncryptionKeyType" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "EncryptionKeyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionKeyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Formality

newtype Formality Source #

Constructors

Formality' 

Fields

Bundled Patterns

pattern Formality_FORMAL :: Formality 
pattern Formality_INFORMAL :: Formality 

Instances

Instances details
FromJSON Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

FromJSONKey Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToJSON Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToJSONKey Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToByteString Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Methods

toBS :: Formality -> ByteString #

ToHeader Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToLog Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToQuery Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

FromText Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToText Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Methods

toText :: Formality -> Text #

FromXML Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

ToXML Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Methods

toXML :: Formality -> XML #

Generic Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Associated Types

type Rep Formality :: Type -> Type #

Read Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Show Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

NFData Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Methods

rnf :: Formality -> () #

Eq Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Ord Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

Hashable Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

type Rep Formality Source # 
Instance details

Defined in Amazonka.Translate.Types.Formality

type Rep Formality = D1 ('MetaData "Formality" "Amazonka.Translate.Types.Formality" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "Formality'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFormality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

JobStatus

newtype JobStatus Source #

Constructors

JobStatus' 

Fields

Instances

Instances details
FromJSON JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

FromJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToJSON JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToByteString JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Methods

toBS :: JobStatus -> ByteString #

ToHeader JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToLog JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToQuery JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

FromText JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToText JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Methods

toText :: JobStatus -> Text #

FromXML JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToXML JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Methods

toXML :: JobStatus -> XML #

Generic JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Associated Types

type Rep JobStatus :: Type -> Type #

Read JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Show JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

NFData JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Methods

rnf :: JobStatus -> () #

Eq JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Ord JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Hashable JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

type Rep JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

type Rep JobStatus = D1 ('MetaData "JobStatus" "Amazonka.Translate.Types.JobStatus" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "JobStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromJobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MergeStrategy

newtype MergeStrategy Source #

Constructors

MergeStrategy' 

Bundled Patterns

pattern MergeStrategy_OVERWRITE :: MergeStrategy 

Instances

Instances details
FromJSON MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

FromJSONKey MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToJSON MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToJSONKey MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToByteString MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToHeader MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToLog MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToQuery MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

FromText MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToText MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Methods

toText :: MergeStrategy -> Text #

FromXML MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToXML MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Methods

toXML :: MergeStrategy -> XML #

Generic MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Associated Types

type Rep MergeStrategy :: Type -> Type #

Read MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Show MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

NFData MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Methods

rnf :: MergeStrategy -> () #

Eq MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Ord MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Hashable MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

type Rep MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

type Rep MergeStrategy = D1 ('MetaData "MergeStrategy" "Amazonka.Translate.Types.MergeStrategy" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "MergeStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMergeStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ParallelDataFormat

newtype ParallelDataFormat Source #

Instances

Instances details
FromJSON ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

FromJSONKey ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToJSON ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToJSONKey ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToByteString ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToHeader ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToLog ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToQuery ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

FromText ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToText ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

FromXML ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToXML ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Generic ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Associated Types

type Rep ParallelDataFormat :: Type -> Type #

Read ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Show ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

NFData ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Methods

rnf :: ParallelDataFormat -> () #

Eq ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Ord ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Hashable ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

type Rep ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

type Rep ParallelDataFormat = D1 ('MetaData "ParallelDataFormat" "Amazonka.Translate.Types.ParallelDataFormat" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "ParallelDataFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromParallelDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ParallelDataStatus

newtype ParallelDataStatus Source #

Instances

Instances details
FromJSON ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

FromJSONKey ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToJSON ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToJSONKey ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToByteString ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToHeader ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToLog ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToQuery ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

FromText ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToText ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

FromXML ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToXML ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Generic ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Associated Types

type Rep ParallelDataStatus :: Type -> Type #

Read ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Show ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

NFData ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Methods

rnf :: ParallelDataStatus -> () #

Eq ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Ord ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Hashable ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

type Rep ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

type Rep ParallelDataStatus = D1 ('MetaData "ParallelDataStatus" "Amazonka.Translate.Types.ParallelDataStatus" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "ParallelDataStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromParallelDataStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Profanity

newtype Profanity Source #

Constructors

Profanity' 

Fields

Bundled Patterns

pattern Profanity_MASK :: Profanity 

Instances

Instances details
FromJSON Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

FromJSONKey Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToJSON Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToJSONKey Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToByteString Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Methods

toBS :: Profanity -> ByteString #

ToHeader Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToLog Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToQuery Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

FromText Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToText Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Methods

toText :: Profanity -> Text #

FromXML Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

ToXML Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Methods

toXML :: Profanity -> XML #

Generic Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Associated Types

type Rep Profanity :: Type -> Type #

Read Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Show Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

NFData Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Methods

rnf :: Profanity -> () #

Eq Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Ord Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

Hashable Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

type Rep Profanity Source # 
Instance details

Defined in Amazonka.Translate.Types.Profanity

type Rep Profanity = D1 ('MetaData "Profanity" "Amazonka.Translate.Types.Profanity" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "Profanity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromProfanity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TerminologyDataFormat

newtype TerminologyDataFormat Source #

Instances

Instances details
FromJSON TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

FromJSONKey TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToJSON TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToJSONKey TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToByteString TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToHeader TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToLog TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToQuery TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

FromText TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToText TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

FromXML TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToXML TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Generic TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Associated Types

type Rep TerminologyDataFormat :: Type -> Type #

Read TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Show TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

NFData TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Methods

rnf :: TerminologyDataFormat -> () #

Eq TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Ord TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Hashable TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

type Rep TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

type Rep TerminologyDataFormat = D1 ('MetaData "TerminologyDataFormat" "Amazonka.Translate.Types.TerminologyDataFormat" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'True) (C1 ('MetaCons "TerminologyDataFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTerminologyDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AppliedTerminology

data AppliedTerminology Source #

The custom terminology applied to the input text by Amazon Translate for the translated text response. This is optional in the response and will only be present if you specified terminology input in the request. Currently, only one terminology can be applied per TranslateText request.

See: newAppliedTerminology smart constructor.

Constructors

AppliedTerminology' 

Fields

  • name :: Maybe Text

    The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

  • terms :: Maybe [Term]

    The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

Instances

Instances details
FromJSON AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Generic AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Associated Types

type Rep AppliedTerminology :: Type -> Type #

Read AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Show AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

NFData AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Methods

rnf :: AppliedTerminology -> () #

Eq AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Hashable AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

type Rep AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

type Rep AppliedTerminology = D1 ('MetaData "AppliedTerminology" "Amazonka.Translate.Types.AppliedTerminology" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "AppliedTerminology'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "terms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Term]))))

newAppliedTerminology :: AppliedTerminology Source #

Create a value of AppliedTerminology with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:AppliedTerminology', appliedTerminology_name - The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

$sel:terms:AppliedTerminology', appliedTerminology_terms - The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

appliedTerminology_name :: Lens' AppliedTerminology (Maybe Text) Source #

The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

appliedTerminology_terms :: Lens' AppliedTerminology (Maybe [Term]) Source #

The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

EncryptionKey

data EncryptionKey Source #

The encryption key used to encrypt this object.

See: newEncryptionKey smart constructor.

Constructors

EncryptionKey' 

Fields

  • type' :: EncryptionKeyType

    The type of encryption key used by Amazon Translate to encrypt this object.

  • id :: Text

    The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.

Instances

Instances details
FromJSON EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

ToJSON EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Generic EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Associated Types

type Rep EncryptionKey :: Type -> Type #

Read EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Show EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

NFData EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Methods

rnf :: EncryptionKey -> () #

Eq EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Hashable EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

type Rep EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

type Rep EncryptionKey = D1 ('MetaData "EncryptionKey" "Amazonka.Translate.Types.EncryptionKey" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "EncryptionKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionKeyType) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEncryptionKey Source #

Create a value of EncryptionKey with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:type':EncryptionKey', encryptionKey_type - The type of encryption key used by Amazon Translate to encrypt this object.

$sel:id:EncryptionKey', encryptionKey_id - The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.

encryptionKey_type :: Lens' EncryptionKey EncryptionKeyType Source #

The type of encryption key used by Amazon Translate to encrypt this object.

encryptionKey_id :: Lens' EncryptionKey Text Source #

The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.

InputDataConfig

data InputDataConfig Source #

The input configuration properties for requesting a batch translation job.

See: newInputDataConfig smart constructor.

Constructors

InputDataConfig' 

Fields

  • s3Uri :: Text

    The URI of the AWS S3 folder that contains the input files. Amazon Translate translates all the files in the folder and all its sub-folders. The folder must be in the same Region as the API endpoint you are calling.

  • contentType :: Text

    Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

    • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.
    • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.
    • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).
    • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).
    • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).
    • application/x-xliff+xml: The input data consists of one or more XML Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2.

    If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

Instances

Instances details
FromJSON InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

ToJSON InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Generic InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Associated Types

type Rep InputDataConfig :: Type -> Type #

Read InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Show InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

NFData InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Methods

rnf :: InputDataConfig -> () #

Eq InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Hashable InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

type Rep InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

type Rep InputDataConfig = D1 ('MetaData "InputDataConfig" "Amazonka.Translate.Types.InputDataConfig" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "InputDataConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInputDataConfig Source #

Create a value of InputDataConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3Uri:InputDataConfig', inputDataConfig_s3Uri - The URI of the AWS S3 folder that contains the input files. Amazon Translate translates all the files in the folder and all its sub-folders. The folder must be in the same Region as the API endpoint you are calling.

$sel:contentType:InputDataConfig', inputDataConfig_contentType - Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.
  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).
  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).
  • application/x-xliff+xml: The input data consists of one or more XML Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2.

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

inputDataConfig_s3Uri :: Lens' InputDataConfig Text Source #

The URI of the AWS S3 folder that contains the input files. Amazon Translate translates all the files in the folder and all its sub-folders. The folder must be in the same Region as the API endpoint you are calling.

inputDataConfig_contentType :: Lens' InputDataConfig Text Source #

Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:

  • text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file.
  • text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx).
  • application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx).
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx).
  • application/x-xliff+xml: The input data consists of one or more XML Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2.

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

JobDetails

data JobDetails Source #

The number of documents successfully and unsuccessfully processed during a translation job.

See: newJobDetails smart constructor.

Constructors

JobDetails' 

Fields

Instances

Instances details
FromJSON JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Generic JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Associated Types

type Rep JobDetails :: Type -> Type #

Read JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Show JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

NFData JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Methods

rnf :: JobDetails -> () #

Eq JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Hashable JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

type Rep JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

type Rep JobDetails = D1 ('MetaData "JobDetails" "Amazonka.Translate.Types.JobDetails" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "JobDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentsWithErrorsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "inputDocumentsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "translatedDocumentsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newJobDetails :: JobDetails Source #

Create a value of JobDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:documentsWithErrorsCount:JobDetails', jobDetails_documentsWithErrorsCount - The number of documents that could not be processed during a translation job.

$sel:inputDocumentsCount:JobDetails', jobDetails_inputDocumentsCount - The number of documents used as input in a translation job.

$sel:translatedDocumentsCount:JobDetails', jobDetails_translatedDocumentsCount - The number of documents successfully processed during a translation job.

jobDetails_documentsWithErrorsCount :: Lens' JobDetails (Maybe Int) Source #

The number of documents that could not be processed during a translation job.

jobDetails_inputDocumentsCount :: Lens' JobDetails (Maybe Int) Source #

The number of documents used as input in a translation job.

jobDetails_translatedDocumentsCount :: Lens' JobDetails (Maybe Int) Source #

The number of documents successfully processed during a translation job.

Language

data Language Source #

A supported language.

See: newLanguage smart constructor.

Constructors

Language' 

Fields

Instances

Instances details
FromJSON Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

Generic Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

Associated Types

type Rep Language :: Type -> Type #

Methods

from :: Language -> Rep Language x #

to :: Rep Language x -> Language #

Read Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

Show Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

NFData Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

Methods

rnf :: Language -> () #

Eq Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

Hashable Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

Methods

hashWithSalt :: Int -> Language -> Int #

hash :: Language -> Int #

type Rep Language Source # 
Instance details

Defined in Amazonka.Translate.Types.Language

type Rep Language = D1 ('MetaData "Language" "Amazonka.Translate.Types.Language" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "Language'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newLanguage Source #

Create a value of Language with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:languageName:Language', language_languageName - Language name of the supported language.

$sel:languageCode:Language', language_languageCode - Language code for the supported language.

language_languageName :: Lens' Language Text Source #

Language name of the supported language.

language_languageCode :: Lens' Language Text Source #

Language code for the supported language.

OutputDataConfig

data OutputDataConfig Source #

The output configuration properties for a batch translation job.

See: newOutputDataConfig smart constructor.

Constructors

OutputDataConfig' 

Fields

  • encryptionKey :: Maybe EncryptionKey
     
  • s3Uri :: Text

    The URI of the S3 folder that contains a translation job's output file. The folder must be in the same Region as the API endpoint that you are calling.

Instances

Instances details
FromJSON OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

ToJSON OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Generic OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Associated Types

type Rep OutputDataConfig :: Type -> Type #

Read OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Show OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

NFData OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Methods

rnf :: OutputDataConfig -> () #

Eq OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Hashable OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

type Rep OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

type Rep OutputDataConfig = D1 ('MetaData "OutputDataConfig" "Amazonka.Translate.Types.OutputDataConfig" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "OutputDataConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionKey)) :*: S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOutputDataConfig Source #

Create a value of OutputDataConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:encryptionKey:OutputDataConfig', outputDataConfig_encryptionKey - Undocumented member.

$sel:s3Uri:OutputDataConfig', outputDataConfig_s3Uri - The URI of the S3 folder that contains a translation job's output file. The folder must be in the same Region as the API endpoint that you are calling.

outputDataConfig_s3Uri :: Lens' OutputDataConfig Text Source #

The URI of the S3 folder that contains a translation job's output file. The folder must be in the same Region as the API endpoint that you are calling.

ParallelDataConfig

data ParallelDataConfig Source #

Specifies the format and S3 location of the parallel data input file.

See: newParallelDataConfig smart constructor.

Constructors

ParallelDataConfig' 

Fields

  • s3Uri :: Text

    The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.

  • format :: ParallelDataFormat

    The format of the parallel data input file.

Instances

Instances details
FromJSON ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

ToJSON ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Generic ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Associated Types

type Rep ParallelDataConfig :: Type -> Type #

Read ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Show ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

NFData ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Methods

rnf :: ParallelDataConfig -> () #

Eq ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Hashable ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

type Rep ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

type Rep ParallelDataConfig = D1 ('MetaData "ParallelDataConfig" "Amazonka.Translate.Types.ParallelDataConfig" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "ParallelDataConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ParallelDataFormat)))

newParallelDataConfig Source #

Create a value of ParallelDataConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3Uri:ParallelDataConfig', parallelDataConfig_s3Uri - The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.

$sel:format:ParallelDataConfig', parallelDataConfig_format - The format of the parallel data input file.

parallelDataConfig_s3Uri :: Lens' ParallelDataConfig Text Source #

The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.

parallelDataConfig_format :: Lens' ParallelDataConfig ParallelDataFormat Source #

The format of the parallel data input file.

ParallelDataDataLocation

data ParallelDataDataLocation Source #

The location of the most recent parallel data input file that was successfully imported into Amazon Translate.

See: newParallelDataDataLocation smart constructor.

Constructors

ParallelDataDataLocation' 

Fields

  • repositoryType :: Text

    Describes the repository that contains the parallel data input file.

  • location :: Text

    The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration.

    Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

    CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

    Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

Instances

Instances details
FromJSON ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Generic ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Associated Types

type Rep ParallelDataDataLocation :: Type -> Type #

Read ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Show ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

NFData ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Eq ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Hashable ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

type Rep ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

type Rep ParallelDataDataLocation = D1 ('MetaData "ParallelDataDataLocation" "Amazonka.Translate.Types.ParallelDataDataLocation" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "ParallelDataDataLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newParallelDataDataLocation Source #

Create a value of ParallelDataDataLocation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:repositoryType:ParallelDataDataLocation', parallelDataDataLocation_repositoryType - Describes the repository that contains the parallel data input file.

$sel:location:ParallelDataDataLocation', parallelDataDataLocation_location - The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration.

Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

parallelDataDataLocation_repositoryType :: Lens' ParallelDataDataLocation Text Source #

Describes the repository that contains the parallel data input file.

parallelDataDataLocation_location :: Lens' ParallelDataDataLocation Text Source #

The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration.

Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

ParallelDataProperties

data ParallelDataProperties Source #

The properties of a parallel data resource.

See: newParallelDataProperties smart constructor.

Constructors

ParallelDataProperties' 

Fields

Instances

Instances details
FromJSON ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Generic ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Associated Types

type Rep ParallelDataProperties :: Type -> Type #

Read ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Show ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

NFData ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Methods

rnf :: ParallelDataProperties -> () #

Eq ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Hashable ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

type Rep ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

type Rep ParallelDataProperties = D1 ('MetaData "ParallelDataProperties" "Amazonka.Translate.Types.ParallelDataProperties" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "ParallelDataProperties'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionKey)))) :*: ((S1 ('MetaSel ('Just "failedRecordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "importedDataSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "importedRecordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: (((S1 ('MetaSel ('Just "latestUpdateAttemptAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestUpdateAttemptStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "parallelDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataConfig)) :*: S1 ('MetaSel ('Just "skippedRecordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "sourceLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataStatus)) :*: S1 ('MetaSel ('Just "targetLanguageCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))))

newParallelDataProperties :: ParallelDataProperties Source #

Create a value of ParallelDataProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:ParallelDataProperties', parallelDataProperties_arn - The Amazon Resource Name (ARN) of the parallel data resource.

$sel:createdAt:ParallelDataProperties', parallelDataProperties_createdAt - The time at which the parallel data resource was created.

$sel:description:ParallelDataProperties', parallelDataProperties_description - The description assigned to the parallel data resource.

$sel:encryptionKey:ParallelDataProperties', parallelDataProperties_encryptionKey - Undocumented member.

$sel:failedRecordCount:ParallelDataProperties', parallelDataProperties_failedRecordCount - The number of records unsuccessfully imported from the parallel data input file.

$sel:importedDataSize:ParallelDataProperties', parallelDataProperties_importedDataSize - The number of UTF-8 characters that Amazon Translate imported from the parallel data input file. This number includes only the characters in your translation examples. It does not include characters that are used to format your file. For example, if you provided a Translation Memory Exchange (.tmx) file, this number does not include the tags.

$sel:importedRecordCount:ParallelDataProperties', parallelDataProperties_importedRecordCount - The number of records successfully imported from the parallel data input file.

$sel:lastUpdatedAt:ParallelDataProperties', parallelDataProperties_lastUpdatedAt - The time at which the parallel data resource was last updated.

$sel:latestUpdateAttemptAt:ParallelDataProperties', parallelDataProperties_latestUpdateAttemptAt - The time that the most recent update was attempted.

$sel:latestUpdateAttemptStatus:ParallelDataProperties', parallelDataProperties_latestUpdateAttemptStatus - The status of the most recent update attempt for the parallel data resource.

$sel:message:ParallelDataProperties', parallelDataProperties_message - Additional information from Amazon Translate about the parallel data resource.

$sel:name:ParallelDataProperties', parallelDataProperties_name - The custom name assigned to the parallel data resource.

$sel:parallelDataConfig:ParallelDataProperties', parallelDataProperties_parallelDataConfig - Specifies the format and S3 location of the parallel data input file.

$sel:skippedRecordCount:ParallelDataProperties', parallelDataProperties_skippedRecordCount - The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource. For example, Amazon Translate skips empty records, empty target texts, and empty lines.

$sel:sourceLanguageCode:ParallelDataProperties', parallelDataProperties_sourceLanguageCode - The source language of the translations in the parallel data file.

$sel:status:ParallelDataProperties', parallelDataProperties_status - The status of the parallel data resource. When the parallel data is ready for you to use, the status is ACTIVE.

$sel:targetLanguageCodes:ParallelDataProperties', parallelDataProperties_targetLanguageCodes - The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.

parallelDataProperties_arn :: Lens' ParallelDataProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the parallel data resource.

parallelDataProperties_createdAt :: Lens' ParallelDataProperties (Maybe UTCTime) Source #

The time at which the parallel data resource was created.

parallelDataProperties_description :: Lens' ParallelDataProperties (Maybe Text) Source #

The description assigned to the parallel data resource.

parallelDataProperties_failedRecordCount :: Lens' ParallelDataProperties (Maybe Integer) Source #

The number of records unsuccessfully imported from the parallel data input file.

parallelDataProperties_importedDataSize :: Lens' ParallelDataProperties (Maybe Integer) Source #

The number of UTF-8 characters that Amazon Translate imported from the parallel data input file. This number includes only the characters in your translation examples. It does not include characters that are used to format your file. For example, if you provided a Translation Memory Exchange (.tmx) file, this number does not include the tags.

parallelDataProperties_importedRecordCount :: Lens' ParallelDataProperties (Maybe Integer) Source #

The number of records successfully imported from the parallel data input file.

parallelDataProperties_lastUpdatedAt :: Lens' ParallelDataProperties (Maybe UTCTime) Source #

The time at which the parallel data resource was last updated.

parallelDataProperties_latestUpdateAttemptAt :: Lens' ParallelDataProperties (Maybe UTCTime) Source #

The time that the most recent update was attempted.

parallelDataProperties_latestUpdateAttemptStatus :: Lens' ParallelDataProperties (Maybe ParallelDataStatus) Source #

The status of the most recent update attempt for the parallel data resource.

parallelDataProperties_message :: Lens' ParallelDataProperties (Maybe Text) Source #

Additional information from Amazon Translate about the parallel data resource.

parallelDataProperties_name :: Lens' ParallelDataProperties (Maybe Text) Source #

The custom name assigned to the parallel data resource.

parallelDataProperties_parallelDataConfig :: Lens' ParallelDataProperties (Maybe ParallelDataConfig) Source #

Specifies the format and S3 location of the parallel data input file.

parallelDataProperties_skippedRecordCount :: Lens' ParallelDataProperties (Maybe Integer) Source #

The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource. For example, Amazon Translate skips empty records, empty target texts, and empty lines.

parallelDataProperties_sourceLanguageCode :: Lens' ParallelDataProperties (Maybe Text) Source #

The source language of the translations in the parallel data file.

parallelDataProperties_status :: Lens' ParallelDataProperties (Maybe ParallelDataStatus) Source #

The status of the parallel data resource. When the parallel data is ready for you to use, the status is ACTIVE.

parallelDataProperties_targetLanguageCodes :: Lens' ParallelDataProperties (Maybe [Text]) Source #

The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.

Tag

data Tag Source #

A key-value pair that adds as a metadata to a resource used by Amazon Translate.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    The initial part of a key-value pair that forms a tag associated with a given resource.

  • value :: Text

    The second part of a key-value pair that forms a tag associated with a given resource.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.Translate.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Translate.Types.Tag" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:key:Tag', tag_key - The initial part of a key-value pair that forms a tag associated with a given resource.

$sel:value:Tag', tag_value - The second part of a key-value pair that forms a tag associated with a given resource.

tag_key :: Lens' Tag Text Source #

The initial part of a key-value pair that forms a tag associated with a given resource.

tag_value :: Lens' Tag Text Source #

The second part of a key-value pair that forms a tag associated with a given resource.

Term

data Term Source #

The term being translated by the custom terminology.

See: newTerm smart constructor.

Constructors

Term' 

Fields

  • sourceText :: Maybe Text

    The source text of the term being translated by the custom terminology.

  • targetText :: Maybe Text

    The target text of the term being translated by the custom terminology.

Instances

Instances details
FromJSON Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Generic Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Associated Types

type Rep Term :: Type -> Type #

Methods

from :: Term -> Rep Term x #

to :: Rep Term x -> Term #

Read Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Show Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

showsPrec :: Int -> Term -> ShowS #

show :: Term -> String #

showList :: [Term] -> ShowS #

NFData Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

rnf :: Term -> () #

Eq Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

(==) :: Term -> Term -> Bool #

(/=) :: Term -> Term -> Bool #

Hashable Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

hashWithSalt :: Int -> Term -> Int #

hash :: Term -> Int #

type Rep Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

type Rep Term = D1 ('MetaData "Term" "Amazonka.Translate.Types.Term" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "Term'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTerm :: Term Source #

Create a value of Term with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceText:Term', term_sourceText - The source text of the term being translated by the custom terminology.

$sel:targetText:Term', term_targetText - The target text of the term being translated by the custom terminology.

term_sourceText :: Lens' Term (Maybe Text) Source #

The source text of the term being translated by the custom terminology.

term_targetText :: Lens' Term (Maybe Text) Source #

The target text of the term being translated by the custom terminology.

TerminologyData

data TerminologyData Source #

The data associated with the custom terminology. For information about the custom terminology file, see Creating a Custom Terminology.

See: newTerminologyData smart constructor.

Constructors

TerminologyData' 

Fields

  • directionality :: Maybe Directionality

    The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

    UNI
    The terminology resource has one source language (for example, the first column in a CSV file), and all of its other languages are target languages.
    MULTI
    Any language in the terminology resource can be the source language or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains English and Spanish terms, it can be used for jobs that translate English to Spanish and Spanish to English.

    When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.

  • file :: Sensitive Base64

    The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.

  • format :: TerminologyDataFormat

    The data format of the custom terminology.

Instances

Instances details
ToJSON TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

Generic TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

Associated Types

type Rep TerminologyData :: Type -> Type #

Show TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

NFData TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

Methods

rnf :: TerminologyData -> () #

Eq TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

Hashable TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

type Rep TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

type Rep TerminologyData = D1 ('MetaData "TerminologyData" "Amazonka.Translate.Types.TerminologyData" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "TerminologyData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directionality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Directionality)) :*: (S1 ('MetaSel ('Just "file") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Base64)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TerminologyDataFormat))))

newTerminologyData Source #

Create a value of TerminologyData with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:directionality:TerminologyData', terminologyData_directionality - The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

UNI
The terminology resource has one source language (for example, the first column in a CSV file), and all of its other languages are target languages.
MULTI
Any language in the terminology resource can be the source language or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains English and Spanish terms, it can be used for jobs that translate English to Spanish and Spanish to English.

When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.

$sel:file:TerminologyData', terminologyData_file - The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:format:TerminologyData', terminologyData_format - The data format of the custom terminology.

terminologyData_directionality :: Lens' TerminologyData (Maybe Directionality) Source #

The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

UNI
The terminology resource has one source language (for example, the first column in a CSV file), and all of its other languages are target languages.
MULTI
Any language in the terminology resource can be the source language or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains English and Spanish terms, it can be used for jobs that translate English to Spanish and Spanish to English.

When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.

terminologyData_file :: Lens' TerminologyData ByteString Source #

The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

terminologyData_format :: Lens' TerminologyData TerminologyDataFormat Source #

The data format of the custom terminology.

TerminologyDataLocation

data TerminologyDataLocation Source #

The location of the custom terminology data.

See: newTerminologyDataLocation smart constructor.

Constructors

TerminologyDataLocation' 

Fields

  • repositoryType :: Text

    The repository type for the custom terminology data.

  • location :: Text

    The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration .

    Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

    CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

    Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

Instances

Instances details
FromJSON TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Generic TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Associated Types

type Rep TerminologyDataLocation :: Type -> Type #

Read TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Show TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

NFData TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Methods

rnf :: TerminologyDataLocation -> () #

Eq TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Hashable TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

type Rep TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

type Rep TerminologyDataLocation = D1 ('MetaData "TerminologyDataLocation" "Amazonka.Translate.Types.TerminologyDataLocation" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "TerminologyDataLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTerminologyDataLocation Source #

Create a value of TerminologyDataLocation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:repositoryType:TerminologyDataLocation', terminologyDataLocation_repositoryType - The repository type for the custom terminology data.

$sel:location:TerminologyDataLocation', terminologyDataLocation_location - The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration .

Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

terminologyDataLocation_repositoryType :: Lens' TerminologyDataLocation Text Source #

The repository type for the custom terminology data.

terminologyDataLocation_location :: Lens' TerminologyDataLocation Text Source #

The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration .

Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

TerminologyProperties

data TerminologyProperties Source #

The properties of the custom terminology.

See: newTerminologyProperties smart constructor.

Constructors

TerminologyProperties' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the custom terminology.

  • createdAt :: Maybe POSIX

    The time at which the custom terminology was created, based on the timestamp.

  • description :: Maybe Text

    The description of the custom terminology properties.

  • directionality :: Maybe Directionality

    The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

    UNI
    The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
    MULTI
    Any language in the terminology resource can be the source language.
  • encryptionKey :: Maybe EncryptionKey

    The encryption key for the custom terminology.

  • format :: Maybe TerminologyDataFormat

    The format of the custom terminology input file.

  • lastUpdatedAt :: Maybe POSIX

    The time at which the custom terminology was last update, based on the timestamp.

  • message :: Maybe Text

    Additional information from Amazon Translate about the terminology resource.

  • name :: Maybe Text

    The name of the custom terminology.

  • sizeBytes :: Maybe Int

    The size of the file used when importing a custom terminology.

  • skippedTermCount :: Maybe Int

    The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.

  • sourceLanguageCode :: Maybe Text

    The language code for the source text of the translation request for which the custom terminology is being used.

  • targetLanguageCodes :: Maybe [Text]

    The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.

  • termCount :: Maybe Int

    The number of terms included in the custom terminology.

Instances

Instances details
FromJSON TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Generic TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Associated Types

type Rep TerminologyProperties :: Type -> Type #

Read TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Show TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

NFData TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Methods

rnf :: TerminologyProperties -> () #

Eq TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Hashable TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

type Rep TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

type Rep TerminologyProperties = D1 ('MetaData "TerminologyProperties" "Amazonka.Translate.Types.TerminologyProperties" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "TerminologyProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "directionality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Directionality)) :*: S1 ('MetaSel ('Just "encryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionKey))) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TerminologyDataFormat)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "skippedTermCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sourceLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "targetLanguageCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "termCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

newTerminologyProperties :: TerminologyProperties Source #

Create a value of TerminologyProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:TerminologyProperties', terminologyProperties_arn - The Amazon Resource Name (ARN) of the custom terminology.

$sel:createdAt:TerminologyProperties', terminologyProperties_createdAt - The time at which the custom terminology was created, based on the timestamp.

$sel:description:TerminologyProperties', terminologyProperties_description - The description of the custom terminology properties.

$sel:directionality:TerminologyProperties', terminologyProperties_directionality - The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

UNI
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
MULTI
Any language in the terminology resource can be the source language.

$sel:encryptionKey:TerminologyProperties', terminologyProperties_encryptionKey - The encryption key for the custom terminology.

$sel:format:TerminologyProperties', terminologyProperties_format - The format of the custom terminology input file.

$sel:lastUpdatedAt:TerminologyProperties', terminologyProperties_lastUpdatedAt - The time at which the custom terminology was last update, based on the timestamp.

$sel:message:TerminologyProperties', terminologyProperties_message - Additional information from Amazon Translate about the terminology resource.

$sel:name:TerminologyProperties', terminologyProperties_name - The name of the custom terminology.

$sel:sizeBytes:TerminologyProperties', terminologyProperties_sizeBytes - The size of the file used when importing a custom terminology.

$sel:skippedTermCount:TerminologyProperties', terminologyProperties_skippedTermCount - The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.

$sel:sourceLanguageCode:TerminologyProperties', terminologyProperties_sourceLanguageCode - The language code for the source text of the translation request for which the custom terminology is being used.

$sel:targetLanguageCodes:TerminologyProperties', terminologyProperties_targetLanguageCodes - The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.

$sel:termCount:TerminologyProperties', terminologyProperties_termCount - The number of terms included in the custom terminology.

terminologyProperties_arn :: Lens' TerminologyProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the custom terminology.

terminologyProperties_createdAt :: Lens' TerminologyProperties (Maybe UTCTime) Source #

The time at which the custom terminology was created, based on the timestamp.

terminologyProperties_description :: Lens' TerminologyProperties (Maybe Text) Source #

The description of the custom terminology properties.

terminologyProperties_directionality :: Lens' TerminologyProperties (Maybe Directionality) Source #

The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

UNI
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
MULTI
Any language in the terminology resource can be the source language.

terminologyProperties_format :: Lens' TerminologyProperties (Maybe TerminologyDataFormat) Source #

The format of the custom terminology input file.

terminologyProperties_lastUpdatedAt :: Lens' TerminologyProperties (Maybe UTCTime) Source #

The time at which the custom terminology was last update, based on the timestamp.

terminologyProperties_message :: Lens' TerminologyProperties (Maybe Text) Source #

Additional information from Amazon Translate about the terminology resource.

terminologyProperties_name :: Lens' TerminologyProperties (Maybe Text) Source #

The name of the custom terminology.

terminologyProperties_sizeBytes :: Lens' TerminologyProperties (Maybe Int) Source #

The size of the file used when importing a custom terminology.

terminologyProperties_skippedTermCount :: Lens' TerminologyProperties (Maybe Int) Source #

The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.

terminologyProperties_sourceLanguageCode :: Lens' TerminologyProperties (Maybe Text) Source #

The language code for the source text of the translation request for which the custom terminology is being used.

terminologyProperties_targetLanguageCodes :: Lens' TerminologyProperties (Maybe [Text]) Source #

The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.

terminologyProperties_termCount :: Lens' TerminologyProperties (Maybe Int) Source #

The number of terms included in the custom terminology.

TextTranslationJobFilter

data TextTranslationJobFilter Source #

Provides information for filtering a list of translation jobs. For more information, see ListTextTranslationJobs.

See: newTextTranslationJobFilter smart constructor.

Constructors

TextTranslationJobFilter' 

Fields

  • jobName :: Maybe Text

    Filters the list of jobs by name.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based by job status.

  • submittedAfterTime :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submittedBeforeTime :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

Instances

Instances details
ToJSON TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Generic TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Associated Types

type Rep TextTranslationJobFilter :: Type -> Type #

Read TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Show TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

NFData TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Eq TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Hashable TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

type Rep TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

type Rep TextTranslationJobFilter = D1 ('MetaData "TextTranslationJobFilter" "Amazonka.Translate.Types.TextTranslationJobFilter" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "TextTranslationJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submittedAfterTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submittedBeforeTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newTextTranslationJobFilter :: TextTranslationJobFilter Source #

Create a value of TextTranslationJobFilter with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobName:TextTranslationJobFilter', textTranslationJobFilter_jobName - Filters the list of jobs by name.

$sel:jobStatus:TextTranslationJobFilter', textTranslationJobFilter_jobStatus - Filters the list of jobs based by job status.

$sel:submittedAfterTime:TextTranslationJobFilter', textTranslationJobFilter_submittedAfterTime - Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submittedBeforeTime:TextTranslationJobFilter', textTranslationJobFilter_submittedBeforeTime - Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

textTranslationJobFilter_jobStatus :: Lens' TextTranslationJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based by job status.

textTranslationJobFilter_submittedAfterTime :: Lens' TextTranslationJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

textTranslationJobFilter_submittedBeforeTime :: Lens' TextTranslationJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

TextTranslationJobProperties

data TextTranslationJobProperties Source #

Provides information about a translation job.

See: newTextTranslationJobProperties smart constructor.

Constructors

TextTranslationJobProperties' 

Fields

Instances

Instances details
FromJSON TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Generic TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Associated Types

type Rep TextTranslationJobProperties :: Type -> Type #

Read TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Show TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

NFData TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Eq TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Hashable TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

type Rep TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

type Rep TextTranslationJobProperties = D1 ('MetaData "TextTranslationJobProperties" "Amazonka.Translate.Types.TextTranslationJobProperties" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "TextTranslationJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: ((S1 ('MetaSel ('Just "jobDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobDetails)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))))) :*: (((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig))) :*: (S1 ('MetaSel ('Just "parallelDataNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TranslationSettings)))) :*: ((S1 ('MetaSel ('Just "sourceLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submittedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "targetLanguageCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "terminologyNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newTextTranslationJobProperties :: TextTranslationJobProperties Source #

Create a value of TextTranslationJobProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataAccessRoleArn:TextTranslationJobProperties', textTranslationJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.

$sel:endTime:TextTranslationJobProperties', textTranslationJobProperties_endTime - The time at which the translation job ended.

$sel:inputDataConfig:TextTranslationJobProperties', textTranslationJobProperties_inputDataConfig - The input configuration properties that were specified when the job was requested.

$sel:jobDetails:TextTranslationJobProperties', textTranslationJobProperties_jobDetails - The number of documents successfully and unsuccessfully processed during the translation job.

$sel:jobId:TextTranslationJobProperties', textTranslationJobProperties_jobId - The ID of the translation job.

$sel:jobName:TextTranslationJobProperties', textTranslationJobProperties_jobName - The user-defined name of the translation job.

$sel:jobStatus:TextTranslationJobProperties', textTranslationJobProperties_jobStatus - The status of the translation job.

$sel:message:TextTranslationJobProperties', textTranslationJobProperties_message - An explanation of any errors that may have occurred during the translation job.

$sel:outputDataConfig:TextTranslationJobProperties', textTranslationJobProperties_outputDataConfig - The output configuration properties that were specified when the job was requested.

$sel:parallelDataNames:TextTranslationJobProperties', textTranslationJobProperties_parallelDataNames - A list containing the names of the parallel data resources applied to the translation job.

$sel:settings:TextTranslationJobProperties', textTranslationJobProperties_settings - Settings that configure the translation output.

$sel:sourceLanguageCode:TextTranslationJobProperties', textTranslationJobProperties_sourceLanguageCode - The language code of the language of the source text. The language must be a language supported by Amazon Translate.

$sel:submittedTime:TextTranslationJobProperties', textTranslationJobProperties_submittedTime - The time at which the translation job was submitted.

$sel:targetLanguageCodes:TextTranslationJobProperties', textTranslationJobProperties_targetLanguageCodes - The language code of the language of the target text. The language must be a language supported by Amazon Translate.

$sel:terminologyNames:TextTranslationJobProperties', textTranslationJobProperties_terminologyNames - A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.

textTranslationJobProperties_dataAccessRoleArn :: Lens' TextTranslationJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.

textTranslationJobProperties_inputDataConfig :: Lens' TextTranslationJobProperties (Maybe InputDataConfig) Source #

The input configuration properties that were specified when the job was requested.

textTranslationJobProperties_jobDetails :: Lens' TextTranslationJobProperties (Maybe JobDetails) Source #

The number of documents successfully and unsuccessfully processed during the translation job.

textTranslationJobProperties_message :: Lens' TextTranslationJobProperties (Maybe Text) Source #

An explanation of any errors that may have occurred during the translation job.

textTranslationJobProperties_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig) Source #

The output configuration properties that were specified when the job was requested.

textTranslationJobProperties_parallelDataNames :: Lens' TextTranslationJobProperties (Maybe [Text]) Source #

A list containing the names of the parallel data resources applied to the translation job.

textTranslationJobProperties_sourceLanguageCode :: Lens' TextTranslationJobProperties (Maybe Text) Source #

The language code of the language of the source text. The language must be a language supported by Amazon Translate.

textTranslationJobProperties_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime) Source #

The time at which the translation job was submitted.

textTranslationJobProperties_targetLanguageCodes :: Lens' TextTranslationJobProperties (Maybe (NonEmpty Text)) Source #

The language code of the language of the target text. The language must be a language supported by Amazon Translate.

textTranslationJobProperties_terminologyNames :: Lens' TextTranslationJobProperties (Maybe [Text]) Source #

A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.

TranslationSettings

data TranslationSettings Source #

Optional settings that configure the translation output. Use these settings for real time translations and asynchronous translation jobs.

See: newTranslationSettings smart constructor.

Constructors

TranslationSettings' 

Fields

  • formality :: Maybe Formality

    You can optionally specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting.

    If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language.

    For a list of target languages that support formality, see Supported languages in the Amazon Translate Developer Guide.

  • profanity :: Maybe Profanity

    Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.

    To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.

    Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

    If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.

Instances

Instances details
FromJSON TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

ToJSON TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

Generic TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

Associated Types

type Rep TranslationSettings :: Type -> Type #

Read TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

Show TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

NFData TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

Methods

rnf :: TranslationSettings -> () #

Eq TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

Hashable TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

type Rep TranslationSettings Source # 
Instance details

Defined in Amazonka.Translate.Types.TranslationSettings

type Rep TranslationSettings = D1 ('MetaData "TranslationSettings" "Amazonka.Translate.Types.TranslationSettings" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "TranslationSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "formality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Formality)) :*: S1 ('MetaSel ('Just "profanity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Profanity))))

newTranslationSettings :: TranslationSettings Source #

Create a value of TranslationSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:formality:TranslationSettings', translationSettings_formality - You can optionally specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting.

If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language.

For a list of target languages that support formality, see Supported languages in the Amazon Translate Developer Guide.

$sel:profanity:TranslationSettings', translationSettings_profanity - Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.

Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.

translationSettings_formality :: Lens' TranslationSettings (Maybe Formality) Source #

You can optionally specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting.

If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language.

For a list of target languages that support formality, see Supported languages in the Amazon Translate Developer Guide.

translationSettings_profanity :: Lens' TranslationSettings (Maybe Profanity) Source #

Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.

Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.