Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added HostedZone.delete()

  • Loading branch information...
commit 64e83a93c7997fb68e1dc717bcf3da99710f018a 1 parent 45bcc75
Greg Taylor authored

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. +11 0 route53/hosted_zone.py
11 route53/hosted_zone.py
@@ -72,3 +72,14 @@ def record_sets(self):
72 72 for rrset in self.connection.list_resource_record_sets_by_zone_id(self.id):
73 73 yield rrset
74 74
  75 +
  76 + def delete(self):
  77 + """
  78 + Deletes this hosted zone.
  79 +
  80 + :rtype: dict
  81 + :returns: A dict of change info, which contains some details about
  82 + the request.
  83 + """
  84 +
  85 + return self.connection.delete_hosted_zone_by_id(self.id)

0 comments on commit 64e83a9

Please sign in to comment.
Something went wrong with that request. Please try again.