amazonka-glue-1.6.1: Amazon Glue SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Glue.GetMapping

Contents

Description

Creates mappings.

Synopsis

Creating a Request

getMapping Source #

Creates a value of GetMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetMapping Source #

See: getMapping smart constructor.

Instances
Eq GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Data GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetMapping -> c GetMapping #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetMapping #

toConstr :: GetMapping -> Constr #

dataTypeOf :: GetMapping -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetMapping) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetMapping) #

gmapT :: (forall b. Data b => b -> b) -> GetMapping -> GetMapping #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetMapping -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetMapping -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetMapping -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetMapping -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetMapping -> m GetMapping #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMapping -> m GetMapping #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMapping -> m GetMapping #

Read GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Show GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Generic GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Associated Types

type Rep GetMapping :: Type -> Type #

Hashable GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

ToJSON GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

AWSRequest GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Associated Types

type Rs GetMapping :: Type #

ToHeaders GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Methods

toHeaders :: GetMapping -> [Header] #

ToPath GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

ToQuery GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

NFData GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Methods

rnf :: GetMapping -> () #

type Rep GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

type Rep GetMapping = D1 (MetaData "GetMapping" "Network.AWS.Glue.GetMapping" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetMapping'" PrefixI True) (S1 (MetaSel (Just "_gmSinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CatalogEntry])) :*: (S1 (MetaSel (Just "_gmLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Location)) :*: S1 (MetaSel (Just "_gmSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CatalogEntry))))
type Rs GetMapping Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Request Lenses

gmSinks :: Lens' GetMapping [CatalogEntry] Source #

A list of target tables.

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

Parameters for the mapping.

gmSource :: Lens' GetMapping CatalogEntry Source #

Specifies the source table.

Destructuring the Response

getMappingResponse Source #

Creates a value of GetMappingResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetMappingResponse Source #

See: getMappingResponse smart constructor.

Instances
Eq GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Data GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetMappingResponse -> c GetMappingResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetMappingResponse #

toConstr :: GetMappingResponse -> Constr #

dataTypeOf :: GetMappingResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetMappingResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetMappingResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetMappingResponse -> GetMappingResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetMappingResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetMappingResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetMappingResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetMappingResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetMappingResponse -> m GetMappingResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMappingResponse -> m GetMappingResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMappingResponse -> m GetMappingResponse #

Read GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Show GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Generic GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Associated Types

type Rep GetMappingResponse :: Type -> Type #

NFData GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

Methods

rnf :: GetMappingResponse -> () #

type Rep GetMappingResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetMapping

type Rep GetMappingResponse = D1 (MetaData "GetMappingResponse" "Network.AWS.Glue.GetMapping" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetMappingResponse'" PrefixI True) (S1 (MetaSel (Just "_gmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gmrsMapping") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [MappingEntry])))

Response Lenses

gmrsResponseStatus :: Lens' GetMappingResponse Int Source #

  • - | The response status code.

gmrsMapping :: Lens' GetMappingResponse [MappingEntry] Source #

A list of mappings to the specified targets.