Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added HostedZone.delete()

  • Loading branch information...
commit 64e83a93c7997fb68e1dc717bcf3da99710f018a 1 parent 45bcc75
Greg Taylor authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 route53/hosted_zone.py
11 route53/hosted_zone.py
View
@@ -72,3 +72,14 @@ def record_sets(self):
for rrset in self.connection.list_resource_record_sets_by_zone_id(self.id):
yield rrset
+
+ def delete(self):
+ """
+ Deletes this hosted zone.
+
+ :rtype: dict
+ :returns: A dict of change info, which contains some details about
+ the request.
+ """
+
+ return self.connection.delete_hosted_zone_by_id(self.id)
Please sign in to comment.
Something went wrong with that request. Please try again.