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 |
Deletes a group. The group doesn't need to be empty to be deleted. If there are canaries in the group, they are not deleted when you delete the group.
Groups are a global resource that appear in all Regions, but the request to delete a group must be made from its home Region. You can find the home Region of a group within its ARN.
Synopsis
- data DeleteGroup = DeleteGroup' {}
- newDeleteGroup :: Text -> DeleteGroup
- deleteGroup_groupIdentifier :: 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:groupIdentifier:DeleteGroup'
, deleteGroup_groupIdentifier
- Specifies which group to delete. You can specify the group name, the
ARN, or the group ID as the GroupIdentifier
.
Request Lenses
deleteGroup_groupIdentifier :: Lens' DeleteGroup Text Source #
Specifies which group to delete. You can specify the group name, the
ARN, or the group ID as the GroupIdentifier
.
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.