| 1 | import * as iotw from "@distilled.cloud/aws/iot-wireless"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeIotWirelessAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetServiceEndpoint } from "./GetServiceEndpoint.ts"; |
| 5 | |
| 6 | export const GetServiceEndpointHttp = Layer.effect( |
| 7 | GetServiceEndpoint, |
| 8 | makeIotWirelessAccountHttpBinding({ |
| 9 | capability: "GetServiceEndpoint", |
| 10 | iamActions: ["iotwireless:GetServiceEndpoint"], |
| 11 | operation: iotw.getServiceEndpoint, |
| 12 | prepare: (request: iotw.GetServiceEndpointRequest | undefined) => |
| 13 | request ?? {}, |
| 14 | }), |
| 15 | ); |