amazonka-lightsail-1.5.0: Amazon Lightsail SDK.

Copyright(c) 2013-2017 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.GetStaticIP

Contents

Description

Returns information about a specific static IP.

Synopsis

Creating a Request

getStaticIP Source #

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

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

data GetStaticIP Source #

See: getStaticIP smart constructor.

Instances

Eq GetStaticIP Source # 
Data GetStaticIP Source # 

Methods

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

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

toConstr :: GetStaticIP -> Constr #

dataTypeOf :: GetStaticIP -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStaticIP Source # 
Show GetStaticIP Source # 
Generic GetStaticIP Source # 

Associated Types

type Rep GetStaticIP :: * -> * #

Hashable GetStaticIP Source # 
ToJSON GetStaticIP Source # 
NFData GetStaticIP Source # 

Methods

rnf :: GetStaticIP -> () #

AWSRequest GetStaticIP Source # 
ToQuery GetStaticIP Source # 
ToPath GetStaticIP Source # 
ToHeaders GetStaticIP Source # 

Methods

toHeaders :: GetStaticIP -> [Header] #

type Rep GetStaticIP Source # 
type Rep GetStaticIP = D1 (MetaData "GetStaticIP" "Network.AWS.Lightsail.GetStaticIP" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" True) (C1 (MetaCons "GetStaticIP'" PrefixI True) (S1 (MetaSel (Just Symbol "_gsiStaticIPName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetStaticIP Source # 

Request Lenses

gsiStaticIPName :: Lens' GetStaticIP Text Source #

The name of the static IP in Lightsail.

Destructuring the Response

getStaticIPResponse Source #

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

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

data GetStaticIPResponse Source #

See: getStaticIPResponse smart constructor.

Instances

Eq GetStaticIPResponse Source # 
Data GetStaticIPResponse Source # 

Methods

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

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

toConstr :: GetStaticIPResponse -> Constr #

dataTypeOf :: GetStaticIPResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStaticIPResponse Source # 
Show GetStaticIPResponse Source # 
Generic GetStaticIPResponse Source # 
NFData GetStaticIPResponse Source # 

Methods

rnf :: GetStaticIPResponse -> () #

type Rep GetStaticIPResponse Source # 
type Rep GetStaticIPResponse = D1 (MetaData "GetStaticIPResponse" "Network.AWS.Lightsail.GetStaticIP" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "GetStaticIPResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsirsStaticIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StaticIP))) (S1 (MetaSel (Just Symbol "_gsirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gsirsStaticIP :: Lens' GetStaticIPResponse (Maybe StaticIP) Source #

An array of key-value pairs containing information about the requested static IP.

gsirsResponseStatus :: Lens' GetStaticIPResponse Int Source #

  • - | The response status code.