@aws-sdk/client-workspaces 3.138.0 → 3.145.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 +30 -0
- package/README.md +1 -1
- package/dist-cjs/WorkSpaces.js +15 -0
- package/dist-cjs/commands/ModifySamlPropertiesCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +28 -5
- package/dist-cjs/protocols/Aws_json1_1.js +412 -584
- package/dist-es/WorkSpaces.js +15 -0
- package/dist-es/commands/ModifySamlPropertiesCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_json1_1.js +599 -582
- package/dist-types/WorkSpaces.d.ts +9 -0
- package/dist-types/WorkSpacesClient.d.ts +3 -2
- package/dist-types/commands/ModifySamlPropertiesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +94 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +5 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ModifySamlPropertiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +36 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +11 -6
package/dist-es/WorkSpaces.js
CHANGED
|
@@ -43,6 +43,7 @@ import { ListAvailableManagementCidrRangesCommand, } from "./commands/ListAvaila
|
|
|
43
43
|
import { MigrateWorkspaceCommand, } from "./commands/MigrateWorkspaceCommand";
|
|
44
44
|
import { ModifyAccountCommand, } from "./commands/ModifyAccountCommand";
|
|
45
45
|
import { ModifyClientPropertiesCommand, } from "./commands/ModifyClientPropertiesCommand";
|
|
46
|
+
import { ModifySamlPropertiesCommand, } from "./commands/ModifySamlPropertiesCommand";
|
|
46
47
|
import { ModifySelfservicePermissionsCommand, } from "./commands/ModifySelfservicePermissionsCommand";
|
|
47
48
|
import { ModifyWorkspaceAccessPropertiesCommand, } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
48
49
|
import { ModifyWorkspaceCreationPropertiesCommand, } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -683,6 +684,20 @@ var WorkSpaces = (function (_super) {
|
|
|
683
684
|
return this.send(command, optionsOrCb);
|
|
684
685
|
}
|
|
685
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
|
+
};
|
|
686
701
|
WorkSpaces.prototype.modifySelfservicePermissions = function (args, optionsOrCb, cb) {
|
|
687
702
|
var command = new ModifySelfservicePermissionsCommand(args);
|
|
688
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 { 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 };
|
|
@@ -42,6 +42,7 @@ export * from "./ListAvailableManagementCidrRangesCommand";
|
|
|
42
42
|
export * from "./MigrateWorkspaceCommand";
|
|
43
43
|
export * from "./ModifyAccountCommand";
|
|
44
44
|
export * from "./ModifyClientPropertiesCommand";
|
|
45
|
+
export * from "./ModifySamlPropertiesCommand";
|
|
45
46
|
export * from "./ModifySelfservicePermissionsCommand";
|
|
46
47
|
export * from "./ModifyWorkspaceAccessPropertiesCommand";
|
|
47
48
|
export * from "./ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -246,11 +246,22 @@ export var DedicatedTenancySupportEnum;
|
|
|
246
246
|
(function (DedicatedTenancySupportEnum) {
|
|
247
247
|
DedicatedTenancySupportEnum["ENABLED"] = "ENABLED";
|
|
248
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 = {}));
|
|
249
254
|
export var WorkspaceDirectoryType;
|
|
250
255
|
(function (WorkspaceDirectoryType) {
|
|
251
256
|
WorkspaceDirectoryType["AD_CONNECTOR"] = "AD_CONNECTOR";
|
|
252
257
|
WorkspaceDirectoryType["SIMPLE_AD"] = "SIMPLE_AD";
|
|
253
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 = {}));
|
|
254
265
|
export var WorkspaceDirectoryState;
|
|
255
266
|
(function (WorkspaceDirectoryState) {
|
|
256
267
|
WorkspaceDirectoryState["DEREGISTERED"] = "DEREGISTERED";
|
|
@@ -415,6 +426,7 @@ export var DescribeTagsResultFilterSensitiveLog = function (obj) { return (__ass
|
|
|
415
426
|
export var DescribeWorkspaceBundlesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
416
427
|
export var DescribeWorkspaceBundlesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
417
428
|
export var DescribeWorkspaceDirectoriesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
429
|
+
export var SamlPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
418
430
|
export var SelfservicePermissionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
419
431
|
export var WorkspaceAccessPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
420
432
|
export var WorkspaceDirectoryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -452,6 +464,8 @@ export var ModifyAccountRequestFilterSensitiveLog = function (obj) { return (__a
|
|
|
452
464
|
export var ModifyAccountResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
453
465
|
export var ModifyClientPropertiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
454
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)); };
|
|
455
469
|
export var ModifySelfservicePermissionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
456
470
|
export var ModifySelfservicePermissionsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
471
|
export var ModifyWorkspaceAccessPropertiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|