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 { SendDataToWirelessDeviceRequest, SendDataToWirelessDeviceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link SendDataToWirelessDeviceCommand}. */ export interface SendDataToWirelessDeviceCommandInput extends SendDataToWirelessDeviceRequest { } /** * @public * * The output of {@link SendDataToWirelessDeviceCommand}. */ export interface SendDataToWirelessDeviceCommandOutput extends SendDataToWirelessDeviceResponse, __MetadataBearer { } declare const SendDataToWirelessDeviceCommand_base: { new (input: SendDataToWirelessDeviceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: SendDataToWirelessDeviceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Sends a decrypted application data frame to a device.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTWirelessClient, SendDataToWirelessDeviceCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import * // const { IoTWirelessClient, SendDataToWirelessDeviceCommand } = 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 = { // SendDataToWirelessDeviceRequest * Id: "STRING_VALUE", // required * TransmitMode: Number("int"), // required * PayloadData: "STRING_VALUE", // required * WirelessMetadata: { // WirelessMetadata * LoRaWAN: { // LoRaWANSendDataToDevice * FPort: Number("int"), * ParticipatingGateways: { // ParticipatingGateways * DownlinkMode: "SEQUENTIAL" || "CONCURRENT" || "USING_UPLINK_GATEWAY", // required * GatewayList: [ // GatewayList // required * { // GatewayListItem * GatewayId: "STRING_VALUE", // required * DownlinkFrequency: Number("int"), // required * }, * ], * TransmissionInterval: Number("int"), // required * }, * }, * Sidewalk: { // SidewalkSendDataToDevice * Seq: Number("int"), * MessageType: "CUSTOM_COMMAND_ID_NOTIFY" || "CUSTOM_COMMAND_ID_GET" || "CUSTOM_COMMAND_ID_SET" || "CUSTOM_COMMAND_ID_RESP", * AckModeRetryDurationSecs: Number("int"), * }, * }, * }; * const command = new SendDataToWirelessDeviceCommand(input); * const response = await client.send(command); * // { // SendDataToWirelessDeviceResponse * // MessageId: "STRING_VALUE", * // }; * * ``` * * @param SendDataToWirelessDeviceCommandInput - {@link SendDataToWirelessDeviceCommandInput} * @returns {@link SendDataToWirelessDeviceCommandOutput} * @see {@link SendDataToWirelessDeviceCommandInput} for command's `input` shape. * @see {@link SendDataToWirelessDeviceCommandOutput} for command's `response` shape. * @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape. * * @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 SendDataToWirelessDeviceCommand extends SendDataToWirelessDeviceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SendDataToWirelessDeviceRequest; output: SendDataToWirelessDeviceResponse; }; sdk: { input: SendDataToWirelessDeviceCommandInput; output: SendDataToWirelessDeviceCommandOutput; }; }; }