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

Description

Retrieves a custom terminology.

Synopsis

Creating a Request

data GetTerminology Source #

See: newGetTerminology smart constructor.

Constructors

GetTerminology' 

Fields

Instances

Instances details
Eq GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Read GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Show GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Generic GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Associated Types

type Rep GetTerminology :: Type -> Type #

NFData GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Methods

rnf :: GetTerminology -> () #

Hashable GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

ToJSON GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

AWSRequest GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Associated Types

type AWSResponse GetTerminology #

ToHeaders GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

ToPath GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

ToQuery GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

type Rep GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

type Rep GetTerminology = D1 ('MetaData "GetTerminology" "Amazonka.Translate.GetTerminology" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "GetTerminology'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "terminologyDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TerminologyDataFormat)))
type AWSResponse GetTerminology Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

newGetTerminology Source #

Create a value of GetTerminology 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:GetTerminology', getTerminology_name - The name of the custom terminology being retrieved.

$sel:terminologyDataFormat:GetTerminology', getTerminology_terminologyDataFormat - The data format of the custom terminology being retrieved, either CSV or TMX.

Request Lenses

getTerminology_name :: Lens' GetTerminology Text Source #

The name of the custom terminology being retrieved.

getTerminology_terminologyDataFormat :: Lens' GetTerminology TerminologyDataFormat Source #

The data format of the custom terminology being retrieved, either CSV or TMX.

Destructuring the Response

data GetTerminologyResponse Source #

See: newGetTerminologyResponse smart constructor.

Constructors

GetTerminologyResponse' 

Fields

Instances

Instances details
Eq GetTerminologyResponse Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Read GetTerminologyResponse Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Show GetTerminologyResponse Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Generic GetTerminologyResponse Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Associated Types

type Rep GetTerminologyResponse :: Type -> Type #

NFData GetTerminologyResponse Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

Methods

rnf :: GetTerminologyResponse -> () #

type Rep GetTerminologyResponse Source # 
Instance details

Defined in Amazonka.Translate.GetTerminology

type Rep GetTerminologyResponse = D1 ('MetaData "GetTerminologyResponse" "Amazonka.Translate.GetTerminology" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "GetTerminologyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "terminologyProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TerminologyProperties)) :*: (S1 ('MetaSel ('Just "terminologyDataLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TerminologyDataLocation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTerminologyResponse Source #

Create a value of GetTerminologyResponse 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:terminologyProperties:GetTerminologyResponse', getTerminologyResponse_terminologyProperties - The properties of the custom terminology being retrieved.

$sel:terminologyDataLocation:GetTerminologyResponse', getTerminologyResponse_terminologyDataLocation - The data location of the custom terminology being retrieved. The custom terminology file is returned in a presigned url that has a 30 minute expiration.

$sel:httpStatus:GetTerminologyResponse', getTerminologyResponse_httpStatus - The response's http status code.

Response Lenses

getTerminologyResponse_terminologyDataLocation :: Lens' GetTerminologyResponse (Maybe TerminologyDataLocation) Source #

The data location of the custom terminology being retrieved. The custom terminology file is returned in a presigned url that has a 30 minute expiration.