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 an IPAM pool. You can use this action to provision new CIDRs to a top-level pool or to transfer a CIDR from a top-level pool to a pool within it.
For more information, see Provision CIDRs to pools in the Amazon VPC IPAM User Guide.
Synopsis
- data ProvisionIpamPoolCidr = ProvisionIpamPoolCidr' {}
- newProvisionIpamPoolCidr :: Text -> ProvisionIpamPoolCidr
- provisionIpamPoolCidr_cidr :: Lens' ProvisionIpamPoolCidr (Maybe Text)
- provisionIpamPoolCidr_cidrAuthorizationContext :: Lens' ProvisionIpamPoolCidr (Maybe IpamCidrAuthorizationContext)
- provisionIpamPoolCidr_dryRun :: Lens' ProvisionIpamPoolCidr (Maybe Bool)
- provisionIpamPoolCidr_ipamPoolId :: Lens' ProvisionIpamPoolCidr Text
- data ProvisionIpamPoolCidrResponse = ProvisionIpamPoolCidrResponse' {}
- newProvisionIpamPoolCidrResponse :: Int -> ProvisionIpamPoolCidrResponse
- provisionIpamPoolCidrResponse_ipamPoolCidr :: Lens' ProvisionIpamPoolCidrResponse (Maybe IpamPoolCidr)
- provisionIpamPoolCidrResponse_httpStatus :: Lens' ProvisionIpamPoolCidrResponse Int
Creating a Request
data ProvisionIpamPoolCidr Source #
See: newProvisionIpamPoolCidr
smart constructor.
ProvisionIpamPoolCidr' | |
|
Instances
newProvisionIpamPoolCidr Source #
Create a value of ProvisionIpamPoolCidr
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:
ProvisionIpamPoolCidr
, provisionIpamPoolCidr_cidr
- The CIDR you want to assign to the IPAM pool.
$sel:cidrAuthorizationContext:ProvisionIpamPoolCidr'
, provisionIpamPoolCidr_cidrAuthorizationContext
- A signed document that proves that you are authorized to bring a
specified IP address range to Amazon using BYOIP. This option applies to
public pools only.
$sel:dryRun:ProvisionIpamPoolCidr'
, provisionIpamPoolCidr_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
.
ProvisionIpamPoolCidr
, provisionIpamPoolCidr_ipamPoolId
- The ID of the IPAM pool to which you want to assign a CIDR.
Request Lenses
provisionIpamPoolCidr_cidr :: Lens' ProvisionIpamPoolCidr (Maybe Text) Source #
The CIDR you want to assign to the IPAM pool.
provisionIpamPoolCidr_cidrAuthorizationContext :: Lens' ProvisionIpamPoolCidr (Maybe IpamCidrAuthorizationContext) Source #
A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.
provisionIpamPoolCidr_dryRun :: Lens' ProvisionIpamPoolCidr (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
.
provisionIpamPoolCidr_ipamPoolId :: Lens' ProvisionIpamPoolCidr Text Source #
The ID of the IPAM pool to which you want to assign a CIDR.
Destructuring the Response
data ProvisionIpamPoolCidrResponse Source #
See: newProvisionIpamPoolCidrResponse
smart constructor.
ProvisionIpamPoolCidrResponse' | |
|
Instances
newProvisionIpamPoolCidrResponse Source #
Create a value of ProvisionIpamPoolCidrResponse
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:ipamPoolCidr:ProvisionIpamPoolCidrResponse'
, provisionIpamPoolCidrResponse_ipamPoolCidr
- Information about the provisioned CIDR.
$sel:httpStatus:ProvisionIpamPoolCidrResponse'
, provisionIpamPoolCidrResponse_httpStatus
- The response's http status code.
Response Lenses
provisionIpamPoolCidrResponse_ipamPoolCidr :: Lens' ProvisionIpamPoolCidrResponse (Maybe IpamPoolCidr) Source #
Information about the provisioned CIDR.
provisionIpamPoolCidrResponse_httpStatus :: Lens' ProvisionIpamPoolCidrResponse Int Source #
The response's http status code.