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 |
Provision a CIDR to a public IPv4 pool.
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
Synopsis
- data ProvisionPublicIpv4PoolCidr = ProvisionPublicIpv4PoolCidr' {
- dryRun :: Maybe Bool
- ipamPoolId :: Text
- poolId :: Text
- netmaskLength :: Int
- newProvisionPublicIpv4PoolCidr :: Text -> Text -> Int -> ProvisionPublicIpv4PoolCidr
- provisionPublicIpv4PoolCidr_dryRun :: Lens' ProvisionPublicIpv4PoolCidr (Maybe Bool)
- provisionPublicIpv4PoolCidr_ipamPoolId :: Lens' ProvisionPublicIpv4PoolCidr Text
- provisionPublicIpv4PoolCidr_poolId :: Lens' ProvisionPublicIpv4PoolCidr Text
- provisionPublicIpv4PoolCidr_netmaskLength :: Lens' ProvisionPublicIpv4PoolCidr Int
- data ProvisionPublicIpv4PoolCidrResponse = ProvisionPublicIpv4PoolCidrResponse' {}
- newProvisionPublicIpv4PoolCidrResponse :: Int -> ProvisionPublicIpv4PoolCidrResponse
- provisionPublicIpv4PoolCidrResponse_poolAddressRange :: Lens' ProvisionPublicIpv4PoolCidrResponse (Maybe PublicIpv4PoolRange)
- provisionPublicIpv4PoolCidrResponse_poolId :: Lens' ProvisionPublicIpv4PoolCidrResponse (Maybe Text)
- provisionPublicIpv4PoolCidrResponse_httpStatus :: Lens' ProvisionPublicIpv4PoolCidrResponse Int
Creating a Request
data ProvisionPublicIpv4PoolCidr Source #
See: newProvisionPublicIpv4PoolCidr
smart constructor.
ProvisionPublicIpv4PoolCidr' | |
|
Instances
newProvisionPublicIpv4PoolCidr Source #
:: Text | |
-> Text | |
-> Int | |
-> ProvisionPublicIpv4PoolCidr |
Create a value of ProvisionPublicIpv4PoolCidr
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:ProvisionPublicIpv4PoolCidr'
, provisionPublicIpv4PoolCidr_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
.
ProvisionPublicIpv4PoolCidr
, provisionPublicIpv4PoolCidr_ipamPoolId
- The ID of the IPAM pool you would like to use to allocate this CIDR.
ProvisionPublicIpv4PoolCidr
, provisionPublicIpv4PoolCidr_poolId
- The ID of the public IPv4 pool you would like to use for this CIDR.
$sel:netmaskLength:ProvisionPublicIpv4PoolCidr'
, provisionPublicIpv4PoolCidr_netmaskLength
- The netmask length of the CIDR you would like to allocate to the public
IPv4 pool.
Request Lenses
provisionPublicIpv4PoolCidr_dryRun :: Lens' ProvisionPublicIpv4PoolCidr (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
.
provisionPublicIpv4PoolCidr_ipamPoolId :: Lens' ProvisionPublicIpv4PoolCidr Text Source #
The ID of the IPAM pool you would like to use to allocate this CIDR.
provisionPublicIpv4PoolCidr_poolId :: Lens' ProvisionPublicIpv4PoolCidr Text Source #
The ID of the public IPv4 pool you would like to use for this CIDR.
provisionPublicIpv4PoolCidr_netmaskLength :: Lens' ProvisionPublicIpv4PoolCidr Int Source #
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
Destructuring the Response
data ProvisionPublicIpv4PoolCidrResponse Source #
See: newProvisionPublicIpv4PoolCidrResponse
smart constructor.
ProvisionPublicIpv4PoolCidrResponse' | |
|
Instances
newProvisionPublicIpv4PoolCidrResponse Source #
Create a value of ProvisionPublicIpv4PoolCidrResponse
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:poolAddressRange:ProvisionPublicIpv4PoolCidrResponse'
, provisionPublicIpv4PoolCidrResponse_poolAddressRange
- Information about the address range of the public IPv4 pool.
ProvisionPublicIpv4PoolCidr
, provisionPublicIpv4PoolCidrResponse_poolId
- The ID of the pool that you want to provision the CIDR to.
$sel:httpStatus:ProvisionPublicIpv4PoolCidrResponse'
, provisionPublicIpv4PoolCidrResponse_httpStatus
- The response's http status code.
Response Lenses
provisionPublicIpv4PoolCidrResponse_poolAddressRange :: Lens' ProvisionPublicIpv4PoolCidrResponse (Maybe PublicIpv4PoolRange) Source #
Information about the address range of the public IPv4 pool.
provisionPublicIpv4PoolCidrResponse_poolId :: Lens' ProvisionPublicIpv4PoolCidrResponse (Maybe Text) Source #
The ID of the pool that you want to provision the CIDR to.
provisionPublicIpv4PoolCidrResponse_httpStatus :: Lens' ProvisionPublicIpv4PoolCidrResponse Int Source #
The response's http status code.