amazonka-glue-1.6.1: 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.CreateJob

Contents

Description

Creates a new job definition.

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:

  • cjConnections - The connections used for this job.
  • cjLogURI - This field is reserved for future use.
  • cjMaxRetries - The maximum number of times to retry this job if it fails.
  • cjExecutionProperty - An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
  • cjAllocatedCapacity - The number of AWS Glue data processing units (DPUs) to allocate to this Job. 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 .
  • cjTimeout - The job timeout in minutes. The default is 2880 minutes (48 hours).
  • cjDefaultArguments - The default arguments for this job. 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.
  • cjDescription - Description of the job being defined.
  • cjName - The name you assign to this job definition. It must be unique in your account.
  • cjRole - The name or ARN of the IAM role associated with this job.
  • cjCommand - The JobCommand that executes this job.

data CreateJob Source #

See: createJob smart constructor.

Instances
Eq CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Data CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

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 # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Show CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Generic CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Associated Types

type Rep CreateJob :: Type -> Type #

Hashable CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

ToJSON CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

AWSRequest CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Associated Types

type Rs CreateJob :: Type #

ToHeaders CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Methods

toHeaders :: CreateJob -> [Header] #

ToPath CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

ToQuery CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

NFData CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Methods

rnf :: CreateJob -> () #

type Rep CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

type Rs CreateJob Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

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 AWS Glue data processing units (DPUs) to allocate to this Job. 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 .

cjTimeout :: Lens' CreateJob (Maybe Natural) Source #

The job timeout in minutes. The default is 2880 minutes (48 hours).

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

The default arguments for this job. 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.

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

Description of the job being defined.

cjName :: Lens' CreateJob Text Source #

The name you assign to this job definition. It must be unique in your account.

cjRole :: Lens' CreateJob Text Source #

The name or ARN of the IAM 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 # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Data CreateJobResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

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 # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Show CreateJobResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Generic CreateJobResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Associated Types

type Rep CreateJobResponse :: Type -> Type #

NFData CreateJobResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

Methods

rnf :: CreateJobResponse -> () #

type Rep CreateJobResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreateJob

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

Response Lenses

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

The unique name that was provided for this job definition.

cjrsResponseStatus :: Lens' CreateJobResponse Int Source #

  • - | The response status code.