amazonka-iam-1.6.0: 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.DeleteGroup

Contents

Description

Deletes the specified IAM group. The group must not contain any users or have any attached policies.

Synopsis

Creating a Request

deleteGroup #

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

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

  • dgGroupName - The name of the IAM group 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 DeleteGroup #

See: deleteGroup smart constructor.

Instances

Eq DeleteGroup # 
Data DeleteGroup # 

Methods

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

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

toConstr :: DeleteGroup -> Constr #

dataTypeOf :: DeleteGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGroup # 
Show DeleteGroup # 
Generic DeleteGroup # 

Associated Types

type Rep DeleteGroup :: * -> * #

Hashable DeleteGroup # 
NFData DeleteGroup # 

Methods

rnf :: DeleteGroup -> () #

AWSRequest DeleteGroup # 
ToHeaders DeleteGroup # 

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup # 
ToQuery DeleteGroup # 
type Rep DeleteGroup # 
type Rep DeleteGroup = D1 * (MetaData "DeleteGroup" "Network.AWS.IAM.DeleteGroup" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" True) (C1 * (MetaCons "DeleteGroup'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dgGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteGroup # 

Request Lenses

dgGroupName :: Lens' DeleteGroup Text #

The name of the IAM group 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

deleteGroupResponse :: DeleteGroupResponse #

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

data DeleteGroupResponse #

See: deleteGroupResponse smart constructor.

Instances

Eq DeleteGroupResponse # 
Data DeleteGroupResponse # 

Methods

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

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

toConstr :: DeleteGroupResponse -> Constr #

dataTypeOf :: DeleteGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGroupResponse # 
Show DeleteGroupResponse # 
Generic DeleteGroupResponse # 
NFData DeleteGroupResponse # 

Methods

rnf :: DeleteGroupResponse -> () #

type Rep DeleteGroupResponse # 
type Rep DeleteGroupResponse = D1 * (MetaData "DeleteGroupResponse" "Network.AWS.IAM.DeleteGroup" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "DeleteGroupResponse'" PrefixI False) (U1 *))