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

Contents

Description

Deletes a specified job definition. If the job definition is not found, no exception is thrown.

Synopsis

Creating a Request

deleteJob Source #

Arguments

:: Text

djJobName

-> DeleteJob 

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

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

  • djJobName - The name of the job definition to delete.

data DeleteJob Source #

See: deleteJob smart constructor.

Instances

Eq DeleteJob Source # 
Data DeleteJob Source # 

Methods

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

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

toConstr :: DeleteJob -> Constr #

dataTypeOf :: DeleteJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteJob Source # 
Show DeleteJob Source # 
Generic DeleteJob Source # 

Associated Types

type Rep DeleteJob :: * -> * #

Hashable DeleteJob Source # 
ToJSON DeleteJob Source # 
NFData DeleteJob Source # 

Methods

rnf :: DeleteJob -> () #

AWSRequest DeleteJob Source # 
ToHeaders DeleteJob Source # 

Methods

toHeaders :: DeleteJob -> [Header] #

ToPath DeleteJob Source # 
ToQuery DeleteJob Source # 
type Rep DeleteJob Source # 
type Rep DeleteJob = D1 * (MetaData "DeleteJob" "Network.AWS.Glue.DeleteJob" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" True) (C1 * (MetaCons "DeleteJob'" PrefixI True) (S1 * (MetaSel (Just Symbol "_djJobName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteJob Source # 

Request Lenses

djJobName :: Lens' DeleteJob Text Source #

The name of the job definition to delete.

Destructuring the Response

deleteJobResponse Source #

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

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

data DeleteJobResponse Source #

See: deleteJobResponse smart constructor.

Instances

Eq DeleteJobResponse Source # 
Data DeleteJobResponse Source # 

Methods

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

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

toConstr :: DeleteJobResponse -> Constr #

dataTypeOf :: DeleteJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteJobResponse Source # 
Show DeleteJobResponse Source # 
Generic DeleteJobResponse Source # 
NFData DeleteJobResponse Source # 

Methods

rnf :: DeleteJobResponse -> () #

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

Response Lenses

djrsJobName :: Lens' DeleteJobResponse (Maybe Text) Source #

The name of the job definition that was deleted.

djrsResponseStatus :: Lens' DeleteJobResponse Int Source #

  • - | The response status code.