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

Contents

Description

Returns the names of all active (not deleted) resources.

This operation returns paginated results.

Synopsis

Creating a Request

getActiveNames :: GetActiveNames #

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

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

  • ganPageToken - A token used for paginating results from your get active names request.

data GetActiveNames #

See: getActiveNames smart constructor.

Instances
Eq GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Data GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Methods

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

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

toConstr :: GetActiveNames -> Constr #

dataTypeOf :: GetActiveNames -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Show GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Generic GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Associated Types

type Rep GetActiveNames :: * -> * #

Hashable GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

ToJSON GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

AWSPager GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

AWSRequest GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Associated Types

type Rs GetActiveNames :: * #

ToHeaders GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

ToPath GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

ToQuery GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

NFData GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Methods

rnf :: GetActiveNames -> () #

type Rep GetActiveNames # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

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

Defined in Network.AWS.Lightsail.GetActiveNames

Request Lenses

ganPageToken :: Lens' GetActiveNames (Maybe Text) #

A token used for paginating results from your get active names request.

Destructuring the Response

getActiveNamesResponse #

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

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

data GetActiveNamesResponse #

See: getActiveNamesResponse smart constructor.

Instances
Eq GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Data GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Methods

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

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

toConstr :: GetActiveNamesResponse -> Constr #

dataTypeOf :: GetActiveNamesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Show GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Generic GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Associated Types

type Rep GetActiveNamesResponse :: * -> * #

NFData GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

Methods

rnf :: GetActiveNamesResponse -> () #

type Rep GetActiveNamesResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetActiveNames

type Rep GetActiveNamesResponse = D1 (MetaData "GetActiveNamesResponse" "Network.AWS.Lightsail.GetActiveNames" "amazonka-lightsail-1.6.0-KbsnSgop875C22ikCzX5R7" False) (C1 (MetaCons "GetActiveNamesResponse'" PrefixI True) (S1 (MetaSel (Just "_ganrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ganrsActiveNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ganrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ganrsNextPageToken :: Lens' GetActiveNamesResponse (Maybe Text) #

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

ganrsActiveNames :: Lens' GetActiveNamesResponse [Text] #

The list of active names returned by the get active names request.

ganrsResponseStatus :: Lens' GetActiveNamesResponse Int #

  • - | The response status code.