pinpoint_put_events function

Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with