Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Provisions an IP address range to use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr.
For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
Synopsis
- data ProvisionByoipCidr = ProvisionByoipCidr' {}
- newProvisionByoipCidr :: Text -> CidrAuthorizationContext -> ProvisionByoipCidr
- provisionByoipCidr_cidr :: Lens' ProvisionByoipCidr Text
- provisionByoipCidr_cidrAuthorizationContext :: Lens' ProvisionByoipCidr CidrAuthorizationContext
- data ProvisionByoipCidrResponse = ProvisionByoipCidrResponse' {
- byoipCidr :: Maybe ByoipCidr
- httpStatus :: Int
- newProvisionByoipCidrResponse :: Int -> ProvisionByoipCidrResponse
- provisionByoipCidrResponse_byoipCidr :: Lens' ProvisionByoipCidrResponse (Maybe ByoipCidr)
- provisionByoipCidrResponse_httpStatus :: Lens' ProvisionByoipCidrResponse Int
Creating a Request
data ProvisionByoipCidr Source #
See: newProvisionByoipCidr
smart constructor.
ProvisionByoipCidr' | |
|
Instances
newProvisionByoipCidr Source #
Create a value of ProvisionByoipCidr
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:cidr:ProvisionByoipCidr'
, provisionByoipCidr_cidr
- The public IPv4 address range, in CIDR notation. The most specific IP
prefix that you can specify is /24. The address range cannot overlap
with another address range that you've brought to this or another
Region.
$sel:cidrAuthorizationContext:ProvisionByoipCidr'
, provisionByoipCidr_cidrAuthorizationContext
- A signed document that proves that you are authorized to bring the
specified IP address range to Amazon using BYOIP.
Request Lenses
provisionByoipCidr_cidr :: Lens' ProvisionByoipCidr Text Source #
The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can specify is /24. The address range cannot overlap with another address range that you've brought to this or another Region.
provisionByoipCidr_cidrAuthorizationContext :: Lens' ProvisionByoipCidr CidrAuthorizationContext Source #
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
Destructuring the Response
data ProvisionByoipCidrResponse Source #
See: newProvisionByoipCidrResponse
smart constructor.
ProvisionByoipCidrResponse' | |
|
Instances
newProvisionByoipCidrResponse Source #
Create a value of ProvisionByoipCidrResponse
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:byoipCidr:ProvisionByoipCidrResponse'
, provisionByoipCidrResponse_byoipCidr
- Information about the address range.
$sel:httpStatus:ProvisionByoipCidrResponse'
, provisionByoipCidrResponse_httpStatus
- The response's http status code.
Response Lenses
provisionByoipCidrResponse_byoipCidr :: Lens' ProvisionByoipCidrResponse (Maybe ByoipCidr) Source #
Information about the address range.
provisionByoipCidrResponse_httpStatus :: Lens' ProvisionByoipCidrResponse Int Source #
The response's http status code.