import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AddUploadBufferInput, AddUploadBufferOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AddUploadBufferCommand}. */ export interface AddUploadBufferCommandInput extends AddUploadBufferInput { } /** * @public * * The output of {@link AddUploadBufferCommand}. */ export interface AddUploadBufferCommandOutput extends AddUploadBufferOutput, __MetadataBearer { } declare const AddUploadBufferCommand_base: { new (input: AddUploadBufferCommandInput): import("@smithy/core/client").CommandImpl; new (input: AddUploadBufferCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Configures one or more gateway local disks as upload buffer for a specified gateway. * This operation is supported for the stored volume, cached volume, and tape gateway * types.

*

In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to * add upload buffer, and one or more disk IDs that you want to configure as upload * buffer.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, AddUploadBufferCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, AddUploadBufferCommand } = 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 = { // AddUploadBufferInput * GatewayARN: "STRING_VALUE", // required * DiskIds: [ // DiskIds // required * "STRING_VALUE", * ], * }; * const command = new AddUploadBufferCommand(input); * const response = await client.send(command); * // { // AddUploadBufferOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param AddUploadBufferCommandInput - {@link AddUploadBufferCommandInput} * @returns {@link AddUploadBufferCommandOutput} * @see {@link AddUploadBufferCommandInput} for command's `input` shape. * @see {@link AddUploadBufferCommandOutput} 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 add upload buffer on local disk * ```javascript * // Configures one or more gateway local disks as upload buffer for a specified gateway. * const input = { * DiskIds: [ * "pci-0000:03:00.0-scsi-0:0:0:0", * "pci-0000:03:00.0-scsi-0:0:1:0" * ], * GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" * }; * const command = new AddUploadBufferCommand(input); * const response = await client.send(command); * /* response is * { * GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" * } * *\/ * ``` * * @public */ export declare class AddUploadBufferCommand extends AddUploadBufferCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AddUploadBufferInput; output: AddUploadBufferOutput; }; sdk: { input: AddUploadBufferCommandInput; output: AddUploadBufferCommandOutput; }; }; }