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

Contents

Description

Returns information about a specific static IP.

Synopsis

Creating a Request

getStaticIP #

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 #

See: getStaticIP smart constructor.

Instances

Eq GetStaticIP # 
Data GetStaticIP # 

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 # 
Show GetStaticIP # 
Generic GetStaticIP # 

Associated Types

type Rep GetStaticIP :: * -> * #

Hashable GetStaticIP # 
ToJSON GetStaticIP # 
NFData GetStaticIP # 

Methods

rnf :: GetStaticIP -> () #

AWSRequest GetStaticIP # 
ToHeaders GetStaticIP # 

Methods

toHeaders :: GetStaticIP -> [Header] #

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

Request Lenses

gsiStaticIPName :: Lens' GetStaticIP Text #

The name of the static IP in Lightsail.

Destructuring the Response

getStaticIPResponse #

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 #

See: getStaticIPResponse smart constructor.

Instances

Eq GetStaticIPResponse # 
Data GetStaticIPResponse # 

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 # 
Show GetStaticIPResponse # 
Generic GetStaticIPResponse # 
NFData GetStaticIPResponse # 

Methods

rnf :: GetStaticIPResponse -> () #

type Rep GetStaticIPResponse # 
type Rep GetStaticIPResponse = D1 * (MetaData "GetStaticIPResponse" "Network.AWS.Lightsail.GetStaticIP" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" 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) #

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

gsirsResponseStatus :: Lens' GetStaticIPResponse Int #

  • - | The response status code.