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 { ListDestinationsRequest, ListDestinationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDestinationsCommand}. */ export interface ListDestinationsCommandInput extends ListDestinationsRequest { } /** * @public * * The output of {@link ListDestinationsCommand}. */ export interface ListDestinationsCommandOutput extends ListDestinationsResponse, __MetadataBearer { } declare const ListDestinationsCommand_base: { new (input: ListDestinationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListDestinationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the destinations registered to your AWS account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTWirelessClient, ListDestinationsCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import * // const { IoTWirelessClient, ListDestinationsCommand } = 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 = { // ListDestinationsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListDestinationsCommand(input); * const response = await client.send(command); * // { // ListDestinationsResponse * // NextToken: "STRING_VALUE", * // DestinationList: [ // DestinationList * // { // Destinations * // Arn: "STRING_VALUE", * // Name: "STRING_VALUE", * // ExpressionType: "RuleName" || "MqttTopic", * // Expression: "STRING_VALUE", * // Description: "STRING_VALUE", * // RoleArn: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListDestinationsCommandInput - {@link ListDestinationsCommandInput} * @returns {@link ListDestinationsCommandOutput} * @see {@link ListDestinationsCommandInput} for command's `input` shape. * @see {@link ListDestinationsCommandOutput} 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 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 ListDestinationsCommand extends ListDestinationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDestinationsRequest; output: ListDestinationsResponse; }; sdk: { input: ListDestinationsCommandInput; output: ListDestinationsCommandOutput; }; }; }