def dispatch(self, operation_name, operation_kwargs):
    '\n        Dispatches `operation_name` with arguments `operation_kwargs`\n\n        Raises TableDoesNotExist if the specified table does not exist\n        '
    if (operation_name not in [DESCRIBE_TABLE, LIST_TABLES, UPDATE_TABLE, DELETE_TABLE, CREATE_TABLE]):
        if (RETURN_CONSUMED_CAPACITY not in operation_kwargs):
            operation_kwargs.update(self.get_consumed_capacity_map(TOTAL))
    self._log_debug(operation_name, operation_kwargs)
    table_name = operation_kwargs.get(TABLE_NAME)
    req_uuid = uuid.uuid4()
    self.send_pre_boto_callback(operation_name, req_uuid, table_name)
    data = self._make_api_call(operation_name, operation_kwargs)
    self.send_post_boto_callback(operation_name, req_uuid, table_name)
    if (data and (CONSUMED_CAPACITY in data)):
        capacity = data.get(CONSUMED_CAPACITY)
        if (isinstance(capacity, dict) and (CAPACITY_UNITS in capacity)):
            capacity = capacity.get(CAPACITY_UNITS)
        log.debug('%s %s consumed %s units', data.get(TABLE_NAME, ''), operation_name, capacity)
    return data
Dispatches `operation_name` with arguments `operation_kwargs`

Raises TableDoesNotExist if the specified table does not exist
def dispatch(self, operation_name, operation_kwargs):
    '\n        Dispatches `operation_name` with arguments `operation_kwargs`\n\n        Raises TableDoesNotExist if the specified table does not exist\n        '
    if (operation_name not in [DESCRIBE_TABLE, LIST_TABLES, UPDATE_TABLE, DELETE_TABLE, CREATE_TABLE]):
        if (RETURN_CONSUMED_CAPACITY not in operation_kwargs):
            operation_kwargs.update(self.get_consumed_capacity_map(TOTAL))
    self._log_debug(operation_name, operation_kwargs)
    table_name = operation_kwargs.get(TABLE_NAME)
    req_uuid = uuid.uuid4()
    self.send_pre_boto_callback(operation_name, req_uuid, table_name)
    data = self._make_api_call(operation_name, operation_kwargs)
    self.send_post_boto_callback(operation_name, req_uuid, table_name)
    if (data and (CONSUMED_CAPACITY in data)):
        capacity = data.get(CONSUMED_CAPACITY)
        if (isinstance(capacity, dict) and (CAPACITY_UNITS in capacity)):
            capacity = capacity.get(CAPACITY_UNITS)
        log.debug('%s %s consumed %s units', data.get(TABLE_NAME, ), operation_name, capacity)
    return data