AWS SDK for .NET Documentation
DeleteHostedZoneRequest Class
AmazonAmazon.Route53.ModelDeleteHostedZoneRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DeleteHostedZone operation.

This action deletes a hosted zone. To delete a hosted zone, send a DELETE request to the 2013-04-01/hostedzone/hosted zone ID resource.

For more information about deleting a hosted zone, see Deleting a Hosted Zone in the Amazon Route 53 Developer Guide .

IMPORTANT: You can delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If your hosted zone contains other resource record sets, you must delete them before you can delete your hosted zone. If you try to delete a hosted zone that contains other resource record sets, Route 53 will deny your request with a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

Declaration Syntax
C#
public class DeleteHostedZoneRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DeleteHostedZoneRequest()()()()
Initializes a new instance of the DeleteHostedZoneRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Id
The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

Constraints:

Length
0 - 32


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithId(String) Obsolete.
Sets the Id property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DeleteHostedZoneRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)