Where is the host identifier?

Im just trying to connect by python following the git example, but im getting an error:

from elastic_app_search import Client
import requests
import jwt

client = Client(base_endpoint='https://20becbeexxxx.app-search.us-east-1.aws.found.io/api/as/v1', api_key='private-xxxx', use_https=True)
engine_name = 'dequienescl'
document = {
'id': 'INscMGmhmX4',
'body': 'A wonderful video of a magnificent cat.'
}
client.index_document(engine_name, document)
{'id': 'INscMGmhmX4'}