code: def import_mapping(connection_id, mapping):
      
      url = os.path.join(settings.HEROKU_CONNECT_API_ENDPOINT,
                         'connections', connection_id, 'actions', 'import')
  
      response = requests.post(
          url=url,
          json=mapping,
          headers=_get_authorization_headers()
      )
      response.raise_for_status()
docs: Import Heroku Connection mapping for given connection.
  
      Args:
          connection_id (str): Heroku Connection connection ID.
          mapping (dict): Heroku Connect mapping.
  
      Raises:
          requests.HTTPError: If an error occurs uploading the mapping.
          ValueError: If the mapping is not JSON serializable.