title: Amazon SNS CreatePlatformApplication returns error when reusing platform applications
body: <p>I had code that was working that would create a new platform application for every message that went out. I thought that was wasteful so I tried to change the code to use <code>list_platform_applications</code> to get available applications and reuse the one that has the proper name (part of the <code>PlatformApplicationArn</code>).</p>
  
  <p>This will work for several messages in a row when suddenly I'll get this error from <code>CreatePlatformApplication</code>:</p>
  
  <blockquote>
    <p>{"Error":{"Code":"InvalidParameter","Message":"Invalid parameter: This
    endpoint is already registered with a different
    token.","Type":"Sender"},"RequestId":"06bd3443-598e-5c06-9f5c-7f84349ea067"}</p>
  </blockquote>
  
  <p>That doesn't even make sense. I'm creating an endpoint. I didn't pass one in. Is it really complaining about the endpoint it's returning. </p>
  
  <p>According to the Amazon documentation: </p>
  
  <blockquote>
    <p>"The CreatePlatformEndpoint action is idempotent, so if the requester
    already owns an endpoint with the same device token and attributes,
    that endpoint's ARN is returned without creating a new endpoint."</p>
  </blockquote>
  
  <p>So it seems to me, if there's an appropriate one it will be returned. Otherwise, create a brand new fresh one.</p>
  
  <p>Am I missing something?</p>