amazonka-lightsail-1.6.1: Amazon Lightsail SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Data AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Show AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Generic AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Associated Types

type Rep AttachStaticIP :: Type -> Type #

Hashable AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

ToJSON AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

AWSRequest AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Associated Types

type Rs AttachStaticIP :: Type #

ToHeaders AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

ToPath AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

ToQuery AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

NFData AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Methods

rnf :: AttachStaticIP -> () #

type Rep AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

type Rep AttachStaticIP = D1 (MetaData "AttachStaticIP" "Network.AWS.Lightsail.AttachStaticIP" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "AttachStaticIP'" PrefixI True) (S1 (MetaSel (Just "_asipStaticIPName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asipInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs AttachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Data AttachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Show AttachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Generic AttachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Associated Types

type Rep AttachStaticIPResponse :: Type -> Type #

NFData AttachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

Methods

rnf :: AttachStaticIPResponse -> () #

type Rep AttachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachStaticIP

type Rep AttachStaticIPResponse = D1 (MetaData "AttachStaticIPResponse" "Network.AWS.Lightsail.AttachStaticIP" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "AttachStaticIPResponse'" PrefixI True) (S1 (MetaSel (Just "_asiprsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 (MetaSel (Just "_asiprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

asiprsOperations :: Lens' AttachStaticIPResponse [Operation] Source #

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