'Closes the workflow execution and records a WorkflowExecutionCanceled
event in the history.'

def cancel_workflow_executions(self, details=None):

    o = {}
    o['decisionType'] = 'CancelWorkflowExecution'
    attrs = o['cancelWorkflowExecutionsDecisionAttributes'] = {}
    if (details is not None):
        attrs['details'] = details
    self._data.append(o)
