| 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.CognitoIdentityProvider.DeleteGroup
Description
Deletes a group.
Calling this action requires developer credentials.
Synopsis
- data DeleteGroup = DeleteGroup' {
- groupName :: Text
- userPoolId :: Text
- newDeleteGroup :: Text -> Text -> DeleteGroup
- deleteGroup_groupName :: Lens' DeleteGroup Text
- deleteGroup_userPoolId :: Lens' DeleteGroup Text
- data DeleteGroupResponse = DeleteGroupResponse' {
- newDeleteGroupResponse :: DeleteGroupResponse
Creating a Request
data DeleteGroup Source #
See: newDeleteGroup smart constructor.
Constructors
| DeleteGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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 group.
DeleteGroup, deleteGroup_userPoolId - The user pool ID for the user pool.
Request Lenses
deleteGroup_groupName :: Lens' DeleteGroup Text Source #
The name of the group.
deleteGroup_userPoolId :: Lens' DeleteGroup Text Source #
The user pool ID for the user pool.
Destructuring the Response
data DeleteGroupResponse Source #
See: newDeleteGroupResponse smart constructor.
Constructors
| DeleteGroupResponse' | |
Instances
newDeleteGroupResponse :: DeleteGroupResponse Source #
Create a value of DeleteGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.