title: How to get host for RDS instance with boto3
body: <p>I need to get host for RDS instance. I tried to do it like this:</p>
  
  <pre><code>import boto3
  
  region = 'eu-west-1'
  db_instance = 'db-instance-identifier'
  
  def lambda_handler(event, context):
      source = boto3.client('rds', region_name=region)
      try:
          instances = source.describe_db_instances(DBInstanceIdentifier=db_instance)
          rds_host = instances[0].endpoint.address
      except Exception as e:
          raise e
  </code></pre>
  
  <p>Perhaps you can suggest what might be the problem. Thank you in advance!</p>