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

Contents

Description

Starts a job run using a job definition.

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:

  • sjrArguments - The job arguments specifically for this run. They override the equivalent default arguments set for in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
  • sjrAllocatedCapacity - The number of AWS Glue data processing units (DPUs) to allocate to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page .
  • sjrTimeout - The job run timeout in minutes. It overrides the timeout value of the job.
  • sjrJobRunId - The ID of a previous JobRun to retry.
  • sjrJobName - The name of the job definition to use.

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 # 
ToHeaders StartJobRun Source # 

Methods

toHeaders :: StartJobRun -> [Header] #

ToPath StartJobRun Source # 
ToQuery StartJobRun Source # 
type Rep StartJobRun Source # 
type Rep StartJobRun = D1 * (MetaData "StartJobRun" "Network.AWS.Glue.StartJobRun" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" 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 "_sjrTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (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 #

The job arguments specifically for this run. They override the equivalent default arguments set for in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.

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

The number of AWS Glue data processing units (DPUs) to allocate to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page .

sjrTimeout :: Lens' StartJobRun (Maybe Natural) Source #

The job run timeout in minutes. It overrides the timeout value of the job.

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

The ID of a previous JobRun to retry.

sjrJobName :: Lens' StartJobRun Text Source #

The name of the job definition to use.

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.6.0-6lygtbc1qn5L8T6WOf5nFo" 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.