title: Is endpoint unique for device in AWS Pinpoint?
body: <p>I am new to Pinpoint and trying to understand how endpoint/endpointId works in Pinpoint semantics. From the <a href="https://docs.aws.amazon.com/pinpoint/latest/developerguide/integrate-endpoints.html#integrate-events-amplify" rel="nofollow noreferrer">aws doc</a>:</p>
  
  <blockquote>
    <p>When a user starts a session (for example, by launching your mobile app), your mobile or web application can automatically register (or update) an endpoint with Amazon Pinpoint.</p>
  </blockquote>
  
  <p>Does that mean each time of the app launching, there is a new endpoint/endpointId? Will it register a new endpoint if the current session ends or the user kill and relaunch the app? </p>
  
  <p>Is there a way I can get the endpoint/endpointId in the app programmatically?</p>