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.
- 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:
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 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:
ratcrsStatus
- The move status for the IP address.ratcrsPublicIP
- The Elastic IP address.ratcrsResponseStatus
- -- | The response status code.
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.