List Hosted Zones
route53_list_hosted_zones | R Documentation |
Retrieves a list of the public and private hosted zones that are associated with the current Amazon Web Services account¶
Description¶
Retrieves a list of the public and private hosted zones that are
associated with the current Amazon Web Services account. The response
includes a HostedZones
child element for each hosted zone.
Amazon Route 53 returns a maximum of 100 items in each response. If you
have a lot of hosted zones, you can use the maxitems
parameter to list
them in groups of up to 100.
Usage¶
Arguments¶
Marker
If the value of
IsTruncated
in the previous response wastrue
, you have more hosted zones. To get more hosted zones, submit anotherlist_hosted_zones
request.For the value of
marker
, specify the value ofNextMarker
from the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.If the value of
IsTruncated
in the previous response wasfalse
, there are no more hosted zones to get.MaxItems
(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than
maxitems
hosted zones, the value ofIsTruncated
in the response istrue
, and the value ofNextMarker
is the hosted zone ID of the first hosted zone that Route 53 will return if you submit another request.DelegationSetId
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.
HostedZoneType
(Optional) Specifies if the hosted zone is private.
Value¶
A list with the following syntax:
list(
HostedZones = list(
list(
Id = "string",
Name = "string",
CallerReference = "string",
Config = list(
Comment = "string",
PrivateZone = TRUE|FALSE
),
ResourceRecordSetCount = 123,
LinkedService = list(
ServicePrincipal = "string",
Description = "string"
)
)
),
Marker = "string",
IsTruncated = TRUE|FALSE,
NextMarker = "string",
MaxItems = "string"
)