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

Contents

Description

Creates a new job.

Synopsis

Creating a Request

createJob Source #

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

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

data CreateJob Source #

See: createJob smart constructor.

Instances

Eq CreateJob Source # 
Data CreateJob Source # 

Methods

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

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

toConstr :: CreateJob -> Constr #

dataTypeOf :: CreateJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateJob Source # 
Show CreateJob Source # 
Generic CreateJob Source # 

Associated Types

type Rep CreateJob :: * -> * #

Hashable CreateJob Source # 
ToJSON CreateJob Source # 
NFData CreateJob Source # 

Methods

rnf :: CreateJob -> () #

AWSRequest CreateJob Source # 
ToQuery CreateJob Source # 
ToPath CreateJob Source # 
ToHeaders CreateJob Source # 

Methods

toHeaders :: CreateJob -> [Header] #

type Rep CreateJob Source # 
type Rs CreateJob Source # 

Request Lenses

cjConnections :: Lens' CreateJob (Maybe ConnectionsList) Source #

The connections used for this job.

cjLogURI :: Lens' CreateJob (Maybe Text) Source #

This field is reserved for future use.

cjMaxRetries :: Lens' CreateJob (Maybe Int) Source #

The maximum number of times to retry this job if it fails.

cjExecutionProperty :: Lens' CreateJob (Maybe ExecutionProperty) Source #

An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.

cjAllocatedCapacity :: Lens' CreateJob (Maybe Int) Source #

The number of capacity units allocated to this job.

cjDefaultArguments :: Lens' CreateJob (HashMap Text Text) Source #

The default parameters for this job.

cjDescription :: Lens' CreateJob (Maybe Text) Source #

Description of the job.

cjName :: Lens' CreateJob Text Source #

The name you assign to this job.

cjRole :: Lens' CreateJob Text Source #

The role associated with this job.

cjCommand :: Lens' CreateJob JobCommand Source #

The JobCommand that executes this job.

Destructuring the Response

createJobResponse Source #

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

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

data CreateJobResponse Source #

See: createJobResponse smart constructor.

Instances

Eq CreateJobResponse Source # 
Data CreateJobResponse Source # 

Methods

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

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

toConstr :: CreateJobResponse -> Constr #

dataTypeOf :: CreateJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateJobResponse Source # 
Show CreateJobResponse Source # 
Generic CreateJobResponse Source # 
NFData CreateJobResponse Source # 

Methods

rnf :: CreateJobResponse -> () #

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

Response Lenses

cjrsName :: Lens' CreateJobResponse (Maybe Text) Source #

The unique name of the new job that has been created.

cjrsResponseStatus :: Lens' CreateJobResponse Int Source #

  • - | The response status code.