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 |
Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays.
To stop advertising the BYOIP address range, use WithdrawByoipCidr.
For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
Synopsis
- data AdvertiseByoipCidr = AdvertiseByoipCidr' {}
- newAdvertiseByoipCidr :: Text -> AdvertiseByoipCidr
- advertiseByoipCidr_cidr :: Lens' AdvertiseByoipCidr Text
- data AdvertiseByoipCidrResponse = AdvertiseByoipCidrResponse' {
- byoipCidr :: Maybe ByoipCidr
- httpStatus :: Int
- newAdvertiseByoipCidrResponse :: Int -> AdvertiseByoipCidrResponse
- advertiseByoipCidrResponse_byoipCidr :: Lens' AdvertiseByoipCidrResponse (Maybe ByoipCidr)
- advertiseByoipCidrResponse_httpStatus :: Lens' AdvertiseByoipCidrResponse Int
Creating a Request
data AdvertiseByoipCidr Source #
See: newAdvertiseByoipCidr
smart constructor.
Instances
newAdvertiseByoipCidr Source #
Create a value of AdvertiseByoipCidr
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:AdvertiseByoipCidr'
, advertiseByoipCidr_cidr
- The address range, in CIDR notation. This must be the exact range that
you provisioned. You can't advertise only a portion of the provisioned
range.
Request Lenses
advertiseByoipCidr_cidr :: Lens' AdvertiseByoipCidr Text Source #
The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.
Destructuring the Response
data AdvertiseByoipCidrResponse Source #
See: newAdvertiseByoipCidrResponse
smart constructor.
AdvertiseByoipCidrResponse' | |
|
Instances
newAdvertiseByoipCidrResponse Source #
Create a value of AdvertiseByoipCidrResponse
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:AdvertiseByoipCidrResponse'
, advertiseByoipCidrResponse_byoipCidr
- Information about the address range.
$sel:httpStatus:AdvertiseByoipCidrResponse'
, advertiseByoipCidrResponse_httpStatus
- The response's http status code.
Response Lenses
advertiseByoipCidrResponse_byoipCidr :: Lens' AdvertiseByoipCidrResponse (Maybe ByoipCidr) Source #
Information about the address range.
advertiseByoipCidrResponse_httpStatus :: Lens' AdvertiseByoipCidrResponse Int Source #
The response's http status code.