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

Contents

Description

Allocates a static IP address.

Synopsis

Creating a Request

allocateStaticIP Source #

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

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

data AllocateStaticIP Source #

See: allocateStaticIP smart constructor.

Instances
Eq AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Data AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Methods

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

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

toConstr :: AllocateStaticIP -> Constr #

dataTypeOf :: AllocateStaticIP -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Show AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Generic AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Associated Types

type Rep AllocateStaticIP :: Type -> Type #

Hashable AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

ToJSON AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

AWSRequest AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Associated Types

type Rs AllocateStaticIP :: Type #

ToHeaders AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

ToPath AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

ToQuery AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

NFData AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Methods

rnf :: AllocateStaticIP -> () #

type Rep AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

type Rep AllocateStaticIP = D1 (MetaData "AllocateStaticIP" "Network.AWS.Lightsail.AllocateStaticIP" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "AllocateStaticIP'" PrefixI True) (S1 (MetaSel (Just "_asiStaticIPName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs AllocateStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Request Lenses

asiStaticIPName :: Lens' AllocateStaticIP Text Source #

The name of the static IP address.

Destructuring the Response

allocateStaticIPResponse Source #

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

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

data AllocateStaticIPResponse Source #

See: allocateStaticIPResponse smart constructor.

Instances
Eq AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Data AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Methods

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

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

toConstr :: AllocateStaticIPResponse -> Constr #

dataTypeOf :: AllocateStaticIPResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Show AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Generic AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

Associated Types

type Rep AllocateStaticIPResponse :: Type -> Type #

NFData AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

type Rep AllocateStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AllocateStaticIP

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

Response Lenses

asirsOperations :: Lens' AllocateStaticIPResponse [Operation] Source #

An array of key-value pairs containing information about the static IP address you allocated.