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 |
Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only.
Synopsis
- data DeletePublicIpv4Pool = DeletePublicIpv4Pool' {}
- newDeletePublicIpv4Pool :: Text -> DeletePublicIpv4Pool
- deletePublicIpv4Pool_dryRun :: Lens' DeletePublicIpv4Pool (Maybe Bool)
- deletePublicIpv4Pool_poolId :: Lens' DeletePublicIpv4Pool Text
- data DeletePublicIpv4PoolResponse = DeletePublicIpv4PoolResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newDeletePublicIpv4PoolResponse :: Int -> DeletePublicIpv4PoolResponse
- deletePublicIpv4PoolResponse_returnValue :: Lens' DeletePublicIpv4PoolResponse (Maybe Bool)
- deletePublicIpv4PoolResponse_httpStatus :: Lens' DeletePublicIpv4PoolResponse Int
Creating a Request
data DeletePublicIpv4Pool Source #
See: newDeletePublicIpv4Pool
smart constructor.
DeletePublicIpv4Pool' | |
|
Instances
newDeletePublicIpv4Pool Source #
Create a value of DeletePublicIpv4Pool
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:DeletePublicIpv4Pool'
, deletePublicIpv4Pool_dryRun
- A check for 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
.
DeletePublicIpv4Pool
, deletePublicIpv4Pool_poolId
- The ID of the public IPv4 pool you want to delete.
Request Lenses
deletePublicIpv4Pool_dryRun :: Lens' DeletePublicIpv4Pool (Maybe Bool) Source #
A check for 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
.
deletePublicIpv4Pool_poolId :: Lens' DeletePublicIpv4Pool Text Source #
The ID of the public IPv4 pool you want to delete.
Destructuring the Response
data DeletePublicIpv4PoolResponse Source #
See: newDeletePublicIpv4PoolResponse
smart constructor.
DeletePublicIpv4PoolResponse' | |
|
Instances
newDeletePublicIpv4PoolResponse Source #
Create a value of DeletePublicIpv4PoolResponse
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:returnValue:DeletePublicIpv4PoolResponse'
, deletePublicIpv4PoolResponse_returnValue
- Information about the result of deleting the public IPv4 pool.
$sel:httpStatus:DeletePublicIpv4PoolResponse'
, deletePublicIpv4PoolResponse_httpStatus
- The response's http status code.
Response Lenses
deletePublicIpv4PoolResponse_returnValue :: Lens' DeletePublicIpv4PoolResponse (Maybe Bool) Source #
Information about the result of deleting the public IPv4 pool.
deletePublicIpv4PoolResponse_httpStatus :: Lens' DeletePublicIpv4PoolResponse Int Source #
The response's http status code.