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

Deletes a device pool given the pool ARN. Does not allow deletion of curated pools * owned by the system.

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