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

Description

 
Synopsis

Documentation

data TerminologyDataLocation Source #

The location of the custom terminology data.

See: newTerminologyDataLocation smart constructor.

Constructors

TerminologyDataLocation' 

Fields

  • repositoryType :: Text

    The repository type for the custom terminology data.

  • location :: Text

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

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

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

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

Instances

Instances details
FromJSON TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Generic TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Associated Types

type Rep TerminologyDataLocation :: Type -> Type #

Read TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Show TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

NFData TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Methods

rnf :: TerminologyDataLocation -> () #

Eq TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

Hashable TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

type Rep TerminologyDataLocation Source # 
Instance details

Defined in Amazonka.Translate.Types.TerminologyDataLocation

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

newTerminologyDataLocation Source #

Create a value of TerminologyDataLocation with all optional fields omitted.

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

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

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

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

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

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

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

terminologyDataLocation_repositoryType :: Lens' TerminologyDataLocation Text Source #

The repository type for the custom terminology data.

terminologyDataLocation_location :: Lens' TerminologyDataLocation Text Source #

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

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

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

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