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

Copyright (c) 2013-2016 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

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 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.

# Creating a Request

Arguments

 :: Text matvPublicIP -> MoveAddressToVPC

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:

• matvDryRun - 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 - The Elastic IP address.

See: moveAddressToVPC smart constructor.

Instances

# Request Lenses

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 .

# Destructuring the Response

Arguments

 :: Int matvrsResponseStatus -> MoveAddressToVPCResponse

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:

• matvrsStatus - The status of the move of the IP address.
• matvrsAllocationId - The allocation ID for the Elastic IP address.
• matvrsResponseStatus - -- | The response status code.

See: moveAddressToVPCResponse smart constructor.

Instances