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

Description

 
Synopsis

Documentation

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.