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

Gets information about unique device types.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, ListDevicesCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, ListDevicesCommand } = 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 = { // ListDevicesRequest * arn: "STRING_VALUE", * nextToken: "STRING_VALUE", * filters: [ // DeviceFilters * { // DeviceFilter * attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required * operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required * values: [ // DeviceFilterValues // required * "STRING_VALUE", * ], * }, * ], * }; * const command = new ListDevicesCommand(input); * const response = await client.send(command); * // { // ListDevicesResult * // devices: [ // Devices * // { // Device * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // manufacturer: "STRING_VALUE", * // model: "STRING_VALUE", * // modelId: "STRING_VALUE", * // formFactor: "PHONE" || "TABLET", * // platform: "ANDROID" || "IOS", * // os: "STRING_VALUE", * // cpu: { // CPU * // frequency: "STRING_VALUE", * // architecture: "STRING_VALUE", * // clock: Number("double"), * // }, * // resolution: { // Resolution * // width: Number("int"), * // height: Number("int"), * // }, * // heapSize: Number("long"), * // memory: Number("long"), * // image: "STRING_VALUE", * // carrier: "STRING_VALUE", * // radio: "STRING_VALUE", * // remoteAccessEnabled: true || false, * // remoteDebugEnabled: true || false, * // fleetType: "STRING_VALUE", * // fleetName: "STRING_VALUE", * // instances: [ // 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", * // }, * // }, * // ], * // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE", * // }, * // ], * // 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 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.

* * * @example To get information about devices * ```javascript * // The following example returns information about the available devices in a specific project. * const input = { * arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" * }; * const command = new ListDevicesCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @public */ export declare class ListDevicesCommand extends ListDevicesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDevicesRequest; output: ListDevicesResult; }; sdk: { input: ListDevicesCommandInput; output: ListDevicesCommandOutput; }; }; }