AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A complex type that contain the response to a GetHostedZone request.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Route53.Model.GetHostedZoneResponse

Namespace: Amazon.Route53.Model
Assembly: AWSSDK.Route53.dll
Version: 3.x.y.z

Syntax

C#
public class GetHostedZoneResponse : AmazonWebServiceResponse

The GetHostedZoneResponse type exposes the following members

Constructors

NameDescription
Public Method GetHostedZoneResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DelegationSet Amazon.Route53.Model.DelegationSet

Gets and sets the property DelegationSet.

A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.

Public Property HostedZone Amazon.Route53.Model.HostedZone

Gets and sets the property HostedZone.

A complex type that contains general information about the specified hosted zone.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property VPCs System.Collections.Generic.List<Amazon.Route53.Model.VPC>

Gets and sets the property VPCs.

A complex type that contains information about the VPCs that are associated with the specified hosted zone.

Examples

The following example gets information about the Z3M3LMPEXAMPLE hosted zone.

To get information about a hosted zone


var client = new AmazonRoute53Client();
var response = client.GetHostedZone(new GetHostedZoneRequest 
{
    Id = "Z3M3LMPEXAMPLE"
});

DelegationSet delegationSet = response.DelegationSet;
HostedZone hostedZone = response.HostedZone;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5