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

Gets information about tests in a given test suite.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, ListTestsCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, ListTestsCommand } = 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 = { // ListTestsRequest * arn: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * }; * const command = new ListTestsCommand(input); * const response = await client.send(command); * // { // ListTestsResult * // tests: [ // Tests * // { // Test * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // type: "BUILTIN_FUZZ" || "APPIUM_JAVA_JUNIT" || "APPIUM_JAVA_TESTNG" || "APPIUM_PYTHON" || "APPIUM_NODE" || "APPIUM_RUBY" || "APPIUM_WEB_JAVA_JUNIT" || "APPIUM_WEB_JAVA_TESTNG" || "APPIUM_WEB_PYTHON" || "APPIUM_WEB_NODE" || "APPIUM_WEB_RUBY" || "INSTRUMENTATION" || "XCTEST" || "XCTEST_UI", * // created: new Date("TIMESTAMP"), * // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING", * // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED", * // started: new Date("TIMESTAMP"), * // stopped: new Date("TIMESTAMP"), * // counters: { // Counters * // total: Number("int"), * // passed: Number("int"), * // failed: Number("int"), * // warned: Number("int"), * // errored: Number("int"), * // stopped: Number("int"), * // skipped: Number("int"), * // }, * // message: "STRING_VALUE", * // deviceMinutes: { // DeviceMinutes * // total: Number("double"), * // metered: Number("double"), * // unmetered: Number("double"), * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListTestsCommandInput - {@link ListTestsCommandInput} * @returns {@link ListTestsCommandOutput} * @see {@link ListTestsCommandInput} for command's `input` shape. * @see {@link ListTestsCommandOutput} 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 tests * ```javascript * // The following example returns information about tests, given a specific Device Farm project. * const input = { * arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", * nextToken: "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" * }; * const command = new ListTestsCommand(input); * const response = await client.send(command); * /* response is * { * tests: [] * } * *\/ * ``` * * @public */ export declare class ListTestsCommand extends ListTestsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTestsRequest; output: ListTestsResult; }; sdk: { input: ListTestsCommandInput; output: ListTestsCommandOutput; }; }; }