amazonka-lightsail-1.4.5: Amazon Lightsail SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lightsail.GetStaticIPs

Contents

Description

Returns information about all static IPs in the user's account.

Synopsis

Creating a Request

getStaticIPs :: GetStaticIPs #

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

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

  • gsiPageToken - A token used for advancing to the next page of results from your get static IPs request.

data GetStaticIPs #

See: getStaticIPs smart constructor.

Instances

Eq GetStaticIPs # 
Data GetStaticIPs # 

Methods

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

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

toConstr :: GetStaticIPs -> Constr #

dataTypeOf :: GetStaticIPs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStaticIPs # 
Show GetStaticIPs # 
Generic GetStaticIPs # 

Associated Types

type Rep GetStaticIPs :: * -> * #

Hashable GetStaticIPs # 
ToJSON GetStaticIPs # 
NFData GetStaticIPs # 

Methods

rnf :: GetStaticIPs -> () #

AWSRequest GetStaticIPs # 
ToQuery GetStaticIPs # 
ToPath GetStaticIPs # 
ToHeaders GetStaticIPs # 
type Rep GetStaticIPs # 
type Rep GetStaticIPs = D1 (MetaData "GetStaticIPs" "Network.AWS.Lightsail.GetStaticIPs" "amazonka-lightsail-1.4.5-1xtmakXHWr2BG215OJNbvq" True) (C1 (MetaCons "GetStaticIPs'" PrefixI True) (S1 (MetaSel (Just Symbol "_gsiPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetStaticIPs # 

Request Lenses

gsiPageToken :: Lens' GetStaticIPs (Maybe Text) #

A token used for advancing to the next page of results from your get static IPs request.

Destructuring the Response

getStaticIPsResponse #

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

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

data GetStaticIPsResponse #

See: getStaticIPsResponse smart constructor.

Instances

Eq GetStaticIPsResponse # 
Data GetStaticIPsResponse # 

Methods

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

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

toConstr :: GetStaticIPsResponse -> Constr #

dataTypeOf :: GetStaticIPsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStaticIPsResponse # 
Show GetStaticIPsResponse # 
Generic GetStaticIPsResponse # 
NFData GetStaticIPsResponse # 

Methods

rnf :: GetStaticIPsResponse -> () #

type Rep GetStaticIPsResponse # 
type Rep GetStaticIPsResponse = D1 (MetaData "GetStaticIPsResponse" "Network.AWS.Lightsail.GetStaticIPs" "amazonka-lightsail-1.4.5-1xtmakXHWr2BG215OJNbvq" False) (C1 (MetaCons "GetStaticIPsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsiprsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gsiprsStaticIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StaticIP]))) (S1 (MetaSel (Just Symbol "_gsiprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gsiprsNextPageToken :: Lens' GetStaticIPsResponse (Maybe Text) #

A token used for advancing to the next page of results from your get static IPs request.

gsiprsStaticIPs :: Lens' GetStaticIPsResponse [StaticIP] #

An array of key-value pairs containing information about your get static IPs request.

gsiprsResponseStatus :: Lens' GetStaticIPsResponse Int #

  • - | The response status code.