Copyright | (c) 2013-2021 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 |
Deletes the specified IAM group. The group must not contain any users or have any attached policies.
Synopsis
Creating a Request
data DeleteGroup Source #
See: newDeleteGroup
smart constructor.
DeleteGroup' | |
|
Instances
Create a value of DeleteGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupName:DeleteGroup'
, deleteGroup_groupName
- The name of the IAM group to delete.
This parameter allows (through 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: _+=,.@-
Request Lenses
deleteGroup_groupName :: Lens' DeleteGroup Text Source #
The name of the IAM group to delete.
This parameter allows (through 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
data DeleteGroupResponse Source #
See: newDeleteGroupResponse
smart constructor.
Instances
Eq DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup (==) :: DeleteGroupResponse -> DeleteGroupResponse -> Bool # (/=) :: DeleteGroupResponse -> DeleteGroupResponse -> Bool # | |
Read DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup | |
Show DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup showsPrec :: Int -> DeleteGroupResponse -> ShowS # show :: DeleteGroupResponse -> String # showList :: [DeleteGroupResponse] -> ShowS # | |
Generic DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup type Rep DeleteGroupResponse :: Type -> Type # from :: DeleteGroupResponse -> Rep DeleteGroupResponse x # to :: Rep DeleteGroupResponse x -> DeleteGroupResponse # | |
NFData DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup rnf :: DeleteGroupResponse -> () # | |
type Rep DeleteGroupResponse Source # | |
newDeleteGroupResponse :: DeleteGroupResponse Source #
Create a value of DeleteGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.