#NEWLINE# def get_all_rrsets( self , hosted_zone_id , type = None , name = None , identifier = None , maxitems = None ) : #NEWLINE# #INDENT# '\n        Retrieve the Resource Record Sets defined for this Hosted Zone.\n        Returns the raw XML data returned by the Route53 call.\n        \n        :type hosted_zone_id: str\n        :param hosted_zone_id: The unique identifier for the Hosted Zone\n\n        :type type: str\n        :param type: The type of resource record set to begin the record\n            listing from.  Valid choices are:\n\n                * A\n                * AAAA\n                * CNAME\n                * MX\n                * NS\n                * PTR\n                * SOA\n                * SPF\n                * SRV\n                * TXT\n\n            Valid values for weighted resource record sets:\n\n                * A\n                * AAAA\n                * CNAME\n                * TXT\n\n            Valid values for Zone Apex Aliases:\n\n                * A\n                * AAAA\n\n        :type name: str\n        :param name: The first name in the lexicographic ordering of domain\n                     names to be retrieved\n\n        :type identifier: str\n        :param identifier: In a hosted zone that includes weighted resource\n            record sets (multiple resource record sets with the same DNS\n            name and type that are differentiated only by SetIdentifier),\n            if results were truncated for a given DNS name and type,\n            the value of SetIdentifier for the next resource record\n            set that has the current DNS name and type\n\n        :type maxitems: int\n        :param maxitems: The maximum number of records\n\n        ' #NEWLINE# from boto.route53.record import ResourceRecordSets #NEWLINE# params = { #NEWLINE# #INDENT# 'type' : type , #NEWLINE# 'name' : name , #NEWLINE# 'Identifier' : identifier , #NEWLINE# 'maxitems' : maxitems , #NEWLINE# #UNINDENT# } #NEWLINE# uri = ( '/%s/hostedzone/%s/rrset' % ( self . Version , hosted_zone_id ) ) #NEWLINE# response = self . make_request ( 'GET' , body , params = params ) #NEWLINE# body = response . read ( ) #NEWLINE# boto . log . debug ( body ) #NEWLINE# if ( response . status >= 300 ) : #NEWLINE# #INDENT# raise exception . DNSServerError ( response . status , response . reason , body ) #NEWLINE# #UNINDENT# rs = ResourceRecordSets ( connection = self , hosted_zone_id = hosted_zone_id ) #NEWLINE# h = handler . XmlHandler ( rs , self ) #NEWLINE# xml . sax . parseString ( body , h ) #NEWLINE# return rs