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

Description

Provides information about a parallel data resource.

Synopsis

Creating a Request

data GetParallelData Source #

See: newGetParallelData smart constructor.

Constructors

GetParallelData' 

Fields

  • name :: Text

    The name of the parallel data resource that is being retrieved.

Instances

Instances details
ToJSON GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

ToHeaders GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

ToPath GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

ToQuery GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

AWSRequest GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Associated Types

type AWSResponse GetParallelData #

Generic GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Associated Types

type Rep GetParallelData :: Type -> Type #

Read GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Show GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

NFData GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Methods

rnf :: GetParallelData -> () #

Eq GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Hashable GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

type AWSResponse GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

type Rep GetParallelData Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

type Rep GetParallelData = D1 ('MetaData "GetParallelData" "Amazonka.Translate.GetParallelData" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "GetParallelData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetParallelData Source #

Create a value of GetParallelData 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:

GetParallelData, getParallelData_name - The name of the parallel data resource that is being retrieved.

Request Lenses

getParallelData_name :: Lens' GetParallelData Text Source #

The name of the parallel data resource that is being retrieved.

Destructuring the Response

data GetParallelDataResponse Source #

See: newGetParallelDataResponse smart constructor.

Constructors

GetParallelDataResponse' 

Fields

  • auxiliaryDataLocation :: Maybe ParallelDataDataLocation

    The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

  • dataLocation :: Maybe ParallelDataDataLocation

    The Amazon S3 location of the most recent parallel data 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.

  • latestUpdateAttemptAuxiliaryDataLocation :: Maybe ParallelDataDataLocation

    The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

  • parallelDataProperties :: Maybe ParallelDataProperties

    The properties of the parallel data resource that is being retrieved.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Associated Types

type Rep GetParallelDataResponse :: Type -> Type #

Read GetParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Show GetParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

NFData GetParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

Methods

rnf :: GetParallelDataResponse -> () #

Eq GetParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

type Rep GetParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.GetParallelData

type Rep GetParallelDataResponse = D1 ('MetaData "GetParallelDataResponse" "Amazonka.Translate.GetParallelData" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "GetParallelDataResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "auxiliaryDataLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataDataLocation)) :*: S1 ('MetaSel ('Just "dataLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataDataLocation))) :*: (S1 ('MetaSel ('Just "latestUpdateAttemptAuxiliaryDataLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataDataLocation)) :*: (S1 ('MetaSel ('Just "parallelDataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataProperties)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetParallelDataResponse Source #

Create a value of GetParallelDataResponse 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:auxiliaryDataLocation:GetParallelDataResponse', getParallelDataResponse_auxiliaryDataLocation - The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

$sel:dataLocation:GetParallelDataResponse', getParallelDataResponse_dataLocation - The Amazon S3 location of the most recent parallel data 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.

$sel:latestUpdateAttemptAuxiliaryDataLocation:GetParallelDataResponse', getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation - The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

$sel:parallelDataProperties:GetParallelDataResponse', getParallelDataResponse_parallelDataProperties - The properties of the parallel data resource that is being retrieved.

$sel:httpStatus:GetParallelDataResponse', getParallelDataResponse_httpStatus - The response's http status code.

Response Lenses

getParallelDataResponse_auxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #

The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #

The Amazon S3 location of the most recent parallel data 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.

getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #

The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

getParallelDataResponse_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties) Source #

The properties of the parallel data resource that is being retrieved.