@aws-sdk/client-workspaces 3.133.0 → 3.141.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/WorkSpaces.js +30 -0
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/AssociateIpGroupsCommand.js +2 -2
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js +2 -2
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/CreateConnectClientAddInCommand.js +2 -2
- package/dist-cjs/commands/CreateConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/CreateIpGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateTagsCommand.js +2 -2
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +2 -2
- package/dist-cjs/commands/CreateWorkspaceImageCommand.js +36 -0
- package/dist-cjs/commands/CreateWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/DeleteClientBrandingCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectClientAddInCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/DeleteIpGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +2 -2
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeClientBrandingCommand.js +2 -2
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectClientAddInsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +2 -2
- package/dist-cjs/commands/DescribeIpGroupsCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +2 -2
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js +2 -2
- package/dist-cjs/commands/ImportClientBrandingCommand.js +2 -2
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +2 -2
- package/dist-cjs/commands/MigrateWorkspaceCommand.js +2 -2
- package/dist-cjs/commands/ModifyAccountCommand.js +2 -2
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifySamlPropertiesCommand.js +36 -0
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +2 -2
- package/dist-cjs/commands/RebootWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/RebuildWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +2 -2
- package/dist-cjs/commands/RestoreWorkspaceCommand.js +2 -2
- package/dist-cjs/commands/RevokeIpRulesCommand.js +2 -2
- package/dist-cjs/commands/StartWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/StopWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/TerminateWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectClientAddInCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +2 -2
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +2 -2
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +2 -2
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +700 -992
- package/dist-cjs/protocols/Aws_json1_1.js +185 -3
- package/dist-es/WorkSpaces.js +30 -0
- package/dist-es/commands/AssociateConnectionAliasCommand.js +3 -3
- package/dist-es/commands/AssociateIpGroupsCommand.js +3 -3
- package/dist-es/commands/AuthorizeIpRulesCommand.js +3 -3
- package/dist-es/commands/CopyWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/CreateConnectClientAddInCommand.js +3 -3
- package/dist-es/commands/CreateConnectionAliasCommand.js +3 -3
- package/dist-es/commands/CreateIpGroupCommand.js +3 -3
- package/dist-es/commands/CreateTagsCommand.js +3 -3
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/CreateWorkspaceBundleCommand.js +3 -3
- package/dist-es/commands/CreateWorkspaceImageCommand.js +39 -0
- package/dist-es/commands/CreateWorkspacesCommand.js +3 -3
- package/dist-es/commands/DeleteClientBrandingCommand.js +3 -3
- package/dist-es/commands/DeleteConnectClientAddInCommand.js +3 -3
- package/dist-es/commands/DeleteConnectionAliasCommand.js +3 -3
- package/dist-es/commands/DeleteIpGroupCommand.js +3 -3
- package/dist-es/commands/DeleteTagsCommand.js +3 -3
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js +3 -3
- package/dist-es/commands/DeleteWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +3 -3
- package/dist-es/commands/DescribeAccountCommand.js +3 -3
- package/dist-es/commands/DescribeAccountModificationsCommand.js +3 -3
- package/dist-es/commands/DescribeClientBrandingCommand.js +3 -3
- package/dist-es/commands/DescribeClientPropertiesCommand.js +3 -3
- package/dist-es/commands/DescribeConnectClientAddInsCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionAliasesCommand.js +3 -3
- package/dist-es/commands/DescribeIpGroupsCommand.js +3 -3
- package/dist-es/commands/DescribeTagsCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspacesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +3 -3
- package/dist-es/commands/DisassociateConnectionAliasCommand.js +3 -3
- package/dist-es/commands/DisassociateIpGroupsCommand.js +3 -3
- package/dist-es/commands/ImportClientBrandingCommand.js +3 -3
- package/dist-es/commands/ImportWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +3 -3
- package/dist-es/commands/MigrateWorkspaceCommand.js +3 -3
- package/dist-es/commands/ModifyAccountCommand.js +3 -3
- package/dist-es/commands/ModifyClientPropertiesCommand.js +3 -3
- package/dist-es/commands/ModifySamlPropertiesCommand.js +39 -0
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspaceStateCommand.js +3 -3
- package/dist-es/commands/RebootWorkspacesCommand.js +3 -3
- package/dist-es/commands/RebuildWorkspacesCommand.js +3 -3
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +3 -3
- package/dist-es/commands/RestoreWorkspaceCommand.js +3 -3
- package/dist-es/commands/RevokeIpRulesCommand.js +3 -3
- package/dist-es/commands/StartWorkspacesCommand.js +3 -3
- package/dist-es/commands/StopWorkspacesCommand.js +3 -3
- package/dist-es/commands/TerminateWorkspacesCommand.js +3 -3
- package/dist-es/commands/UpdateConnectClientAddInCommand.js +3 -3
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +3 -3
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +3 -3
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js +3 -3
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +3 -3
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +194 -664
- package/dist-es/protocols/Aws_json1_1.js +208 -0
- package/dist-types/WorkSpaces.d.ts +16 -0
- package/dist-types/WorkSpacesClient.d.ts +4 -2
- package/dist-types/commands/CreateWorkspaceImageCommand.d.ts +35 -0
- package/dist-types/commands/ModifySamlPropertiesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +835 -996
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +10 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateWorkspaceImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifySamlPropertiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +404 -660
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -113,6 +113,17 @@ export var serializeAws_json1_1CreateWorkspaceBundleCommand = function (input, c
|
|
|
113
113
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
114
114
|
});
|
|
115
115
|
}); };
|
|
116
|
+
export var serializeAws_json1_1CreateWorkspaceImageCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
117
|
+
var headers, body;
|
|
118
|
+
return __generator(this, function (_a) {
|
|
119
|
+
headers = {
|
|
120
|
+
"content-type": "application/x-amz-json-1.1",
|
|
121
|
+
"x-amz-target": "WorkspacesService.CreateWorkspaceImage",
|
|
122
|
+
};
|
|
123
|
+
body = JSON.stringify(serializeAws_json1_1CreateWorkspaceImageRequest(input, context));
|
|
124
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
125
|
+
});
|
|
126
|
+
}); };
|
|
116
127
|
export var serializeAws_json1_1CreateWorkspacesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
117
128
|
var headers, body;
|
|
118
129
|
return __generator(this, function (_a) {
|
|
@@ -476,6 +487,17 @@ export var serializeAws_json1_1ModifyClientPropertiesCommand = function (input,
|
|
|
476
487
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
477
488
|
});
|
|
478
489
|
}); };
|
|
490
|
+
export var serializeAws_json1_1ModifySamlPropertiesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
491
|
+
var headers, body;
|
|
492
|
+
return __generator(this, function (_a) {
|
|
493
|
+
headers = {
|
|
494
|
+
"content-type": "application/x-amz-json-1.1",
|
|
495
|
+
"x-amz-target": "WorkspacesService.ModifySamlProperties",
|
|
496
|
+
};
|
|
497
|
+
body = JSON.stringify(serializeAws_json1_1ModifySamlPropertiesRequest(input, context));
|
|
498
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
499
|
+
});
|
|
500
|
+
}); };
|
|
479
501
|
export var serializeAws_json1_1ModifySelfservicePermissionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
480
502
|
var headers, body;
|
|
481
503
|
return __generator(this, function (_a) {
|
|
@@ -1368,6 +1390,81 @@ var deserializeAws_json1_1CreateWorkspaceBundleCommandError = function (output,
|
|
|
1368
1390
|
}
|
|
1369
1391
|
});
|
|
1370
1392
|
}); };
|
|
1393
|
+
export var deserializeAws_json1_1CreateWorkspaceImageCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1394
|
+
var data, contents, response;
|
|
1395
|
+
return __generator(this, function (_a) {
|
|
1396
|
+
switch (_a.label) {
|
|
1397
|
+
case 0:
|
|
1398
|
+
if (output.statusCode >= 300) {
|
|
1399
|
+
return [2, deserializeAws_json1_1CreateWorkspaceImageCommandError(output, context)];
|
|
1400
|
+
}
|
|
1401
|
+
return [4, parseBody(output.body, context)];
|
|
1402
|
+
case 1:
|
|
1403
|
+
data = _a.sent();
|
|
1404
|
+
contents = {};
|
|
1405
|
+
contents = deserializeAws_json1_1CreateWorkspaceImageResult(data, context);
|
|
1406
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1407
|
+
return [2, Promise.resolve(response)];
|
|
1408
|
+
}
|
|
1409
|
+
});
|
|
1410
|
+
}); };
|
|
1411
|
+
var deserializeAws_json1_1CreateWorkspaceImageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1412
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1413
|
+
var _c;
|
|
1414
|
+
return __generator(this, function (_d) {
|
|
1415
|
+
switch (_d.label) {
|
|
1416
|
+
case 0:
|
|
1417
|
+
_a = [__assign({}, output)];
|
|
1418
|
+
_c = {};
|
|
1419
|
+
return [4, parseBody(output.body, context)];
|
|
1420
|
+
case 1:
|
|
1421
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1422
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1423
|
+
_b = errorCode;
|
|
1424
|
+
switch (_b) {
|
|
1425
|
+
case "AccessDeniedException": return [3, 2];
|
|
1426
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
1427
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
1428
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
1429
|
+
case "InvalidResourceStateException": return [3, 6];
|
|
1430
|
+
case "com.amazonaws.workspaces#InvalidResourceStateException": return [3, 6];
|
|
1431
|
+
case "OperationNotSupportedException": return [3, 8];
|
|
1432
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException": return [3, 8];
|
|
1433
|
+
case "ResourceAlreadyExistsException": return [3, 10];
|
|
1434
|
+
case "com.amazonaws.workspaces#ResourceAlreadyExistsException": return [3, 10];
|
|
1435
|
+
case "ResourceLimitExceededException": return [3, 12];
|
|
1436
|
+
case "com.amazonaws.workspaces#ResourceLimitExceededException": return [3, 12];
|
|
1437
|
+
case "ResourceNotFoundException": return [3, 14];
|
|
1438
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 14];
|
|
1439
|
+
}
|
|
1440
|
+
return [3, 16];
|
|
1441
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1442
|
+
case 3: throw _d.sent();
|
|
1443
|
+
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
1444
|
+
case 5: throw _d.sent();
|
|
1445
|
+
case 6: return [4, deserializeAws_json1_1InvalidResourceStateExceptionResponse(parsedOutput, context)];
|
|
1446
|
+
case 7: throw _d.sent();
|
|
1447
|
+
case 8: return [4, deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context)];
|
|
1448
|
+
case 9: throw _d.sent();
|
|
1449
|
+
case 10: return [4, deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context)];
|
|
1450
|
+
case 11: throw _d.sent();
|
|
1451
|
+
case 12: return [4, deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
1452
|
+
case 13: throw _d.sent();
|
|
1453
|
+
case 14: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1454
|
+
case 15: throw _d.sent();
|
|
1455
|
+
case 16:
|
|
1456
|
+
parsedBody = parsedOutput.body;
|
|
1457
|
+
$metadata = deserializeMetadata(output);
|
|
1458
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1459
|
+
response = new __BaseException({
|
|
1460
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1461
|
+
$fault: "client",
|
|
1462
|
+
$metadata: $metadata,
|
|
1463
|
+
});
|
|
1464
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1465
|
+
}
|
|
1466
|
+
});
|
|
1467
|
+
}); };
|
|
1371
1468
|
export var deserializeAws_json1_1CreateWorkspacesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1372
1469
|
var data, contents, response;
|
|
1373
1470
|
return __generator(this, function (_a) {
|
|
@@ -3319,6 +3416,69 @@ var deserializeAws_json1_1ModifyClientPropertiesCommandError = function (output,
|
|
|
3319
3416
|
}
|
|
3320
3417
|
});
|
|
3321
3418
|
}); };
|
|
3419
|
+
export var deserializeAws_json1_1ModifySamlPropertiesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3420
|
+
var data, contents, response;
|
|
3421
|
+
return __generator(this, function (_a) {
|
|
3422
|
+
switch (_a.label) {
|
|
3423
|
+
case 0:
|
|
3424
|
+
if (output.statusCode >= 300) {
|
|
3425
|
+
return [2, deserializeAws_json1_1ModifySamlPropertiesCommandError(output, context)];
|
|
3426
|
+
}
|
|
3427
|
+
return [4, parseBody(output.body, context)];
|
|
3428
|
+
case 1:
|
|
3429
|
+
data = _a.sent();
|
|
3430
|
+
contents = {};
|
|
3431
|
+
contents = deserializeAws_json1_1ModifySamlPropertiesResult(data, context);
|
|
3432
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
3433
|
+
return [2, Promise.resolve(response)];
|
|
3434
|
+
}
|
|
3435
|
+
});
|
|
3436
|
+
}); };
|
|
3437
|
+
var deserializeAws_json1_1ModifySamlPropertiesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3438
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3439
|
+
var _c;
|
|
3440
|
+
return __generator(this, function (_d) {
|
|
3441
|
+
switch (_d.label) {
|
|
3442
|
+
case 0:
|
|
3443
|
+
_a = [__assign({}, output)];
|
|
3444
|
+
_c = {};
|
|
3445
|
+
return [4, parseBody(output.body, context)];
|
|
3446
|
+
case 1:
|
|
3447
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3448
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3449
|
+
_b = errorCode;
|
|
3450
|
+
switch (_b) {
|
|
3451
|
+
case "AccessDeniedException": return [3, 2];
|
|
3452
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
3453
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
3454
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
3455
|
+
case "OperationNotSupportedException": return [3, 6];
|
|
3456
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException": return [3, 6];
|
|
3457
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
3458
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 8];
|
|
3459
|
+
}
|
|
3460
|
+
return [3, 10];
|
|
3461
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
3462
|
+
case 3: throw _d.sent();
|
|
3463
|
+
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
3464
|
+
case 5: throw _d.sent();
|
|
3465
|
+
case 6: return [4, deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context)];
|
|
3466
|
+
case 7: throw _d.sent();
|
|
3467
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3468
|
+
case 9: throw _d.sent();
|
|
3469
|
+
case 10:
|
|
3470
|
+
parsedBody = parsedOutput.body;
|
|
3471
|
+
$metadata = deserializeMetadata(output);
|
|
3472
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3473
|
+
response = new __BaseException({
|
|
3474
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3475
|
+
$fault: "client",
|
|
3476
|
+
$metadata: $metadata,
|
|
3477
|
+
});
|
|
3478
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3479
|
+
}
|
|
3480
|
+
});
|
|
3481
|
+
}); };
|
|
3322
3482
|
export var deserializeAws_json1_1ModifySelfservicePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3323
3483
|
var data, contents, response;
|
|
3324
3484
|
return __generator(this, function (_a) {
|
|
@@ -4597,6 +4757,9 @@ var serializeAws_json1_1CreateUpdatedWorkspaceImageRequest = function (input, co
|
|
|
4597
4757
|
var serializeAws_json1_1CreateWorkspaceBundleRequest = function (input, context) {
|
|
4598
4758
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BundleDescription != null && { BundleDescription: input.BundleDescription })), (input.BundleName != null && { BundleName: input.BundleName })), (input.ComputeType != null && { ComputeType: serializeAws_json1_1ComputeType(input.ComputeType, context) })), (input.ImageId != null && { ImageId: input.ImageId })), (input.RootStorage != null && { RootStorage: serializeAws_json1_1RootStorage(input.RootStorage, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.UserStorage != null && { UserStorage: serializeAws_json1_1UserStorage(input.UserStorage, context) }));
|
|
4599
4759
|
};
|
|
4760
|
+
var serializeAws_json1_1CreateWorkspaceImageRequest = function (input, context) {
|
|
4761
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }));
|
|
4762
|
+
};
|
|
4600
4763
|
var serializeAws_json1_1CreateWorkspacesRequest = function (input, context) {
|
|
4601
4764
|
return __assign({}, (input.Workspaces != null && {
|
|
4602
4765
|
Workspaces: serializeAws_json1_1WorkspaceRequestList(input.Workspaces, context),
|
|
@@ -4605,6 +4768,16 @@ var serializeAws_json1_1CreateWorkspacesRequest = function (input, context) {
|
|
|
4605
4768
|
var serializeAws_json1_1DefaultImportClientBrandingAttributes = function (input, context) {
|
|
4606
4769
|
return __assign(__assign(__assign(__assign(__assign({}, (input.ForgotPasswordLink != null && { ForgotPasswordLink: input.ForgotPasswordLink })), (input.LoginMessage != null && { LoginMessage: serializeAws_json1_1LoginMessage(input.LoginMessage, context) })), (input.Logo != null && { Logo: context.base64Encoder(input.Logo) })), (input.SupportEmail != null && { SupportEmail: input.SupportEmail })), (input.SupportLink != null && { SupportLink: input.SupportLink }));
|
|
4607
4770
|
};
|
|
4771
|
+
var serializeAws_json1_1DeletableSamlPropertiesList = function (input, context) {
|
|
4772
|
+
return input
|
|
4773
|
+
.filter(function (e) { return e != null; })
|
|
4774
|
+
.map(function (entry) {
|
|
4775
|
+
if (entry === null) {
|
|
4776
|
+
return null;
|
|
4777
|
+
}
|
|
4778
|
+
return entry;
|
|
4779
|
+
});
|
|
4780
|
+
};
|
|
4608
4781
|
var serializeAws_json1_1DeleteClientBrandingRequest = function (input, context) {
|
|
4609
4782
|
return __assign(__assign({}, (input.Platforms != null && { Platforms: serializeAws_json1_1ClientDeviceTypeList(input.Platforms, context) })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
4610
4783
|
};
|
|
@@ -4783,6 +4956,13 @@ var serializeAws_json1_1ModifyClientPropertiesRequest = function (input, context
|
|
|
4783
4956
|
ClientProperties: serializeAws_json1_1ClientProperties(input.ClientProperties, context),
|
|
4784
4957
|
})), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
4785
4958
|
};
|
|
4959
|
+
var serializeAws_json1_1ModifySamlPropertiesRequest = function (input, context) {
|
|
4960
|
+
return __assign(__assign(__assign({}, (input.PropertiesToDelete != null && {
|
|
4961
|
+
PropertiesToDelete: serializeAws_json1_1DeletableSamlPropertiesList(input.PropertiesToDelete, context),
|
|
4962
|
+
})), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.SamlProperties != null && {
|
|
4963
|
+
SamlProperties: serializeAws_json1_1SamlProperties(input.SamlProperties, context),
|
|
4964
|
+
}));
|
|
4965
|
+
};
|
|
4786
4966
|
var serializeAws_json1_1ModifySelfservicePermissionsRequest = function (input, context) {
|
|
4787
4967
|
return __assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.SelfservicePermissions != null && {
|
|
4788
4968
|
SelfservicePermissions: serializeAws_json1_1SelfservicePermissions(input.SelfservicePermissions, context),
|
|
@@ -4864,6 +5044,9 @@ var serializeAws_json1_1RevokeIpRulesRequest = function (input, context) {
|
|
|
4864
5044
|
var serializeAws_json1_1RootStorage = function (input, context) {
|
|
4865
5045
|
return __assign({}, (input.Capacity != null && { Capacity: input.Capacity }));
|
|
4866
5046
|
};
|
|
5047
|
+
var serializeAws_json1_1SamlProperties = function (input, context) {
|
|
5048
|
+
return __assign(__assign(__assign({}, (input.RelayStateParameterName != null && { RelayStateParameterName: input.RelayStateParameterName })), (input.Status != null && { Status: input.Status })), (input.UserAccessUrl != null && { UserAccessUrl: input.UserAccessUrl }));
|
|
5049
|
+
};
|
|
4867
5050
|
var serializeAws_json1_1SelfservicePermissions = function (input, context) {
|
|
4868
5051
|
return __assign(__assign(__assign(__assign(__assign({}, (input.ChangeComputeType != null && { ChangeComputeType: input.ChangeComputeType })), (input.IncreaseVolumeSize != null && { IncreaseVolumeSize: input.IncreaseVolumeSize })), (input.RebuildWorkspace != null && { RebuildWorkspace: input.RebuildWorkspace })), (input.RestartWorkspace != null && { RestartWorkspace: input.RestartWorkspace })), (input.SwitchRunningMode != null && { SwitchRunningMode: input.SwitchRunningMode }));
|
|
4869
5052
|
};
|
|
@@ -5215,6 +5398,20 @@ var deserializeAws_json1_1CreateWorkspaceBundleResult = function (output, contex
|
|
|
5215
5398
|
: undefined,
|
|
5216
5399
|
};
|
|
5217
5400
|
};
|
|
5401
|
+
var deserializeAws_json1_1CreateWorkspaceImageResult = function (output, context) {
|
|
5402
|
+
return {
|
|
5403
|
+
Created: output.Created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created))) : undefined,
|
|
5404
|
+
Description: __expectString(output.Description),
|
|
5405
|
+
ImageId: __expectString(output.ImageId),
|
|
5406
|
+
Name: __expectString(output.Name),
|
|
5407
|
+
OperatingSystem: output.OperatingSystem != null
|
|
5408
|
+
? deserializeAws_json1_1OperatingSystem(output.OperatingSystem, context)
|
|
5409
|
+
: undefined,
|
|
5410
|
+
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
5411
|
+
RequiredTenancy: __expectString(output.RequiredTenancy),
|
|
5412
|
+
State: __expectString(output.State),
|
|
5413
|
+
};
|
|
5414
|
+
};
|
|
5218
5415
|
var deserializeAws_json1_1CreateWorkspacesResult = function (output, context) {
|
|
5219
5416
|
return {
|
|
5220
5417
|
FailedRequests: output.FailedRequests != null
|
|
@@ -5654,6 +5851,9 @@ var deserializeAws_json1_1ModifyAccountResult = function (output, context) {
|
|
|
5654
5851
|
var deserializeAws_json1_1ModifyClientPropertiesResult = function (output, context) {
|
|
5655
5852
|
return {};
|
|
5656
5853
|
};
|
|
5854
|
+
var deserializeAws_json1_1ModifySamlPropertiesResult = function (output, context) {
|
|
5855
|
+
return {};
|
|
5856
|
+
};
|
|
5657
5857
|
var deserializeAws_json1_1ModifySelfservicePermissionsResult = function (output, context) {
|
|
5658
5858
|
return {};
|
|
5659
5859
|
};
|
|
@@ -5745,6 +5945,13 @@ var deserializeAws_json1_1RootStorage = function (output, context) {
|
|
|
5745
5945
|
Capacity: __expectString(output.Capacity),
|
|
5746
5946
|
};
|
|
5747
5947
|
};
|
|
5948
|
+
var deserializeAws_json1_1SamlProperties = function (output, context) {
|
|
5949
|
+
return {
|
|
5950
|
+
RelayStateParameterName: __expectString(output.RelayStateParameterName),
|
|
5951
|
+
Status: __expectString(output.Status),
|
|
5952
|
+
UserAccessUrl: __expectString(output.UserAccessUrl),
|
|
5953
|
+
};
|
|
5954
|
+
};
|
|
5748
5955
|
var deserializeAws_json1_1SelfservicePermissions = function (output, context) {
|
|
5749
5956
|
return {
|
|
5750
5957
|
ChangeComputeType: __expectString(output.ChangeComputeType),
|
|
@@ -5943,6 +6150,7 @@ var deserializeAws_json1_1WorkspaceDirectory = function (output, context) {
|
|
|
5943
6150
|
DnsIpAddresses: output.DnsIpAddresses != null ? deserializeAws_json1_1DnsIpAddresses(output.DnsIpAddresses, context) : undefined,
|
|
5944
6151
|
IamRoleId: __expectString(output.IamRoleId),
|
|
5945
6152
|
RegistrationCode: __expectString(output.RegistrationCode),
|
|
6153
|
+
SamlProperties: output.SamlProperties != null ? deserializeAws_json1_1SamlProperties(output.SamlProperties, context) : undefined,
|
|
5946
6154
|
SelfservicePermissions: output.SelfservicePermissions != null
|
|
5947
6155
|
? deserializeAws_json1_1SelfservicePermissions(output.SelfservicePermissions, context)
|
|
5948
6156
|
: undefined,
|
|
@@ -9,6 +9,7 @@ import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "./command
|
|
|
9
9
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
10
10
|
import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCommandOutput } from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
11
11
|
import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "./commands/CreateWorkspaceBundleCommand";
|
|
12
|
+
import { CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput } from "./commands/CreateWorkspaceImageCommand";
|
|
12
13
|
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "./commands/CreateWorkspacesCommand";
|
|
13
14
|
import { DeleteClientBrandingCommandInput, DeleteClientBrandingCommandOutput } from "./commands/DeleteClientBrandingCommand";
|
|
14
15
|
import { DeleteConnectClientAddInCommandInput, DeleteConnectClientAddInCommandOutput } from "./commands/DeleteConnectClientAddInCommand";
|
|
@@ -42,6 +43,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
42
43
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
43
44
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
44
45
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
46
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
45
47
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
46
48
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
47
49
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -194,6 +196,12 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
194
196
|
createWorkspaceBundle(args: CreateWorkspaceBundleCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceBundleCommandOutput>;
|
|
195
197
|
createWorkspaceBundle(args: CreateWorkspaceBundleCommandInput, cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void): void;
|
|
196
198
|
createWorkspaceBundle(args: CreateWorkspaceBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void): void;
|
|
199
|
+
/**
|
|
200
|
+
* <p>Creates a new WorkSpace image from an existing WorkSpace.</p>
|
|
201
|
+
*/
|
|
202
|
+
createWorkspaceImage(args: CreateWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceImageCommandOutput>;
|
|
203
|
+
createWorkspaceImage(args: CreateWorkspaceImageCommandInput, cb: (err: any, data?: CreateWorkspaceImageCommandOutput) => void): void;
|
|
204
|
+
createWorkspaceImage(args: CreateWorkspaceImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceImageCommandOutput) => void): void;
|
|
197
205
|
/**
|
|
198
206
|
* <p>Creates one or more WorkSpaces.</p>
|
|
199
207
|
* <p>This operation is asynchronous and returns before the WorkSpaces are created.</p>
|
|
@@ -506,6 +514,14 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
506
514
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyClientPropertiesCommandOutput>;
|
|
507
515
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
508
516
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
517
|
+
/**
|
|
518
|
+
* <p>Modifies multiple properties related to SAML 2.0 authentication, including the enablement status,
|
|
519
|
+
* user access URL, and relay state parameter name that are used for configuring federation with an
|
|
520
|
+
* SAML 2.0 identity provider.</p>
|
|
521
|
+
*/
|
|
522
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifySamlPropertiesCommandOutput>;
|
|
523
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, cb: (err: any, data?: ModifySamlPropertiesCommandOutput) => void): void;
|
|
524
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifySamlPropertiesCommandOutput) => void): void;
|
|
509
525
|
/**
|
|
510
526
|
* <p>Modifies the self-service WorkSpace management capabilities for your users. For more
|
|
511
527
|
* information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html">Enable Self-Service WorkSpace Management Capabilities for Your Users</a>.</p>
|
|
@@ -16,6 +16,7 @@ import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "./command
|
|
|
16
16
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
17
17
|
import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCommandOutput } from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
18
18
|
import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "./commands/CreateWorkspaceBundleCommand";
|
|
19
|
+
import { CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput } from "./commands/CreateWorkspaceImageCommand";
|
|
19
20
|
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "./commands/CreateWorkspacesCommand";
|
|
20
21
|
import { DeleteClientBrandingCommandInput, DeleteClientBrandingCommandOutput } from "./commands/DeleteClientBrandingCommand";
|
|
21
22
|
import { DeleteConnectClientAddInCommandInput, DeleteConnectClientAddInCommandOutput } from "./commands/DeleteConnectClientAddInCommand";
|
|
@@ -49,6 +50,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
49
50
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
50
51
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
51
52
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
53
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
52
54
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
53
55
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
54
56
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -67,8 +69,8 @@ import { UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermi
|
|
|
67
69
|
import { UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput } from "./commands/UpdateRulesOfIpGroupCommand";
|
|
68
70
|
import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput } from "./commands/UpdateWorkspaceBundleCommand";
|
|
69
71
|
import { UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput } from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
70
|
-
export declare type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyClientPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
71
|
-
export declare type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyClientPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
72
|
+
export declare type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
73
|
+
export declare type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
72
74
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
73
75
|
/**
|
|
74
76
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateWorkspaceImageRequest, CreateWorkspaceImageResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
export interface CreateWorkspaceImageCommandInput extends CreateWorkspaceImageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateWorkspaceImageCommandOutput extends CreateWorkspaceImageResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a new WorkSpace image from an existing WorkSpace.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WorkSpacesClient, CreateWorkspaceImageCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
15
|
+
* // const { WorkSpacesClient, CreateWorkspaceImageCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
16
|
+
* const client = new WorkSpacesClient(config);
|
|
17
|
+
* const command = new CreateWorkspaceImageCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateWorkspaceImageCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateWorkspaceImageCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateWorkspaceImageCommand extends $Command<CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateWorkspaceImageCommandInput;
|
|
28
|
+
constructor(input: CreateWorkspaceImageCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ModifySamlPropertiesRequest, ModifySamlPropertiesResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
export interface ModifySamlPropertiesCommandInput extends ModifySamlPropertiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ModifySamlPropertiesCommandOutput extends ModifySamlPropertiesResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Modifies multiple properties related to SAML 2.0 authentication, including the enablement status,
|
|
11
|
+
* user access URL, and relay state parameter name that are used for configuring federation with an
|
|
12
|
+
* SAML 2.0 identity provider.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WorkSpacesClient, ModifySamlPropertiesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
17
|
+
* // const { WorkSpacesClient, ModifySamlPropertiesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
18
|
+
* const client = new WorkSpacesClient(config);
|
|
19
|
+
* const command = new ModifySamlPropertiesCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ModifySamlPropertiesCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ModifySamlPropertiesCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ModifySamlPropertiesCommand extends $Command<ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
29
|
+
readonly input: ModifySamlPropertiesCommandInput;
|
|
30
|
+
constructor(input: ModifySamlPropertiesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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";
|