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

Contents

Description

Updates an existing job definition.

Synopsis

Creating a Request

updateJob Source #

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

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

  • ujJobName - Name of the job definition to update.
  • ujJobUpdate - Specifies the values with which to update the job definition.

data UpdateJob Source #

See: updateJob smart constructor.

Instances

Eq UpdateJob Source # 
Data UpdateJob Source # 

Methods

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

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

toConstr :: UpdateJob -> Constr #

dataTypeOf :: UpdateJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateJob Source # 
Show UpdateJob Source # 
Generic UpdateJob Source # 

Associated Types

type Rep UpdateJob :: * -> * #

Hashable UpdateJob Source # 
ToJSON UpdateJob Source # 
NFData UpdateJob Source # 

Methods

rnf :: UpdateJob -> () #

AWSRequest UpdateJob Source # 
ToHeaders UpdateJob Source # 

Methods

toHeaders :: UpdateJob -> [Header] #

ToPath UpdateJob Source # 
ToQuery UpdateJob Source # 
type Rep UpdateJob Source # 
type Rep UpdateJob = D1 * (MetaData "UpdateJob" "Network.AWS.Glue.UpdateJob" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "UpdateJob'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ujJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ujJobUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * JobUpdate))))
type Rs UpdateJob Source # 

Request Lenses

ujJobName :: Lens' UpdateJob Text Source #

Name of the job definition to update.

ujJobUpdate :: Lens' UpdateJob JobUpdate Source #

Specifies the values with which to update the job definition.

Destructuring the Response

updateJobResponse Source #

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

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

data UpdateJobResponse Source #

See: updateJobResponse smart constructor.

Instances

Eq UpdateJobResponse Source # 
Data UpdateJobResponse Source # 

Methods

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

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

toConstr :: UpdateJobResponse -> Constr #

dataTypeOf :: UpdateJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateJobResponse Source # 
Show UpdateJobResponse Source # 
Generic UpdateJobResponse Source # 
NFData UpdateJobResponse Source # 

Methods

rnf :: UpdateJobResponse -> () #

type Rep UpdateJobResponse Source # 
type Rep UpdateJobResponse = D1 * (MetaData "UpdateJobResponse" "Network.AWS.Glue.UpdateJob" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "UpdateJobResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ujrsJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ujrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ujrsJobName :: Lens' UpdateJobResponse (Maybe Text) Source #

Returns the name of the updated job definition.

ujrsResponseStatus :: Lens' UpdateJobResponse Int Source #

  • - | The response status code.