libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.GetMapping

Description

Creates mappings.

Synopsis

Creating a Request

data GetMapping Source #

See: newGetMapping smart constructor.

Constructors

GetMapping' 

Fields

Instances

Instances details
Eq GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Read GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Show GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Generic GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Associated Types

type Rep GetMapping :: Type -> Type #

NFData GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Methods

rnf :: GetMapping -> () #

Hashable GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

ToJSON GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

AWSRequest GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Associated Types

type AWSResponse GetMapping #

ToHeaders GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Methods

toHeaders :: GetMapping -> [Header] #

ToPath GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

ToQuery GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

type Rep GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

type Rep GetMapping = D1 ('MetaData "GetMapping" "Amazonka.Glue.GetMapping" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CatalogEntry])) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Location)) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CatalogEntry))))
type AWSResponse GetMapping Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

newGetMapping Source #

Create a value of GetMapping 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:sinks:GetMapping', getMapping_sinks - A list of target tables.

$sel:location:GetMapping', getMapping_location - Parameters for the mapping.

$sel:source:GetMapping', getMapping_source - Specifies the source table.

Request Lenses

getMapping_sinks :: Lens' GetMapping (Maybe [CatalogEntry]) Source #

A list of target tables.

getMapping_location :: Lens' GetMapping (Maybe Location) Source #

Parameters for the mapping.

getMapping_source :: Lens' GetMapping CatalogEntry Source #

Specifies the source table.

Destructuring the Response

data GetMappingResponse Source #

See: newGetMappingResponse smart constructor.

Constructors

GetMappingResponse' 

Fields

Instances

Instances details
Eq GetMappingResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Read GetMappingResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Show GetMappingResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Generic GetMappingResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Associated Types

type Rep GetMappingResponse :: Type -> Type #

NFData GetMappingResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

Methods

rnf :: GetMappingResponse -> () #

type Rep GetMappingResponse Source # 
Instance details

Defined in Amazonka.Glue.GetMapping

type Rep GetMappingResponse = D1 ('MetaData "GetMappingResponse" "Amazonka.Glue.GetMapping" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetMappingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "mapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MappingEntry])))

newGetMappingResponse Source #

Create a value of GetMappingResponse 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:httpStatus:GetMappingResponse', getMappingResponse_httpStatus - The response's http status code.

$sel:mapping:GetMappingResponse', getMappingResponse_mapping - A list of mappings to the specified targets.

Response Lenses

getMappingResponse_mapping :: Lens' GetMappingResponse [MappingEntry] Source #

A list of mappings to the specified targets.