docs: def _get_ami_dict(json_url):
      """Get ami from a web url.
  
      Args:
          region (str): AWS Region to find AMI ID.
  
      Returns:
          dict: Contents in dictionary format.
  
      """
      LOG.info("Getting AMI from %s", json_url)
      response = requests.get(json_url)
      assert response.ok, "Error getting ami info from {}".format(json_url)
      ami_dict = response.json()
      LOG.debug('AMI json contents: %s', ami_dict)
      return ami_dict