import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateAutomaticTapeCreationPolicyInput, UpdateAutomaticTapeCreationPolicyOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateAutomaticTapeCreationPolicyCommand}. */ export interface UpdateAutomaticTapeCreationPolicyCommandInput extends UpdateAutomaticTapeCreationPolicyInput { } /** * @public * * The output of {@link UpdateAutomaticTapeCreationPolicyCommand}. */ export interface UpdateAutomaticTapeCreationPolicyCommandOutput extends UpdateAutomaticTapeCreationPolicyOutput, __MetadataBearer { } declare const UpdateAutomaticTapeCreationPolicyCommand_base: { new (input: UpdateAutomaticTapeCreationPolicyCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateAutomaticTapeCreationPolicyCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the automatic tape creation policy of a gateway. Use this to update the policy * with a new set of automatic tape creation rules. This is only supported for tape * gateways.

*

By default, there is no automatic tape creation policy.

* *

A gateway can have only one automatic tape creation policy.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, UpdateAutomaticTapeCreationPolicyCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, UpdateAutomaticTapeCreationPolicyCommand } = 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 = { // UpdateAutomaticTapeCreationPolicyInput * AutomaticTapeCreationRules: [ // AutomaticTapeCreationRules // required * { // AutomaticTapeCreationRule * TapeBarcodePrefix: "STRING_VALUE", // required * PoolId: "STRING_VALUE", // required * TapeSizeInBytes: Number("long"), // required * MinimumNumTapes: Number("int"), // required * Worm: true || false, * }, * ], * GatewayARN: "STRING_VALUE", // required * }; * const command = new UpdateAutomaticTapeCreationPolicyCommand(input); * const response = await client.send(command); * // { // UpdateAutomaticTapeCreationPolicyOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param UpdateAutomaticTapeCreationPolicyCommandInput - {@link UpdateAutomaticTapeCreationPolicyCommandInput} * @returns {@link UpdateAutomaticTapeCreationPolicyCommandOutput} * @see {@link UpdateAutomaticTapeCreationPolicyCommandInput} for command's `input` shape. * @see {@link UpdateAutomaticTapeCreationPolicyCommandOutput} 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 UpdateAutomaticTapeCreationPolicyCommand extends UpdateAutomaticTapeCreationPolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAutomaticTapeCreationPolicyInput; output: UpdateAutomaticTapeCreationPolicyOutput; }; sdk: { input: UpdateAutomaticTapeCreationPolicyCommandInput; output: UpdateAutomaticTapeCreationPolicyCommandOutput; }; }; }