amazonka-glue-1.6.0: 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.BatchStopJobRun

Contents

Description

Stops one or more job runs for a specified job definition.

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 definition for which to stop job runs.
  • bsjrJobRunIds - A list of the JobRunIds that should be stopped for that job definition.

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 # 
ToHeaders BatchStopJobRun Source # 
ToPath BatchStopJobRun Source # 
ToQuery BatchStopJobRun Source # 
type Rep BatchStopJobRun Source # 
type Rep BatchStopJobRun = D1 * (MetaData "BatchStopJobRun" "Network.AWS.Glue.BatchStopJobRun" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" 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 definition for which to stop job runs.

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

A list of the JobRunIds that should be stopped for that job definition.

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:

  • bsjrrsSuccessfulSubmissions - A list of the JobRuns that were successfully submitted for stopping.
  • bsjrrsErrors - A list of the errors that were encountered in tryng to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.
  • bsjrrsResponseStatus - -- | The response status code.

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.6.0-6lygtbc1qn5L8T6WOf5nFo" 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 the JobRuns that were successfully submitted for stopping.

bsjrrsErrors :: Lens' BatchStopJobRunResponse [BatchStopJobRunError] Source #

A list of the errors that were encountered in tryng to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.