title: How to modify the Route53 hosted zone created after domain registration (i.e. method RegisterDomain)
body: <p>The AWS suite is very powerful, but the documentation is somewhat frustrating. I'm stuck: </p>
  
  <p>According to the documentation, upon programmatic creation of a domain (<a href="http://docs.aws.amazon.com/Route53/latest/APIReference/api-register-domain.html" rel="nofollow noreferrer">http://docs.aws.amazon.com/Route53/latest/APIReference/api-register-domain.html</a>) the response gives you ONLY an OperationID. </p>
  
  <p>However, I already know the ELB I want to then immediately programmatically update the hosted zone that was created (this happens as confirmed at the top of the first referenced document). To do so I need the hosted zone ID that was created. However, their GetHostedZone method (<a href="http://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZone.html#API_GetHostedZone_Requests" rel="nofollow noreferrer">http://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZone.html#API_GetHostedZone_Requests</a>) requires the zone ID, not the domain name.</p>
  
  <p>Listing them doesn't work perfectly either, it's possible to have two hosted zones of the same name. (see <a href="https://stackoverflow.com/questions/36544011/how-to-fetch-the-aws-route53-hosted-zone-id">How to fetch the AWS Route53 hosted zone id?</a> top answer)</p>
  
  <p>Any experience or advice would be appreciated.</p>