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

Description

 
Synopsis

Documentation

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.