import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateVolumeRequest, CreateVolumeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateVolumeCommand}. */ export interface CreateVolumeCommandInput extends CreateVolumeRequest { } /** * @public * * The output of {@link CreateVolumeCommand}. */ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __MetadataBearer { } declare const CreateVolumeCommand_base: { new (input: CreateVolumeCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateVolumeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new volume for WorkSpace Instances.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkspacesInstancesClient, CreateVolumeCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import * // const { WorkspacesInstancesClient, CreateVolumeCommand } = 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 = { // CreateVolumeRequest * AvailabilityZone: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", * Encrypted: true || false, * Iops: Number("int"), * KmsKeyId: "STRING_VALUE", * SizeInGB: Number("int"), * SnapshotId: "STRING_VALUE", * TagSpecifications: [ // TagSpecifications * { // TagSpecification * ResourceType: "instance" || "volume" || "spot-instances-request" || "network-interface", * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", * Value: "STRING_VALUE", * }, * ], * }, * ], * Throughput: Number("int"), * VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3", * }; * const command = new CreateVolumeCommand(input); * const response = await client.send(command); * // { // CreateVolumeResponse * // VolumeId: "STRING_VALUE", * // }; * * ``` * * @param CreateVolumeCommandInput - {@link CreateVolumeCommandInput} * @returns {@link CreateVolumeCommandOutput} * @see {@link CreateVolumeCommandInput} for command's `input` shape. * @see {@link CreateVolumeCommandOutput} 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 ServiceQuotaExceededException} (client fault) *

Indicates that a service quota has been exceeded.

* * @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 CreateVolumeCommand extends CreateVolumeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateVolumeRequest; output: CreateVolumeResponse; }; sdk: { input: CreateVolumeCommandInput; output: CreateVolumeCommandOutput; }; }; }