import type * as iotw from "@distilled.cloud/aws/iot-wireless"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `iotwireless:GetServiceEndpoint` — read the * account's CUPS or LNS endpoint (and its server trust certificate) from a * deployed Lambda or Task. Useful for gateway provisioning flows. * * ### Reading the Service Endpoint * Provide the `GetServiceEndpointHttp` implementation layer on the Function * effect, bind the capability in the init phase, then call the returned * client at runtime. * * **Example:** Read the LNS Endpoint * ```typescript * // init * const getEndpoint = yield* AWS.IoTWireless.GetServiceEndpoint(); * * // runtime * const { ServiceEndpoint } = yield* getEndpoint({ ServiceType: "LNS" }); * // on the Function effect: * // .pipe(Effect.provide(AWS.IoTWireless.GetServiceEndpointHttp)) * ``` * * @binding */ export interface GetServiceEndpoint extends Binding.Service Effect.Effect<(request?: iotw.GetServiceEndpointRequest) => Effect.Effect>> { } export declare const GetServiceEndpoint: GetServiceEndpoint; //# sourceMappingURL=GetServiceEndpoint.d.ts.map