Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The Elastic IP address must be allocated to your account for more than 24 hours, and it must not be associated with an instance. After the Elastic IP address is moved, it is no longer available for use in the EC2-Classic platform, unless you move it back using the RestoreAddressToClassic request. You cannot move an Elastic IP address that was originally allocated for use in the EC2-VPC platform to the EC2-Classic platform. You cannot migrate an Elastic IP address that's associated with a reverse DNS record. Contact AWS account and billing support to remove the reverse DNS record.
- moveAddressToVPC :: Text -> MoveAddressToVPC
- data MoveAddressToVPC
- matvDryRun :: Lens' MoveAddressToVPC (Maybe Bool)
- matvPublicIP :: Lens' MoveAddressToVPC Text
- moveAddressToVPCResponse :: Int -> MoveAddressToVPCResponse
- data MoveAddressToVPCResponse
- matvrsStatus :: Lens' MoveAddressToVPCResponse (Maybe AddressStatus)
- matvrsAllocationId :: Lens' MoveAddressToVPCResponse (Maybe Text)
- matvrsResponseStatus :: Lens' MoveAddressToVPCResponse Int
Creating a Request
Creates a value of MoveAddressToVPC
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MoveAddressToVPC Source #
Contains the parameters for MoveAddressToVpc.
See: moveAddressToVPC
smart constructor.
Request Lenses
matvDryRun :: Lens' MoveAddressToVPC (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
.
matvPublicIP :: Lens' MoveAddressToVPC Text Source #
The Elastic IP address.
Destructuring the Response
moveAddressToVPCResponse Source #
Creates a value of MoveAddressToVPCResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MoveAddressToVPCResponse Source #
Contains the output of MoveAddressToVpc.
See: moveAddressToVPCResponse
smart constructor.
Response Lenses
matvrsStatus :: Lens' MoveAddressToVPCResponse (Maybe AddressStatus) Source #
The status of the move of the IP address.
matvrsAllocationId :: Lens' MoveAddressToVPCResponse (Maybe Text) Source #
The allocation ID for the Elastic IP address.
matvrsResponseStatus :: Lens' MoveAddressToVPCResponse Int Source #
The response status code.