amazonka-route53-1.4.1: Amazon Route 53 SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.ListHostedZones

Contents

Description

To retrieve a list of your hosted zones, send a GET request to the '/Route 53 API version/hostedzone' resource. The response to this request includes a HostedZones element with zero, one, or multiple HostedZone child elements. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the hosted zone that the list begins with.

Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.

This operation returns paginated results.

Synopsis

Creating a Request

listHostedZones :: ListHostedZones Source #

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

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

data ListHostedZones Source #

To retrieve a list of your hosted zones, send a GET request to the '/Route 53 API version/hostedzone' resource. The response to this request includes a HostedZones element with zero or more HostedZone child elements. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the hosted zone that the list begins with. For more information about listing hosted zones, see Listing the Hosted Zones for an AWS Account in the Amazon Route 53 Developer Guide.

Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.

See: listHostedZones smart constructor.

Instances

Eq ListHostedZones Source # 
Data ListHostedZones Source # 

Methods

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

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

toConstr :: ListHostedZones -> Constr #

dataTypeOf :: ListHostedZones -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHostedZones Source # 
Show ListHostedZones Source # 
Generic ListHostedZones Source # 
Hashable ListHostedZones Source # 
NFData ListHostedZones Source # 

Methods

rnf :: ListHostedZones -> () #

AWSPager ListHostedZones Source # 
AWSRequest ListHostedZones Source # 
ToQuery ListHostedZones Source # 
ToPath ListHostedZones Source # 
ToHeaders ListHostedZones Source # 
type Rep ListHostedZones Source # 
type Rep ListHostedZones = D1 (MetaData "ListHostedZones" "Network.AWS.Route53.ListHostedZones" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" False) (C1 (MetaCons "ListHostedZones'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lhzDelegationSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lhzMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lhzMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs ListHostedZones Source # 

Request Lenses

lhzMarker :: Lens' ListHostedZones (Maybe Text) Source #

If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

lhzMaxItems :: Lens' ListHostedZones (Maybe Text) Source #

Specify the maximum number of hosted zones to return per page of results.

Destructuring the Response

listHostedZonesResponse Source #

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

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

data ListHostedZonesResponse Source #

A complex type that contains the response for the request.

See: listHostedZonesResponse smart constructor.

Instances

Eq ListHostedZonesResponse Source # 
Data ListHostedZonesResponse Source # 

Methods

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

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

toConstr :: ListHostedZonesResponse -> Constr #

dataTypeOf :: ListHostedZonesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHostedZonesResponse Source # 
Show ListHostedZonesResponse Source # 
Generic ListHostedZonesResponse Source # 
NFData ListHostedZonesResponse Source # 

Methods

rnf :: ListHostedZonesResponse -> () #

type Rep ListHostedZonesResponse Source # 
type Rep ListHostedZonesResponse = D1 (MetaData "ListHostedZonesResponse" "Network.AWS.Route53.ListHostedZones" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" False) (C1 (MetaCons "ListHostedZonesResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lhzrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lhzrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lhzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_lhzrsHostedZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [HostedZone])) ((:*:) (S1 (MetaSel (Just Symbol "_lhzrsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_lhzrsMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))

Response Lenses

lhzrsMarker :: Lens' ListHostedZonesResponse (Maybe Text) Source #

If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

lhzrsNextMarker :: Lens' ListHostedZonesResponse (Maybe Text) Source #

Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is true, make another request to ListHostedZones and include the value of the NextMarker element in the Marker element to get the next page of results.

lhzrsHostedZones :: Lens' ListHostedZonesResponse [HostedZone] Source #

A complex type that contains information about the hosted zones associated with the current AWS account.

lhzrsIsTruncated :: Lens' ListHostedZonesResponse Bool Source #

A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

Valid Values: true | false

lhzrsMaxItems :: Lens' ListHostedZonesResponse Text Source #

The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds MaxItems, the value of ListHostedZonesResponse$IsTruncated in the response is true. Call ListHostedZones again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.