title: AWS: Unable to know if I succesfully sended the reset password mail with the API Gateway response
body: <p>When I'm calling my Cognito reset password AWS Service through an API Gateway, the response that I have doesn't give me the information if my user get the reset password mail or no.</p>
  <p>When I send my reset password for the first time, it's successfully sent to my mail and I get this response:</p>
  <p><code>{&quot;CodeDeliveryDetails&quot;:{&quot;AttributeName&quot;:&quot;email&quot;,&quot;DeliveryMedium&quot;:&quot;EMAIL&quot;,&quot;Destination&quot;:&quot;a***@g***&quot;}}</code></p>
  <p>If I try to send a second time (clicked too quickly, supress the mail, forget I already had, was too stressed,...) the mail never arrives and I get this returns:</p>
  <p><code>{&quot;CodeDeliveryDetails&quot;:{&quot;AttributeName&quot;:&quot;email&quot;,&quot;DeliveryMedium&quot;:&quot;EMAIL&quot;,&quot;Destination&quot;:&quot;a***@g***&quot;}}</code></p>
  <p>I think you see the problem... How am I suppose to know if my user get the mail or not ???</p>