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

Description

 
Synopsis

Documentation

data AppliedTerminology Source #

The custom terminology applied to the input text by Amazon Translate for the translated text response. This is optional in the response and will only be present if you specified terminology input in the request. Currently, only one terminology can be applied per TranslateText request.

See: newAppliedTerminology smart constructor.

Constructors

AppliedTerminology' 

Fields

  • terms :: Maybe [Term]

    The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

  • name :: Maybe Text

    The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

Instances

Instances details
Eq AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Read AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Show AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Generic AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Associated Types

type Rep AppliedTerminology :: Type -> Type #

NFData AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Methods

rnf :: AppliedTerminology -> () #

Hashable AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

FromJSON AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

type Rep AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

type Rep AppliedTerminology = D1 ('MetaData "AppliedTerminology" "Amazonka.Translate.Types.AppliedTerminology" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "AppliedTerminology'" 'PrefixI 'True) (S1 ('MetaSel ('Just "terms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Term])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAppliedTerminology :: AppliedTerminology Source #

Create a value of AppliedTerminology 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:terms:AppliedTerminology', appliedTerminology_terms - The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

$sel:name:AppliedTerminology', appliedTerminology_name - The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

appliedTerminology_terms :: Lens' AppliedTerminology (Maybe [Term]) Source #

The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

appliedTerminology_name :: Lens' AppliedTerminology (Maybe Text) Source #

The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.