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 #

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Data GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.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 # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Show GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Generic GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Associated Types

type Rep GetStaticIPs :: * -> * #

Hashable GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

ToJSON GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

AWSPager GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

AWSRequest GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Associated Types

type Rs GetStaticIPs :: * #

ToHeaders GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

ToPath GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

ToQuery GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

NFData GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Methods

rnf :: GetStaticIPs -> () #

type Rep GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

type Rep GetStaticIPs = D1 (MetaData "GetStaticIPs" "Network.AWS.Lightsail.GetStaticIPs" "amazonka-lightsail-1.6.0-KbsnSgop875C22ikCzX5R7" True) (C1 (MetaCons "GetStaticIPs'" PrefixI True) (S1 (MetaSel (Just "_gsiPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetStaticIPs # 
Instance details

Defined in Network.AWS.Lightsail.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 # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Data GetStaticIPsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Show GetStaticIPsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Generic GetStaticIPsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Associated Types

type Rep GetStaticIPsResponse :: * -> * #

NFData GetStaticIPsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

Methods

rnf :: GetStaticIPsResponse -> () #

type Rep GetStaticIPsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetStaticIPs

type Rep GetStaticIPsResponse = D1 (MetaData "GetStaticIPsResponse" "Network.AWS.Lightsail.GetStaticIPs" "amazonka-lightsail-1.6.0-KbsnSgop875C22ikCzX5R7" False) (C1 (MetaCons "GetStaticIPsResponse'" PrefixI True) (S1 (MetaSel (Just "_gsiprsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gsiprsStaticIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StaticIP])) :*: S1 (MetaSel (Just "_gsiprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.