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 a group from Amazon WorkMail.
Synopsis
- data DeleteGroup = DeleteGroup' {
- organizationId :: Text
- groupId :: Text
- newDeleteGroup :: Text -> Text -> DeleteGroup
- deleteGroup_organizationId :: Lens' DeleteGroup Text
- deleteGroup_groupId :: Lens' DeleteGroup Text
- data DeleteGroupResponse = DeleteGroupResponse' {
- httpStatus :: Int
- newDeleteGroupResponse :: Int -> DeleteGroupResponse
- deleteGroupResponse_httpStatus :: Lens' DeleteGroupResponse Int
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:organizationId:DeleteGroup'
, deleteGroup_organizationId
- The organization that contains the group.
$sel:groupId:DeleteGroup'
, deleteGroup_groupId
- The identifier of the group to be deleted.
Request Lenses
deleteGroup_organizationId :: Lens' DeleteGroup Text Source #
The organization that contains the group.
deleteGroup_groupId :: Lens' DeleteGroup Text Source #
The identifier of the group to be deleted.
Destructuring the Response
data DeleteGroupResponse Source #
See: newDeleteGroupResponse
smart constructor.
DeleteGroupResponse' | |
|
Instances
newDeleteGroupResponse Source #
Create a value of DeleteGroupResponse
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:httpStatus:DeleteGroupResponse'
, deleteGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteGroupResponse_httpStatus :: Lens' DeleteGroupResponse Int Source #
The response's http status code.