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

Contents

Description

Retrieves metadata for all runs of a given job.

Synopsis

Creating a Request

getJobRuns Source #

Arguments

:: Text

gjrJobName

-> GetJobRuns 

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

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

  • gjrNextToken - A continuation token, if this is a continuation call.
  • gjrMaxResults - The maximum size of the response.
  • gjrJobName - The name of the job for which to retrieve all job runs.

data GetJobRuns Source #

See: getJobRuns smart constructor.

Instances

Eq GetJobRuns Source # 
Data GetJobRuns Source # 

Methods

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

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

toConstr :: GetJobRuns -> Constr #

dataTypeOf :: GetJobRuns -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobRuns Source # 
Show GetJobRuns Source # 
Generic GetJobRuns Source # 

Associated Types

type Rep GetJobRuns :: * -> * #

Hashable GetJobRuns Source # 
ToJSON GetJobRuns Source # 
NFData GetJobRuns Source # 

Methods

rnf :: GetJobRuns -> () #

AWSRequest GetJobRuns Source # 
ToQuery GetJobRuns Source # 
ToPath GetJobRuns Source # 
ToHeaders GetJobRuns Source # 

Methods

toHeaders :: GetJobRuns -> [Header] #

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

Request Lenses

gjrNextToken :: Lens' GetJobRuns (Maybe Text) Source #

A continuation token, if this is a continuation call.

gjrMaxResults :: Lens' GetJobRuns (Maybe Natural) Source #

The maximum size of the response.

gjrJobName :: Lens' GetJobRuns Text Source #

The name of the job for which to retrieve all job runs.

Destructuring the Response

getJobRunsResponse Source #

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

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

data GetJobRunsResponse Source #

See: getJobRunsResponse smart constructor.

Instances

Eq GetJobRunsResponse Source # 
Data GetJobRunsResponse Source # 

Methods

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

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

toConstr :: GetJobRunsResponse -> Constr #

dataTypeOf :: GetJobRunsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobRunsResponse Source # 
Show GetJobRunsResponse Source # 
Generic GetJobRunsResponse Source # 
NFData GetJobRunsResponse Source # 

Methods

rnf :: GetJobRunsResponse -> () #

type Rep GetJobRunsResponse Source # 
type Rep GetJobRunsResponse = D1 (MetaData "GetJobRunsResponse" "Network.AWS.Glue.GetJobRuns" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetJobRunsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gjrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gjrrsJobRuns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JobRun]))) (S1 (MetaSel (Just Symbol "_gjrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gjrrsNextToken :: Lens' GetJobRunsResponse (Maybe Text) Source #

A continuation token, if not all reequested job runs have been returned.

gjrrsJobRuns :: Lens' GetJobRunsResponse [JobRun] Source #

A list of job-run metatdata objects.

gjrrsResponseStatus :: Lens' GetJobRunsResponse Int Source #

  • - | The response status code.