<filename>utils/emc_endpoint.py
import boto3


client = boto3.client("mediaconvert")


if __name__ == "__main__":
    response = client.describe_endpoints()

    print(response["Endpoints"][0]["Url"])

<filename>utils/emc_endpoint.py
import boto3


client = boto3.client("mediaconvert")


if __name__ == "__main__":
    response = client.describe_endpoints()

    print(response["Endpoints"][0]["Url"])
