| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IAM.DeleteGroup
Description
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.
Constructors
| DeleteGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteGroup |
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:
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.
Constructors
| DeleteGroupResponse' | |
Instances
| Generic DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup Associated Types type Rep DeleteGroupResponse :: Type -> Type # Methods from :: DeleteGroupResponse -> Rep DeleteGroupResponse x # to :: Rep DeleteGroupResponse x -> DeleteGroupResponse # | |
| Read DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup Methods readsPrec :: Int -> ReadS DeleteGroupResponse # readList :: ReadS [DeleteGroupResponse] # | |
| Show DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup Methods showsPrec :: Int -> DeleteGroupResponse -> ShowS # show :: DeleteGroupResponse -> String # showList :: [DeleteGroupResponse] -> ShowS # | |
| NFData DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup Methods rnf :: DeleteGroupResponse -> () # | |
| Eq DeleteGroupResponse Source # | |
Defined in Amazonka.IAM.DeleteGroup Methods (==) :: DeleteGroupResponse -> DeleteGroupResponse -> Bool # (/=) :: DeleteGroupResponse -> DeleteGroupResponse -> Bool # | |
| 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.