amazonka-lightsail-1.4.5: Amazon Lightsail 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.Lightsail.AttachStaticIP

Contents

Description

Attaches a static IP address to a specific Amazon Lightsail instance.

Synopsis

Creating a Request

attachStaticIP Source #

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

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

data AttachStaticIP Source #

See: attachStaticIP smart constructor.

Instances

Eq AttachStaticIP Source # 
Data AttachStaticIP Source # 

Methods

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

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

toConstr :: AttachStaticIP -> Constr #

dataTypeOf :: AttachStaticIP -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachStaticIP Source # 
Show AttachStaticIP Source # 
Generic AttachStaticIP Source # 

Associated Types

type Rep AttachStaticIP :: * -> * #

Hashable AttachStaticIP Source # 
ToJSON AttachStaticIP Source # 
NFData AttachStaticIP Source # 

Methods

rnf :: AttachStaticIP -> () #

AWSRequest AttachStaticIP Source # 
ToPath AttachStaticIP Source # 
ToHeaders AttachStaticIP Source # 
ToQuery AttachStaticIP Source # 
type Rep AttachStaticIP Source # 
type Rep AttachStaticIP = D1 (MetaData "AttachStaticIP" "Network.AWS.Lightsail.AttachStaticIP" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "AttachStaticIP'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_asipStaticIPName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_asipInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AttachStaticIP Source # 

Request Lenses

asipStaticIPName :: Lens' AttachStaticIP Text Source #

The name of the static IP.

asipInstanceName :: Lens' AttachStaticIP Text Source #

The instance name to which you want to attach the static IP address.

Destructuring the Response

attachStaticIPResponse Source #

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

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

data AttachStaticIPResponse Source #

See: attachStaticIPResponse smart constructor.

Instances

Eq AttachStaticIPResponse Source # 
Data AttachStaticIPResponse Source # 

Methods

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

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

toConstr :: AttachStaticIPResponse -> Constr #

dataTypeOf :: AttachStaticIPResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachStaticIPResponse Source # 
Show AttachStaticIPResponse Source # 
Generic AttachStaticIPResponse Source # 
NFData AttachStaticIPResponse Source # 

Methods

rnf :: AttachStaticIPResponse -> () #

type Rep AttachStaticIPResponse Source # 
type Rep AttachStaticIPResponse = D1 (MetaData "AttachStaticIPResponse" "Network.AWS.Lightsail.AttachStaticIP" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "AttachStaticIPResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_asiprsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))) (S1 (MetaSel (Just Symbol "_asiprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

asiprsOperations :: Lens' AttachStaticIPResponse [Operation] Source #

An array of key-value pairs containing information about your API operations.