@aws-sdk/client-workspaces 3.137.0 → 3.142.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.
@@ -9,6 +9,7 @@ import { CreateIpGroupCommand, } from "./commands/CreateIpGroupCommand";
9
9
  import { CreateTagsCommand } from "./commands/CreateTagsCommand";
10
10
  import { CreateUpdatedWorkspaceImageCommand, } from "./commands/CreateUpdatedWorkspaceImageCommand";
11
11
  import { CreateWorkspaceBundleCommand, } from "./commands/CreateWorkspaceBundleCommand";
12
+ import { CreateWorkspaceImageCommand, } from "./commands/CreateWorkspaceImageCommand";
12
13
  import { CreateWorkspacesCommand, } from "./commands/CreateWorkspacesCommand";
13
14
  import { DeleteClientBrandingCommand, } from "./commands/DeleteClientBrandingCommand";
14
15
  import { DeleteConnectClientAddInCommand, } from "./commands/DeleteConnectClientAddInCommand";
@@ -42,6 +43,7 @@ import { ListAvailableManagementCidrRangesCommand, } from "./commands/ListAvaila
42
43
  import { MigrateWorkspaceCommand, } from "./commands/MigrateWorkspaceCommand";
43
44
  import { ModifyAccountCommand, } from "./commands/ModifyAccountCommand";
44
45
  import { ModifyClientPropertiesCommand, } from "./commands/ModifyClientPropertiesCommand";
46
+ import { ModifySamlPropertiesCommand, } from "./commands/ModifySamlPropertiesCommand";
45
47
  import { ModifySelfservicePermissionsCommand, } from "./commands/ModifySelfservicePermissionsCommand";
46
48
  import { ModifyWorkspaceAccessPropertiesCommand, } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
47
49
  import { ModifyWorkspaceCreationPropertiesCommand, } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
@@ -206,6 +208,20 @@ var WorkSpaces = (function (_super) {
206
208
  return this.send(command, optionsOrCb);
207
209
  }
208
210
  };
211
+ WorkSpaces.prototype.createWorkspaceImage = function (args, optionsOrCb, cb) {
212
+ var command = new CreateWorkspaceImageCommand(args);
213
+ if (typeof optionsOrCb === "function") {
214
+ this.send(command, optionsOrCb);
215
+ }
216
+ else if (typeof cb === "function") {
217
+ if (typeof optionsOrCb !== "object")
218
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
219
+ this.send(command, optionsOrCb || {}, cb);
220
+ }
221
+ else {
222
+ return this.send(command, optionsOrCb);
223
+ }
224
+ };
209
225
  WorkSpaces.prototype.createWorkspaces = function (args, optionsOrCb, cb) {
210
226
  var command = new CreateWorkspacesCommand(args);
211
227
  if (typeof optionsOrCb === "function") {
@@ -668,6 +684,20 @@ var WorkSpaces = (function (_super) {
668
684
  return this.send(command, optionsOrCb);
669
685
  }
670
686
  };
687
+ WorkSpaces.prototype.modifySamlProperties = function (args, optionsOrCb, cb) {
688
+ var command = new ModifySamlPropertiesCommand(args);
689
+ if (typeof optionsOrCb === "function") {
690
+ this.send(command, optionsOrCb);
691
+ }
692
+ else if (typeof cb === "function") {
693
+ if (typeof optionsOrCb !== "object")
694
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
695
+ this.send(command, optionsOrCb || {}, cb);
696
+ }
697
+ else {
698
+ return this.send(command, optionsOrCb);
699
+ }
700
+ };
671
701
  WorkSpaces.prototype.modifySelfservicePermissions = function (args, optionsOrCb, cb) {
672
702
  var command = new ModifySelfservicePermissionsCommand(args);
673
703
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateWorkspaceImageRequestFilterSensitiveLog, CreateWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateWorkspaceImageCommand, serializeAws_json1_1CreateWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateWorkspaceImageCommand = (function (_super) {
7
+ __extends(CreateWorkspaceImageCommand, _super);
8
+ function CreateWorkspaceImageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateWorkspaceImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesClient";
18
+ var commandName = "CreateWorkspaceImageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateWorkspaceImageRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateWorkspaceImageResultFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateWorkspaceImageCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateWorkspaceImageCommand(input, context);
33
+ };
34
+ CreateWorkspaceImageCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateWorkspaceImageCommand(output, context);
36
+ };
37
+ return CreateWorkspaceImageCommand;
38
+ }($Command));
39
+ export { CreateWorkspaceImageCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ModifySamlPropertiesRequestFilterSensitiveLog, ModifySamlPropertiesResultFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1ModifySamlPropertiesCommand, serializeAws_json1_1ModifySamlPropertiesCommand, } from "../protocols/Aws_json1_1";
6
+ var ModifySamlPropertiesCommand = (function (_super) {
7
+ __extends(ModifySamlPropertiesCommand, _super);
8
+ function ModifySamlPropertiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ModifySamlPropertiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesClient";
18
+ var commandName = "ModifySamlPropertiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ModifySamlPropertiesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ModifySamlPropertiesResultFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifySamlPropertiesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ModifySamlPropertiesCommand(input, context);
33
+ };
34
+ ModifySamlPropertiesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ModifySamlPropertiesCommand(output, context);
36
+ };
37
+ return ModifySamlPropertiesCommand;
38
+ }($Command));
39
+ export { ModifySamlPropertiesCommand };
@@ -8,6 +8,7 @@ export * from "./CreateIpGroupCommand";
8
8
  export * from "./CreateTagsCommand";
