This is the IcsR53 common library. |
ICS Library for R53
list of weak references to the object (if defined)
Add a new A record to this Zone. See _new_record for parameter documentation. Returns a Status object.
Add a new alias record to this Zone. See _new_alias_record for parameter documentation. Returns a Status object.
Add a new CNAME record to this Zone. See _new_record for parameter documentation. Returns a Status object.
Add a new record to this Zone. See _new_record for parameter documentation. Returns a Status object.
Delete an A record matching name and identifier from this Zone. Returns a Status object.
If there is more than one match delete all matching records if all is True, otherwise throws TooManyRecordsException.
Delete a CNAME record matching name and identifier from this Zone. Returns a Status object.
If there is more than one match delete all matching records if all is True, otherwise throws TooManyRecordsException.
Delete one or more records from this Zone. Returns a Status object.
Parameters: | record – A ResourceRecord (e.g. returned by find_records) or list, tuple, or set of ResourceRecords. |
---|
Search this Zone for records that match given parameters. Returns None if no results, a ResourceRecord if one result, or a ResourceRecordSets if more than one result.
Parameters: |
|
---|
Search this Zone for A records that match name.
Returns a ResourceRecord.
If there is more than one match return all as a ResourceRecordSets if all is True, otherwise throws TooManyRecordsException.
Search this Zone for CNAME records that match name.
Returns a ResourceRecord.
If there is more than one match return all as a ResourceRecordSets if all is True, otherwise throws TooManyRecordsException.
Get the hosted zone for the specified domain name
Parameters: | name (string) – the specified domain name |
---|---|
Return type: | class |
Returns: | a class containing the specified hosted zone |
Get the hosted zone info for the specified domain name
Parameters: | name (string) – the specified domain name |
---|---|
Return type: | dict |
Returns: | a dict containing the specified hosted zone info |
Get the hosted zone ID for the specified domain name
Return type: | string |
---|---|
Returns: | a string containing the ID of the specified hosted zone |
Parse the value of Tag “DnsName”
Parameters: | name (string) – the value of Instance Tag “DnsName” for example, “test.example.com:A:Public:1” |
---|---|
Return type: | tuple |
Returns: | a tuple containing (DnsName, DnsType, Public/Private, Weight) for example, (“test.example.com”, “A”, True, “10”) |
Set the hosted zone for the specified domain name
Parameters: | name (string) – the specified domain name |
---|
Update the given A record in this Zone to a new value, ttl, and identifier. Returns a Status object.
Will throw TooManyRecordsException is name, value does not match a single record.
Update the given alias record in this Zone to a new routing policy Returns a Status object.
Will throw TooManyRecordsException is name, value does not match a single record.
Update the given CNAME record in this Zone to a new value, ttl, and identifier. Returns a Status object.
Will throw TooManyRecordsException is name, value does not match a single record.