amazonka-lightsail-1.6.0: 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 # 
Data AllocateStaticIP Source # 

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 # 
Show AllocateStaticIP Source # 
Generic AllocateStaticIP Source # 
Hashable AllocateStaticIP Source # 
ToJSON AllocateStaticIP Source # 
NFData AllocateStaticIP Source # 

Methods

rnf :: AllocateStaticIP -> () #

AWSRequest AllocateStaticIP Source # 
ToHeaders AllocateStaticIP Source # 
ToPath AllocateStaticIP Source # 
ToQuery AllocateStaticIP Source # 
type Rep AllocateStaticIP Source # 
type Rep AllocateStaticIP = D1 * (MetaData "AllocateStaticIP" "Network.AWS.Lightsail.AllocateStaticIP" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" True) (C1 * (MetaCons "AllocateStaticIP'" PrefixI True) (S1 * (MetaSel (Just Symbol "_asiStaticIPName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs AllocateStaticIP Source # 

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 # 
Data AllocateStaticIPResponse Source # 

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 # 
Show AllocateStaticIPResponse Source # 
Generic AllocateStaticIPResponse Source # 
NFData AllocateStaticIPResponse Source # 
type Rep AllocateStaticIPResponse Source # 
type Rep AllocateStaticIPResponse = D1 * (MetaData "AllocateStaticIPResponse" "Network.AWS.Lightsail.AllocateStaticIP" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "AllocateStaticIPResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_asirsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Operation]))) (S1 * (MetaSel (Just Symbol "_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.