The following code examples show how to use GetHostedZone
.
- AWS CLI
-
To get information about a hosted zone
The following
get-hosted-zone
command gets information about the hosted zone with anid
ofZ1R8UBAEXAMPLE
:aws route53 get-hosted-zone --id
Z1R8UBAEXAMPLE
-
For API details, see GetHostedZone
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using Route 53 with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.