import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteTapePoolInput, DeleteTapePoolOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteTapePoolCommand}. */ export interface DeleteTapePoolCommandInput extends DeleteTapePoolInput { } /** * @public * * The output of {@link DeleteTapePoolCommand}. */ export interface DeleteTapePoolCommandOutput extends DeleteTapePoolOutput, __MetadataBearer { } declare const DeleteTapePoolCommand_base: { new (input: DeleteTapePoolCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteTapePoolCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Delete a custom tape pool. A custom tape pool can only be deleted if there are no tapes * in the pool and if there are no automatic tape creation policies that reference the custom * tape pool.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, DeleteTapePoolCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, DeleteTapePoolCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // DeleteTapePoolInput * PoolARN: "STRING_VALUE", // required * }; * const command = new DeleteTapePoolCommand(input); * const response = await client.send(command); * // { // DeleteTapePoolOutput * // PoolARN: "STRING_VALUE", * // }; * * ``` * * @param DeleteTapePoolCommandInput - {@link DeleteTapePoolCommandInput} * @returns {@link DeleteTapePoolCommandOutput} * @see {@link DeleteTapePoolCommandInput} for command's `input` shape. * @see {@link DeleteTapePoolCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

* * @throws {@link InvalidGatewayRequestException} (client fault) *

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @public */ export declare class DeleteTapePoolCommand extends DeleteTapePoolCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTapePoolInput; output: DeleteTapePoolOutput; }; sdk: { input: DeleteTapePoolCommandInput; output: DeleteTapePoolCommandOutput; }; }; }