import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateKxVolumeRequest, CreateKxVolumeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateKxVolumeCommand}. */ export interface CreateKxVolumeCommandInput extends CreateKxVolumeRequest { } /** * @public * * The output of {@link CreateKxVolumeCommand}. */ export interface CreateKxVolumeCommandOutput extends CreateKxVolumeResponse, __MetadataBearer { } declare const CreateKxVolumeCommand_base: { new (input: CreateKxVolumeCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateKxVolumeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Creates a new volume with a specific amount of throughput and storage capacity.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, CreateKxVolumeCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, CreateKxVolumeCommand } = require("@aws-sdk/client-finspace"); // CommonJS import * // import type { FinspaceClientConfig } from "@aws-sdk/client-finspace"; * const config = {}; // type is FinspaceClientConfig * const client = new FinspaceClient(config); * const input = { // CreateKxVolumeRequest * clientToken: "STRING_VALUE", * environmentId: "STRING_VALUE", // required * volumeType: "NAS_1", // required * volumeName: "STRING_VALUE", // required * description: "STRING_VALUE", * nas1Configuration: { // KxNAS1Configuration * type: "SSD_1000" || "SSD_250" || "HDD_12", * size: Number("int"), * }, * azMode: "SINGLE" || "MULTI", // required * availabilityZoneIds: [ // AvailabilityZoneIds // required * "STRING_VALUE", * ], * tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateKxVolumeCommand(input); * const response = await client.send(command); * // { // CreateKxVolumeResponse * // environmentId: "STRING_VALUE", * // volumeName: "STRING_VALUE", * // volumeType: "NAS_1", * // volumeArn: "STRING_VALUE", * // nas1Configuration: { // KxNAS1Configuration * // type: "SSD_1000" || "SSD_250" || "HDD_12", * // size: Number("int"), * // }, * // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "DELETE_FAILED", * // statusReason: "STRING_VALUE", * // azMode: "SINGLE" || "MULTI", * // description: "STRING_VALUE", * // availabilityZoneIds: [ // AvailabilityZoneIds * // "STRING_VALUE", * // ], * // createdTimestamp: new Date("TIMESTAMP"), * // }; * * ``` * * @param CreateKxVolumeCommandInput - {@link CreateKxVolumeCommandInput} * @returns {@link CreateKxVolumeCommandOutput} * @see {@link CreateKxVolumeCommandInput} for command's `input` shape. * @see {@link CreateKxVolumeCommandOutput} for command's `response` shape. * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

There was a conflict with this action, and it could not be completed.

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

The request processing has failed because of an unknown error, exception or * failure.

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

A service limit or quota is exceeded.

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

The specified resource group already exists.

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

One or more resources can't be found.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link FinspaceServiceException} *

Base exception class for all service exceptions from Finspace service.

* * * @public */ export declare class CreateKxVolumeCommand extends CreateKxVolumeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateKxVolumeRequest; output: CreateKxVolumeResponse; }; sdk: { input: CreateKxVolumeCommandInput; output: CreateKxVolumeCommandOutput; }; }; }