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

Contents

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

getStaticIPs :: GetStaticIPs Source #

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

See: getStaticIPs smart constructor.

Instances

Eq GetStaticIPs Source # 
Data GetStaticIPs Source # 

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 Source # 
Show GetStaticIPs Source # 
Generic GetStaticIPs Source # 

Associated Types

type Rep GetStaticIPs :: * -> * #

Hashable GetStaticIPs Source # 
ToJSON GetStaticIPs Source # 
NFData GetStaticIPs Source # 

Methods

rnf :: GetStaticIPs -> () #

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

Request Lenses

gsiPageToken :: Lens' GetStaticIPs (Maybe Text) Source #

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

Destructuring the Response

getStaticIPsResponse Source #

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

See: getStaticIPsResponse smart constructor.

Instances

Eq GetStaticIPsResponse Source # 
Data GetStaticIPsResponse Source # 

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

Methods

rnf :: GetStaticIPsResponse -> () #

type Rep GetStaticIPsResponse Source # 
type Rep GetStaticIPsResponse = D1 * (MetaData "GetStaticIPsResponse" "Network.AWS.Lightsail.GetStaticIPs" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses

gsiprsNextPageToken :: Lens' GetStaticIPsResponse (Maybe Text) Source #

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

gsiprsStaticIPs :: Lens' GetStaticIPsResponse [StaticIP] Source #

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

gsiprsResponseStatus :: Lens' GetStaticIPsResponse Int Source #

  • - | The response status code.