Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified IAM group. The group must not contain any users or have any attached policies.
Synopsis
Creating a Request
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 Source #
See: deleteGroup
smart constructor.
Instances
Request Lenses
dgGroupName :: Lens' DeleteGroup Text Source #
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 Source #
Creates a value of DeleteGroupResponse
with the minimum fields required to make a request.
data DeleteGroupResponse Source #
See: deleteGroupResponse
smart constructor.