def make_request(self, action, body='', object_hook=None):
        """
        :raises: ``DynamoDBExpiredTokenError`` if the security token expires.
        """
        headers = {'X-Amz-Target': '%s_%s.%s' % (self.ServiceName,
                                                 self.Version, action),
                   'Host': self.region.endpoint,
                   'Content-Type': 'application/x-amz-json-1.0',
                   'Content-Length': str(len(body))}
        http_request = self.build_base_http_request('POST', '/', '/',
                                                    {}, headers, body, None)
        if self.do_instrumentation:
            start = time.time()
        response = self._mexe(http_request, sender=None,
                              override_num_retries=10,
                              retry_handler=self._retry_handler)
        self.request_id = response.getheader('x-amzn-RequestId')
        boto.log.debug('RequestId: %s' % self.request_id)
        if self.do_instrumentation:
            self.instrumentation['times'].append(start - time.time())
            self.instrumentation['ids'].append(self.request_id)
        response_body = response.read()
        boto.log.debug(response_body)
        return json.loads(response_body, object_hook=object_hook)
dataset/ETHPy150Open darcyliu/storyboard/boto/dynamodb/layer1.py/Layer1.make_request/swapped operands of `-`