amazonka-glue-1.6.1: Amazon Glue SDK.

Copyright(c) 2013-2018 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 definition.

This operation returns paginated results.

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 definition for which to retrieve all job runs.

data GetJobRuns Source #

See: getJobRuns smart constructor.

Instances
Eq GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Data GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

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 # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Show GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Generic GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Associated Types

type Rep GetJobRuns :: Type -> Type #

Hashable GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

ToJSON GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

AWSPager GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

AWSRequest GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Associated Types

type Rs GetJobRuns :: Type #

ToHeaders GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Methods

toHeaders :: GetJobRuns -> [Header] #

ToPath GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

ToQuery GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

NFData GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Methods

rnf :: GetJobRuns -> () #

type Rep GetJobRuns Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

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

Defined in Network.AWS.Glue.GetJobRuns

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 definition 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 # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Data GetJobRunsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

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 # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Show GetJobRunsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Generic GetJobRunsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Associated Types

type Rep GetJobRunsResponse :: Type -> Type #

NFData GetJobRunsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

Methods

rnf :: GetJobRunsResponse -> () #

type Rep GetJobRunsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetJobRuns

type Rep GetJobRunsResponse = D1 (MetaData "GetJobRunsResponse" "Network.AWS.Glue.GetJobRuns" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetJobRunsResponse'" PrefixI True) (S1 (MetaSel (Just "_gjrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gjrrsJobRuns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JobRun])) :*: S1 (MetaSel (Just "_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.