9
9
  export * from "./CreateUpdatedWorkspaceImageCommand";
10
10
  export * from "./CreateWorkspaceBundleCommand";
11
+ export * from "./CreateWorkspaceImageCommand";
11
12
  export * from "./CreateWorkspacesCommand";
12
13
  export * from "./DeleteClientBrandingCommand";
13
14
  export * from "./DeleteConnectClientAddInCommand";
@@ -41,6 +42,7 @@ export * from "./ListAvailableManagementCidrRangesCommand";
41
42
  export * from "./MigrateWorkspaceCommand";
42
43
  export * from "./ModifyAccountCommand";
43
44
  export * from "./ModifyClientPropertiesCommand";
45
+ export * from "./ModifySamlPropertiesCommand";
44
46
  export * from "./ModifySelfservicePermissionsCommand";
45
47
  export * from "./ModifyWorkspaceAccessPropertiesCommand";
46
48
  export * from "./ModifyWorkspaceCreationPropertiesCommand";
@@ -190,6 +190,22 @@ var ResourceCreationFailedException = (function (_super) {
190
190
  return ResourceCreationFailedException;
191
191
  }(__BaseException));
192
192
  export { ResourceCreationFailedException };
193
+ export var OperatingSystemType;
194
+ (function (OperatingSystemType) {
195
+ OperatingSystemType["LINUX"] = "LINUX";
196
+ OperatingSystemType["WINDOWS"] = "WINDOWS";
197
+ })(OperatingSystemType || (OperatingSystemType = {}));
198
+ export var WorkspaceImageRequiredTenancy;
199
+ (function (WorkspaceImageRequiredTenancy) {
200
+ WorkspaceImageRequiredTenancy["DEDICATED"] = "DEDICATED";
201
+ WorkspaceImageRequiredTenancy["DEFAULT"] = "DEFAULT";
202
+ })(WorkspaceImageRequiredTenancy || (WorkspaceImageRequiredTenancy = {}));
203
+ export var WorkspaceImageState;
204
+ (function (WorkspaceImageState) {
205
+ WorkspaceImageState["AVAILABLE"] = "AVAILABLE";
206
+ WorkspaceImageState["ERROR"] = "ERROR";
207
+ WorkspaceImageState["PENDING"] = "PENDING";
208
+ })(WorkspaceImageState || (WorkspaceImageState = {}));
193
209
  export var RunningMode;
