Browse files

Added support for aliases to the add_change method of ResourceRecordS…

  • Loading branch information...
1 parent bee1461 commit d9c76e90a0477d0f2882abe8ad3b8c7f5ac1b94f @SeanOC SeanOC committed Jun 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/route53/
@@ -51,9 +51,9 @@ def __init__(self, connection=None, hosted_zone_id=None, comment=None):
def __repr__(self):
return '<ResourceRecordSets: %s>' % self.hosted_zone_id
- def add_change(self, action, name, type, ttl=600):
+ def add_change(self, action, name, type, ttl=600, alias_hosted_zone_id=None, alias_dns_name=None):
"""Add a change request"""
- change = Record(name, type, ttl)
+ change = Record(name, type, ttl, alias_hosted_zone_id=alias_hosted_zone_id, alias_dns_name=alias_dns_name)
self.changes.append([action, change])
return change

0 comments on commit d9c76e9

Please sign in to comment.