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

Contents

Description

Deletes the specified Auto Scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

Synopsis

Creating a Request

deletePolicy Source #

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

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

data DeletePolicy Source #

Contains the parameters for DeletePolicy.

See: deletePolicy smart constructor.

Instances

Eq DeletePolicy Source # 
Data DeletePolicy Source # 

Methods

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

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

toConstr :: DeletePolicy -> Constr #

dataTypeOf :: DeletePolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePolicy Source # 
Show DeletePolicy Source # 
Generic DeletePolicy Source # 

Associated Types

type Rep DeletePolicy :: * -> * #

Hashable DeletePolicy Source # 
NFData DeletePolicy Source # 

Methods

rnf :: DeletePolicy -> () #

AWSRequest DeletePolicy Source # 
ToPath DeletePolicy Source # 
ToHeaders DeletePolicy Source # 
ToQuery DeletePolicy Source # 
type Rep DeletePolicy Source # 
type Rep DeletePolicy = D1 (MetaData "DeletePolicy" "Network.AWS.AutoScaling.DeletePolicy" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "DeletePolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dpAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dpPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeletePolicy Source # 

Request Lenses

dpAutoScalingGroupName :: Lens' DeletePolicy (Maybe Text) Source #

The name of the Auto Scaling group.

dpPolicyName :: Lens' DeletePolicy Text Source #

The name or Amazon Resource Name (ARN) of the policy.

Destructuring the Response

deletePolicyResponse :: DeletePolicyResponse Source #

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

data DeletePolicyResponse Source #

See: deletePolicyResponse smart constructor.

Instances

Eq DeletePolicyResponse Source # 
Data DeletePolicyResponse Source # 

Methods

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

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

toConstr :: DeletePolicyResponse -> Constr #

dataTypeOf :: DeletePolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePolicyResponse Source # 
Show DeletePolicyResponse Source # 
Generic DeletePolicyResponse Source # 
NFData DeletePolicyResponse Source # 

Methods

rnf :: DeletePolicyResponse -> () #

type Rep DeletePolicyResponse Source # 
type Rep DeletePolicyResponse = D1 (MetaData "DeletePolicyResponse" "Network.AWS.AutoScaling.DeletePolicy" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "DeletePolicyResponse'" PrefixI False) U1)