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 pool of customer-owned IP (CoIP) addresses.
Synopsis
- data DeleteCoipPool = DeleteCoipPool' {
- dryRun :: Maybe Bool
- coipPoolId :: Text
- newDeleteCoipPool :: Text -> DeleteCoipPool
- deleteCoipPool_dryRun :: Lens' DeleteCoipPool (Maybe Bool)
- deleteCoipPool_coipPoolId :: Lens' DeleteCoipPool Text
- data DeleteCoipPoolResponse = DeleteCoipPoolResponse' {
- coipPool :: Maybe CoipPool
- httpStatus :: Int
- newDeleteCoipPoolResponse :: Int -> DeleteCoipPoolResponse
- deleteCoipPoolResponse_coipPool :: Lens' DeleteCoipPoolResponse (Maybe CoipPool)
- deleteCoipPoolResponse_httpStatus :: Lens' DeleteCoipPoolResponse Int
Creating a Request
data DeleteCoipPool Source #
See: newDeleteCoipPool
smart constructor.
DeleteCoipPool' | |
|
Instances
Create a value of DeleteCoipPool
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:dryRun:DeleteCoipPool'
, deleteCoipPool_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DeleteCoipPool
, deleteCoipPool_coipPoolId
- The ID of the CoIP pool that you want to delete.
Request Lenses
deleteCoipPool_dryRun :: Lens' DeleteCoipPool (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
deleteCoipPool_coipPoolId :: Lens' DeleteCoipPool Text Source #
The ID of the CoIP pool that you want to delete.
Destructuring the Response
data DeleteCoipPoolResponse Source #
See: newDeleteCoipPoolResponse
smart constructor.
DeleteCoipPoolResponse' | |
|
Instances
newDeleteCoipPoolResponse Source #
Create a value of DeleteCoipPoolResponse
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:coipPool:DeleteCoipPoolResponse'
, deleteCoipPoolResponse_coipPool
- Information about the CoIP address pool.
$sel:httpStatus:DeleteCoipPoolResponse'
, deleteCoipPoolResponse_httpStatus
- The response's http status code.
Response Lenses
deleteCoipPoolResponse_coipPool :: Lens' DeleteCoipPoolResponse (Maybe CoipPool) Source #
Information about the CoIP address pool.
deleteCoipPoolResponse_httpStatus :: Lens' DeleteCoipPoolResponse Int Source #
The response's http status code.