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

Contents

Description

Retrieves an existing job definition.

Synopsis

Creating a Request

getJob Source #

Arguments

:: Text

gjJobName

-> GetJob 

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

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

data GetJob Source #

See: getJob smart constructor.

Instances

Eq GetJob Source # 

Methods

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

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

Data GetJob Source # 

Methods

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

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

toConstr :: GetJob -> Constr #

dataTypeOf :: GetJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJob Source # 
Show GetJob Source # 
Generic GetJob Source # 

Associated Types

type Rep GetJob :: * -> * #

Methods

from :: GetJob -> Rep GetJob x #

to :: Rep GetJob x -> GetJob #

Hashable GetJob Source # 

Methods

hashWithSalt :: Int -> GetJob -> Int #

hash :: GetJob -> Int #

ToJSON GetJob Source # 
NFData GetJob Source # 

Methods

rnf :: GetJob -> () #

AWSRequest GetJob Source # 

Associated Types

type Rs GetJob :: * #

ToQuery GetJob Source # 
ToPath GetJob Source # 

Methods

toPath :: GetJob -> ByteString #

ToHeaders GetJob Source # 

Methods

toHeaders :: GetJob -> [Header] #

type Rep GetJob Source # 
type Rep GetJob = D1 (MetaData "GetJob" "Network.AWS.Glue.GetJob" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" True) (C1 (MetaCons "GetJob'" PrefixI True) (S1 (MetaSel (Just Symbol "_gjJobName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetJob Source # 

Request Lenses

gjJobName :: Lens' GetJob Text Source #

The name of the job to retrieve.

Destructuring the Response

getJobResponse Source #

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

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

data GetJobResponse Source #

See: getJobResponse smart constructor.

Instances

Eq GetJobResponse Source # 
Data GetJobResponse Source # 

Methods

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

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

toConstr :: GetJobResponse -> Constr #

dataTypeOf :: GetJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobResponse Source # 
Show GetJobResponse Source # 
Generic GetJobResponse Source # 

Associated Types

type Rep GetJobResponse :: * -> * #

NFData GetJobResponse Source # 

Methods

rnf :: GetJobResponse -> () #

type Rep GetJobResponse Source # 
type Rep GetJobResponse = D1 (MetaData "GetJobResponse" "Network.AWS.Glue.GetJob" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetJobResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gjrsJob") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Job))) (S1 (MetaSel (Just Symbol "_gjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gjrsJob :: Lens' GetJobResponse (Maybe Job) Source #

The requested job definition.

gjrsResponseStatus :: Lens' GetJobResponse Int Source #

  • - | The response status code.