amazonka-glue-1.5.0: Amazon Glue SDK.

Copyright(c) 2013-2017 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 # 
Data GetMapping Source # 

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 # 
Show GetMapping Source # 
Generic GetMapping Source # 

Associated Types

type Rep GetMapping :: * -> * #

Hashable GetMapping Source # 
ToJSON GetMapping Source # 
NFData GetMapping Source # 

Methods

rnf :: GetMapping -> () #

AWSRequest GetMapping Source # 
ToQuery GetMapping Source # 
ToPath GetMapping Source # 
ToHeaders GetMapping Source # 

Methods

toHeaders :: GetMapping -> [Header] #

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

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 # 
Data GetMappingResponse Source # 

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 # 
Show GetMappingResponse Source # 
Generic GetMappingResponse Source # 
NFData GetMappingResponse Source # 

Methods

rnf :: GetMappingResponse -> () #

type Rep GetMappingResponse Source # 
type Rep GetMappingResponse = D1 (MetaData "GetMappingResponse" "Network.AWS.Glue.GetMapping" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetMappingResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_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.