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

Description

 
Synopsis

Documentation

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.