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 permission group. This action is irreversible.
Synopsis
- data DeletePermissionGroup = DeletePermissionGroup' {}
- newDeletePermissionGroup :: Text -> DeletePermissionGroup
- deletePermissionGroup_clientToken :: Lens' DeletePermissionGroup (Maybe Text)
- deletePermissionGroup_permissionGroupId :: Lens' DeletePermissionGroup Text
- data DeletePermissionGroupResponse = DeletePermissionGroupResponse' {}
- newDeletePermissionGroupResponse :: Int -> DeletePermissionGroupResponse
- deletePermissionGroupResponse_permissionGroupId :: Lens' DeletePermissionGroupResponse (Maybe Text)
- deletePermissionGroupResponse_httpStatus :: Lens' DeletePermissionGroupResponse Int
Creating a Request
data DeletePermissionGroup Source #
See: newDeletePermissionGroup
smart constructor.
DeletePermissionGroup' | |
|
Instances
newDeletePermissionGroup Source #
Create a value of DeletePermissionGroup
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:clientToken:DeletePermissionGroup'
, deletePermissionGroup_clientToken
- A token that ensures idempotency. This token expires in 10 minutes.
DeletePermissionGroup
, deletePermissionGroup_permissionGroupId
- The unique identifier for the permission group that you want to delete.
Request Lenses
deletePermissionGroup_clientToken :: Lens' DeletePermissionGroup (Maybe Text) Source #
A token that ensures idempotency. This token expires in 10 minutes.
deletePermissionGroup_permissionGroupId :: Lens' DeletePermissionGroup Text Source #
The unique identifier for the permission group that you want to delete.
Destructuring the Response
data DeletePermissionGroupResponse Source #
See: newDeletePermissionGroupResponse
smart constructor.
DeletePermissionGroupResponse' | |
|
Instances
newDeletePermissionGroupResponse Source #
Create a value of DeletePermissionGroupResponse
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:
DeletePermissionGroup
, deletePermissionGroupResponse_permissionGroupId
- The unique identifier for the deleted permission group.
$sel:httpStatus:DeletePermissionGroupResponse'
, deletePermissionGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deletePermissionGroupResponse_permissionGroupId :: Lens' DeletePermissionGroupResponse (Maybe Text) Source #
The unique identifier for the deleted permission group.
deletePermissionGroupResponse_httpStatus :: Lens' DeletePermissionGroupResponse Int Source #
The response's http status code.