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

Contents

Description

Deletes the specified inline policy that is embedded in the specified IAM 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:

  • dGroupName - The name (friendly name, not ARN) identifying the group that the policy is embedded in. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  • dPolicyName - The name identifying the policy document to delete. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

data DeleteGroupPolicy Source #

See: deleteGroupPolicy smart constructor.

Instances
Eq DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Data DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

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

Defined in Network.AWS.IAM.DeleteGroupPolicy

Show DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Generic DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Associated Types

type Rep DeleteGroupPolicy :: Type -> Type #

Hashable DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

AWSRequest DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Associated Types

type Rs DeleteGroupPolicy :: Type #

ToHeaders DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

ToPath DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

ToQuery DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

NFData DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Methods

rnf :: DeleteGroupPolicy -> () #

type Rep DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

type Rep DeleteGroupPolicy = D1 (MetaData "DeleteGroupPolicy" "Network.AWS.IAM.DeleteGroupPolicy" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "DeleteGroupPolicy'" PrefixI True) (S1 (MetaSel (Just "_dGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteGroupPolicy Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Request Lenses

dGroupName :: Lens' DeleteGroupPolicy Text Source #

The name (friendly name, not ARN) identifying the group that the policy is embedded in. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

dPolicyName :: Lens' DeleteGroupPolicy Text Source #

The name identifying the policy document to delete. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

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

Defined in Network.AWS.IAM.DeleteGroupPolicy

Data DeleteGroupPolicyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

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

Defined in Network.AWS.IAM.DeleteGroupPolicy

Show DeleteGroupPolicyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Generic DeleteGroupPolicyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

Associated Types

type Rep DeleteGroupPolicyResponse :: Type -> Type #

NFData DeleteGroupPolicyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

type Rep DeleteGroupPolicyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteGroupPolicy

type Rep DeleteGroupPolicyResponse = D1 (MetaData "DeleteGroupPolicyResponse" "Network.AWS.IAM.DeleteGroupPolicy" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "DeleteGroupPolicyResponse'" PrefixI False) (U1 :: Type -> Type))