Beispiel #1
0
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     useful_keys = list(filter(lambda x: x != "ResponseMetadata", response_dict.keys()))
     if len(useful_keys) == 1:
         return response_dict[useful_keys[0]] or {}
     else:
         return response_dict
Beispiel #2
0
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     useful_keys = list(
         filter(lambda x: x != 'ResponseMetadata', response_dict.keys()))
     if len(useful_keys) == 1:
         return response_dict[useful_keys[0]] or {}
     else:
         return response_dict
Beispiel #3
0
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     return strip_response_metadata(response_dict)
Beispiel #4
0
 def __init__(self, **kwargs):
     AWSQueryRequest.__init__(self, **kwargs)
Beispiel #5
0
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     return strip_response_metadata(response_dict)
Beispiel #6
0
 def __init__(self, **kwargs):
     AWSQueryRequest.__init__(self, **kwargs)