import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteTapeInput, DeleteTapeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteTapeCommand}. */ export interface DeleteTapeCommandInput extends DeleteTapeInput { } /** * @public * * The output of {@link DeleteTapeCommand}. */ export interface DeleteTapeCommandOutput extends DeleteTapeOutput, __MetadataBearer { } declare const DeleteTapeCommand_base: { new (input: DeleteTapeCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteTapeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified virtual tape. This operation is only supported in the tape gateway * type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, DeleteTapeCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, DeleteTapeCommand } = 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 = { // DeleteTapeInput * GatewayARN: "STRING_VALUE", // required * TapeARN: "STRING_VALUE", // required * BypassGovernanceRetention: true || false, * }; * const command = new DeleteTapeCommand(input); * const response = await client.send(command); * // { // DeleteTapeOutput * // TapeARN: "STRING_VALUE", * // }; * * ``` * * @param DeleteTapeCommandInput - {@link DeleteTapeCommandInput} * @returns {@link DeleteTapeCommandOutput} * @see {@link DeleteTapeCommandInput} for command's `input` shape. * @see {@link DeleteTapeCommandOutput} 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.

* * * @example To delete a virtual tape * ```javascript * // This example deletes the specified virtual tape. * const input = { * GatewayARN: "arn:aws:storagegateway:us-east-1:204469490176:gateway/sgw-12A3456B", * TapeARN: "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" * }; * const command = new DeleteTapeCommand(input); * const response = await client.send(command); * /* response is * { * TapeARN: "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" * } * *\/ * ``` * * @public */ export declare class DeleteTapeCommand extends DeleteTapeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTapeInput; output: DeleteTapeOutput; }; sdk: { input: DeleteTapeCommandInput; output: DeleteTapeCommandOutput; }; }; }