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 |
Network.AWS.EC2.RestoreAddressToClassic
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.
- 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
Arguments
:: Text | |
-> 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.ratcPublicIP
- The Elastic IP address.
data RestoreAddressToClassic #
Contains the parameters for RestoreAddressToClassic.
See: restoreAddressToClassic
smart constructor.
Instances
Request Lenses
ratcDryRun :: Lens' RestoreAddressToClassic (Maybe Bool) #
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 #
The Elastic IP address.
Destructuring the Response
restoreAddressToClassicResponse #
Arguments
:: Int | |
-> 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.
data RestoreAddressToClassicResponse #
Contains the output of RestoreAddressToClassic.
See: restoreAddressToClassicResponse
smart constructor.
Response Lenses
ratcrsStatus :: Lens' RestoreAddressToClassicResponse (Maybe AddressStatus) #
The move status for the IP address.
ratcrsPublicIP :: Lens' RestoreAddressToClassicResponse (Maybe Text) #
The Elastic IP address.
ratcrsResponseStatus :: Lens' RestoreAddressToClassicResponse Int #
- - | The response status code.