amazonka-waf-1.6.0: Amazon WAF 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.WAF.DeletePermissionPolicy

Contents

Description

Permanently deletes an IAM policy from the specified RuleGroup.

The user making the request must be the owner of the RuleGroup.

Synopsis

Creating a Request

deletePermissionPolicy #

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

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

  • dppResourceARN - The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy. The user making the request must be the owner of the RuleGroup.

data DeletePermissionPolicy #

See: deletePermissionPolicy smart constructor.

Instances

Eq DeletePermissionPolicy # 
Data DeletePermissionPolicy # 

Methods

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

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

toConstr :: DeletePermissionPolicy -> Constr #

dataTypeOf :: DeletePermissionPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePermissionPolicy # 
Show DeletePermissionPolicy # 
Generic DeletePermissionPolicy # 
Hashable DeletePermissionPolicy # 
ToJSON DeletePermissionPolicy # 
NFData DeletePermissionPolicy # 

Methods

rnf :: DeletePermissionPolicy -> () #

AWSRequest DeletePermissionPolicy # 
ToHeaders DeletePermissionPolicy # 
ToPath DeletePermissionPolicy # 
ToQuery DeletePermissionPolicy # 
type Rep DeletePermissionPolicy # 
type Rep DeletePermissionPolicy = D1 * (MetaData "DeletePermissionPolicy" "Network.AWS.WAF.DeletePermissionPolicy" "amazonka-waf-1.6.0-K7okww4xWnpBRydji27mKc" True) (C1 * (MetaCons "DeletePermissionPolicy'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dppResourceARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeletePermissionPolicy # 

Request Lenses

dppResourceARN :: Lens' DeletePermissionPolicy Text #

The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy. The user making the request must be the owner of the RuleGroup.

Destructuring the Response

deletePermissionPolicyResponse #

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

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

data DeletePermissionPolicyResponse #

See: deletePermissionPolicyResponse smart constructor.

Instances

Eq DeletePermissionPolicyResponse # 
Data DeletePermissionPolicyResponse # 

Methods

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

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

toConstr :: DeletePermissionPolicyResponse -> Constr #

dataTypeOf :: DeletePermissionPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePermissionPolicyResponse # 
Show DeletePermissionPolicyResponse # 
Generic DeletePermissionPolicyResponse # 
NFData DeletePermissionPolicyResponse # 
type Rep DeletePermissionPolicyResponse # 
type Rep DeletePermissionPolicyResponse = D1 * (MetaData "DeletePermissionPolicyResponse" "Network.AWS.WAF.DeletePermissionPolicy" "amazonka-waf-1.6.0-K7okww4xWnpBRydji27mKc" True) (C1 * (MetaCons "DeletePermissionPolicyResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dpprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses