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

  • name :: Maybe Text

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

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

Instances

Instances details
FromJSON 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 #

Read AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Show AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

NFData AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Methods

rnf :: AppliedTerminology -> () #

Eq AppliedTerminology Source # 
Instance details

Defined in Amazonka.Translate.Types.AppliedTerminology

Hashable 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" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "AppliedTerminology'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "terms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Term]))))

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:name:AppliedTerminology', appliedTerminology_name - The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

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

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.

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.