amazonka-iam-1.0.0: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 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.DeleteGroup

Contents

Description

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

See: AWS API Reference for DeleteGroup.

Synopsis

Creating a Request

deleteGroup Source

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:

Request Lenses

dgGroupName :: Lens' DeleteGroup Text Source

The name of the group to delete.

Destructuring the Response

deleteGroupResponse :: DeleteGroupResponse Source

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