amazonka-autoscaling-1.6.1: Amazon Auto Scaling 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.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 #

See: deleteLifecycleHook smart constructor.

Instances
Eq DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Data DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.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 # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Show DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Generic DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Associated Types

type Rep DeleteLifecycleHook :: Type -> Type #

Hashable DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

AWSRequest DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Associated Types

type Rs DeleteLifecycleHook :: Type #

ToHeaders DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

ToPath DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

ToQuery DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

NFData DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Methods

rnf :: DeleteLifecycleHook -> () #

type Rep DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

type Rep DeleteLifecycleHook = D1 (MetaData "DeleteLifecycleHook" "Network.AWS.AutoScaling.DeleteLifecycleHook" "amazonka-autoscaling-1.6.1-CL0uxNT6nr7AJT7cxrCTGb" False) (C1 (MetaCons "DeleteLifecycleHook'" PrefixI True) (S1 (MetaSel (Just "_delLifecycleHookName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_delAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteLifecycleHook # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Request Lenses

delLifecycleHookName :: Lens' DeleteLifecycleHook Text #

The name of the lifecycle hook.

delAutoScalingGroupName :: Lens' DeleteLifecycleHook Text #

The name of the Auto Scaling group.

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 #

See: deleteLifecycleHookResponse smart constructor.

Instances
Eq DeleteLifecycleHookResponse # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Data DeleteLifecycleHookResponse # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

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

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Show DeleteLifecycleHookResponse # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Generic DeleteLifecycleHookResponse # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

Associated Types

type Rep DeleteLifecycleHookResponse :: Type -> Type #

NFData DeleteLifecycleHookResponse # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

type Rep DeleteLifecycleHookResponse # 
Instance details

Defined in Network.AWS.AutoScaling.DeleteLifecycleHook

type Rep DeleteLifecycleHookResponse = D1 (MetaData "DeleteLifecycleHookResponse" "Network.AWS.AutoScaling.DeleteLifecycleHook" "amazonka-autoscaling-1.6.1-CL0uxNT6nr7AJT7cxrCTGb" True) (C1 (MetaCons "DeleteLifecycleHookResponse'" PrefixI True) (S1 (MetaSel (Just "_drsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

drsResponseStatus :: Lens' DeleteLifecycleHookResponse Int #

  • - | The response status code.