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

Contents

Description

Stops a batch of job runs for a given job.

Synopsis

Creating a Request

batchStopJobRun Source #

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

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

  • bsjrJobName - The name of the job whose job runs are to be stopped.
  • bsjrJobRunIds - A list of job run Ids of the given job to be stopped.

data BatchStopJobRun Source #

See: batchStopJobRun smart constructor.

Instances

Eq BatchStopJobRun Source # 
Data BatchStopJobRun Source # 

Methods

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

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

toConstr :: BatchStopJobRun -> Constr #

dataTypeOf :: BatchStopJobRun -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchStopJobRun Source # 
Show BatchStopJobRun Source # 
Generic BatchStopJobRun Source # 
Hashable BatchStopJobRun Source # 
ToJSON BatchStopJobRun Source # 
NFData BatchStopJobRun Source # 

Methods

rnf :: BatchStopJobRun -> () #

AWSRequest BatchStopJobRun Source # 
ToQuery BatchStopJobRun Source # 
ToPath BatchStopJobRun Source # 
ToHeaders BatchStopJobRun Source # 
type Rep BatchStopJobRun Source # 
type Rep BatchStopJobRun = D1 (MetaData "BatchStopJobRun" "Network.AWS.Glue.BatchStopJobRun" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "BatchStopJobRun'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bsjrJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_bsjrJobRunIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text)))))
type Rs BatchStopJobRun Source # 

Request Lenses

bsjrJobName :: Lens' BatchStopJobRun Text Source #

The name of the job whose job runs are to be stopped.

bsjrJobRunIds :: Lens' BatchStopJobRun (NonEmpty Text) Source #

A list of job run Ids of the given job to be stopped.

Destructuring the Response

batchStopJobRunResponse Source #

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

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

data BatchStopJobRunResponse Source #

See: batchStopJobRunResponse smart constructor.

Instances

Eq BatchStopJobRunResponse Source # 
Data BatchStopJobRunResponse Source # 

Methods

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

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

toConstr :: BatchStopJobRunResponse -> Constr #

dataTypeOf :: BatchStopJobRunResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchStopJobRunResponse Source # 
Show BatchStopJobRunResponse Source # 
Generic BatchStopJobRunResponse Source # 
NFData BatchStopJobRunResponse Source # 

Methods

rnf :: BatchStopJobRunResponse -> () #

type Rep BatchStopJobRunResponse Source # 
type Rep BatchStopJobRunResponse = D1 (MetaData "BatchStopJobRunResponse" "Network.AWS.Glue.BatchStopJobRun" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "BatchStopJobRunResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bsjrrsSuccessfulSubmissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BatchStopJobRunSuccessfulSubmission]))) ((:*:) (S1 (MetaSel (Just Symbol "_bsjrrsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BatchStopJobRunError]))) (S1 (MetaSel (Just Symbol "_bsjrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

bsjrrsSuccessfulSubmissions :: Lens' BatchStopJobRunResponse [BatchStopJobRunSuccessfulSubmission] Source #

A list of job runs which are successfully submitted for stopping.

bsjrrsErrors :: Lens' BatchStopJobRunResponse [BatchStopJobRunError] Source #

A list containing the job run Ids and details of the error that occurred for each job run while submitting to stop.