amazonka-opsworks-1.4.3: Amazon OpsWorks 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.OpsWorks.RegisterElasticIP

Contents

Description

Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Synopsis

Creating a Request

registerElasticIP Source #

Creates a value of RegisterElasticIP with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RegisterElasticIP Source #

See: registerElasticIP smart constructor.

Instances

Eq RegisterElasticIP Source # 
Data RegisterElasticIP Source # 

Methods

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

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

toConstr :: RegisterElasticIP -> Constr #

dataTypeOf :: RegisterElasticIP -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterElasticIP Source # 
Show RegisterElasticIP Source # 
Generic RegisterElasticIP Source # 
Hashable RegisterElasticIP Source # 
ToJSON RegisterElasticIP Source # 
NFData RegisterElasticIP Source # 

Methods

rnf :: RegisterElasticIP -> () #

AWSRequest RegisterElasticIP Source # 
ToQuery RegisterElasticIP Source # 
ToPath RegisterElasticIP Source # 
ToHeaders RegisterElasticIP Source # 
type Rep RegisterElasticIP Source # 
type Rep RegisterElasticIP = D1 (MetaData "RegisterElasticIP" "Network.AWS.OpsWorks.RegisterElasticIP" "amazonka-opsworks-1.4.3-BeJH4daCH1TAzAUbiglv2L" False) (C1 (MetaCons "RegisterElasticIP'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_reiElasticIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_reiStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs RegisterElasticIP Source # 

Request Lenses

reiElasticIP :: Lens' RegisterElasticIP Text Source #

The Elastic IP address.

Destructuring the Response

registerElasticIPResponse Source #

Creates a value of RegisterElasticIPResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RegisterElasticIPResponse Source #

Contains the response to a RegisterElasticIp request.

See: registerElasticIPResponse smart constructor.

Instances

Eq RegisterElasticIPResponse Source # 
Data RegisterElasticIPResponse Source # 

Methods

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

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

toConstr :: RegisterElasticIPResponse -> Constr #

dataTypeOf :: RegisterElasticIPResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterElasticIPResponse Source # 
Show RegisterElasticIPResponse Source # 
Generic RegisterElasticIPResponse Source # 
NFData RegisterElasticIPResponse Source # 
type Rep RegisterElasticIPResponse Source # 
type Rep RegisterElasticIPResponse = D1 (MetaData "RegisterElasticIPResponse" "Network.AWS.OpsWorks.RegisterElasticIP" "amazonka-opsworks-1.4.3-BeJH4daCH1TAzAUbiglv2L" False) (C1 (MetaCons "RegisterElasticIPResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_reirsElasticIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_reirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses