import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AssociateVolumeRequest, AssociateVolumeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AssociateVolumeCommand}. */ export interface AssociateVolumeCommandInput extends AssociateVolumeRequest { } /** * @public * * The output of {@link AssociateVolumeCommand}. */ export interface AssociateVolumeCommandOutput extends AssociateVolumeResponse, __MetadataBearer { } declare const AssociateVolumeCommand_base: { new (input: AssociateVolumeCommandInput): import("@smithy/core/client").CommandImpl; new (input: AssociateVolumeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Attaches a volume to a WorkSpace Instance.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkspacesInstancesClient, AssociateVolumeCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import * // const { WorkspacesInstancesClient, AssociateVolumeCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import * // import type { WorkspacesInstancesClientConfig } from "@aws-sdk/client-workspaces-instances"; * const config = {}; // type is WorkspacesInstancesClientConfig * const client = new WorkspacesInstancesClient(config); * const input = { // AssociateVolumeRequest * WorkspaceInstanceId: "STRING_VALUE", // required * VolumeId: "STRING_VALUE", // required * Device: "STRING_VALUE", // required * }; * const command = new AssociateVolumeCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param AssociateVolumeCommandInput - {@link AssociateVolumeCommandInput} * @returns {@link AssociateVolumeCommandOutput} * @see {@link AssociateVolumeCommandInput} for command's `input` shape. * @see {@link AssociateVolumeCommandOutput} for command's `response` shape. * @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Indicates insufficient permissions to perform the requested action.

* * @throws {@link ConflictException} (client fault) *

Signals a conflict with the current state of the resource.

* * @throws {@link InternalServerException} (server fault) *

Indicates an unexpected server-side error occurred.

* * @throws {@link ResourceNotFoundException} (client fault) *

Indicates the requested resource could not be found.

* * @throws {@link ThrottlingException} (client fault) *

Indicates the request rate has exceeded limits.

* * @throws {@link ValidationException} (client fault) *

Indicates invalid input parameters in the request.

* * @throws {@link WorkspacesInstancesServiceException} *

Base exception class for all service exceptions from WorkspacesInstances service.

* * * @public */ export declare class AssociateVolumeCommand extends AssociateVolumeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateVolumeRequest; output: {}; }; sdk: { input: AssociateVolumeCommandInput; output: AssociateVolumeCommandOutput; }; }; }