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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.RestoreAddressToClassic

Contents

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. 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.

Synopsis

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.

Instances

Eq RestoreAddressToClassic Source # 
Data RestoreAddressToClassic Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RestoreAddressToClassic -> c RestoreAddressToClassic #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RestoreAddressToClassic #

toConstr :: RestoreAddressToClassic -> Constr #

dataTypeOf :: RestoreAddressToClassic -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RestoreAddressToClassic) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RestoreAddressToClassic) #

gmapT :: (forall b. Data b => b -> b) -> RestoreAddressToClassic -> RestoreAddressToClassic #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RestoreAddressToClassic -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RestoreAddressToClassic -> r #

gmapQ :: (forall d. Data d => d -> u) -> RestoreAddressToClassic -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RestoreAddressToClassic -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RestoreAddressToClassic -> m RestoreAddressToClassic #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RestoreAddressToClassic -> m RestoreAddressToClassic #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RestoreAddressToClassic -> m RestoreAddressToClassic #

Read RestoreAddressToClassic Source # 
Show RestoreAddressToClassic Source # 
Generic RestoreAddressToClassic Source # 
Hashable RestoreAddressToClassic Source # 
NFData RestoreAddressToClassic Source # 

Methods

rnf :: RestoreAddressToClassic -> () #

AWSRequest RestoreAddressToClassic Source # 
ToQuery RestoreAddressToClassic Source # 
ToPath RestoreAddressToClassic Source # 
ToHeaders RestoreAddressToClassic Source # 
type Rep RestoreAddressToClassic Source # 
type Rep RestoreAddressToClassic = D1 (MetaData "RestoreAddressToClassic" "Network.AWS.EC2.RestoreAddressToClassic" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "RestoreAddressToClassic'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ratcDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ratcPublicIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs RestoreAddressToClassic Source # 

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.

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.

Instances

Eq RestoreAddressToClassicResponse Source # 
Data RestoreAddressToClassicResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RestoreAddressToClassicResponse -> c RestoreAddressToClassicResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RestoreAddressToClassicResponse #

toConstr :: RestoreAddressToClassicResponse -> Constr #

dataTypeOf :: RestoreAddressToClassicResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RestoreAddressToClassicResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RestoreAddressToClassicResponse) #

gmapT :: (forall b. Data b => b -> b) -> RestoreAddressToClassicResponse -> RestoreAddressToClassicResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RestoreAddressToClassicResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RestoreAddressToClassicResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RestoreAddressToClassicResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RestoreAddressToClassicResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RestoreAddressToClassicResponse -> m RestoreAddressToClassicResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RestoreAddressToClassicResponse -> m RestoreAddressToClassicResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RestoreAddressToClassicResponse -> m RestoreAddressToClassicResponse #

Read RestoreAddressToClassicResponse Source # 
Show RestoreAddressToClassicResponse Source # 
Generic RestoreAddressToClassicResponse Source # 
NFData RestoreAddressToClassicResponse Source # 
type Rep RestoreAddressToClassicResponse Source # 
type Rep RestoreAddressToClassicResponse = D1 (MetaData "RestoreAddressToClassicResponse" "Network.AWS.EC2.RestoreAddressToClassic" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "RestoreAddressToClassicResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ratcrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AddressStatus))) ((:*:) (S1 (MetaSel (Just Symbol "_ratcrsPublicIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ratcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses