UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

4 lines (3 loc) • 233 B
import { loadConfig } from "@smithy/node-config-provider"; import { getEndpointUrlConfig } from "./getEndpointUrlConfig"; export const getEndpointFromConfig = async (serviceId) => loadConfig(getEndpointUrlConfig(serviceId ?? ""))();