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

Deletes an AWS Device Farm project, given the project ARN. You cannot delete a project if it has an active run or session.

* *

You cannot undo this operation.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, DeleteProjectCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, DeleteProjectCommand } = 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 = { // DeleteProjectRequest * arn: "STRING_VALUE", // required * }; * const command = new DeleteProjectCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteProjectCommandInput - {@link DeleteProjectCommandInput} * @returns {@link DeleteProjectCommandOutput} * @see {@link DeleteProjectCommandInput} for command's `input` shape. * @see {@link DeleteProjectCommandOutput} 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 delete a project * ```javascript * // The following example deletes a specific project. * const input = { * arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" * }; * const command = new DeleteProjectCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @public */ export declare class DeleteProjectCommand extends DeleteProjectCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteProjectRequest; output: {}; }; sdk: { input: DeleteProjectCommandInput; output: DeleteProjectCommandOutput; }; }; }