Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added support for aliases to the add_change method of ResourceRecordS…

…ets.
  • Loading branch information...
commit d9c76e90a0477d0f2882abe8ad3b8c7f5ac1b94f 1 parent bee1461
@SeanOC SeanOC authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/route53/record.py
View
4 boto/route53/record.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.