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 |
Move an BYOIP IPv4 CIDR to IPAM from a public IPv4 pool.
If you already have an IPv4 BYOIP CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.
Synopsis
- data MoveByoipCidrToIpam = MoveByoipCidrToIpam' {
- dryRun :: Maybe Bool
- cidr :: Text
- ipamPoolId :: Text
- ipamPoolOwner :: Text
- newMoveByoipCidrToIpam :: Text -> Text -> Text -> MoveByoipCidrToIpam
- moveByoipCidrToIpam_dryRun :: Lens' MoveByoipCidrToIpam (Maybe Bool)
- moveByoipCidrToIpam_cidr :: Lens' MoveByoipCidrToIpam Text
- moveByoipCidrToIpam_ipamPoolId :: Lens' MoveByoipCidrToIpam Text
- moveByoipCidrToIpam_ipamPoolOwner :: Lens' MoveByoipCidrToIpam Text
- data MoveByoipCidrToIpamResponse = MoveByoipCidrToIpamResponse' {
- byoipCidr :: Maybe ByoipCidr
- httpStatus :: Int
- newMoveByoipCidrToIpamResponse :: Int -> MoveByoipCidrToIpamResponse
- moveByoipCidrToIpamResponse_byoipCidr :: Lens' MoveByoipCidrToIpamResponse (Maybe ByoipCidr)
- moveByoipCidrToIpamResponse_httpStatus :: Lens' MoveByoipCidrToIpamResponse Int
Creating a Request
data MoveByoipCidrToIpam Source #
See: newMoveByoipCidrToIpam
smart constructor.
MoveByoipCidrToIpam' | |
|
Instances
newMoveByoipCidrToIpam Source #
:: Text | |
-> Text | |
-> Text | |
-> MoveByoipCidrToIpam |
Create a value of MoveByoipCidrToIpam
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:MoveByoipCidrToIpam'
, moveByoipCidrToIpam_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
.
MoveByoipCidrToIpam
, moveByoipCidrToIpam_cidr
- The BYOIP CIDR.
MoveByoipCidrToIpam
, moveByoipCidrToIpam_ipamPoolId
- The IPAM pool ID.
$sel:ipamPoolOwner:MoveByoipCidrToIpam'
, moveByoipCidrToIpam_ipamPoolOwner
- The Amazon Web Services account ID of the owner of the IPAM pool.
Request Lenses
moveByoipCidrToIpam_dryRun :: Lens' MoveByoipCidrToIpam (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
.
moveByoipCidrToIpam_cidr :: Lens' MoveByoipCidrToIpam Text Source #
The BYOIP CIDR.
moveByoipCidrToIpam_ipamPoolId :: Lens' MoveByoipCidrToIpam Text Source #
The IPAM pool ID.
moveByoipCidrToIpam_ipamPoolOwner :: Lens' MoveByoipCidrToIpam Text Source #
The Amazon Web Services account ID of the owner of the IPAM pool.
Destructuring the Response
data MoveByoipCidrToIpamResponse Source #
See: newMoveByoipCidrToIpamResponse
smart constructor.
MoveByoipCidrToIpamResponse' | |
|
Instances
newMoveByoipCidrToIpamResponse Source #
Create a value of MoveByoipCidrToIpamResponse
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:MoveByoipCidrToIpamResponse'
, moveByoipCidrToIpamResponse_byoipCidr
- The BYOIP CIDR.
$sel:httpStatus:MoveByoipCidrToIpamResponse'
, moveByoipCidrToIpamResponse_httpStatus
- The response's http status code.
Response Lenses
moveByoipCidrToIpamResponse_byoipCidr :: Lens' MoveByoipCidrToIpamResponse (Maybe ByoipCidr) Source #
The BYOIP CIDR.
moveByoipCidrToIpamResponse_httpStatus :: Lens' MoveByoipCidrToIpamResponse Int Source #
The response's http status code.