...
def publish(name, attributes, time_to_live=60None):
The name parameter specifies the target Event name, attributes is a dictionary specifying the Event's attributes as key-value pairs, and time_to_live specifies the maximum time the published event lives before it expires.
...