@aws-sdk/client-workspaces 3.58.0 → 3.68.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 +18 -4
- package/dist-cjs/WorkSpaces.js +45 -0
- package/dist-cjs/commands/DeleteClientBrandingCommand.js +36 -0
- package/dist-cjs/commands/DescribeClientBrandingCommand.js +36 -0
- package/dist-cjs/commands/ImportClientBrandingCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +76 -4
- package/dist-cjs/protocols/Aws_json1_1.js +327 -3
- package/dist-es/WorkSpaces.js +45 -0
- package/dist-es/commands/DeleteClientBrandingCommand.js +39 -0
- package/dist-es/commands/DescribeClientBrandingCommand.js +39 -0
- package/dist-es/commands/ImportClientBrandingCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/protocols/Aws_json1_1.js +347 -1
- package/dist-types/WorkSpaces.d.ts +199 -146
- package/dist-types/WorkSpacesClient.d.ts +21 -4
- package/dist-types/commands/AssociateConnectionAliasCommand.d.ts +5 -5
- package/dist-types/commands/CopyWorkspaceImageCommand.d.ts +5 -9
- package/dist-types/commands/CreateConnectClientAddInCommand.d.ts +0 -1
- package/dist-types/commands/CreateConnectionAliasCommand.d.ts +3 -3
- package/dist-types/commands/CreateIpGroupCommand.d.ts +0 -1
- package/dist-types/commands/CreateUpdatedWorkspaceImageCommand.d.ts +11 -13
- package/dist-types/commands/DeleteClientBrandingCommand.d.ts +40 -0
- package/dist-types/commands/DeleteConnectionAliasCommand.d.ts +9 -11
- package/dist-types/commands/DeregisterWorkspaceDirectoryCommand.d.ts +12 -15
- package/dist-types/commands/DescribeClientBrandingCommand.d.ts +42 -0
- package/dist-types/commands/DescribeConnectionAliasPermissionsCommand.d.ts +4 -3
- package/dist-types/commands/DescribeConnectionAliasesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateConnectionAliasCommand.d.ts +6 -6
- package/dist-types/commands/ImportClientBrandingCommand.d.ts +62 -0
- package/dist-types/commands/ImportWorkspaceImageCommand.d.ts +3 -4
- package/dist-types/commands/ListAvailableManagementCidrRangesCommand.d.ts +3 -4
- package/dist-types/commands/MigrateWorkspaceCommand.d.ts +11 -9
- package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +2 -4
- package/dist-types/commands/RebuildWorkspacesCommand.d.ts +2 -1
- package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +4 -4
- package/dist-types/commands/TerminateWorkspacesCommand.d.ts +12 -17
- package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +13 -11
- package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +13 -16
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +639 -151
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +15 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/DeleteClientBrandingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeClientBrandingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportClientBrandingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +175 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/package.json +3 -3
|
@@ -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 { ImportClientBrandingRequest, ImportClientBrandingResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ImportClientBrandingCommand, serializeAws_json1_1ImportClientBrandingCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ImportClientBrandingCommand = (function (_super) {
|
|
7
|
+
__extends(ImportClientBrandingCommand, _super);
|
|
8
|
+
function ImportClientBrandingCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ImportClientBrandingCommand.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 = "ImportClientBrandingCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ImportClientBrandingRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ImportClientBrandingResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ImportClientBrandingCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ImportClientBrandingCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ImportClientBrandingCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ImportClientBrandingCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ImportClientBrandingCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ImportClientBrandingCommand };
|
|
@@ -9,6 +9,7 @@ export * from "./CreateTagsCommand";
|
|
|
9
9
|
export * from "./CreateUpdatedWorkspaceImageCommand";
|
|
10
10
|
export * from "./CreateWorkspaceBundleCommand";
|
|
11
11
|
export * from "./CreateWorkspacesCommand";
|
|
12
|
+
export * from "./DeleteClientBrandingCommand";
|
|
12
13
|
export * from "./DeleteConnectClientAddInCommand";
|
|
13
14
|
export * from "./DeleteConnectionAliasCommand";
|
|
14
15
|
export * from "./DeleteIpGroupCommand";
|
|
@@ -18,6 +19,7 @@ export * from "./DeleteWorkspaceImageCommand";
|
|
|
18
19
|
export * from "./DeregisterWorkspaceDirectoryCommand";
|
|
19
20
|
export * from "./DescribeAccountCommand";
|
|
20
21
|
export * from "./DescribeAccountModificationsCommand";
|
|
22
|
+
export * from "./DescribeClientBrandingCommand";
|
|
21
23
|
export * from "./DescribeClientPropertiesCommand";
|
|
22
24
|
export * from "./DescribeConnectClientAddInsCommand";
|
|
23
25
|
export * from "./DescribeConnectionAliasPermissionsCommand";
|
|
@@ -33,6 +35,7 @@ export * from "./DescribeWorkspacesCommand";
|
|
|
33
35
|
export * from "./DescribeWorkspacesConnectionStatusCommand";
|
|
34
36
|
export * from "./DisassociateConnectionAliasCommand";
|
|
35
37
|
export * from "./DisassociateIpGroupsCommand";
|
|
38
|
+
export * from "./ImportClientBrandingCommand";
|
|
36
39
|
export * from "./ImportWorkspaceImageCommand";
|
|
37
40
|
export * from "./ListAvailableManagementCidrRangesCommand";
|
|
38
41
|
export * from "./MigrateWorkspaceCommand";
|
|
@@ -150,6 +150,8 @@ export var Compute;
|
|
|
150
150
|
(function (Compute) {
|
|
151
151
|
Compute["GRAPHICS"] = "GRAPHICS";
|
|
152
152
|
Compute["GRAPHICSPRO"] = "GRAPHICSPRO";
|
|
153
|
+
Compute["GRAPHICSPRO_G4DN"] = "GRAPHICSPRO_G4DN";
|
|
154
|
+
Compute["GRAPHICS_G4DN"] = "GRAPHICS_G4DN";
|
|
153
155
|
Compute["PERFORMANCE"] = "PERFORMANCE";
|
|
154
156
|
Compute["POWER"] = "POWER";
|
|
155
157
|
Compute["POWERPRO"] = "POWERPRO";
|
|
@@ -172,6 +174,15 @@ export var WorkspaceBundle;
|
|
|
172
174
|
(function (WorkspaceBundle) {
|
|
173
175
|
WorkspaceBundle.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
176
|
})(WorkspaceBundle || (WorkspaceBundle = {}));
|
|
177
|
+
export var ClientDeviceType;
|
|
178
|
+
(function (ClientDeviceType) {
|
|
179
|
+
ClientDeviceType["DEVICE_TYPE_ANDROID"] = "DeviceTypeAndroid";
|
|
180
|
+
ClientDeviceType["DEVICE_TYPE_IOS"] = "DeviceTypeIos";
|
|
181
|
+
ClientDeviceType["DEVICE_TYPE_LINUX"] = "DeviceTypeLinux";
|
|
182
|
+
ClientDeviceType["DEVICE_TYPE_OSX"] = "DeviceTypeOsx";
|
|
183
|
+
ClientDeviceType["DEVICE_TYPE_WEB"] = "DeviceTypeWeb";
|
|
184
|
+
ClientDeviceType["DEVICE_TYPE_WINDOWS"] = "DeviceTypeWindows";
|
|
185
|
+
})(ClientDeviceType || (ClientDeviceType = {}));
|
|
175
186
|
export var ReconnectEnum;
|
|
176
187
|
(function (ReconnectEnum) {
|
|
177
188
|
ReconnectEnum["DISABLED"] = "DISABLED";
|
|
@@ -378,10 +389,26 @@ export var DedicatedTenancySupportEnum;
|
|
|
378
389
|
(function (DedicatedTenancySupportEnum) {
|
|
379
390
|
DedicatedTenancySupportEnum["ENABLED"] = "ENABLED";
|
|
380
391
|
})(DedicatedTenancySupportEnum || (DedicatedTenancySupportEnum = {}));
|
|
392
|
+
export var DefaultClientBrandingAttributes;
|
|
393
|
+
(function (DefaultClientBrandingAttributes) {
|
|
394
|
+
DefaultClientBrandingAttributes.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
395
|
+
})(DefaultClientBrandingAttributes || (DefaultClientBrandingAttributes = {}));
|
|
396
|
+
export var DefaultImportClientBrandingAttributes;
|
|
397
|
+
(function (DefaultImportClientBrandingAttributes) {
|
|
398
|
+
DefaultImportClientBrandingAttributes.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
399
|
+
})(DefaultImportClientBrandingAttributes || (DefaultImportClientBrandingAttributes = {}));
|
|
381
400
|
export var DefaultWorkspaceCreationProperties;
|
|
382
401
|
(function (DefaultWorkspaceCreationProperties) {
|
|
383
402
|
DefaultWorkspaceCreationProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
384
403
|
})(DefaultWorkspaceCreationProperties || (DefaultWorkspaceCreationProperties = {}));
|
|
404
|
+
export var DeleteClientBrandingRequest;
|
|
405
|
+
(function (DeleteClientBrandingRequest) {
|
|
406
|
+
DeleteClientBrandingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
407
|
+
})(DeleteClientBrandingRequest || (DeleteClientBrandingRequest = {}));
|
|
408
|
+
export var DeleteClientBrandingResult;
|
|
409
|
+
(function (DeleteClientBrandingResult) {
|
|
410
|
+
DeleteClientBrandingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
411
|
+
})(DeleteClientBrandingResult || (DeleteClientBrandingResult = {}));
|
|
385
412
|
export var DeleteConnectClientAddInRequest;
|
|
386
413
|
(function (DeleteConnectClientAddInRequest) {
|
|
387
414
|
DeleteConnectClientAddInRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -454,6 +481,18 @@ export var DescribeAccountModificationsResult;
|
|
|
454
481
|
(function (DescribeAccountModificationsResult) {
|
|
455
482
|
DescribeAccountModificationsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
456
483
|
})(DescribeAccountModificationsResult || (DescribeAccountModificationsResult = {}));
|
|
484
|
+
export var DescribeClientBrandingRequest;
|
|
485
|
+
(function (DescribeClientBrandingRequest) {
|
|
486
|
+
DescribeClientBrandingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
487
|
+
})(DescribeClientBrandingRequest || (DescribeClientBrandingRequest = {}));
|
|
488
|
+
export var IosClientBrandingAttributes;
|
|
489
|
+
(function (IosClientBrandingAttributes) {
|
|
490
|
+
IosClientBrandingAttributes.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
491
|
+
})(IosClientBrandingAttributes || (IosClientBrandingAttributes = {}));
|
|
492
|
+
export var DescribeClientBrandingResult;
|
|
493
|
+
(function (DescribeClientBrandingResult) {
|
|
494
|
+
DescribeClientBrandingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
495
|
+
})(DescribeClientBrandingResult || (DescribeClientBrandingResult = {}));
|
|
457
496
|
export var DescribeClientPropertiesRequest;
|
|
458
497
|
(function (DescribeClientPropertiesRequest) {
|
|
459
498
|
DescribeClientPropertiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -657,10 +696,23 @@ export var FailedWorkspaceChangeRequest;
|
|
|
657
696
|
(function (FailedWorkspaceChangeRequest) {
|
|
658
697
|
FailedWorkspaceChangeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
659
698
|
})(FailedWorkspaceChangeRequest || (FailedWorkspaceChangeRequest = {}));
|
|
699
|
+
export var IosImportClientBrandingAttributes;
|
|
700
|
+
(function (IosImportClientBrandingAttributes) {
|
|
701
|
+
IosImportClientBrandingAttributes.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
702
|
+
})(IosImportClientBrandingAttributes || (IosImportClientBrandingAttributes = {}));
|
|
703
|
+
export var ImportClientBrandingRequest;
|
|
704
|
+
(function (ImportClientBrandingRequest) {
|
|
705
|
+
ImportClientBrandingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
706
|
+
})(ImportClientBrandingRequest || (ImportClientBrandingRequest = {}));
|
|
707
|
+
export var ImportClientBrandingResult;
|
|
708
|
+
(function (ImportClientBrandingResult) {
|
|
709
|
+
ImportClientBrandingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
710
|
+
})(ImportClientBrandingResult || (ImportClientBrandingResult = {}));
|
|
660
711
|
export var WorkspaceImageIngestionProcess;
|
|
661
712
|
(function (WorkspaceImageIngestionProcess) {
|
|
662
713
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICS"] = "BYOL_GRAPHICS";
|
|
663
714
|
WorkspaceImageIngestionProcess["BYOL_GRAPHICSPRO"] = "BYOL_GRAPHICSPRO";
|
|
715
|
+
WorkspaceImageIngestionProcess["BYOL_GRAPHICS_G4DN"] = "BYOL_GRAPHICS_G4DN";
|
|
664
716
|
WorkspaceImageIngestionProcess["BYOL_REGULAR"] = "BYOL_REGULAR";
|
|
665
717
|
WorkspaceImageIngestionProcess["BYOL_REGULAR_WSP"] = "BYOL_REGULAR_WSP";
|
|
666
718
|
})(WorkspaceImageIngestionProcess || (WorkspaceImageIngestionProcess = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AccessDeniedException, InvalidParameterValuesException, InvalidResourceStateException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedNetworkConfigurationException, UnsupportedWorkspaceConfigurationException, WorkspacesDefaultRoleNotFoundException, } from "../models/models_0";
|
|
@@ -124,6 +124,17 @@ export var serializeAws_json1_1CreateWorkspacesCommand = function (input, contex
|
|
|
124
124
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
125
125
|
});
|
|
126
126
|
}); };
|
|
127
|
+
export var serializeAws_json1_1DeleteClientBrandingCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
128
|
+
var headers, body;
|
|
129
|
+
return __generator(this, function (_a) {
|
|
130
|
+
headers = {
|
|
131
|
+
"content-type": "application/x-amz-json-1.1",
|
|
132
|
+
"x-amz-target": "WorkspacesService.DeleteClientBranding",
|
|
133
|
+
};
|
|
134
|
+
body = JSON.stringify(serializeAws_json1_1DeleteClientBrandingRequest(input, context));
|
|
135
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
136
|
+
});
|
|
137
|
+
}); };
|
|
127
138
|
export var serializeAws_json1_1DeleteConnectClientAddInCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
128
139
|
var headers, body;
|
|
129
140
|
return __generator(this, function (_a) {
|
|
@@ -223,6 +234,17 @@ export var serializeAws_json1_1DescribeAccountModificationsCommand = function (i
|
|
|
223
234
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
224
235
|
});
|
|
225
236
|
}); };
|
|
237
|
+
export var serializeAws_json1_1DescribeClientBrandingCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
238
|
+
var headers, body;
|
|
239
|
+
return __generator(this, function (_a) {
|
|
240
|
+
headers = {
|
|
241
|
+
"content-type": "application/x-amz-json-1.1",
|
|
242
|
+
"x-amz-target": "WorkspacesService.DescribeClientBranding",
|
|
243
|
+
};
|
|
244
|
+
body = JSON.stringify(serializeAws_json1_1DescribeClientBrandingRequest(input, context));
|
|
245
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
246
|
+
});
|
|
247
|
+
}); };
|
|
226
248
|
export var serializeAws_json1_1DescribeClientPropertiesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
227
249
|
var headers, body;
|
|
228
250
|
return __generator(this, function (_a) {
|
|
@@ -388,6 +410,17 @@ export var serializeAws_json1_1DisassociateIpGroupsCommand = function (input, co
|
|
|
388
410
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
389
411
|
});
|
|
390
412
|
}); };
|
|
413
|
+
export var serializeAws_json1_1ImportClientBrandingCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
414
|
+
var headers, body;
|
|
415
|
+
return __generator(this, function (_a) {
|
|
416
|
+
headers = {
|
|
417
|
+
"content-type": "application/x-amz-json-1.1",
|
|
418
|
+
"x-amz-target": "WorkspacesService.ImportClientBranding",
|
|
419
|
+
};
|
|
420
|
+
body = JSON.stringify(serializeAws_json1_1ImportClientBrandingRequest(input, context));
|
|
421
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
422
|
+
});
|
|
423
|
+
}); };
|
|
391
424
|
export var serializeAws_json1_1ImportWorkspaceImageCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
392
425
|
var headers, body;
|
|
393
426
|
return __generator(this, function (_a) {
|
|
@@ -1379,6 +1412,64 @@ var deserializeAws_json1_1CreateWorkspacesCommandError = function (output, conte
|
|
|
1379
1412
|
}
|
|
1380
1413
|
});
|
|
1381
1414
|
}); };
|
|
1415
|
+
export var deserializeAws_json1_1DeleteClientBrandingCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1416
|
+
var data, contents, response;
|
|
1417
|
+
return __generator(this, function (_a) {
|
|
1418
|
+
switch (_a.label) {
|
|
1419
|
+
case 0:
|
|
1420
|
+
if (output.statusCode >= 300) {
|
|
1421
|
+
return [2, deserializeAws_json1_1DeleteClientBrandingCommandError(output, context)];
|
|
1422
|
+
}
|
|
1423
|
+
return [4, parseBody(output.body, context)];
|
|
1424
|
+
case 1:
|
|
1425
|
+
data = _a.sent();
|
|
1426
|
+
contents = {};
|
|
1427
|
+
contents = deserializeAws_json1_1DeleteClientBrandingResult(data, context);
|
|
1428
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1429
|
+
return [2, Promise.resolve(response)];
|
|
1430
|
+
}
|
|
1431
|
+
});
|
|
1432
|
+
}); };
|
|
1433
|
+
var deserializeAws_json1_1DeleteClientBrandingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1434
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1435
|
+
var _c;
|
|
1436
|
+
return __generator(this, function (_d) {
|
|
1437
|
+
switch (_d.label) {
|
|
1438
|
+
case 0:
|
|
1439
|
+
_a = [__assign({}, output)];
|
|
1440
|
+
_c = {};
|
|
1441
|
+
return [4, parseBody(output.body, context)];
|
|
1442
|
+
case 1:
|
|
1443
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1444
|
+
errorCode = "UnknownError";
|
|
1445
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1446
|
+
_b = errorCode;
|
|
1447
|
+
switch (_b) {
|
|
1448
|
+
case "AccessDeniedException": return [3, 2];
|
|
1449
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
1450
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
1451
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
1452
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
1453
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 6];
|
|
1454
|
+
}
|
|
1455
|
+
return [3, 8];
|
|
1456
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1457
|
+
case 3: throw _d.sent();
|
|
1458
|
+
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
1459
|
+
case 5: throw _d.sent();
|
|
1460
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1461
|
+
case 7: throw _d.sent();
|
|
1462
|
+
case 8:
|
|
1463
|
+
parsedBody = parsedOutput.body;
|
|
1464
|
+
response = new __BaseException({
|
|
1465
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1466
|
+
$fault: "client",
|
|
1467
|
+
$metadata: deserializeMetadata(output),
|
|
1468
|
+
});
|
|
1469
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1470
|
+
}
|
|
1471
|
+
});
|
|
1472
|
+
}); };
|
|
1382
1473
|
export var deserializeAws_json1_1DeleteConnectClientAddInCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1383
1474
|
var data, contents, response;
|
|
1384
1475
|
return __generator(this, function (_a) {
|
|
@@ -1909,6 +2000,64 @@ var deserializeAws_json1_1DescribeAccountModificationsCommandError = function (o
|
|
|
1909
2000
|
}
|
|
1910
2001
|
});
|
|
1911
2002
|
}); };
|
|
2003
|
+
export var deserializeAws_json1_1DescribeClientBrandingCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2004
|
+
var data, contents, response;
|
|
2005
|
+
return __generator(this, function (_a) {
|
|
2006
|
+
switch (_a.label) {
|
|
2007
|
+
case 0:
|
|
2008
|
+
if (output.statusCode >= 300) {
|
|
2009
|
+
return [2, deserializeAws_json1_1DescribeClientBrandingCommandError(output, context)];
|
|
2010
|
+
}
|
|
2011
|
+
return [4, parseBody(output.body, context)];
|
|
2012
|
+
case 1:
|
|
2013
|
+
data = _a.sent();
|
|
2014
|
+
contents = {};
|
|
2015
|
+
contents = deserializeAws_json1_1DescribeClientBrandingResult(data, context);
|
|
2016
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2017
|
+
return [2, Promise.resolve(response)];
|
|
2018
|
+
}
|
|
2019
|
+
});
|
|
2020
|
+
}); };
|
|
2021
|
+
var deserializeAws_json1_1DescribeClientBrandingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2022
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2023
|
+
var _c;
|
|
2024
|
+
return __generator(this, function (_d) {
|
|
2025
|
+
switch (_d.label) {
|
|
2026
|
+
case 0:
|
|
2027
|
+
_a = [__assign({}, output)];
|
|
2028
|
+
_c = {};
|
|
2029
|
+
return [4, parseBody(output.body, context)];
|
|
2030
|
+
case 1:
|
|
2031
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2032
|
+
errorCode = "UnknownError";
|
|
2033
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2034
|
+
_b = errorCode;
|
|
2035
|
+
switch (_b) {
|
|
2036
|
+
case "AccessDeniedException": return [3, 2];
|
|
2037
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
2038
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
2039
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
2040
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
2041
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 6];
|
|
2042
|
+
}
|
|
2043
|
+
return [3, 8];
|
|
2044
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2045
|
+
case 3: throw _d.sent();
|
|
2046
|
+
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
2047
|
+
case 5: throw _d.sent();
|
|
2048
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2049
|
+
case 7: throw _d.sent();
|
|
2050
|
+
case 8:
|
|
2051
|
+
parsedBody = parsedOutput.body;
|
|
2052
|
+
response = new __BaseException({
|
|
2053
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2054
|
+
$fault: "client",
|
|
2055
|
+
$metadata: deserializeMetadata(output),
|
|
2056
|
+
});
|
|
2057
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2058
|
+
}
|
|
2059
|
+
});
|
|
2060
|
+
}); };
|
|
1912
2061
|
export var deserializeAws_json1_1DescribeClientPropertiesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1913
2062
|
var data, contents, response;
|
|
1914
2063
|
return __generator(this, function (_a) {
|
|
@@ -2747,6 +2896,64 @@ var deserializeAws_json1_1DisassociateIpGroupsCommandError = function (output, c
|
|
|
2747
2896
|
}
|
|
2748
2897
|
});
|
|
2749
2898
|
}); };
|
|
2899
|
+
export var deserializeAws_json1_1ImportClientBrandingCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2900
|
+
var data, contents, response;
|
|
2901
|
+
return __generator(this, function (_a) {
|
|
2902
|
+
switch (_a.label) {
|
|
2903
|
+
case 0:
|
|
2904
|
+
if (output.statusCode >= 300) {
|
|
2905
|
+
return [2, deserializeAws_json1_1ImportClientBrandingCommandError(output, context)];
|
|
2906
|
+
}
|
|
2907
|
+
return [4, parseBody(output.body, context)];
|
|
2908
|
+
case 1:
|
|
2909
|
+
data = _a.sent();
|
|
2910
|
+
contents = {};
|
|
2911
|
+
contents = deserializeAws_json1_1ImportClientBrandingResult(data, context);
|
|
2912
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2913
|
+
return [2, Promise.resolve(response)];
|
|
2914
|
+
}
|
|
2915
|
+
});
|
|
2916
|
+
}); };
|
|
2917
|
+
var deserializeAws_json1_1ImportClientBrandingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2918
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2919
|
+
var _c;
|
|
2920
|
+
return __generator(this, function (_d) {
|
|
2921
|
+
switch (_d.label) {
|
|
2922
|
+
case 0:
|
|
2923
|
+
_a = [__assign({}, output)];
|
|
2924
|
+
_c = {};
|
|
2925
|
+
return [4, parseBody(output.body, context)];
|
|
2926
|
+
case 1:
|
|
2927
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2928
|
+
errorCode = "UnknownError";
|
|
2929
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2930
|
+
_b = errorCode;
|
|
2931
|
+
switch (_b) {
|
|
2932
|
+
case "AccessDeniedException": return [3, 2];
|
|
2933
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
2934
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
2935
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
2936
|
+
case "ResourceLimitExceededException": return [3, 6];
|
|
2937
|
+
case "com.amazonaws.workspaces#ResourceLimitExceededException": return [3, 6];
|
|
2938
|
+
}
|
|
2939
|
+
return [3, 8];
|
|
2940
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2941
|
+
case 3: throw _d.sent();
|
|
2942
|
+
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
2943
|
+
case 5: throw _d.sent();
|
|
2944
|
+
case 6: return [4, deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
2945
|
+
case 7: throw _d.sent();
|
|
2946
|
+
case 8:
|
|
2947
|
+
parsedBody = parsedOutput.body;
|
|
2948
|
+
response = new __BaseException({
|
|
2949
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2950
|
+
$fault: "client",
|
|
2951
|
+
$metadata: deserializeMetadata(output),
|
|
2952
|
+
});
|
|
2953
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2954
|
+
}
|
|
2955
|
+
});
|
|
2956
|
+
}); };
|
|
2750
2957
|
export var deserializeAws_json1_1ImportWorkspaceImageCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2751
2958
|
var data, contents, response;
|
|
2752
2959
|
return __generator(this, function (_a) {
|
|
@@ -4277,6 +4484,16 @@ var serializeAws_json1_1BundleIdList = function (input, context) {
|
|
|
4277
4484
|
return entry;
|
|
4278
4485
|
});
|
|
4279
4486
|
};
|
|
4487
|
+
var serializeAws_json1_1ClientDeviceTypeList = function (input, context) {
|
|
4488
|
+
return input
|
|
4489
|
+
.filter(function (e) { return e != null; })
|
|
4490
|
+
.map(function (entry) {
|
|
4491
|
+
if (entry === null) {
|
|
4492
|
+
return null;
|
|
4493
|
+
}
|
|
4494
|
+
return entry;
|
|
4495
|
+
});
|
|
4496
|
+
};
|
|
4280
4497
|
var serializeAws_json1_1ClientProperties = function (input, context) {
|
|
4281
4498
|
return __assign({}, (input.ReconnectEnabled !== undefined &&
|
|
4282
4499
|
input.ReconnectEnabled !== null && { ReconnectEnabled: input.ReconnectEnabled }));
|
|
@@ -4330,6 +4547,15 @@ var serializeAws_json1_1CreateWorkspacesRequest = function (input, context) {
|
|
|
4330
4547
|
return __assign({}, (input.Workspaces !== undefined &&
|
|
4331
4548
|
input.Workspaces !== null && { Workspaces: serializeAws_json1_1WorkspaceRequestList(input.Workspaces, context) }));
|
|
4332
4549
|
};
|
|
4550
|
+
var serializeAws_json1_1DefaultImportClientBrandingAttributes = function (input, context) {
|
|
4551
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ForgotPasswordLink !== undefined &&
|
|
4552
|
+
input.ForgotPasswordLink !== null && { ForgotPasswordLink: input.ForgotPasswordLink })), (input.LoginMessage !== undefined &&
|
|
4553
|
+
input.LoginMessage !== null && { LoginMessage: serializeAws_json1_1LoginMessage(input.LoginMessage, context) })), (input.Logo !== undefined && input.Logo !== null && { Logo: context.base64Encoder(input.Logo) })), (input.SupportEmail !== undefined && input.SupportEmail !== null && { SupportEmail: input.SupportEmail })), (input.SupportLink !== undefined && input.SupportLink !== null && { SupportLink: input.SupportLink }));
|
|
4554
|
+
};
|
|
4555
|
+
var serializeAws_json1_1DeleteClientBrandingRequest = function (input, context) {
|
|
4556
|
+
return __assign(__assign({}, (input.Platforms !== undefined &&
|
|
4557
|
+
input.Platforms !== null && { Platforms: serializeAws_json1_1ClientDeviceTypeList(input.Platforms, context) })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
4558
|
+
};
|
|
4333
4559
|
var serializeAws_json1_1DeleteConnectClientAddInRequest = function (input, context) {
|
|
4334
4560
|
return __assign(__assign({}, (input.AddInId !== undefined && input.AddInId !== null && { AddInId: input.AddInId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
4335
4561
|
};
|
|
@@ -4358,6 +4584,9 @@ var serializeAws_json1_1DescribeAccountModificationsRequest = function (input, c
|
|
|
4358
4584
|
var serializeAws_json1_1DescribeAccountRequest = function (input, context) {
|
|
4359
4585
|
return {};
|
|
4360
4586
|
};
|
|
4587
|
+
var serializeAws_json1_1DescribeClientBrandingRequest = function (input, context) {
|
|
4588
|
+
return __assign({}, (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
4589
|
+
};
|
|
4361
4590
|
var serializeAws_json1_1DescribeClientPropertiesRequest = function (input, context) {
|
|
4362
4591
|
return __assign({}, (input.ResourceIds !== undefined &&
|
|
4363
4592
|
input.ResourceIds !== null && { ResourceIds: serializeAws_json1_1ResourceIdList(input.ResourceIds, context) }));
|
|
@@ -4428,6 +4657,27 @@ var serializeAws_json1_1DisassociateIpGroupsRequest = function (input, context)
|
|
|
4428
4657
|
return __assign(__assign({}, (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.GroupIds !== undefined &&
|
|
4429
4658
|
input.GroupIds !== null && { GroupIds: serializeAws_json1_1IpGroupIdList(input.GroupIds, context) }));
|
|
4430
4659
|
};
|
|
4660
|
+
var serializeAws_json1_1ImportClientBrandingRequest = function (input, context) {
|
|
4661
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeviceTypeAndroid !== undefined &&
|
|
4662
|
+
input.DeviceTypeAndroid !== null && {
|
|
4663
|
+
DeviceTypeAndroid: serializeAws_json1_1DefaultImportClientBrandingAttributes(input.DeviceTypeAndroid, context),
|
|
4664
|
+
})), (input.DeviceTypeIos !== undefined &&
|
|
4665
|
+
input.DeviceTypeIos !== null && {
|
|
4666
|
+
DeviceTypeIos: serializeAws_json1_1IosImportClientBrandingAttributes(input.DeviceTypeIos, context),
|
|
4667
|
+
})), (input.DeviceTypeLinux !== undefined &&
|
|
4668
|
+
input.DeviceTypeLinux !== null && {
|
|
4669
|
+
DeviceTypeLinux: serializeAws_json1_1DefaultImportClientBrandingAttributes(input.DeviceTypeLinux, context),
|
|
4670
|
+
})), (input.DeviceTypeOsx !== undefined &&
|
|
4671
|
+
input.DeviceTypeOsx !== null && {
|
|
4672
|
+
DeviceTypeOsx: serializeAws_json1_1DefaultImportClientBrandingAttributes(input.DeviceTypeOsx, context),
|
|
4673
|
+
})), (input.DeviceTypeWeb !== undefined &&
|
|
4674
|
+
input.DeviceTypeWeb !== null && {
|
|
4675
|
+
DeviceTypeWeb: serializeAws_json1_1DefaultImportClientBrandingAttributes(input.DeviceTypeWeb, context),
|
|
4676
|
+
})), (input.DeviceTypeWindows !== undefined &&
|
|
4677
|
+
input.DeviceTypeWindows !== null && {
|
|
4678
|
+
DeviceTypeWindows: serializeAws_json1_1DefaultImportClientBrandingAttributes(input.DeviceTypeWindows, context),
|
|
4679
|
+
})), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
4680
|
+
};
|
|
4431
4681
|
var serializeAws_json1_1ImportWorkspaceImageRequest = function (input, context) {
|
|
4432
4682
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Applications !== undefined &&
|
|
4433
4683
|
input.Applications !== null && {
|
|
@@ -4436,6 +4686,11 @@ var serializeAws_json1_1ImportWorkspaceImageRequest = function (input, context)
|
|
|
4436
4686
|
input.ImageDescription !== null && { ImageDescription: input.ImageDescription })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.IngestionProcess !== undefined &&
|
|
4437
4687
|
input.IngestionProcess !== null && { IngestionProcess: input.IngestionProcess })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4438
4688
|
};
|
|
4689
|
+
var serializeAws_json1_1IosImportClientBrandingAttributes = function (input, context) {
|
|
4690
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ForgotPasswordLink !== undefined &&
|
|
4691
|
+
input.ForgotPasswordLink !== null && { ForgotPasswordLink: input.ForgotPasswordLink })), (input.LoginMessage !== undefined &&
|
|
4692
|
+
input.LoginMessage !== null && { LoginMessage: serializeAws_json1_1LoginMessage(input.LoginMessage, context) })), (input.Logo !== undefined && input.Logo !== null && { Logo: context.base64Encoder(input.Logo) })), (input.Logo2x !== undefined && input.Logo2x !== null && { Logo2x: context.base64Encoder(input.Logo2x) })), (input.Logo3x !== undefined && input.Logo3x !== null && { Logo3x: context.base64Encoder(input.Logo3x) })), (input.SupportEmail !== undefined && input.SupportEmail !== null && { SupportEmail: input.SupportEmail })), (input.SupportLink !== undefined && input.SupportLink !== null && { SupportLink: input.SupportLink }));
|
|
4693
|
+
};
|
|
4439
4694
|
var serializeAws_json1_1IpGroupIdList = function (input, context) {
|
|
4440
4695
|
return input
|
|
4441
4696
|
.filter(function (e) { return e != null; })
|
|
@@ -4475,6 +4730,16 @@ var serializeAws_json1_1ListAvailableManagementCidrRangesRequest = function (inp
|
|
|
4475
4730
|
ManagementCidrRangeConstraint: input.ManagementCidrRangeConstraint,
|
|
4476
4731
|
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4477
4732
|
};
|
|
4733
|
+
var serializeAws_json1_1LoginMessage = function (input, context) {
|
|
4734
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
4735
|
+
var _b;
|
|
4736
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
4737
|
+
if (value === null) {
|
|
4738
|
+
return acc;
|
|
4739
|
+
}
|
|
4740
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
4741
|
+
}, {});
|
|
4742
|
+
};
|
|
4478
4743
|
var serializeAws_json1_1MigrateWorkspaceRequest = function (input, context) {
|
|
4479
4744
|
return __assign(__assign({}, (input.BundleId !== undefined && input.BundleId !== null && { BundleId: input.BundleId })), (input.SourceWorkspaceId !== undefined &&
|
|
4480
4745
|
input.SourceWorkspaceId !== null && { SourceWorkspaceId: input.SourceWorkspaceId }));
|
|
@@ -4984,6 +5249,17 @@ var deserializeAws_json1_1DedicatedTenancyCidrRangeList = function (output, cont
|
|
|
4984
5249
|
});
|
|
4985
5250
|
return retVal;
|
|
4986
5251
|
};
|
|
5252
|
+
var deserializeAws_json1_1DefaultClientBrandingAttributes = function (output, context) {
|
|
5253
|
+
return {
|
|
5254
|
+
ForgotPasswordLink: __expectString(output.ForgotPasswordLink),
|
|
5255
|
+
LoginMessage: output.LoginMessage !== undefined && output.LoginMessage !== null
|
|
5256
|
+
? deserializeAws_json1_1LoginMessage(output.LoginMessage, context)
|
|
5257
|
+
: undefined,
|
|
5258
|
+
LogoUrl: __expectString(output.LogoUrl),
|
|
5259
|
+
SupportEmail: __expectString(output.SupportEmail),
|
|
5260
|
+
SupportLink: __expectString(output.SupportLink),
|
|
5261
|
+
};
|
|
5262
|
+
};
|
|
4987
5263
|
var deserializeAws_json1_1DefaultWorkspaceCreationProperties = function (output, context) {
|
|
4988
5264
|
return {
|
|
4989
5265
|
CustomSecurityGroupId: __expectString(output.CustomSecurityGroupId),
|
|
@@ -4994,6 +5270,9 @@ var deserializeAws_json1_1DefaultWorkspaceCreationProperties = function (output,
|
|
|
4994
5270
|
UserEnabledAsLocalAdministrator: __expectBoolean(output.UserEnabledAsLocalAdministrator),
|
|
4995
5271
|
};
|
|
4996
5272
|
};
|
|
5273
|
+
var deserializeAws_json1_1DeleteClientBrandingResult = function (output, context) {
|
|
5274
|
+
return {};
|
|
5275
|
+
};
|
|
4997
5276
|
var deserializeAws_json1_1DeleteConnectClientAddInResult = function (output, context) {
|
|
4998
5277
|
return {};
|
|
4999
5278
|
};
|
|
@@ -5029,6 +5308,28 @@ var deserializeAws_json1_1DescribeAccountResult = function (output, context) {
|
|
|
5029
5308
|
DedicatedTenancySupport: __expectString(output.DedicatedTenancySupport),
|
|
5030
5309
|
};
|
|
5031
5310
|
};
|
|
5311
|
+
var deserializeAws_json1_1DescribeClientBrandingResult = function (output, context) {
|
|
5312
|
+
return {
|
|
5313
|
+
DeviceTypeAndroid: output.DeviceTypeAndroid !== undefined && output.DeviceTypeAndroid !== null
|
|
5314
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeAndroid, context)
|
|
5315
|
+
: undefined,
|
|
5316
|
+
DeviceTypeIos: output.DeviceTypeIos !== undefined && output.DeviceTypeIos !== null
|
|
5317
|
+
? deserializeAws_json1_1IosClientBrandingAttributes(output.DeviceTypeIos, context)
|
|
5318
|
+
: undefined,
|
|
5319
|
+
DeviceTypeLinux: output.DeviceTypeLinux !== undefined && output.DeviceTypeLinux !== null
|
|
5320
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeLinux, context)
|
|
5321
|
+
: undefined,
|
|
5322
|
+
DeviceTypeOsx: output.DeviceTypeOsx !== undefined && output.DeviceTypeOsx !== null
|
|
5323
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeOsx, context)
|
|
5324
|
+
: undefined,
|
|
5325
|
+
DeviceTypeWeb: output.DeviceTypeWeb !== undefined && output.DeviceTypeWeb !== null
|
|
5326
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeWeb, context)
|
|
5327
|
+
: undefined,
|
|
5328
|
+
DeviceTypeWindows: output.DeviceTypeWindows !== undefined && output.DeviceTypeWindows !== null
|
|
5329
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeWindows, context)
|
|
5330
|
+
: undefined,
|
|
5331
|
+
};
|
|
5332
|
+
};
|
|
5032
5333
|
var deserializeAws_json1_1DescribeClientPropertiesResult = function (output, context) {
|
|
5033
5334
|
return {
|
|
5034
5335
|
ClientPropertiesList: output.ClientPropertiesList !== undefined && output.ClientPropertiesList !== null
|
|
@@ -5261,6 +5562,28 @@ var deserializeAws_json1_1ImagePermissions = function (output, context) {
|
|
|
5261
5562
|
});
|
|
5262
5563
|
return retVal;
|
|
5263
5564
|
};
|
|
5565
|
+
var deserializeAws_json1_1ImportClientBrandingResult = function (output, context) {
|
|
5566
|
+
return {
|
|
5567
|
+
DeviceTypeAndroid: output.DeviceTypeAndroid !== undefined && output.DeviceTypeAndroid !== null
|
|
5568
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeAndroid, context)
|
|
5569
|
+
: undefined,
|
|
5570
|
+
DeviceTypeIos: output.DeviceTypeIos !== undefined && output.DeviceTypeIos !== null
|
|
5571
|
+
? deserializeAws_json1_1IosClientBrandingAttributes(output.DeviceTypeIos, context)
|
|
5572
|
+
: undefined,
|
|
5573
|
+
DeviceTypeLinux: output.DeviceTypeLinux !== undefined && output.DeviceTypeLinux !== null
|
|
5574
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeLinux, context)
|
|
5575
|
+
: undefined,
|
|
5576
|
+
DeviceTypeOsx: output.DeviceTypeOsx !== undefined && output.DeviceTypeOsx !== null
|
|
5577
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeOsx, context)
|
|
5578
|
+
: undefined,
|
|
5579
|
+
DeviceTypeWeb: output.DeviceTypeWeb !== undefined && output.DeviceTypeWeb !== null
|
|
5580
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeWeb, context)
|
|
5581
|
+
: undefined,
|
|
5582
|
+
DeviceTypeWindows: output.DeviceTypeWindows !== undefined && output.DeviceTypeWindows !== null
|
|
5583
|
+
? deserializeAws_json1_1DefaultClientBrandingAttributes(output.DeviceTypeWindows, context)
|
|
5584
|
+
: undefined,
|
|
5585
|
+
};
|
|
5586
|
+
};
|
|
5264
5587
|
var deserializeAws_json1_1ImportWorkspaceImageResult = function (output, context) {
|
|
5265
5588
|
return {
|
|
5266
5589
|
ImageId: __expectString(output.ImageId),
|
|
@@ -5276,6 +5599,19 @@ var deserializeAws_json1_1InvalidResourceStateException = function (output, cont
|
|
|
5276
5599
|
message: __expectString(output.message),
|
|
5277
5600
|
};
|
|
5278
5601
|
};
|
|
5602
|
+
var deserializeAws_json1_1IosClientBrandingAttributes = function (output, context) {
|
|
5603
|
+
return {
|
|
5604
|
+
ForgotPasswordLink: __expectString(output.ForgotPasswordLink),
|
|
5605
|
+
LoginMessage: output.LoginMessage !== undefined && output.LoginMessage !== null
|
|
5606
|
+
? deserializeAws_json1_1LoginMessage(output.LoginMessage, context)
|
|
5607
|
+
: undefined,
|
|
5608
|
+
Logo2xUrl: __expectString(output.Logo2xUrl),
|
|
5609
|
+
Logo3xUrl: __expectString(output.Logo3xUrl),
|
|
5610
|
+
LogoUrl: __expectString(output.LogoUrl),
|
|
5611
|
+
SupportEmail: __expectString(output.SupportEmail),
|
|
5612
|
+
SupportLink: __expectString(output.SupportLink),
|
|
5613
|
+
};
|
|
5614
|
+
};
|
|
5279
5615
|
var deserializeAws_json1_1IpGroupIdList = function (output, context) {
|
|
5280
5616
|
var retVal = (output || [])
|
|
5281
5617
|
.filter(function (e) { return e != null; })
|
|
@@ -5312,6 +5648,16 @@ var deserializeAws_json1_1ListAvailableManagementCidrRangesResult = function (ou
|
|
|
5312
5648
|
NextToken: __expectString(output.NextToken),
|
|
5313
5649
|
};
|
|
5314
5650
|
};
|
|
5651
|
+
var deserializeAws_json1_1LoginMessage = function (output, context) {
|
|
5652
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
5653
|
+
var _b;
|
|
5654
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
5655
|
+
if (value === null) {
|
|
5656
|
+
return acc;
|
|
5657
|
+
}
|
|
5658
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
5659
|
+
}, {});
|
|
5660
|
+
};
|
|
5315
5661
|
var deserializeAws_json1_1MigrateWorkspaceResult = function (output, context) {
|
|
5316
5662
|
return {
|
|
5317
5663
|
SourceWorkspaceId: __expectString(output.SourceWorkspaceId),
|