amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.MoveAddressToVpc

Contents

Description

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, 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's allocated for use in the EC2-VPC platform to the EC2-Classic platform.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-MoveAddressToVpc.html

Synopsis

Request

Request constructor

moveAddressToVpc Source

MoveAddressToVpc constructor.

The fields accessible through corresponding lenses are:

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.

Response

Response constructor

Response lenses

matvrAllocationId :: Lens' MoveAddressToVpcResponse (Maybe Text) Source

The allocation ID for the Elastic IP address.

matvrStatus :: Lens' MoveAddressToVpcResponse (Maybe AddressStatus) Source

The status of the move of the IP address.