'Records a MarkerRecorded event in the history. Markers can be
used for adding custom information in the history for instance
to let deciders know that they do not need to look at the
history beyond the marker event.'

def record_marker(self, marker_name, details=None):

    o = {}
    o['decisionType'] = 'RecordMarker'
    attrs = o['recordMarkerDecisionAttributes'] = {}
    attrs['markerName'] = marker_name
    if (details is not None):
        attrs['details'] = details
    self._data.append(o)
