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.
- data RestoreAddressToClassic
- restoreAddressToClassic :: Text -> RestoreAddressToClassic
- ratcDryRun :: Lens' RestoreAddressToClassic (Maybe Bool)
- ratcPublicIp :: Lens' RestoreAddressToClassic Text
- data RestoreAddressToClassicResponse
- restoreAddressToClassicResponse :: RestoreAddressToClassicResponse
- ratcrPublicIp :: Lens' RestoreAddressToClassicResponse (Maybe Text)
- ratcrStatus :: Lens' RestoreAddressToClassicResponse (Maybe AddressStatus)
Request
data RestoreAddressToClassic Source
Request constructor
restoreAddressToClassic Source
RestoreAddressToClassic
constructor.
The fields accessible through corresponding lenses are:
ratcDryRun
::
Maybe
Bool
ratcPublicIp
::
Text
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.
Response
Response constructor
restoreAddressToClassicResponse :: RestoreAddressToClassicResponse Source
RestoreAddressToClassicResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
ratcrPublicIp :: Lens' RestoreAddressToClassicResponse (Maybe Text) Source
The Elastic IP address.
ratcrStatus :: Lens' RestoreAddressToClassicResponse (Maybe AddressStatus) Source
The move status for the IP address.