import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ModifyWorkspacePropertiesRequest, ModifyWorkspacePropertiesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ModifyWorkspacePropertiesCommand}. */ export interface ModifyWorkspacePropertiesCommandInput extends ModifyWorkspacePropertiesRequest { } /** * @public * * The output of {@link ModifyWorkspacePropertiesCommand}. */ export interface ModifyWorkspacePropertiesCommandOutput extends ModifyWorkspacePropertiesResult, __MetadataBearer { } declare const ModifyWorkspacePropertiesCommand_base: { new (input: ModifyWorkspacePropertiesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ModifyWorkspacePropertiesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Modifies the specified WorkSpace properties. For important information about how to * modify the size of the root and user volumes, see Modify a WorkSpace. *

* *

The MANUAL running mode value is only supported by Amazon WorkSpaces * Core. Contact your account team to be allow-listed to use this value. For more * information, see Amazon WorkSpaces * Core.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkSpacesClient, ModifyWorkspacePropertiesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import * // const { WorkSpacesClient, ModifyWorkspacePropertiesCommand } = 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 = { // ModifyWorkspacePropertiesRequest * WorkspaceId: "STRING_VALUE", // required * WorkspaceProperties: { // WorkspaceProperties * RunningMode: "AUTO_STOP" || "ALWAYS_ON" || "MANUAL", * RunningModeAutoStopTimeoutInMinutes: Number("int"), * RootVolumeSizeGib: Number("int"), * UserVolumeSizeGib: Number("int"), * ComputeTypeName: "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", * Protocols: [ // ProtocolList * "PCOIP" || "WSP", * ], * OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "WINDOWS_SERVER_2025" || "RHEL_8" || "ROCKY_8", * GlobalAccelerator: { // GlobalAcceleratorForWorkSpace * Mode: "ENABLED_AUTO" || "DISABLED" || "INHERITED", // required * PreferredProtocol: "TCP" || "NONE" || "INHERITED", * }, * }, * DataReplication: "NO_REPLICATION" || "PRIMARY_AS_SOURCE", * }; * const command = new ModifyWorkspacePropertiesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param ModifyWorkspacePropertiesCommandInput - {@link ModifyWorkspacePropertiesCommandInput} * @returns {@link ModifyWorkspacePropertiesCommandOutput} * @see {@link ModifyWorkspacePropertiesCommandInput} for command's `input` shape. * @see {@link ModifyWorkspacePropertiesCommandOutput} 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 InvalidResourceStateException} (client fault) *

The state of the resource is not valid for this operation.

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

The properties of this WorkSpace are currently being modified. Try again in a moment.

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

The resource could not be found.

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

The specified resource is not available.

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

The configuration of this WorkSpace is not supported for this operation. For more information, see * Required * Configuration and Service Components for WorkSpaces .

* * @throws {@link WorkSpacesServiceException} *

Base exception class for all service exceptions from WorkSpaces service.

* * * @public */ export declare class ModifyWorkspacePropertiesCommand extends ModifyWorkspacePropertiesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyWorkspacePropertiesRequest; output: {}; }; sdk: { input: ModifyWorkspacePropertiesCommandInput; output: ModifyWorkspacePropertiesCommandOutput; }; }; }