#NEWLINE# def get_zone( self , zone_id ) : #NEWLINE# #INDENT# self . connection . set_context ( { #NEWLINE# #INDENT# 'zone_id' : zone_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# uri = ( ( API_ROOT + 'hostedzone/' ) + zone_id ) #NEWLINE# data = self . connection . request ( uri ) . object #NEWLINE# elem = findall ( element = data , xpath = 'HostedZone' , namespace = NAMESPACE ) [ 0 ] #NEWLINE# return self . _to_zone ( elem )