@aws-sdk/client-workspaces 3.131.0 → 3.138.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/dist-cjs/WorkSpaces.js +15 -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/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 +1 -0
- package/dist-cjs/models/models_0.js +677 -992
- package/dist-cjs/protocols/Aws_json1_1.js +93 -3
- package/dist-es/WorkSpaces.js +15 -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/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 +1 -0
- package/dist-es/models/models_0.js +180 -664
- package/dist-es/protocols/Aws_json1_1.js +109 -2
- package/dist-types/WorkSpaces.d.ts +7 -0
- package/dist-types/WorkSpacesClient.d.ts +3 -2
- package/dist-types/commands/CreateWorkspaceImageCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +746 -1001
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +5 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateWorkspaceImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +372 -664
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -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) {
|
|
@@ -1368,6 +1379,81 @@ var deserializeAws_json1_1CreateWorkspaceBundleCommandError = function (output,
|
|
|
1368
1379
|
}
|
|
1369
1380
|
});
|
|
1370
1381
|
}); };
|
|
1382
|
+
export var deserializeAws_json1_1CreateWorkspaceImageCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1383
|
+
var data, contents, response;
|
|
1384
|
+
return __generator(this, function (_a) {
|
|
1385
|
+
switch (_a.label) {
|
|
1386
|
+
case 0:
|
|
1387
|
+
if (output.statusCode >= 300) {
|
|
1388
|
+
return [2, deserializeAws_json1_1CreateWorkspaceImageCommandError(output, context)];
|
|
1389
|
+
}
|
|
1390
|
+
return [4, parseBody(output.body, context)];
|
|
1391
|
+
case 1:
|
|
1392
|
+
data = _a.sent();
|
|
1393
|
+
contents = {};
|
|
1394
|
+
contents = deserializeAws_json1_1CreateWorkspaceImageResult(data, context);
|
|
1395
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1396
|
+
return [2, Promise.resolve(response)];
|
|
1397
|
+
}
|
|
1398
|
+
});
|
|
1399
|
+
}); };
|
|
1400
|
+
var deserializeAws_json1_1CreateWorkspaceImageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1401
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1402
|
+
var _c;
|
|
1403
|
+
return __generator(this, function (_d) {
|
|
1404
|
+
switch (_d.label) {
|
|
1405
|
+
case 0:
|
|
1406
|
+
_a = [__assign({}, output)];
|
|
1407
|
+
_c = {};
|
|
1408
|
+
return [4, parseBody(output.body, context)];
|
|
1409
|
+
case 1:
|
|
1410
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1411
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1412
|
+
_b = errorCode;
|
|
1413
|
+
switch (_b) {
|
|
1414
|
+
case "AccessDeniedException": return [3, 2];
|
|
1415
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
1416
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
1417
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
1418
|
+
case "InvalidResourceStateException": return [3, 6];
|
|
1419
|
+
case "com.amazonaws.workspaces#InvalidResourceStateException": return [3, 6];
|
|
1420
|
+
case "OperationNotSupportedException": return [3, 8];
|
|
1421
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException": return [3, 8];
|
|
1422
|
+
case "ResourceAlreadyExistsException": return [3, 10];
|
|
1423
|
+
case "com.amazonaws.workspaces#ResourceAlreadyExistsException": return [3, 10];
|
|
1424
|
+
case "ResourceLimitExceededException": return [3, 12];
|
|
1425
|
+
case "com.amazonaws.workspaces#ResourceLimitExceededException": return [3, 12];
|
|
1426
|
+
case "ResourceNotFoundException": return [3, 14];
|
|
1427
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 14];
|
|
1428
|
+
}
|
|
1429
|
+
return [3, 16];
|
|
1430
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1431
|
+
case 3: throw _d.sent();
|
|
1432
|
+
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
1433
|
+
case 5: throw _d.sent();
|
|
1434
|
+
case 6: return [4, deserializeAws_json1_1InvalidResourceStateExceptionResponse(parsedOutput, context)];
|
|
1435
|
+
case 7: throw _d.sent();
|
|
1436
|
+
case 8: return [4, deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context)];
|
|
1437
|
+
case 9: throw _d.sent();
|
|
1438
|
+
case 10: return [4, deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context)];
|
|
1439
|
+
case 11: throw _d.sent();
|
|
1440
|
+
case 12: return [4, deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
1441
|
+
case 13: throw _d.sent();
|
|
1442
|
+
case 14: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1443
|
+
case 15: throw _d.sent();
|
|
1444
|
+
case 16:
|
|
1445
|
+
parsedBody = parsedOutput.body;
|
|
1446
|
+
$metadata = deserializeMetadata(output);
|
|
1447
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1448
|
+
response = new __BaseException({
|
|
1449
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1450
|
+
$fault: "client",
|
|
1451
|
+
$metadata: $metadata,
|
|
1452
|
+
});
|
|
1453
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1454
|
+
}
|
|
1455
|
+
});
|
|
1456
|
+
}); };
|
|
1371
1457
|
export var deserializeAws_json1_1CreateWorkspacesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1372
1458
|
var data, contents, response;
|
|
1373
1459
|
return __generator(this, function (_a) {
|
|
@@ -2971,15 +3057,19 @@ var deserializeAws_json1_1ImportClientBrandingCommandError = function (output, c
|
|
|
2971
3057
|
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
2972
3058
|
case "ResourceLimitExceededException": return [3, 6];
|
|
2973
3059
|
case "com.amazonaws.workspaces#ResourceLimitExceededException": return [3, 6];
|
|
3060
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
3061
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 8];
|
|
2974
3062
|
}
|
|
2975
|
-
return [3,
|
|
3063
|
+
return [3, 10];
|
|
2976
3064
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2977
3065
|
case 3: throw _d.sent();
|
|
2978
3066
|
case 4: return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
2979
3067
|
case 5: throw _d.sent();
|
|
2980
3068
|
case 6: return [4, deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
2981
3069
|
case 7: throw _d.sent();
|
|
2982
|
-
case 8:
|
|
3070
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3071
|
+
case 9: throw _d.sent();
|
|
3072
|
+
case 10:
|
|
2983
3073
|
parsedBody = parsedOutput.body;
|
|
2984
3074
|
$metadata = deserializeMetadata(output);
|
|
2985
3075
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -4593,6 +4683,9 @@ var serializeAws_json1_1CreateUpdatedWorkspaceImageRequest = function (input, co
|
|
|
4593
4683
|
var serializeAws_json1_1CreateWorkspaceBundleRequest = function (input, context) {
|
|
4594
4684
|
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) }));
|
|
4595
4685
|
};
|
|
4686
|
+
var serializeAws_json1_1CreateWorkspaceImageRequest = function (input, context) {
|
|
4687
|
+
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 }));
|
|
4688
|
+
};
|
|
4596
4689
|
var serializeAws_json1_1CreateWorkspacesRequest = function (input, context) {
|
|
4597
4690
|
return __assign({}, (input.Workspaces != null && {
|
|
4598
4691
|
Workspaces: serializeAws_json1_1WorkspaceRequestList(input.Workspaces, context),
|
|
@@ -5211,6 +5304,20 @@ var deserializeAws_json1_1CreateWorkspaceBundleResult = function (output, contex
|
|
|
5211
5304
|
: undefined,
|
|
5212
5305
|
};
|
|
5213
5306
|
};
|
|
5307
|
+
var deserializeAws_json1_1CreateWorkspaceImageResult = function (output, context) {
|
|
5308
|
+
return {
|
|
5309
|
+
Created: output.Created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created))) : undefined,
|
|
5310
|
+
Description: __expectString(output.Description),
|
|
5311
|
+
ImageId: __expectString(output.ImageId),
|
|
5312
|
+
Name: __expectString(output.Name),
|
|
5313
|
+
OperatingSystem: output.OperatingSystem != null
|
|
5314
|
+
? deserializeAws_json1_1OperatingSystem(output.OperatingSystem, context)
|
|
5315
|
+
: undefined,
|
|
5316
|
+
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
5317
|
+
RequiredTenancy: __expectString(output.RequiredTenancy),
|
|
5318
|
+
State: __expectString(output.State),
|
|
5319
|
+
};
|
|
5320
|
+
};
|
|
5214
5321
|
var deserializeAws_json1_1CreateWorkspacesResult = function (output, context) {
|
|
5215
5322
|
return {
|
|
5216
5323
|
FailedRequests: output.FailedRequests != null
|
|
@@ -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";
|
|
@@ -194,6 +195,12 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
194
195
|
createWorkspaceBundle(args: CreateWorkspaceBundleCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceBundleCommandOutput>;
|
|
195
196
|
createWorkspaceBundle(args: CreateWorkspaceBundleCommandInput, cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void): void;
|
|
196
197
|
createWorkspaceBundle(args: CreateWorkspaceBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void): void;
|
|
198
|
+
/**
|
|
199
|
+
* <p>Creates a new WorkSpace image from an existing WorkSpace.</p>
|
|
200
|
+
*/
|
|
201
|
+
createWorkspaceImage(args: CreateWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceImageCommandOutput>;
|
|
202
|
+
createWorkspaceImage(args: CreateWorkspaceImageCommandInput, cb: (err: any, data?: CreateWorkspaceImageCommandOutput) => void): void;
|
|
203
|
+
createWorkspaceImage(args: CreateWorkspaceImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceImageCommandOutput) => void): void;
|
|
197
204
|
/**
|
|
198
205
|
* <p>Creates one or more WorkSpaces.</p>
|
|
199
206
|
* <p>This operation is asynchronous and returns before the WorkSpaces are created.</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";
|
|
@@ -67,8 +68,8 @@ import { UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermi
|
|
|
67
68
|
import { UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput } from "./commands/UpdateRulesOfIpGroupCommand";
|
|
68
69
|
import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput } from "./commands/UpdateWorkspaceBundleCommand";
|
|
69
70
|
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;
|
|
71
|
+
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 | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
72
|
+
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 | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
72
73
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
73
74
|
/**
|
|
74
75
|
* 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
|
+
}
|
|
@@ -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";
|