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

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 #

See: getDomains smart constructor.

Instances

Eq GetDomains # 
Data GetDomains # 

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 # 
Show GetDomains # 
Generic GetDomains # 

Associated Types

type Rep GetDomains :: * -> * #

Hashable GetDomains # 
ToJSON GetDomains # 
NFData GetDomains # 

Methods

rnf :: GetDomains -> () #

AWSPager GetDomains # 
AWSRequest GetDomains # 
ToHeaders GetDomains # 

Methods

toHeaders :: GetDomains -> [Header] #

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

Request Lenses

gdPageToken :: Lens' GetDomains (Maybe Text) #

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

Destructuring the Response

getDomainsResponse #

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:

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

data GetDomainsResponse #

See: getDomainsResponse smart constructor.

Instances

Eq GetDomainsResponse # 
Data GetDomainsResponse # 

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

Methods

rnf :: GetDomainsResponse -> () #

type Rep GetDomainsResponse # 
type Rep GetDomainsResponse = D1 * (MetaData "GetDomainsResponse" "Network.AWS.Lightsail.GetDomains" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" False) (C1 * (MetaCons "GetDomainsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsDomains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Domain]))) (S1 * (MetaSel (Just Symbol "_ggrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ggrsNextPageToken :: Lens' GetDomainsResponse (Maybe Text) #

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

ggrsDomains :: Lens' GetDomainsResponse [Domain] #

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

ggrsResponseStatus :: Lens' GetDomainsResponse Int #

  • - | The response status code.