Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Term = Term' {
- targetText :: Maybe Text
- sourceText :: Maybe Text
- newTerm :: Term
- term_targetText :: Lens' Term (Maybe Text)
- term_sourceText :: Lens' Term (Maybe Text)
Documentation
The term being translated by the custom terminology.
See: newTerm
smart constructor.
Term' | |
|
Instances
Eq Term Source # | |
Read Term Source # | |
Show Term Source # | |
Generic Term Source # | |
NFData Term Source # | |
Defined in Amazonka.Translate.Types.Term | |
Hashable Term Source # | |
Defined in Amazonka.Translate.Types.Term | |
FromJSON Term Source # | |
type Rep Term Source # | |
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)))) |
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.