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

Contents

Description

Runs a job.

Synopsis

Creating a Request

startJobRun Source #

Arguments

:: Text

sjrJobName

-> StartJobRun 

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

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

data StartJobRun Source #

See: startJobRun smart constructor.

Instances

Eq StartJobRun Source # 
Data StartJobRun Source # 

Methods

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

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

toConstr :: StartJobRun -> Constr #

dataTypeOf :: StartJobRun -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartJobRun Source # 
Show StartJobRun Source # 
Generic StartJobRun Source # 

Associated Types

type Rep StartJobRun :: * -> * #

Hashable StartJobRun Source # 
ToJSON StartJobRun Source # 
NFData StartJobRun Source # 

Methods

rnf :: StartJobRun -> () #

AWSRequest StartJobRun Source # 
ToQuery StartJobRun Source # 
ToPath StartJobRun Source # 
ToHeaders StartJobRun Source # 

Methods

toHeaders :: StartJobRun -> [Header] #

type Rep StartJobRun Source # 
type Rep StartJobRun = D1 (MetaData "StartJobRun" "Network.AWS.Glue.StartJobRun" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "StartJobRun'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sjrArguments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_sjrAllocatedCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_sjrJobRunId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sjrJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs StartJobRun Source # 

Request Lenses

sjrArguments :: Lens' StartJobRun (HashMap Text Text) Source #

Specific arguments for this job run.

sjrAllocatedCapacity :: Lens' StartJobRun (Maybe Int) Source #

The infrastructure capacity to allocate to this job.

sjrJobRunId :: Lens' StartJobRun (Maybe Text) Source #

The ID of the job run to start.

sjrJobName :: Lens' StartJobRun Text Source #

The name of the job to start.

Destructuring the Response

startJobRunResponse Source #

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

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

data StartJobRunResponse Source #

See: startJobRunResponse smart constructor.

Instances

Eq StartJobRunResponse Source # 
Data StartJobRunResponse Source # 

Methods

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

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

toConstr :: StartJobRunResponse -> Constr #

dataTypeOf :: StartJobRunResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartJobRunResponse Source # 
Show StartJobRunResponse Source # 
Generic StartJobRunResponse Source # 
NFData StartJobRunResponse Source # 

Methods

rnf :: StartJobRunResponse -> () #

type Rep StartJobRunResponse Source # 
type Rep StartJobRunResponse = D1 (MetaData "StartJobRunResponse" "Network.AWS.Glue.StartJobRun" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "StartJobRunResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sjrrsJobRunId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sjrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

sjrrsJobRunId :: Lens' StartJobRunResponse (Maybe Text) Source #

The ID assigned to this job run.

sjrrsResponseStatus :: Lens' StartJobRunResponse Int Source #

  • - | The response status code.