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 |
Stops advertising an address range that is provisioned as an address pool.
You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.
It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because of BGP propagation delays.
Synopsis
- data WithdrawByoipCidr = WithdrawByoipCidr' {}
- newWithdrawByoipCidr :: Text -> WithdrawByoipCidr
- withdrawByoipCidr_dryRun :: Lens' WithdrawByoipCidr (Maybe Bool)
- withdrawByoipCidr_cidr :: Lens' WithdrawByoipCidr Text
- data WithdrawByoipCidrResponse = WithdrawByoipCidrResponse' {
- byoipCidr :: Maybe ByoipCidr
- httpStatus :: Int
- newWithdrawByoipCidrResponse :: Int -> WithdrawByoipCidrResponse
- withdrawByoipCidrResponse_byoipCidr :: Lens' WithdrawByoipCidrResponse (Maybe ByoipCidr)
- withdrawByoipCidrResponse_httpStatus :: Lens' WithdrawByoipCidrResponse Int
Creating a Request
data WithdrawByoipCidr Source #
See: newWithdrawByoipCidr
smart constructor.
WithdrawByoipCidr' | |
|
Instances
Create a value of WithdrawByoipCidr
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:WithdrawByoipCidr'
, withdrawByoipCidr_dryRun
- Checks 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
.
WithdrawByoipCidr
, withdrawByoipCidr_cidr
- The address range, in CIDR notation.
Request Lenses
withdrawByoipCidr_dryRun :: Lens' WithdrawByoipCidr (Maybe Bool) Source #
Checks 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
.
withdrawByoipCidr_cidr :: Lens' WithdrawByoipCidr Text Source #
The address range, in CIDR notation.
Destructuring the Response
data WithdrawByoipCidrResponse Source #
See: newWithdrawByoipCidrResponse
smart constructor.
WithdrawByoipCidrResponse' | |
|
Instances
newWithdrawByoipCidrResponse Source #
Create a value of WithdrawByoipCidrResponse
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:WithdrawByoipCidrResponse'
, withdrawByoipCidrResponse_byoipCidr
- Information about the address pool.
$sel:httpStatus:WithdrawByoipCidrResponse'
, withdrawByoipCidrResponse_httpStatus
- The response's http status code.
Response Lenses
withdrawByoipCidrResponse_byoipCidr :: Lens' WithdrawByoipCidrResponse (Maybe ByoipCidr) Source #
Information about the address pool.
withdrawByoipCidrResponse_httpStatus :: Lens' WithdrawByoipCidrResponse Int Source #
The response's http status code.