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

Contents

Description

Gets a Python script to perform a specified mapping.

Synopsis

Creating a Request

getPlan Source #

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

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

data GetPlan Source #

See: getPlan smart constructor.

Instances

Eq GetPlan Source # 

Methods

(==) :: GetPlan -> GetPlan -> Bool #

(/=) :: GetPlan -> GetPlan -> Bool #

Data GetPlan Source # 

Methods

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

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

toConstr :: GetPlan -> Constr #

dataTypeOf :: GetPlan -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPlan Source # 
Show GetPlan Source # 
Generic GetPlan Source # 

Associated Types

type Rep GetPlan :: * -> * #

Methods

from :: GetPlan -> Rep GetPlan x #

to :: Rep GetPlan x -> GetPlan #

Hashable GetPlan Source # 

Methods

hashWithSalt :: Int -> GetPlan -> Int #

hash :: GetPlan -> Int #

ToJSON GetPlan Source # 
NFData GetPlan Source # 

Methods

rnf :: GetPlan -> () #

AWSRequest GetPlan Source # 

Associated Types

type Rs GetPlan :: * #

ToQuery GetPlan Source # 
ToPath GetPlan Source # 

Methods

toPath :: GetPlan -> ByteString #

ToHeaders GetPlan Source # 

Methods

toHeaders :: GetPlan -> [Header] #

type Rep GetPlan Source # 
type Rs GetPlan Source # 

Request Lenses

gpSinks :: Lens' GetPlan [CatalogEntry] Source #

The target tables.

gpLocation :: Lens' GetPlan (Maybe Location) Source #

Parameters for the mapping.

gpMapping :: Lens' GetPlan [MappingEntry] Source #

The list of mappings from a source table to target tables.

Destructuring the Response

getPlanResponse Source #

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

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

data GetPlanResponse Source #

See: getPlanResponse smart constructor.

Instances

Eq GetPlanResponse Source # 
Data GetPlanResponse Source # 

Methods

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

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

toConstr :: GetPlanResponse -> Constr #

dataTypeOf :: GetPlanResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPlanResponse Source # 
Show GetPlanResponse Source # 
Generic GetPlanResponse Source # 
NFData GetPlanResponse Source # 

Methods

rnf :: GetPlanResponse -> () #

type Rep GetPlanResponse Source # 
type Rep GetPlanResponse = D1 (MetaData "GetPlanResponse" "Network.AWS.Glue.GetPlan" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetPlanResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gpprsPythonScript") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gpprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gpprsPythonScript :: Lens' GetPlanResponse (Maybe Text) Source #

A python script to perform the mapping.

gpprsResponseStatus :: Lens' GetPlanResponse Int Source #

  • - | The response status code.