import type * as iotw from "@distilled.cloud/aws/iot-wireless"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { WirelessGateway } from "./WirelessGateway.ts"; /** * Request for {@link GetWirelessGatewayStatistics}. The bound gateway's id * is injected automatically, leaving nothing else to supply. */ export interface GetWirelessGatewayStatisticsRequest extends Omit { } /** * Runtime binding for `iotwireless:GetWirelessGatewayStatistics` — read the * bound wireless gateway's operating information (connection status, last * uplink time) from a deployed Lambda or Task. * * ### Reading Gateway Statistics * Provide the `GetWirelessGatewayStatisticsHttp` implementation layer on * the Function effect, bind the gateway in the init phase, then call the * returned client at runtime. * * **Example:** Check the Gateway's Connection Status * ```typescript * // init * const getStats = yield* AWS.IoTWireless.GetWirelessGatewayStatistics(gateway); * * // runtime * const stats = yield* getStats(); * const online = stats.ConnectionStatus === "Connected"; * // on the Function effect: * // .pipe(Effect.provide(AWS.IoTWireless.GetWirelessGatewayStatisticsHttp)) * ``` * * @binding */ export interface GetWirelessGatewayStatistics extends Binding.Service Effect.Effect<(request?: GetWirelessGatewayStatisticsRequest) => Effect.Effect>> { } export declare const GetWirelessGatewayStatistics: GetWirelessGatewayStatistics; //# sourceMappingURL=GetWirelessGatewayStatistics.d.ts.map