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

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

Description

Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.

Synopsis

# Creating a Request

Arguments

 :: Text ratcPublicIP -> RestoreAddressToClassic

Creates a value of RestoreAddressToClassic with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

See: restoreAddressToClassic 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 ratcrsResponseStatus -> RestoreAddressToClassicResponse

Creates a value of RestoreAddressToClassicResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• ratcrsStatus - The move status for the IP address.
• ratcrsPublicIP - The Elastic IP address.
• ratcrsResponseStatus - -- | The response status code.

See: restoreAddressToClassicResponse smart constructor.