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, 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
- data MoveAddressToVpc
- moveAddressToVpc :: Text -> MoveAddressToVpc
- matvDryRun :: Lens' MoveAddressToVpc (Maybe Bool)
- matvPublicIp :: Lens' MoveAddressToVpc Text
- data MoveAddressToVpcResponse
- moveAddressToVpcResponse :: MoveAddressToVpcResponse
- matvrAllocationId :: Lens' MoveAddressToVpcResponse (Maybe Text)
- matvrStatus :: Lens' MoveAddressToVpcResponse (Maybe AddressStatus)
Request
data MoveAddressToVpc Source
Request constructor
MoveAddressToVpc
constructor.
The fields accessible through corresponding lenses are:
matvDryRun
::
Maybe
Bool
matvPublicIp
::
Text
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
moveAddressToVpcResponse :: MoveAddressToVpcResponse Source
MoveAddressToVpcResponse
constructor.
The fields accessible through corresponding lenses are:
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.