import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import type { ListDeviceInstancesRequest, ListDeviceInstancesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDeviceInstancesCommand}. */ export interface ListDeviceInstancesCommandInput extends ListDeviceInstancesRequest { } /** * @public * * The output of {@link ListDeviceInstancesCommand}. */ export interface ListDeviceInstancesCommandOutput extends ListDeviceInstancesResult, __MetadataBearer { } declare const ListDeviceInstancesCommand_base: { new (input: ListDeviceInstancesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListDeviceInstancesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about the private device instances associated with one or more AWS * accounts.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, ListDeviceInstancesCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, ListDeviceInstancesCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import * // import type { DeviceFarmClientConfig } from "@aws-sdk/client-device-farm"; * const config = {}; // type is DeviceFarmClientConfig * const client = new DeviceFarmClient(config); * const input = { // ListDeviceInstancesRequest * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListDeviceInstancesCommand(input); * const response = await client.send(command); * // { // ListDeviceInstancesResult * // deviceInstances: [ // DeviceInstances * // { // DeviceInstance * // arn: "STRING_VALUE", * // deviceArn: "STRING_VALUE", * // labels: [ // InstanceLabels * // "STRING_VALUE", * // ], * // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE", * // udid: "STRING_VALUE", * // instanceProfile: { // InstanceProfile * // arn: "STRING_VALUE", * // packageCleanup: true || false, * // excludeAppPackagesFromCleanup: [ // PackageIds * // "STRING_VALUE", * // ], * // rebootAfterUse: true || false, * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDeviceInstancesCommandInput - {@link ListDeviceInstancesCommandInput} * @returns {@link ListDeviceInstancesCommandOutput} * @see {@link ListDeviceInstancesCommandInput} for command's `input` shape. * @see {@link ListDeviceInstancesCommandOutput} for command's `response` shape. * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape. * * @throws {@link ArgumentException} (client fault) *

An invalid argument was specified.

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

A limit was exceeded.

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

The specified entity was not found.

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

There was a problem with the service account.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @public */ export declare class ListDeviceInstancesCommand extends ListDeviceInstancesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDeviceInstancesRequest; output: ListDeviceInstancesResult; }; sdk: { input: ListDeviceInstancesCommandInput; output: ListDeviceInstancesCommandOutput; }; }; }