amazonka-opsworks-1.4.1: 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.AssociateElasticIP

Contents

Description

Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. 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

associateElasticIP Source #

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

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

data AssociateElasticIP Source #

See: associateElasticIP smart constructor.

Instances

Eq AssociateElasticIP Source # 
Data AssociateElasticIP Source # 

Methods

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

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

toConstr :: AssociateElasticIP -> Constr #

dataTypeOf :: AssociateElasticIP -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AssociateElasticIP -> () #

AWSRequest AssociateElasticIP Source # 
ToQuery AssociateElasticIP Source # 
ToPath AssociateElasticIP Source # 
ToHeaders AssociateElasticIP Source # 
type Rep AssociateElasticIP Source # 
type Rep AssociateElasticIP = D1 (MetaData "AssociateElasticIP" "Network.AWS.OpsWorks.AssociateElasticIP" "amazonka-opsworks-1.4.1-6ic3q3aiZgSC49XaBqQsUD" False) (C1 (MetaCons "AssociateElasticIP'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aeiInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aeiElasticIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AssociateElasticIP Source # 

Request Lenses

aeiElasticIP :: Lens' AssociateElasticIP Text Source #

The Elastic IP address.

Destructuring the Response

associateElasticIPResponse :: AssociateElasticIPResponse Source #

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

data AssociateElasticIPResponse Source #

See: associateElasticIPResponse smart constructor.

Instances

Eq AssociateElasticIPResponse Source # 
Data AssociateElasticIPResponse Source # 

Methods

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

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

toConstr :: AssociateElasticIPResponse -> Constr #

dataTypeOf :: AssociateElasticIPResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateElasticIPResponse Source # 
Show AssociateElasticIPResponse Source # 
Generic AssociateElasticIPResponse Source # 
NFData AssociateElasticIPResponse Source # 
type Rep AssociateElasticIPResponse Source # 
type Rep AssociateElasticIPResponse = D1 (MetaData "AssociateElasticIPResponse" "Network.AWS.OpsWorks.AssociateElasticIP" "amazonka-opsworks-1.4.1-6ic3q3aiZgSC49XaBqQsUD" False) (C1 (MetaCons "AssociateElasticIPResponse'" PrefixI False) U1)