import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeTapeArchivesInput, DescribeTapeArchivesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeTapeArchivesCommand}. */ export interface DescribeTapeArchivesCommandInput extends DescribeTapeArchivesInput { } /** * @public * * The output of {@link DescribeTapeArchivesCommand}. */ export interface DescribeTapeArchivesCommandOutput extends DescribeTapeArchivesOutput, __MetadataBearer { } declare const DescribeTapeArchivesCommand_base: { new (input: DescribeTapeArchivesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeTapeArchivesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This * operation is only supported in the tape gateway type.

*

If a specific TapeARN is not specified, Storage Gateway returns a * description of all virtual tapes found in the VTS associated with your account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, DescribeTapeArchivesCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, DescribeTapeArchivesCommand } = 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 = { // DescribeTapeArchivesInput * TapeARNs: [ // TapeARNs * "STRING_VALUE", * ], * Marker: "STRING_VALUE", * Limit: Number("int"), * }; * const command = new DescribeTapeArchivesCommand(input); * const response = await client.send(command); * // { // DescribeTapeArchivesOutput * // TapeArchives: [ // TapeArchives * // { // TapeArchive * // TapeARN: "STRING_VALUE", * // TapeBarcode: "STRING_VALUE", * // TapeCreatedDate: new Date("TIMESTAMP"), * // TapeSizeInBytes: Number("long"), * // CompletionTime: new Date("TIMESTAMP"), * // RetrievedTo: "STRING_VALUE", * // TapeStatus: "STRING_VALUE", * // TapeUsedInBytes: Number("long"), * // KMSKey: "STRING_VALUE", * // PoolId: "STRING_VALUE", * // Worm: true || false, * // RetentionStartDate: new Date("TIMESTAMP"), * // PoolEntryDate: new Date("TIMESTAMP"), * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param DescribeTapeArchivesCommandInput - {@link DescribeTapeArchivesCommandInput} * @returns {@link DescribeTapeArchivesCommandOutput} * @see {@link DescribeTapeArchivesCommandInput} for command's `input` shape. * @see {@link DescribeTapeArchivesCommandOutput} 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 DescribeTapeArchivesCommand extends DescribeTapeArchivesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeTapeArchivesInput; output: DescribeTapeArchivesOutput; }; sdk: { input: DescribeTapeArchivesCommandInput; output: DescribeTapeArchivesCommandOutput; }; }; }