getHostedZone
inline suspend fun Route53Client.getHostedZone(crossinline block: GetHostedZoneRequest.Builder.() -> Unit): GetHostedZoneResponse
Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.
`` returns the VPCs associated with the specified hosted zone and does not reflect the VPC associations by Route 53 Profiles. To get the associations to a Profile, call the ListProfileAssociations API.
Samples
fun main() {
//sampleStart
// The following example gets information about the Z3M3LMPEXAMPLE hosted zone.
val resp = route53Client.getHostedZone {
id = "Z3M3LMPEXAMPLE"
}
//sampleEnd
}