amazonka-autoscaling-1.4.5: Amazon Auto Scaling SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScaling.DeleteLifecycleHook

Contents

Description

Deletes the specified lifecycle hook.

If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).

Synopsis

Creating a Request

deleteLifecycleHook #

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

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

data DeleteLifecycleHook #

Contains the parameters for DeleteLifecycleHook.

See: deleteLifecycleHook smart constructor.

Instances

Eq DeleteLifecycleHook # 
Data DeleteLifecycleHook # 

Methods

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

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

toConstr :: DeleteLifecycleHook -> Constr #

dataTypeOf :: DeleteLifecycleHook -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLifecycleHook # 
Show DeleteLifecycleHook # 
Generic DeleteLifecycleHook # 
Hashable DeleteLifecycleHook # 
NFData DeleteLifecycleHook # 

Methods

rnf :: DeleteLifecycleHook -> () #

AWSRequest DeleteLifecycleHook # 
ToQuery DeleteLifecycleHook # 
ToPath DeleteLifecycleHook # 
ToHeaders DeleteLifecycleHook # 
type Rep DeleteLifecycleHook # 
type Rep DeleteLifecycleHook = D1 (MetaData "DeleteLifecycleHook" "Network.AWS.AutoScaling.DeleteLifecycleHook" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "DeleteLifecycleHook'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_delLifecycleHookName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_delAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteLifecycleHook # 

Request Lenses

delLifecycleHookName :: Lens' DeleteLifecycleHook Text #

The name of the lifecycle hook.

delAutoScalingGroupName :: Lens' DeleteLifecycleHook Text #

The name of the Auto Scaling group for the lifecycle hook.

Destructuring the Response

deleteLifecycleHookResponse #

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

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

data DeleteLifecycleHookResponse #

Contains the output of DeleteLifecycleHook.

See: deleteLifecycleHookResponse smart constructor.

Instances

Eq DeleteLifecycleHookResponse # 
Data DeleteLifecycleHookResponse # 

Methods

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

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

toConstr :: DeleteLifecycleHookResponse -> Constr #

dataTypeOf :: DeleteLifecycleHookResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLifecycleHookResponse # 
Show DeleteLifecycleHookResponse # 
Generic DeleteLifecycleHookResponse # 
NFData DeleteLifecycleHookResponse # 
type Rep DeleteLifecycleHookResponse # 
type Rep DeleteLifecycleHookResponse = D1 (MetaData "DeleteLifecycleHookResponse" "Network.AWS.AutoScaling.DeleteLifecycleHook" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" True) (C1 (MetaCons "DeleteLifecycleHookResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

drsResponseStatus :: Lens' DeleteLifecycleHookResponse Int #

  • - | The response status code.