import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient"; import type { GetWirelessDeviceStatisticsRequest, GetWirelessDeviceStatisticsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetWirelessDeviceStatisticsCommand}. */ export interface GetWirelessDeviceStatisticsCommandInput extends GetWirelessDeviceStatisticsRequest { } /** * @public * * The output of {@link GetWirelessDeviceStatisticsCommand}. */ export interface GetWirelessDeviceStatisticsCommandOutput extends GetWirelessDeviceStatisticsResponse, __MetadataBearer { } declare const GetWirelessDeviceStatisticsCommand_base: { new (input: GetWirelessDeviceStatisticsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetWirelessDeviceStatisticsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets operating information about a wireless device.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTWirelessClient, GetWirelessDeviceStatisticsCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import * // const { IoTWirelessClient, GetWirelessDeviceStatisticsCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import * // import type { IoTWirelessClientConfig } from "@aws-sdk/client-iot-wireless"; * const config = {}; // type is IoTWirelessClientConfig * const client = new IoTWirelessClient(config); * const input = { // GetWirelessDeviceStatisticsRequest * WirelessDeviceId: "STRING_VALUE", // required * }; * const command = new GetWirelessDeviceStatisticsCommand(input); * const response = await client.send(command); * // { // GetWirelessDeviceStatisticsResponse * // WirelessDeviceId: "STRING_VALUE", * // LastUplinkReceivedAt: "STRING_VALUE", * // LoRaWAN: { // LoRaWANDeviceMetadata * // DevEui: "STRING_VALUE", * // FPort: Number("int"), * // DataRate: Number("int"), * // Frequency: Number("int"), * // Timestamp: "STRING_VALUE", * // Gateways: [ // LoRaWANGatewayMetadataList * // { // LoRaWANGatewayMetadata * // GatewayEui: "STRING_VALUE", * // Snr: Number("double"), * // Rssi: Number("double"), * // }, * // ], * // PublicGateways: [ // LoRaWANPublicGatewayMetadataList * // { // LoRaWANPublicGatewayMetadata * // ProviderNetId: "STRING_VALUE", * // Id: "STRING_VALUE", * // Rssi: Number("double"), * // Snr: Number("double"), * // RfRegion: "STRING_VALUE", * // DlAllowed: true || false, * // }, * // ], * // }, * // Sidewalk: { // SidewalkDeviceMetadata * // Rssi: Number("int"), * // BatteryLevel: "normal" || "low" || "critical", * // Event: "discovered" || "lost" || "ack" || "nack" || "passthrough", * // DeviceState: "Provisioned" || "RegisteredNotSeen" || "RegisteredReachable" || "RegisteredUnreachable", * // }, * // }; * * ``` * * @param GetWirelessDeviceStatisticsCommandInput - {@link GetWirelessDeviceStatisticsCommandInput} * @returns {@link GetWirelessDeviceStatisticsCommandOutput} * @see {@link GetWirelessDeviceStatisticsCommandInput} for command's `input` shape. * @see {@link GetWirelessDeviceStatisticsCommandOutput} for command's `response` shape. * @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have permission to perform this action.

* * @throws {@link InternalServerException} (server fault) *

An unexpected error occurred while processing a request.

* * @throws {@link ResourceNotFoundException} (client fault) *

Resource does not exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied because it exceeded the allowed API request rate.

* * @throws {@link ValidationException} (client fault) *

The input did not meet the specified constraints.

* * @throws {@link IoTWirelessServiceException} *

Base exception class for all service exceptions from IoTWireless service.

* * * @public */ export declare class GetWirelessDeviceStatisticsCommand extends GetWirelessDeviceStatisticsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetWirelessDeviceStatisticsRequest; output: GetWirelessDeviceStatisticsResponse; }; sdk: { input: GetWirelessDeviceStatisticsCommandInput; output: GetWirelessDeviceStatisticsCommandOutput; }; }; }