import { loadConfig } from "@smithy/node-config-provider"; import { getEndpointUrlConfig } from "./getEndpointUrlConfig"; export const getEndpointFromConfig = async (serviceId) => loadConfig(getEndpointUrlConfig(serviceId))();