194
210
  (function (RunningMode) {
195
211
  RunningMode["ALWAYS_ON"] = "ALWAYS_ON";
@@ -230,11 +246,22 @@ export var DedicatedTenancySupportEnum;
230
246
  (function (DedicatedTenancySupportEnum) {
231
247
  DedicatedTenancySupportEnum["ENABLED"] = "ENABLED";
232
248
  })(DedicatedTenancySupportEnum || (DedicatedTenancySupportEnum = {}));
249
+ export var DeletableSamlProperty;
250
+ (function (DeletableSamlProperty) {
251
+ DeletableSamlProperty["SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME"] = "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME";
252
+ DeletableSamlProperty["SAML_PROPERTIES_USER_ACCESS_URL"] = "SAML_PROPERTIES_USER_ACCESS_URL";
253
+ })(DeletableSamlProperty || (DeletableSamlProperty = {}));
233
254
  export var WorkspaceDirectoryType;
234
255
  (function (WorkspaceDirectoryType) {
235
256
  WorkspaceDirectoryType["AD_CONNECTOR"] = "AD_CONNECTOR";
236
257
  WorkspaceDirectoryType["SIMPLE_AD"] = "SIMPLE_AD";
237
258
  })(WorkspaceDirectoryType || (WorkspaceDirectoryType = {}));
259
+ export var SamlStatusEnum;
260
+ (function (SamlStatusEnum) {
261
+ SamlStatusEnum["DISABLED"] = "DISABLED";
262
+ SamlStatusEnum["ENABLED"] = "ENABLED";
263
+ SamlStatusEnum["ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"] = "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK";
264
+ })(SamlStatusEnum || (SamlStatusEnum = {}));
238
265
  export var WorkspaceDirectoryState;
239
266
  (function (WorkspaceDirectoryState) {
240
267
  WorkspaceDirectoryState["DEREGISTERED"] = "DEREGISTERED";
@@ -253,22 +280,6 @@ export var ImageType;
253
280
  ImageType["OWNED"] = "OWNED";
254
281
  ImageType["SHARED"] = "SHARED";
255
282
  })(ImageType || (ImageType = {}));
256
- export var OperatingSystemType;
257
- (function (OperatingSystemType) {
258
- OperatingSystemType["LINUX"] = "LINUX";
259
- OperatingSystemType["WINDOWS"] = "WINDOWS";
260
- })(OperatingSystemType || (OperatingSystemType = {}));
261
- export var WorkspaceImageRequiredTenancy;
262
- (function (WorkspaceImageRequiredTenancy) {
263
- WorkspaceImageRequiredTenancy["DEDICATED"] = "DEDICATED";
264
- WorkspaceImageRequiredTenancy["DEFAULT"] = "DEFAULT";
265
- })(WorkspaceImageRequiredTenancy || (WorkspaceImageRequiredTenancy = {}));
266
- export var WorkspaceImageState;
267
- (function (WorkspaceImageState) {
268
- WorkspaceImageState["AVAILABLE"] = "AVAILABLE";
269
- WorkspaceImageState["ERROR"] = "ERROR";
270
- WorkspaceImageState["PENDING"] = "PENDING";
271
- })(WorkspaceImageState || (WorkspaceImageState = {}));
272
283
  export var WorkspaceImageIngestionProcess;
273
284
  (function (WorkspaceImageIngestionProcess) {
274
285
  WorkspaceImageIngestionProcess["BYOL_GRAPHICS"] = "BYOL_GRAPHICS";
@@ -363,6 +374,9 @@ export var CreateUpdatedWorkspaceImageRequestFilterSensitiveLog = function (obj)
363
374
  export var CreateUpdatedWorkspaceImageResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
364
375
  export var CreateWorkspaceBundleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
365
376
  export var CreateWorkspaceBundleResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
377
+ export var CreateWorkspaceImageRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
378
+ export var OperatingSystemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
379
+ export var CreateWorkspaceImageResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
366
380
  export var WorkspacePropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
367
381
  export var WorkspaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
368
382
  export var CreateWorkspacesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -412,6 +426,7 @@ export var DescribeTagsResultFilterSensitiveLog = function (obj) { return (__ass
412
426
  export var DescribeWorkspaceBundlesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
413
427
  export var DescribeWorkspaceBundlesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
414
428
  export var DescribeWorkspaceDirectoriesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
429
+ export var SamlPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
415
430
  export var SelfservicePermissionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
416
431
  export var WorkspaceAccessPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
417
432
  export var WorkspaceDirectoryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -420,7 +435,6 @@ export var DescribeWorkspaceImagePermissionsRequestFilterSensitiveLog = function
420
435
  export var ImagePermissionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
421
436
  export var DescribeWorkspaceImagePermissionsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
422
437
  export var DescribeWorkspaceImagesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
423
- export var OperatingSystemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
424
438
  export var UpdateResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
425
439
  export var WorkspaceImageFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
426
440
  export var DescribeWorkspaceImagesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -450,6 +464,8 @@ export var ModifyAccountRequestFilterSensitiveLog = function (obj) { return (__a
450
464
  export var ModifyAccountResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
451
465
  export var ModifyClientPropertiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
452
466
  export var ModifyClientPropertiesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
467
+ export var ModifySamlPropertiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
468
+ export var ModifySamlPropertiesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
453
469
  export var ModifySelfservicePermissionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
454
470
  export var ModifySelfservicePermissionsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
455
471
  export var ModifyWorkspaceAccessPropertiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };