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

Contents

Description

Retrieves all current jobs.

Synopsis

Creating a Request

getJobs :: GetJobs Source #

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

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

  • gjNextToken - A continuation token, if this is a continuation call.
  • gjMaxResults - The maximum size of the response.

data GetJobs Source #

See: getJobs smart constructor.

Instances

Eq GetJobs Source # 

Methods

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

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

Data GetJobs Source # 

Methods

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

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

toConstr :: GetJobs -> Constr #

dataTypeOf :: GetJobs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobs Source # 
Show GetJobs Source # 
Generic GetJobs Source # 

Associated Types

type Rep GetJobs :: * -> * #

Methods

from :: GetJobs -> Rep GetJobs x #

to :: Rep GetJobs x -> GetJobs #

Hashable GetJobs Source # 

Methods

hashWithSalt :: Int -> GetJobs -> Int #

hash :: GetJobs -> Int #

ToJSON GetJobs Source # 
NFData GetJobs Source # 

Methods

rnf :: GetJobs -> () #

AWSRequest GetJobs Source # 

Associated Types

type Rs GetJobs :: * #

ToQuery GetJobs Source # 
ToPath GetJobs Source # 

Methods

toPath :: GetJobs -> ByteString #

ToHeaders GetJobs Source # 

Methods

toHeaders :: GetJobs -> [Header] #

type Rep GetJobs Source # 
type Rep GetJobs = D1 (MetaData "GetJobs" "Network.AWS.Glue.GetJobs" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetJobs'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gjNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs GetJobs Source # 

Request Lenses

gjNextToken :: Lens' GetJobs (Maybe Text) Source #

A continuation token, if this is a continuation call.

gjMaxResults :: Lens' GetJobs (Maybe Natural) Source #

The maximum size of the response.

Destructuring the Response

getJobsResponse Source #

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

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

data GetJobsResponse Source #

See: getJobsResponse smart constructor.

Instances

Eq GetJobsResponse Source # 
Data GetJobsResponse Source # 

Methods

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

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

toConstr :: GetJobsResponse -> Constr #

dataTypeOf :: GetJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobsResponse Source # 
Show GetJobsResponse Source # 
Generic GetJobsResponse Source # 
NFData GetJobsResponse Source # 

Methods

rnf :: GetJobsResponse -> () #

type Rep GetJobsResponse Source # 
type Rep GetJobsResponse = D1 (MetaData "GetJobsResponse" "Network.AWS.Glue.GetJobs" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetJobsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gjsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gjsrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job]))) (S1 (MetaSel (Just Symbol "_gjsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gjsrsNextToken :: Lens' GetJobsResponse (Maybe Text) Source #

A continuation token, if not all jobs have yet been returned.

gjsrsResponseStatus :: Lens' GetJobsResponse Int Source #

  • - | The response status code.