def _add_record(self, record_set_class, name, values, ttl=<NUM_LIT>, weight=None,<EOL>region=None,set_identifier=None, alias_hosted_zone_id=None,<EOL>alias_dns_name=None):
self._halt_if_already_deleted()<EOL>rrset_kwargs = dict(<EOL>connection=self.connection,<EOL>zone_id=self.id,<EOL>name=name,<EOL>ttl=ttl,<EOL>records=values,<EOL>weight=weight,<EOL>region=region,<EOL>set_identifier=set_identifier,<EOL>)<EOL>if alias_hosted_zone_id or alias_dns_name:<EOL><INDENT>rrset_kwargs.update(dict(<EOL>alias_hosted_zone_id=alias_hosted_zone_id,<EOL>alias_dns_name=alias_dns_name<EOL>))<EOL><DEDENT>rrset = record_set_class(**rrset_kwargs)<EOL>cset = ChangeSet(connection=self.connection, hosted_zone_id=self.id)<EOL>cset.add_change('<STR_LIT>', rrset)<EOL>change_info = self.connection._change_resource_record_sets(cset)<EOL>return rrset, change_info<EOL>
Convenience method for creating ResourceRecordSets. Most of the calls
are basically the same, this saves on repetition.

:rtype: tuple
:returns: A tuple in the form of ``(rrset, change_info)``, where
    ``rrset`` is the newly created ResourceRecordSet sub-class
     instance.