@aws-sdk/client-workspaces 3.195.0 → 3.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/WorkSpaces.d.ts +16 -3
- package/dist-types/commands/CreateWorkspacesCommand.d.ts +6 -0
- package/dist-types/commands/ImportWorkspaceImageCommand.d.ts +4 -3
- package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +22 -9
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.196.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.195.0...v3.196.0) (2022-10-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-workspaces:** This release adds new enums for supporting Workspaces Core features, including creating Manual running mode workspaces, importing regular Workspaces Core images and importing g4dn Workspaces Core images. ([7d3dc18](https://github.com/aws/aws-sdk-js-v3/commit/7d3dc18083a054d39c7abcd7cd4fe1c5d5e0e45b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.195.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.194.0...v3.195.0) (2022-10-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -231,6 +231,7 @@ var RunningMode;
|
|
|
231
231
|
(function (RunningMode) {
|
|
232
232
|
RunningMode["ALWAYS_ON"] = "ALWAYS_ON";
|
|
233
233
|
RunningMode["AUTO_STOP"] = "AUTO_STOP";
|
|
234
|
+
RunningMode["MANUAL"] = "MANUAL";
|
|
234
235
|
})(RunningMode = exports.RunningMode || (exports.RunningMode = {}));
|
|
235
236
|
var ModificationResourceEnum;
|
|
236
237
|
(function (ModificationResourceEnum) {
|
|
@@ -306,7 +307,9 @@ var WorkspaceImageIngestionProcess;
|
|
|
306
307
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICS"] = "BYOL_GRAPHICS";
|
|
307
308
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICSPRO"] = "BYOL_GRAPHICSPRO";
|
|
308
309
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICS_G4DN"] = "BYOL_GRAPHICS_G4DN";
|
|
310
|
+
WorkspaceImageIngestionProcess["BYOL_GRAPHICS_G4DN_BYOP"] = "BYOL_GRAPHICS_G4DN_BYOP";
|
|
309
311
|
WorkspaceImageIngestionProcess["BYOL_REGULAR"] = "BYOL_REGULAR";
|
|
312
|
+
WorkspaceImageIngestionProcess["BYOL_REGULAR_BYOP"] = "BYOL_REGULAR_BYOP";
|
|
310
313
|
WorkspaceImageIngestionProcess["BYOL_REGULAR_WSP"] = "BYOL_REGULAR_WSP";
|
|
311
314
|
})(WorkspaceImageIngestionProcess = exports.WorkspaceImageIngestionProcess || (exports.WorkspaceImageIngestionProcess = {}));
|
|
312
315
|
class OperationInProgressException extends WorkSpacesServiceException_1.WorkSpacesServiceException {
|
|
@@ -214,6 +214,7 @@ export var RunningMode;
|
|
|
214
214
|
(function (RunningMode) {
|
|
215
215
|
RunningMode["ALWAYS_ON"] = "ALWAYS_ON";
|
|
216
216
|
RunningMode["AUTO_STOP"] = "AUTO_STOP";
|
|
217
|
+
RunningMode["MANUAL"] = "MANUAL";
|
|
217
218
|
})(RunningMode || (RunningMode = {}));
|
|
218
219
|
export var ModificationResourceEnum;
|
|
219
220
|
(function (ModificationResourceEnum) {
|
|
@@ -289,7 +290,9 @@ export var WorkspaceImageIngestionProcess;
|
|
|
289
290
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICS"] = "BYOL_GRAPHICS";
|
|
290
291
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICSPRO"] = "BYOL_GRAPHICSPRO";
|
|
291
292
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICS_G4DN"] = "BYOL_GRAPHICS_G4DN";
|
|
293
|
+
WorkspaceImageIngestionProcess["BYOL_GRAPHICS_G4DN_BYOP"] = "BYOL_GRAPHICS_G4DN_BYOP";
|
|
292
294
|
WorkspaceImageIngestionProcess["BYOL_REGULAR"] = "BYOL_REGULAR";
|
|
295
|
+
WorkspaceImageIngestionProcess["BYOL_REGULAR_BYOP"] = "BYOL_REGULAR_BYOP";
|
|
293
296
|
WorkspaceImageIngestionProcess["BYOL_REGULAR_WSP"] = "BYOL_REGULAR_WSP";
|
|
294
297
|
})(WorkspaceImageIngestionProcess || (WorkspaceImageIngestionProcess = {}));
|
|
295
298
|
export class OperationInProgressException extends __BaseException {
|
|
@@ -205,6 +205,12 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
205
205
|
/**
|
|
206
206
|
* <p>Creates one or more WorkSpaces.</p>
|
|
207
207
|
* <p>This operation is asynchronous and returns before the WorkSpaces are created.</p>
|
|
208
|
+
* <note>
|
|
209
|
+
* <p>The <code>MANUAL</code> running mode value is only supported by Amazon WorkSpaces
|
|
210
|
+
* Core. Contact your account team to be allow-listed to use this value. For more
|
|
211
|
+
* information, see <a href="http://aws.amazon.com/workspaces/core/">Amazon WorkSpaces
|
|
212
|
+
* Core</a>.</p>
|
|
213
|
+
* </note>
|
|
208
214
|
*/
|
|
209
215
|
createWorkspaces(args: CreateWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspacesCommandOutput>;
|
|
210
216
|
createWorkspaces(args: CreateWorkspacesCommandInput, cb: (err: any, data?: CreateWorkspacesCommandOutput) => void): void;
|
|
@@ -464,9 +470,10 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
464
470
|
importClientBranding(args: ImportClientBrandingCommandInput, cb: (err: any, data?: ImportClientBrandingCommandOutput) => void): void;
|
|
465
471
|
importClientBranding(args: ImportClientBrandingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportClientBrandingCommandOutput) => void): void;
|
|
466
472
|
/**
|
|
467
|
-
* <p>Imports the specified Windows 10 Bring Your Own License (BYOL)
|
|
468
|
-
* WorkSpaces. The image must be an already licensed Amazon EC2 image that is
|
|
469
|
-
*
|
|
473
|
+
* <p>Imports the specified Windows 10 Bring Your Own License (BYOL) or Windows Server 2016 BYOL
|
|
474
|
+
* image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is
|
|
475
|
+
* in your Amazon Web Services account, and you must own the image. For more information about
|
|
476
|
+
* creating BYOL images, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html"> Bring Your Own Windows
|
|
470
477
|
* Desktop Licenses</a>.</p>
|
|
471
478
|
*/
|
|
472
479
|
importWorkspaceImage(args: ImportWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<ImportWorkspaceImageCommandOutput>;
|
|
@@ -547,6 +554,12 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
547
554
|
* <p>Modifies the specified WorkSpace properties. For important information about how to
|
|
548
555
|
* modify the size of the root and user volumes, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html"> Modify a WorkSpace</a>.
|
|
549
556
|
* </p>
|
|
557
|
+
* <note>
|
|
558
|
+
* <p>The <code>MANUAL</code> running mode value is only supported by Amazon WorkSpaces
|
|
559
|
+
* Core. Contact your account team to be allow-listed to use this value. For more
|
|
560
|
+
* information, see <a href="http://aws.amazon.com/workspaces/core/">Amazon WorkSpaces
|
|
561
|
+
* Core</a>.</p>
|
|
562
|
+
* </note>
|
|
550
563
|
*/
|
|
551
564
|
modifyWorkspaceProperties(args: ModifyWorkspacePropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyWorkspacePropertiesCommandOutput>;
|
|
552
565
|
modifyWorkspaceProperties(args: ModifyWorkspacePropertiesCommandInput, cb: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void): void;
|
|
@@ -10,6 +10,12 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates one or more WorkSpaces.</p>
|
|
12
12
|
* <p>This operation is asynchronous and returns before the WorkSpaces are created.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>The <code>MANUAL</code> running mode value is only supported by Amazon WorkSpaces
|
|
15
|
+
* Core. Contact your account team to be allow-listed to use this value. For more
|
|
16
|
+
* information, see <a href="http://aws.amazon.com/workspaces/core/">Amazon WorkSpaces
|
|
17
|
+
* Core</a>.</p>
|
|
18
|
+
* </note>
|
|
13
19
|
* @example
|
|
14
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
21
|
* ```javascript
|
|
@@ -8,9 +8,10 @@ export interface ImportWorkspaceImageCommandInput extends ImportWorkspaceImageRe
|
|
|
8
8
|
export interface ImportWorkspaceImageCommandOutput extends ImportWorkspaceImageResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Imports the specified Windows 10 Bring Your Own License (BYOL)
|
|
12
|
-
* WorkSpaces. The image must be an already licensed Amazon EC2 image that is
|
|
13
|
-
*
|
|
11
|
+
* <p>Imports the specified Windows 10 Bring Your Own License (BYOL) or Windows Server 2016 BYOL
|
|
12
|
+
* image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is
|
|
13
|
+
* in your Amazon Web Services account, and you must own the image. For more information about
|
|
14
|
+
* creating BYOL images, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html"> Bring Your Own Windows
|
|
14
15
|
* Desktop Licenses</a>.</p>
|
|
15
16
|
* @example
|
|
16
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,6 +11,12 @@ export interface ModifyWorkspacePropertiesCommandOutput extends ModifyWorkspaceP
|
|
|
11
11
|
* <p>Modifies the specified WorkSpace properties. For important information about how to
|
|
12
12
|
* modify the size of the root and user volumes, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html"> Modify a WorkSpace</a>.
|
|
13
13
|
* </p>
|
|
14
|
+
* <note>
|
|
15
|
+
* <p>The <code>MANUAL</code> running mode value is only supported by Amazon WorkSpaces
|
|
16
|
+
* Core. Contact your account team to be allow-listed to use this value. For more
|
|
17
|
+
* information, see <a href="http://aws.amazon.com/workspaces/core/">Amazon WorkSpaces
|
|
18
|
+
* Core</a>.</p>
|
|
19
|
+
* </note>
|
|
14
20
|
* @example
|
|
15
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
22
|
* ```javascript
|
|
@@ -725,8 +725,7 @@ export interface CreateWorkspaceImageResult {
|
|
|
725
725
|
* When Bring Your Own License (BYOL) is enabled, this value is set
|
|
726
726
|
* to DEDICATED. For more information, see
|
|
727
727
|
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.htm">
|
|
728
|
-
* Bring Your Own Windows Desktop Images.</a>
|
|
729
|
-
* </p>
|
|
728
|
+
* Bring Your Own Windows Desktop Images.</a>.</p>
|
|
730
729
|
*/
|
|
731
730
|
RequiredTenancy?: WorkspaceImageRequiredTenancy | string;
|
|
732
731
|
/**
|
|
@@ -740,7 +739,8 @@ export interface CreateWorkspaceImageResult {
|
|
|
740
739
|
}
|
|
741
740
|
export declare enum RunningMode {
|
|
742
741
|
ALWAYS_ON = "ALWAYS_ON",
|
|
743
|
-
AUTO_STOP = "AUTO_STOP"
|
|
742
|
+
AUTO_STOP = "AUTO_STOP",
|
|
743
|
+
MANUAL = "MANUAL"
|
|
744
744
|
}
|
|
745
745
|
/**
|
|
746
746
|
* <p>Describes a WorkSpace.</p>
|
|
@@ -748,7 +748,12 @@ export declare enum RunningMode {
|
|
|
748
748
|
export interface WorkspaceProperties {
|
|
749
749
|
/**
|
|
750
750
|
* <p>The running mode. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html">Manage the WorkSpace Running
|
|
751
|
-
*
|
|
751
|
+
* Mode</a>.</p>
|
|
752
|
+
* <note>
|
|
753
|
+
* <p>The <code>MANUAL</code> value is only supported by Amazon WorkSpaces Core. Contact
|
|
754
|
+
* your account team to be allow-listed to use this value. For more information, see
|
|
755
|
+
* <a href="http://aws.amazon.com/workspaces/core/">Amazon WorkSpaces Core</a>.</p>
|
|
756
|
+
* </note>
|
|
752
757
|
*/
|
|
753
758
|
RunningMode?: RunningMode | string;
|
|
754
759
|
/**
|
|
@@ -2238,7 +2243,9 @@ export declare enum WorkspaceImageIngestionProcess {
|
|
|
2238
2243
|
BYOL_GRAPHICS = "BYOL_GRAPHICS",
|
|
2239
2244
|
BYOL_GRAPHICSPRO = "BYOL_GRAPHICSPRO",
|
|
2240
2245
|
BYOL_GRAPHICS_G4DN = "BYOL_GRAPHICS_G4DN",
|
|
2246
|
+
BYOL_GRAPHICS_G4DN_BYOP = "BYOL_GRAPHICS_G4DN_BYOP",
|
|
2241
2247
|
BYOL_REGULAR = "BYOL_REGULAR",
|
|
2248
|
+
BYOL_REGULAR_BYOP = "BYOL_REGULAR_BYOP",
|
|
2242
2249
|
BYOL_REGULAR_WSP = "BYOL_REGULAR_WSP"
|
|
2243
2250
|
}
|
|
2244
2251
|
export interface ImportWorkspaceImageRequest {
|
|
@@ -2248,12 +2255,18 @@ export interface ImportWorkspaceImageRequest {
|
|
|
2248
2255
|
Ec2ImageId: string | undefined;
|
|
2249
2256
|
/**
|
|
2250
2257
|
* <p>The ingestion process to be used when importing the image, depending on which protocol
|
|
2251
|
-
* you want to use for your BYOL Workspace image, either PCoIP
|
|
2252
|
-
*
|
|
2253
|
-
* specify a value that does not end in <code>_WSP</code>.
|
|
2258
|
+
* you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol
|
|
2259
|
+
* (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in
|
|
2260
|
+
* <code>_WSP</code>. To use PCoIP, specify a value that does not end in <code>_WSP</code>.
|
|
2261
|
+
* To use BYOP, specify a value that ends in <code>_BYOP</code>.</p>
|
|
2254
2262
|
* <p>For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify
|
|
2255
|
-
*
|
|
2256
|
-
* protocol.</p>
|
|
2263
|
+
* <code>BYOL_REGULAR</code>, <code>BYOL_REGULAR_WSP</code>, or <code>BYOL_REGULAR_BYOP</code>,
|
|
2264
|
+
* depending on the protocol.</p>
|
|
2265
|
+
* <note>
|
|
2266
|
+
* <p>The <code>BYOL_REGULAR_BYOP</code> and <code>BYOL_GRAPHICS_G4DN_BYOP</code> values
|
|
2267
|
+
* are only supported by Amazon WorkSpaces Core. Contact your account team to be
|
|
2268
|
+
* allow-listed to use these values. For more information, see <a href="http://aws.amazon.com/workspaces/core/">Amazon WorkSpaces Core</a>.</p>
|
|
2269
|
+
* </note>
|
|
2257
2270
|
*/
|
|
2258
2271
|
IngestionProcess: WorkspaceImageIngestionProcess | string | undefined;
|
|
2259
2272
|
/**
|
|
@@ -320,6 +320,7 @@ export interface CreateWorkspaceImageResult {
|
|
|
320
320
|
export declare enum RunningMode {
|
|
321
321
|
ALWAYS_ON = "ALWAYS_ON",
|
|
322
322
|
AUTO_STOP = "AUTO_STOP",
|
|
323
|
+
MANUAL = "MANUAL",
|
|
323
324
|
}
|
|
324
325
|
export interface WorkspaceProperties {
|
|
325
326
|
RunningMode?: RunningMode | string;
|
|
@@ -754,7 +755,9 @@ export declare enum WorkspaceImageIngestionProcess {
|
|
|
754
755
|
BYOL_GRAPHICS = "BYOL_GRAPHICS",
|
|
755
756
|
BYOL_GRAPHICSPRO = "BYOL_GRAPHICSPRO",
|
|
756
757
|
BYOL_GRAPHICS_G4DN = "BYOL_GRAPHICS_G4DN",
|
|
758
|
+
BYOL_GRAPHICS_G4DN_BYOP = "BYOL_GRAPHICS_G4DN_BYOP",
|
|
757
759
|
BYOL_REGULAR = "BYOL_REGULAR",
|
|
760
|
+
BYOL_REGULAR_BYOP = "BYOL_REGULAR_BYOP",
|
|
758
761
|
BYOL_REGULAR_WSP = "BYOL_REGULAR_WSP",
|
|
759
762
|
}
|
|
760
763
|
export interface ImportWorkspaceImageRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.196.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.196.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.193.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.196.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.193.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.196.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|