import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDevicesInput, ListDevicesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListDevicesCommand}. */ export interface ListDevicesCommandInput extends ListDevicesInput { } /** * @public * * The output of {@link ListDevicesCommand}. */ export interface ListDevicesCommandOutput extends ListDevicesOutput, __MetadataBearer { } declare const ListDevicesCommand_base: { new (input: ListDevicesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListDevicesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management * enabled in the Amazon Web Services Region where the command is run.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowDeviceManagementClient, ListDevicesCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import * // const { SnowDeviceManagementClient, ListDevicesCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import * // import type { SnowDeviceManagementClientConfig } from "@aws-sdk/client-snow-device-management"; * const config = {}; // type is SnowDeviceManagementClientConfig * const client = new SnowDeviceManagementClient(config); * const input = { // ListDevicesInput * jobId: "STRING_VALUE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListDevicesCommand(input); * const response = await client.send(command); * // { // ListDevicesOutput * // devices: [ // DeviceSummaryList * // { // DeviceSummary * // managedDeviceId: "STRING_VALUE", * // managedDeviceArn: "STRING_VALUE", * // associatedWithJob: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDevicesCommandInput - {@link ListDevicesCommandInput} * @returns {@link ListDevicesCommandOutput} * @see {@link ListDevicesCommandInput} for command's `input` shape. * @see {@link ListDevicesCommandOutput} for command's `response` shape. * @see {@link SnowDeviceManagementClientResolvedConfig | config} for SnowDeviceManagementClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

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

An unexpected error occurred while processing the request.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link SnowDeviceManagementServiceException} *

Base exception class for all service exceptions from SnowDeviceManagement service.

* * * @public */ export declare class ListDevicesCommand extends ListDevicesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDevicesInput; output: ListDevicesOutput; }; sdk: { input: ListDevicesCommandInput; output: ListDevicesCommandOutput; }; }; }