Permalink
Browse files

Added HostedZone.delete()

  • Loading branch information...
1 parent 45bcc75 commit 64e83a93c7997fb68e1dc717bcf3da99710f018a @gtaylor committed Nov 3, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 route53/hosted_zone.py
View
11 route53/hosted_zone.py
@@ -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)

0 comments on commit 64e83a9

Please sign in to comment.