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

Gets a list of all Selenium testing projects in your account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, ListTestGridProjectsCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, ListTestGridProjectsCommand } = 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 = { // ListTestGridProjectsRequest * maxResult: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListTestGridProjectsCommand(input); * const response = await client.send(command); * // { // ListTestGridProjectsResult * // testGridProjects: [ // TestGridProjects * // { // TestGridProject * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // vpcConfig: { // TestGridVpcConfig * // securityGroupIds: [ // SecurityGroupIds // required * // "STRING_VALUE", * // ], * // subnetIds: [ // SubnetIds // required * // "STRING_VALUE", * // ], * // vpcId: "STRING_VALUE", // required * // }, * // created: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListTestGridProjectsCommandInput - {@link ListTestGridProjectsCommandInput} * @returns {@link ListTestGridProjectsCommandOutput} * @see {@link ListTestGridProjectsCommandInput} for command's `input` shape. * @see {@link ListTestGridProjectsCommandOutput} 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 InternalServiceException} (server fault) *

An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this * error.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @public */ export declare class ListTestGridProjectsCommand extends ListTestGridProjectsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTestGridProjectsRequest; output: ListTestGridProjectsResult; }; sdk: { input: ListTestGridProjectsCommandInput; output: ListTestGridProjectsCommandOutput; }; }; }