amazonka-iam-1.4.3: Amazon Identity and Access Management 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.IAM.DeleteGroupPolicy

Contents

Description

Deletes the specified inline policy that is embedded in the specified group.

A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide.

Synopsis

Creating a Request

deleteGroupPolicy Source #

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

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

data DeleteGroupPolicy Source #

See: deleteGroupPolicy smart constructor.

Instances

Eq DeleteGroupPolicy Source # 
Data DeleteGroupPolicy Source # 

Methods

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

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

toConstr :: DeleteGroupPolicy -> Constr #

dataTypeOf :: DeleteGroupPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGroupPolicy Source # 
Show DeleteGroupPolicy Source # 
Generic DeleteGroupPolicy Source # 
Hashable DeleteGroupPolicy Source # 
NFData DeleteGroupPolicy Source # 

Methods

rnf :: DeleteGroupPolicy -> () #

AWSRequest DeleteGroupPolicy Source # 
ToPath DeleteGroupPolicy Source # 
ToHeaders DeleteGroupPolicy Source # 
ToQuery DeleteGroupPolicy Source # 
type Rep DeleteGroupPolicy Source # 
type Rep DeleteGroupPolicy = D1 (MetaData "DeleteGroupPolicy" "Network.AWS.IAM.DeleteGroupPolicy" "amazonka-iam-1.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "DeleteGroupPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteGroupPolicy Source # 

Request Lenses

dGroupName :: Lens' DeleteGroupPolicy Text Source #

The name (friendly name, not ARN) identifying the group that the policy is embedded in.

dPolicyName :: Lens' DeleteGroupPolicy Text Source #

The name identifying the policy document to delete.

Destructuring the Response

deleteGroupPolicyResponse :: DeleteGroupPolicyResponse Source #

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

data DeleteGroupPolicyResponse Source #

See: deleteGroupPolicyResponse smart constructor.

Instances

Eq DeleteGroupPolicyResponse Source # 
Data DeleteGroupPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteGroupPolicyResponse -> Constr #

dataTypeOf :: DeleteGroupPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGroupPolicyResponse Source # 
Show DeleteGroupPolicyResponse Source # 
Generic DeleteGroupPolicyResponse Source # 
NFData DeleteGroupPolicyResponse Source # 
type Rep DeleteGroupPolicyResponse Source # 
type Rep DeleteGroupPolicyResponse = D1 (MetaData "DeleteGroupPolicyResponse" "Network.AWS.IAM.DeleteGroupPolicy" "amazonka-iam-1.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "DeleteGroupPolicyResponse'" PrefixI False) U1)