route53/xml_parsers/list_resource_record_sets_by_zone_id.py
def list_resource_record_sets_by_zone_id_parser(e_root, connection, zone_id):
    """
    Parses the API responses for the
    :py:meth:`route53.connection.Route53Connection.list_resource_record_sets_by_zone_id`
    method.

    :param lxml.etree._Element e_root: The root node of the etree parsed
        response from the API.
    :param Route53Connection connection: The connection instance used to
        query the API.
    :param str zone_id: The zone ID of the HostedZone these rrsets belong to.
    :rtype: ResourceRecordSet
    :returns: A generator of fully formed ResourceRecordSet instances.
    """

    # The rest of the list pagination tags are handled higher up in the stack.
    # We'll just worry about the ResourceRecordSets tag, which has
    # ResourceRecordSet tags nested beneath it.
    e_rrsets = e_root.find('./{*}ResourceRecordSets')

    for e_rrset in e_rrsets:
        yield parse_rrset(e_rrset, connection, zone_id)
def list_resource_record_sets_by_zone_id_parser(e_root, connection, zone_id):
    """
    Parses the API responses for the
    :py:meth:`route53.connection.Route53Connection.list_resource_record_sets_by_zone_id`
    method.

    :param lxml.etree._Element e_root: The root node of the etree parsed
        response from the API.
    :param Route53Connection connection: The connection instance used to
        query the API.
    :param str zone_id: The zone ID of the HostedZone these rrsets belong to.
    :rtype: ResourceRecordSet
    :returns: A generator of fully formed ResourceRecordSet instances.
    """

    # The rest of the list pagination tags are handled higher up in the stack.
    # We'll just worry about the ResourceRecordSets tag, which has
    # ResourceRecordSet tags nested beneath it.
    e_rrsets = e_root.find('./{*}ResourceRecordSets')

    for e_rrset in e_rrsets:
        yield parse_rrset(e_rrset, connection, zone_id)
Parses the API responses for the
    :py:meth:`route53.connection.Route53Connection.list_resource_record_sets_by_zone_id`
    method.

    :param lxml.etree._Element e_root: The root node of the etree parsed
        response from the API.
    :param Route53Connection connection: The connection instance used to
        query the API.
    :param str zone_id: The zone ID of the HostedZone these rrsets belong to.
    :rtype: ResourceRecordSet
    :returns: A generator of fully formed ResourceRecordSet instances.