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

Amazonka.Translate.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_UnsupportedLanguagePairException :: AsError a => Getting (First ServiceError) 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 how-to-error-msg.

_DetectedLanguageLowConfidenceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the DetectDominantLanguage operation in the Amazon Comprehend Developer Guide.

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_TooManyRequestsException :: AsError a => Getting (First ServiceError) 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.

_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An internal server error occurred. Retry your request.

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_InvalidFilterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The filter specified for the operation is invalid. Specify a different filter.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) 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.

_TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) 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.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

EncryptionKeyType

newtype EncryptionKeyType Source #

Bundled Patterns

pattern EncryptionKeyType_KMS :: EncryptionKeyType 

Instances

Instances details
Eq EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Ord EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Read EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Show 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 #

NFData EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

Methods

rnf :: EncryptionKeyType -> () #

Hashable 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

FromJSON EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

FromJSONKey EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToLog EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToHeader EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

ToQuery 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

ToByteString 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

type Rep EncryptionKeyType Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKeyType

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

JobStatus

newtype JobStatus Source #

Constructors

JobStatus' 

Fields

Instances

Instances details
Eq JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Ord JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Read JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Show JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Generic JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Associated Types

type Rep JobStatus :: Type -> Type #

NFData JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Methods

rnf :: JobStatus -> () #

Hashable 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

FromJSON JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

FromJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToLog JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToHeader JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

ToQuery JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

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 #

ToByteString JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

Methods

toBS :: JobStatus -> ByteString #

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 #

type Rep JobStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.JobStatus

