amazonka-lightsail-1.5.0: Amazon Lightsail SDK.

Copyright(c) 2013-2017 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.GetDomains

Contents

Description

Returns a list of all domains in the user's account.

This operation returns paginated results.

Synopsis

Creating a Request

getDomains :: GetDomains Source #

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

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

  • gdPageToken - A token used for advancing to the next page of results from your get domains request.

data GetDomains Source #

See: getDomains smart constructor.

Instances

Eq GetDomains Source # 
Data GetDomains Source # 

Methods

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

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

toConstr :: GetDomains -> Constr #

dataTypeOf :: GetDomains -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDomains Source # 
Show GetDomains Source # 
Generic GetDomains Source # 

Associated Types

type Rep GetDomains :: * -> * #

Hashable GetDomains Source # 
ToJSON GetDomains Source # 
NFData GetDomains Source # 

Methods

rnf :: GetDomains -> () #

AWSPager GetDomains Source # 
AWSRequest GetDomains Source # 
ToQuery GetDomains Source # 
ToPath GetDomains Source # 
ToHeaders GetDomains Source # 

Methods

toHeaders :: GetDomains -> [Header] #

type Rep GetDomains Source # 
type Rep GetDomains = D1 (MetaData "GetDomains" "Network.AWS.Lightsail.GetDomains" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" True) (C1 (MetaCons "GetDomains'" PrefixI True) (S1 (MetaSel (Just Symbol "_gdPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetDomains Source # 

Request Lenses

gdPageToken :: Lens' GetDomains (Maybe Text) Source #

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

Destructuring the Response

getDomainsResponse Source #

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

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

  • gdsrsNextPageToken - A token used for advancing to the next page of results from your get active names request.
  • gdsrsDomains - An array of key-value pairs containing information about each of the domain entries in the user's account.
  • gdsrsResponseStatus - -- | The response status code.

data GetDomainsResponse Source #

See: getDomainsResponse smart constructor.

Instances

Eq GetDomainsResponse Source # 
Data GetDomainsResponse Source # 

Methods

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

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

toConstr :: GetDomainsResponse -> Constr #

dataTypeOf :: GetDomainsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDomainsResponse Source # 
Show GetDomainsResponse Source # 
Generic GetDomainsResponse Source # 
NFData GetDomainsResponse Source # 

Methods

rnf :: GetDomainsResponse -> () #

type Rep GetDomainsResponse Source # 
type Rep GetDomainsResponse = D1 (MetaData "GetDomainsResponse" "Network.AWS.Lightsail.GetDomains" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "GetDomainsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdsrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gdsrsDomains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Domain]))) (S1 (MetaSel (Just Symbol "_gdsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gdsrsNextPageToken :: Lens' GetDomainsResponse (Maybe Text) Source #

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

gdsrsDomains :: Lens' GetDomainsResponse [Domain] Source #

An array of key-value pairs containing information about each of the domain entries in the user's account.

gdsrsResponseStatus :: Lens' GetDomainsResponse Int Source #

  • - | The response status code.