pinpoint_update_endpoint function

Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application