type Rep JobStatus = D1 ('MetaData "JobStatus" "Amazonka.Translate.Types.JobStatus" "libZSservicesZSamazonka-translateZSamazonka-translate" '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
Eq MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Ord MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Read MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Show MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Generic MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Associated Types

type Rep MergeStrategy :: Type -> Type #

NFData MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

Methods

rnf :: MergeStrategy -> () #

Hashable 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

FromJSON MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

FromJSONKey MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToLog MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToHeader MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

ToQuery MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

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 #

ToByteString 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 #

type Rep MergeStrategy Source # 
Instance details

Defined in Amazonka.Translate.Types.MergeStrategy

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

ParallelDataFormat

newtype ParallelDataFormat Source #

Instances

Instances details
Eq ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Ord ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Read ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Show 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 #

NFData ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

Methods

rnf :: ParallelDataFormat -> () #

Hashable 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

FromJSON ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

FromJSONKey ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToLog ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToHeader ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

ToQuery 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

ToByteString 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

type Rep ParallelDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataFormat

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

ParallelDataStatus

newtype ParallelDataStatus Source #

Instances

Instances details
Eq ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Ord ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Read ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Show 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 #

NFData ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

Methods

rnf :: ParallelDataStatus -> () #

Hashable 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

FromJSON ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

FromJSONKey ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToLog ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToHeader ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

ToQuery 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

ToByteString 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

type Rep ParallelDataStatus Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataStatus

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

TerminologyDataFormat

newtype TerminologyDataFormat Source #

Instances

Instances details
Eq TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Ord TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Read TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Show 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 #

NFData TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

Methods

rnf :: TerminologyDataFormat -> () #

Hashable 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

FromJSON TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

FromJSONKey TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToLog TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToHeader TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

ToQuery 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

ToByteString 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

type Rep TerminologyDataFormat Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataFormat

type Rep TerminologyDataFormat = D1 ('MetaData "TerminologyDataFormat" "Amazonka.Translate.Types.TerminologyDataFormat" "libZSservicesZSamazonka-translateZSamazonka-translate" '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

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

  • name :: Maybe Text

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

Instances

Instances details
Eq AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Read AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Show 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 #

NFData AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Methods

rnf :: AppliedTerminology -> () #

Hashable AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "AppliedTerminology'" 'PrefixI 'True) (S1 ('MetaSel ('Just "terms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Term])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

$sel:name:AppliedTerminology', appliedTerminology_name - 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.

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.

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 custom terminologies.

  • id :: Text

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

Instances

Instances details
Eq EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Read EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Show 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 #

NFData EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Methods

rnf :: EncryptionKey -> () #

Hashable EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

ToJSON EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" '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 custom terminologies.

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

encryptionKey_type :: Lens' EncryptionKey EncryptionKeyType Source #

The type of encryption key used by Amazon Translate to encrypt custom terminologies.

encryptionKey_id :: Lens' EncryptionKey Text Source #

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

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 file. 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).

    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
Eq InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Read InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Show 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 #

NFData InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

Methods

rnf :: InputDataConfig -> () #

Hashable InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

ToJSON InputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.InputDataConfig

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" '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 file. 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).

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 file. 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).

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
Eq JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Read JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Show 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 #

NFData JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

Methods

rnf :: JobDetails -> () #

Hashable JobDetails Source # 
Instance details

Defined in Amazonka.Translate.Types.JobDetails

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "JobDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "translatedDocumentsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "documentsWithErrorsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "inputDocumentsCount") '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:translatedDocumentsCount:JobDetails', jobDetails_translatedDocumentsCount - The number of documents successfully processed during a translation job.

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

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

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.

OutputDataConfig

data OutputDataConfig Source #

The output configuration properties for a batch translation job.

See: newOutputDataConfig smart constructor.

Constructors

OutputDataConfig' 

Fields

  • 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
Eq OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Read OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Show 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 #

NFData OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

Methods

rnf :: OutputDataConfig -> () #

Hashable OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

ToJSON OutputDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.OutputDataConfig

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "OutputDataConfig'" 'PrefixI 'True) (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: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
Eq ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Read ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Show 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 #

NFData ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

Methods

rnf :: ParallelDataConfig -> () #

Hashable ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

ToJSON ParallelDataConfig Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataConfig

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" '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.

Instances

Instances details
Eq ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Read ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Show 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 #

NFData ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

Hashable ParallelDataDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataDataLocation

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" '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.

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.

ParallelDataProperties

data ParallelDataProperties Source #

The properties of a parallel data resource.

See: newParallelDataProperties smart constructor.

Constructors

ParallelDataProperties' 

Fields

Instances

Instances details
Eq ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Read ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Show 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 #

NFData ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

Methods

rnf :: ParallelDataProperties -> () #

Hashable ParallelDataProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.ParallelDataProperties

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "ParallelDataProperties'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataStatus)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "importedRecordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "targetLanguageCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "failedRecordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "importedDataSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestUpdateAttemptAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "encryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionKey)))) :*: ((S1 ('MetaSel ('Just "latestUpdateAttemptStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataStatus)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "skippedRecordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "parallelDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataConfig))))))))

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: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:lastUpdatedAt:ParallelDataProperties', parallelDataProperties_lastUpdatedAt - The time at which the parallel data resource was last updated.

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

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

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

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

$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:name:ParallelDataProperties', parallelDataProperties_name - The custom name assigned to the parallel data resource.

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

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

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

$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:description:ParallelDataProperties', parallelDataProperties_description - The description assigned to the parallel data resource.

$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:parallelDataConfig:ParallelDataProperties', parallelDataProperties_parallelDataConfig - Specifies the format and S3 location of the parallel data input 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_lastUpdatedAt :: Lens' ParallelDataProperties (Maybe UTCTime) Source #

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

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

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

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

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

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.

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

The time at which the parallel data resource was created.

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_name :: Lens' ParallelDataProperties (Maybe Text) Source #

The custom name assigned to the parallel data resource.

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

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

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_description :: Lens' ParallelDataProperties (Maybe Text) Source #

The description assigned to the parallel data resource.

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_parallelDataConfig :: Lens' ParallelDataProperties (Maybe ParallelDataConfig) Source #

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

Term

data Term Source #

The term being translated by the custom terminology.

See: newTerm smart constructor.

Constructors

Term' 

Fields

  • targetText :: Maybe Text

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

  • sourceText :: Maybe Text

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

Instances

Instances details
Eq Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

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

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

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 #

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 #

NFData Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

rnf :: Term -> () #

Hashable Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

Methods

hashWithSalt :: Int -> Term -> Int #

hash :: Term -> Int #

FromJSON Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

type Rep Term Source # 
Instance details

Defined in Amazonka.Translate.Types.Term

type Rep Term = D1 ('MetaData "Term" "Amazonka.Translate.Types.Term" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "Term'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceText") '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:targetText:Term', term_targetText - The target text of the term being translated by the custom terminology.

$sel:sourceText:Term', term_sourceText - 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.

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

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

TerminologyData

data TerminologyData Source #

The data associated with the custom terminology.

See: newTerminologyData smart constructor.

Constructors

TerminologyData' 

Fields

  • 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. Either CSV or TMX.

Instances

Instances details
Eq TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

Show 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 #

NFData TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

Methods

rnf :: TerminologyData -> () #

Hashable TerminologyData Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyData

ToJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "TerminologyData'" 'PrefixI 'True) (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: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. Either CSV or TMX.

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. Either CSV or TMX.

TerminologyDataLocation

data TerminologyDataLocation Source #

The location of the custom terminology data.

See: newTerminologyDataLocation smart constructor.

Constructors

TerminologyDataLocation' 

Fields

Instances

Instances details
Eq TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Read TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Show 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 #

NFData TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Methods

rnf :: TerminologyDataLocation -> () #

Hashable TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" '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 location of the custom terminology data.

terminologyDataLocation_repositoryType :: Lens' TerminologyDataLocation Text Source #

The repository type for the custom terminology data.

terminologyDataLocation_location :: Lens' TerminologyDataLocation Text Source #

The location of the custom terminology data.

TerminologyProperties

data TerminologyProperties Source #

The properties of the custom terminology.

See: newTerminologyProperties smart constructor.

Constructors

TerminologyProperties' 

Fields

Instances

Instances details
Eq TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Read TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Show 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 #

NFData TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

Methods

rnf :: TerminologyProperties -> () #

Hashable TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

FromJSON TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

type Rep TerminologyProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyProperties

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:sizeBytes:TerminologyProperties', terminologyProperties_sizeBytes - The size of the file used when importing a custom terminology.

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

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

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

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

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

$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:termCount:TerminologyProperties', terminologyProperties_termCount - The number of terms included in the custom terminology.

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

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

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

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

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

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

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

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

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

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

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

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

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

The name of the custom terminology.

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_termCount :: Lens' TerminologyProperties (Maybe Int) Source #

The number of terms included in the custom terminology.

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

The description of the custom terminology properties.

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

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

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

  • jobName :: Maybe Text

    Filters the list of jobs by name.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based by job status.

Instances

Instances details
Eq TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Read TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Show 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 #

NFData TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

Hashable TextTranslationJobFilter Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobFilter

ToJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "TextTranslationJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submittedBeforeTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submittedAfterTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

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

$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: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.

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.

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_jobStatus :: Lens' TextTranslationJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based by job status.

TextTranslationJobProperties

data TextTranslationJobProperties Source #

Provides information about a translation job.

See: newTextTranslationJobProperties smart constructor.

Constructors

TextTranslationJobProperties' 

Fields

Instances

Instances details
Eq TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Read TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Show 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 #

NFData TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

Hashable TextTranslationJobProperties Source # 
Instance details

Defined in Amazonka.Translate.Types.TextTranslationJobProperties

FromJSON 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" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "TextTranslationJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetLanguageCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "submittedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig))) :*: (S1 ('MetaSel ('Just "parallelDataNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "terminologyNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 ('MetaSel ('Just "sourceLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))) :*: ((S1 ('MetaSel ('Just "jobDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobDetails)) :*: S1 ('MetaSel ('Just "dataAccessRoleArn") '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)))))))

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:jobId:TextTranslationJobProperties', textTranslationJobProperties_jobId - The ID of the translation job.

$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:jobName:TextTranslationJobProperties', textTranslationJobProperties_jobName - The user-defined name of the translation job.

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

$sel:inputDataConfig:TextTranslationJobProperties', textTranslationJobProperties_inputDataConfig - The input 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: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.

$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:endTime:TextTranslationJobProperties', textTranslationJobProperties_endTime - The time at which the translation job ended.

$sel:outputDataConfig:TextTranslationJobProperties', textTranslationJobProperties_outputDataConfig - The output 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: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:jobStatus:TextTranslationJobProperties', textTranslationJobProperties_jobStatus - The status of the translation job.

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

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_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime) Source #

The time at which the translation job was submitted.

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

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

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_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig) Source #

The output 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_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_message :: Lens' TextTranslationJobProperties (Maybe Text) Source #

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