import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AssignTapePoolInput, AssignTapePoolOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AssignTapePoolCommand}. */ export interface AssignTapePoolCommandInput extends AssignTapePoolInput { } /** * @public * * The output of {@link AssignTapePoolCommand}. */ export interface AssignTapePoolCommandOutput extends AssignTapePoolOutput, __MetadataBearer { } declare const AssignTapePoolCommand_base: { new (input: AssignTapePoolCommandInput): import("@smithy/core/client").CommandImpl; new (input: AssignTapePoolCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in * the S3 storage class that is associated with the pool. When you use your backup application * to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or * S3 Glacier Deep Archive) that corresponds to the pool.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, AssignTapePoolCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, AssignTapePoolCommand } = 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 = { // AssignTapePoolInput * TapeARN: "STRING_VALUE", // required * PoolId: "STRING_VALUE", // required * BypassGovernanceRetention: true || false, * }; * const command = new AssignTapePoolCommand(input); * const response = await client.send(command); * // { // AssignTapePoolOutput * // TapeARN: "STRING_VALUE", * // }; * * ``` * * @param AssignTapePoolCommandInput - {@link AssignTapePoolCommandInput} * @returns {@link AssignTapePoolCommandOutput} * @see {@link AssignTapePoolCommandInput} for command's `input` shape. * @see {@link AssignTapePoolCommandOutput} 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 AssignTapePoolCommand extends AssignTapePoolCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssignTapePoolInput; output: AssignTapePoolOutput; }; sdk: { input: AssignTapePoolCommandInput; output: AssignTapePoolCommandOutput; }; }; }