import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateWorkspaceBundleRequest, CreateWorkspaceBundleResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateWorkspaceBundleCommand}. */ export interface CreateWorkspaceBundleCommandInput extends CreateWorkspaceBundleRequest { } /** * @public * * The output of {@link CreateWorkspaceBundleCommand}. */ export interface CreateWorkspaceBundleCommandOutput extends CreateWorkspaceBundleResult, __MetadataBearer { } declare const CreateWorkspaceBundleCommand_base: { new (input: CreateWorkspaceBundleCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateWorkspaceBundleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see * * Create a Custom WorkSpaces Image and Bundle.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkSpacesClient, CreateWorkspaceBundleCommand } from "@aws-sdk/client-workspaces"; // ES Modules import * // const { WorkSpacesClient, CreateWorkspaceBundleCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces"; * const config = {}; // type is WorkSpacesClientConfig * const client = new WorkSpacesClient(config); * const input = { // CreateWorkspaceBundleRequest * BundleName: "STRING_VALUE", // required * BundleDescription: "STRING_VALUE", // required * ImageId: "STRING_VALUE", // required * ComputeType: { // ComputeType * Name: "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GENERALPURPOSE_4XLARGE" || "GENERALPURPOSE_8XLARGE" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN" || "GRAPHICS_G6_XLARGE" || "GRAPHICS_G6_2XLARGE" || "GRAPHICS_G6_4XLARGE" || "GRAPHICS_G6_8XLARGE" || "GRAPHICS_G6_16XLARGE" || "GRAPHICS_GR6_4XLARGE" || "GRAPHICS_GR6_8XLARGE" || "GRAPHICS_G6F_LARGE" || "GRAPHICS_G6F_XLARGE" || "GRAPHICS_G6F_2XLARGE" || "GRAPHICS_G6F_4XLARGE" || "GRAPHICS_GR6F_4XLARGE", * }, * UserStorage: { // UserStorage * Capacity: "STRING_VALUE", // required * }, * RootStorage: { // RootStorage * Capacity: "STRING_VALUE", // required * }, * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * }, * ], * }; * const command = new CreateWorkspaceBundleCommand(input); * const response = await client.send(command); * // { // CreateWorkspaceBundleResult * // WorkspaceBundle: { // WorkspaceBundle * // BundleId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Owner: "STRING_VALUE", * // Description: "STRING_VALUE", * // ImageId: "STRING_VALUE", * // RootStorage: { // RootStorage * // Capacity: "STRING_VALUE", // required * // }, * // UserStorage: { // UserStorage * // Capacity: "STRING_VALUE", // required * // }, * // ComputeType: { // ComputeType * // Name: "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GENERALPURPOSE_4XLARGE" || "GENERALPURPOSE_8XLARGE" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN" || "GRAPHICS_G6_XLARGE" || "GRAPHICS_G6_2XLARGE" || "GRAPHICS_G6_4XLARGE" || "GRAPHICS_G6_8XLARGE" || "GRAPHICS_G6_16XLARGE" || "GRAPHICS_GR6_4XLARGE" || "GRAPHICS_GR6_8XLARGE" || "GRAPHICS_G6F_LARGE" || "GRAPHICS_G6F_XLARGE" || "GRAPHICS_G6F_2XLARGE" || "GRAPHICS_G6F_4XLARGE" || "GRAPHICS_GR6F_4XLARGE", * // }, * // LastUpdatedTime: new Date("TIMESTAMP"), * // CreationTime: new Date("TIMESTAMP"), * // State: "AVAILABLE" || "PENDING" || "ERROR", * // BundleType: "REGULAR" || "STANDBY", * // }, * // }; * * ``` * * @param CreateWorkspaceBundleCommandInput - {@link CreateWorkspaceBundleCommandInput} * @returns {@link CreateWorkspaceBundleCommandOutput} * @see {@link CreateWorkspaceBundleCommandInput} for command's `input` shape. * @see {@link CreateWorkspaceBundleCommandOutput} for command's `response` shape. * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user is not authorized to access a resource.

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

One or more parameter values are not valid.

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

The specified resource already exists.

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

Your resource limits have been exceeded.

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

The resource could not be found.

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

The specified resource is not available.

* * @throws {@link WorkSpacesServiceException} *

Base exception class for all service exceptions from WorkSpaces service.

* * * @public */ export declare class CreateWorkspaceBundleCommand extends CreateWorkspaceBundleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateWorkspaceBundleRequest; output: CreateWorkspaceBundleResult; }; sdk: { input: CreateWorkspaceBundleCommandInput; output: CreateWorkspaceBundleCommandOutput; }; }; }