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 |
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. You cannot restore an Elastic IP address that's associated with a reverse DNS record. Contact AWS account and billing support to remove the reverse DNS record.
- restoreAddressToClassic :: Text -> RestoreAddressToClassic
- data RestoreAddressToClassic
- ratcDryRun :: Lens' RestoreAddressToClassic (Maybe Bool)
- ratcPublicIP :: Lens' RestoreAddressToClassic Text
- restoreAddressToClassicResponse :: Int -> RestoreAddressToClassicResponse
- data RestoreAddressToClassicResponse
- ratcrsStatus :: Lens' RestoreAddressToClassicResponse (Maybe AddressStatus)
- ratcrsPublicIP :: Lens' RestoreAddressToClassicResponse (Maybe Text)
- ratcrsResponseStatus :: Lens' RestoreAddressToClassicResponse Int
Creating a Request
restoreAddressToClassic Source #
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:
data RestoreAddressToClassic Source #
Contains the parameters for RestoreAddressToClassic.
See: restoreAddressToClassic
smart constructor.
Request Lenses
ratcDryRun :: Lens' RestoreAddressToClassic (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
.
ratcPublicIP :: Lens' RestoreAddressToClassic Text Source #
The Elastic IP address.
Destructuring the Response
restoreAddressToClassicResponse Source #
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:
data RestoreAddressToClassicResponse Source #
Contains the output of RestoreAddressToClassic.
See: restoreAddressToClassicResponse
smart constructor.
Response Lenses
ratcrsStatus :: Lens' RestoreAddressToClassicResponse (Maybe AddressStatus) Source #
The move status for the IP address.
ratcrsPublicIP :: Lens' RestoreAddressToClassicResponse (Maybe Text) Source #
The Elastic IP address.
ratcrsResponseStatus :: Lens' RestoreAddressToClassicResponse Int Source #
The response status code.