amazonka-lightsail-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Data GetDomains Source # 
Instance details

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

Defined in Network.AWS.Lightsail.GetDomains

Show GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Generic GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Associated Types

type Rep GetDomains :: Type -> Type #

Hashable GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

ToJSON GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

AWSPager GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

AWSRequest GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Associated Types

type Rs GetDomains :: Type #

ToHeaders GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Methods

toHeaders :: GetDomains -> [Header] #

ToPath GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

ToQuery GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

NFData GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Methods

rnf :: GetDomains -> () #

type Rep GetDomains Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

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

Defined in Network.AWS.Lightsail.GetDomains

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:

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

See: getDomainsResponse smart constructor.

Instances
Eq GetDomainsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Data GetDomainsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

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

Defined in Network.AWS.Lightsail.GetDomains

Show GetDomainsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Generic GetDomainsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Associated Types

type Rep GetDomainsResponse :: Type -> Type #

NFData GetDomainsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

Methods

rnf :: GetDomainsResponse -> () #

type Rep GetDomainsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDomains

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

Response Lenses

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

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

ggrsDomains :: Lens' GetDomainsResponse [Domain] Source #

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

ggrsResponseStatus :: Lens' GetDomainsResponse Int Source #

  • - | The response status code.