'Cancels a previously started timer and records a TimerCanceled
event in the history.'

def cancel_timer(self, timer_id):

    o = {}
    o['decisionType'] = 'CancelTimer'
    attrs = o['cancelTimerDecisionAttributes'] = {}
    attrs['timerId'] = timer_id
    self._data.append(o)
