Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(0) | Derive(0) | Import(2)
Parses the API responses for the :py:meth:`route53.connection.Route53Connection.list_hosted_zones` method. :param lxml.etree._Element root: The root node of the etree parsed response from the API. :param Route53Connection connection: The connection instance used to query the API. :rtype: HostedZone :returns: A generator of fully formed HostedZone instances.
def list_hosted_zones_parser(root, connection): """ Parses the API responses for the :py:meth:`route53.connection.Route53Connection.list_hosted_zones` method. :param lxml.etree._Element root: The root node of the etree parsed response from the API. :param Route53Connection connection: The connection instance used to query the API. :rtype: HostedZone :returns: A generator of fully formed HostedZone instances. """ # The rest of the list pagination tags are handled higher up in the stack. # We'll just worry about the HostedZones tag, which has HostedZone tags # nested beneath it. zones = root.find('./{*}HostedZones') for zone in zones: yield parse_hosted_zone(zone, connection)
from .list_hosted_zones import list_hosted_zones_parser from .created_hosted_zone import created_hosted_zone_parser from .get_hosted_zone_by_id import get_hosted_zone_by_id_parser from .delete_hosted_zone_by_id import delete_hosted_zone_by_id_parser from .list_resource_record_sets_by_zone_id import list_resource_record_sets_by_zone_id_parser
src/p/y/python-route53-HEAD/route53/xml_parsers/__init__.py python-route53(Download)
from .list_hosted_zones import list_hosted_zones_parser from .created_hosted_zone import created_hosted_zone_parser from .get_hosted_zone_by_id import get_hosted_zone_by_id_parser from .delete_hosted_zone_by_id import delete_hosted_zone_by_id_parser from .list_resource_record_sets_by_zone_id import list_resource_record_sets_by_zone_id_parser