| 1 | import * as iotw from "@distilled.cloud/aws/iot-wireless"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeIotWirelessGatewayHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { |
| 5 | GetWirelessGatewayStatistics, |
| 6 | type GetWirelessGatewayStatisticsRequest, |
| 7 | } from "./GetWirelessGatewayStatistics.ts"; |
| 8 | |
| 9 | export const GetWirelessGatewayStatisticsHttp = Layer.effect( |
| 10 | GetWirelessGatewayStatistics, |
| 11 | makeIotWirelessGatewayHttpBinding({ |
| 12 | capability: "GetWirelessGatewayStatistics", |
| 13 | iamActions: ["iotwireless:GetWirelessGatewayStatistics"], |
| 14 | operation: iotw.getWirelessGatewayStatistics, |
| 15 | prepare: ( |
| 16 | request: GetWirelessGatewayStatisticsRequest | undefined, |
| 17 | wirelessGatewayId, |
| 18 | ) => ({ |
| 19 | ...request, |
| 20 | WirelessGatewayId: wirelessGatewayId, |
| 21 | }), |
| 22 | }), |
| 23 | ); |