A promise that will resolve when the operation is complete.
service: UpdateEndpointException - Thrown when the underlying Pinpoint service returns an error.
validation: AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.
Sends information about a user to Pinpoint. Sending user information allows you to associate a user to their user profile and activities or actions in your application. Activity can be tracked across devices & platforms by using the same
userId.