@aws-sdk/client-workspaces 3.211.0 → 3.213.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/dist-cjs/WorkSpaces.js +15 -0
- package/dist-cjs/commands/CreateStandbyWorkspacesCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +65 -25
- package/dist-cjs/protocols/Aws_json1_1.js +202 -25
- package/dist-es/WorkSpaces.js +15 -0
- package/dist-es/commands/CreateStandbyWorkspacesCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +54 -20
- package/dist-es/protocols/Aws_json1_1.js +197 -22
- package/dist-types/WorkSpaces.d.ts +7 -0
- package/dist-types/WorkSpacesClient.d.ts +3 -2
- package/dist-types/commands/CreateStandbyWorkspacesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +173 -18
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +17 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateStandbyWorkspacesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +83 -18
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +28 -28
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand = exports.deserializeAws_json1_1UpdateWorkspaceBundleCommand = exports.deserializeAws_json1_1UpdateRulesOfIpGroupCommand = exports.deserializeAws_json1_1UpdateConnectionAliasPermissionCommand = exports.deserializeAws_json1_1UpdateConnectClientAddInCommand = exports.deserializeAws_json1_1TerminateWorkspacesCommand = exports.deserializeAws_json1_1StopWorkspacesCommand = exports.deserializeAws_json1_1StartWorkspacesCommand = exports.deserializeAws_json1_1RevokeIpRulesCommand = exports.deserializeAws_json1_1RestoreWorkspaceCommand = exports.deserializeAws_json1_1RegisterWorkspaceDirectoryCommand = exports.deserializeAws_json1_1RebuildWorkspacesCommand = exports.deserializeAws_json1_1RebootWorkspacesCommand = exports.deserializeAws_json1_1ModifyWorkspaceStateCommand = exports.deserializeAws_json1_1ModifyWorkspacePropertiesCommand = exports.deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand = exports.deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand = exports.deserializeAws_json1_1ModifySelfservicePermissionsCommand = exports.deserializeAws_json1_1ModifySamlPropertiesCommand = exports.deserializeAws_json1_1ModifyClientPropertiesCommand = exports.deserializeAws_json1_1ModifyCertificateBasedAuthPropertiesCommand = exports.deserializeAws_json1_1ModifyAccountCommand = exports.deserializeAws_json1_1MigrateWorkspaceCommand = exports.deserializeAws_json1_1ListAvailableManagementCidrRangesCommand = exports.deserializeAws_json1_1ImportWorkspaceImageCommand = exports.deserializeAws_json1_1ImportClientBrandingCommand = exports.deserializeAws_json1_1DisassociateIpGroupsCommand = exports.deserializeAws_json1_1DisassociateConnectionAliasCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand = exports.serializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand = exports.serializeAws_json1_1ModifySelfservicePermissionsCommand = exports.serializeAws_json1_1ModifySamlPropertiesCommand = exports.serializeAws_json1_1ModifyClientPropertiesCommand = exports.serializeAws_json1_1ModifyCertificateBasedAuthPropertiesCommand = exports.serializeAws_json1_1ModifyAccountCommand = exports.serializeAws_json1_1MigrateWorkspaceCommand = exports.serializeAws_json1_1ListAvailableManagementCidrRangesCommand = exports.serializeAws_json1_1ImportWorkspaceImageCommand = exports.serializeAws_json1_1ImportClientBrandingCommand = exports.serializeAws_json1_1DisassociateIpGroupsCommand = exports.serializeAws_json1_1DisassociateConnectionAliasCommand = exports.serializeAws_json1_1DescribeWorkspaceSnapshotsCommand = exports.serializeAws_json1_1DescribeWorkspacesConnectionStatusCommand = exports.serializeAws_json1_1DescribeWorkspacesCommand = exports.serializeAws_json1_1DescribeWorkspaceImagesCommand = exports.serializeAws_json1_1DescribeWorkspaceImagePermissionsCommand = exports.serializeAws_json1_1DescribeWorkspaceDirectoriesCommand = exports.serializeAws_json1_1DescribeWorkspaceBundlesCommand = exports.serializeAws_json1_1DescribeTagsCommand = exports.serializeAws_json1_1DescribeIpGroupsCommand = exports.serializeAws_json1_1DescribeConnectionAliasPermissionsCommand = exports.serializeAws_json1_1DescribeConnectionAliasesCommand = exports.serializeAws_json1_1DescribeConnectClientAddInsCommand = exports.serializeAws_json1_1DescribeClientPropertiesCommand = exports.serializeAws_json1_1DescribeClientBrandingCommand = exports.serializeAws_json1_1DescribeAccountModificationsCommand = exports.serializeAws_json1_1DescribeAccountCommand = exports.serializeAws_json1_1DeregisterWorkspaceDirectoryCommand = exports.serializeAws_json1_1DeleteWorkspaceImageCommand = exports.serializeAws_json1_1DeleteWorkspaceBundleCommand = exports.serializeAws_json1_1DeleteTagsCommand = exports.serializeAws_json1_1DeleteIpGroupCommand = exports.serializeAws_json1_1DeleteConnectionAliasCommand = exports.serializeAws_json1_1DeleteConnectClientAddInCommand = exports.serializeAws_json1_1DeleteClientBrandingCommand = exports.serializeAws_json1_1CreateWorkspacesCommand = exports.serializeAws_json1_1CreateWorkspaceImageCommand = exports.serializeAws_json1_1CreateWorkspaceBundleCommand = exports.serializeAws_json1_1CreateUpdatedWorkspaceImageCommand = exports.serializeAws_json1_1CreateTagsCommand = exports.serializeAws_json1_1CreateStandbyWorkspacesCommand = exports.serializeAws_json1_1CreateIpGroupCommand = exports.serializeAws_json1_1CreateConnectionAliasCommand = exports.serializeAws_json1_1CreateConnectClientAddInCommand = exports.serializeAws_json1_1CopyWorkspaceImageCommand = exports.serializeAws_json1_1AuthorizeIpRulesCommand = exports.serializeAws_json1_1AssociateIpGroupsCommand = exports.serializeAws_json1_1AssociateConnectionAliasCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1DescribeWorkspacesCommand = exports.deserializeAws_json1_1DescribeWorkspaceImagesCommand = exports.deserializeAws_json1_1DescribeWorkspaceImagePermissionsCommand = exports.deserializeAws_json1_1DescribeWorkspaceDirectoriesCommand = exports.deserializeAws_json1_1DescribeWorkspaceBundlesCommand = exports.deserializeAws_json1_1DescribeTagsCommand = exports.deserializeAws_json1_1DescribeIpGroupsCommand = exports.deserializeAws_json1_1DescribeConnectionAliasPermissionsCommand = exports.deserializeAws_json1_1DescribeConnectionAliasesCommand = exports.deserializeAws_json1_1DescribeConnectClientAddInsCommand = exports.deserializeAws_json1_1DescribeClientPropertiesCommand = exports.deserializeAws_json1_1DescribeClientBrandingCommand = exports.deserializeAws_json1_1DescribeAccountModificationsCommand = exports.deserializeAws_json1_1DescribeAccountCommand = exports.deserializeAws_json1_1DeregisterWorkspaceDirectoryCommand = exports.deserializeAws_json1_1DeleteWorkspaceImageCommand = exports.deserializeAws_json1_1DeleteWorkspaceBundleCommand = exports.deserializeAws_json1_1DeleteTagsCommand = exports.deserializeAws_json1_1DeleteIpGroupCommand = exports.deserializeAws_json1_1DeleteConnectionAliasCommand = exports.deserializeAws_json1_1DeleteConnectClientAddInCommand = exports.deserializeAws_json1_1DeleteClientBrandingCommand = exports.deserializeAws_json1_1CreateWorkspacesCommand = exports.deserializeAws_json1_1CreateWorkspaceImageCommand = exports.deserializeAws_json1_1CreateWorkspaceBundleCommand = exports.deserializeAws_json1_1CreateUpdatedWorkspaceImageCommand = exports.deserializeAws_json1_1CreateTagsCommand = exports.deserializeAws_json1_1CreateStandbyWorkspacesCommand = exports.deserializeAws_json1_1CreateIpGroupCommand = exports.deserializeAws_json1_1CreateConnectionAliasCommand = exports.deserializeAws_json1_1CreateConnectClientAddInCommand = exports.deserializeAws_json1_1CopyWorkspaceImageCommand = exports.deserializeAws_json1_1AuthorizeIpRulesCommand = exports.deserializeAws_json1_1AssociateIpGroupsCommand = exports.deserializeAws_json1_1AssociateConnectionAliasCommand = exports.serializeAws_json1_1UpdateWorkspaceImagePermissionCommand = exports.serializeAws_json1_1UpdateWorkspaceBundleCommand = exports.serializeAws_json1_1UpdateRulesOfIpGroupCommand = exports.serializeAws_json1_1UpdateConnectionAliasPermissionCommand = exports.serializeAws_json1_1UpdateConnectClientAddInCommand = exports.serializeAws_json1_1TerminateWorkspacesCommand = exports.serializeAws_json1_1StopWorkspacesCommand = exports.serializeAws_json1_1StartWorkspacesCommand = exports.serializeAws_json1_1RevokeIpRulesCommand = exports.serializeAws_json1_1RestoreWorkspaceCommand = exports.serializeAws_json1_1RegisterWorkspaceDirectoryCommand = exports.serializeAws_json1_1RebuildWorkspacesCommand = exports.serializeAws_json1_1RebootWorkspacesCommand = exports.serializeAws_json1_1ModifyWorkspaceStateCommand = exports.serializeAws_json1_1ModifyWorkspacePropertiesCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand = exports.deserializeAws_json1_1UpdateWorkspaceBundleCommand = exports.deserializeAws_json1_1UpdateRulesOfIpGroupCommand = exports.deserializeAws_json1_1UpdateConnectionAliasPermissionCommand = exports.deserializeAws_json1_1UpdateConnectClientAddInCommand = exports.deserializeAws_json1_1TerminateWorkspacesCommand = exports.deserializeAws_json1_1StopWorkspacesCommand = exports.deserializeAws_json1_1StartWorkspacesCommand = exports.deserializeAws_json1_1RevokeIpRulesCommand = exports.deserializeAws_json1_1RestoreWorkspaceCommand = exports.deserializeAws_json1_1RegisterWorkspaceDirectoryCommand = exports.deserializeAws_json1_1RebuildWorkspacesCommand = exports.deserializeAws_json1_1RebootWorkspacesCommand = exports.deserializeAws_json1_1ModifyWorkspaceStateCommand = exports.deserializeAws_json1_1ModifyWorkspacePropertiesCommand = exports.deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand = exports.deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand = exports.deserializeAws_json1_1ModifySelfservicePermissionsCommand = exports.deserializeAws_json1_1ModifySamlPropertiesCommand = exports.deserializeAws_json1_1ModifyClientPropertiesCommand = exports.deserializeAws_json1_1ModifyCertificateBasedAuthPropertiesCommand = exports.deserializeAws_json1_1ModifyAccountCommand = exports.deserializeAws_json1_1MigrateWorkspaceCommand = exports.deserializeAws_json1_1ListAvailableManagementCidrRangesCommand = exports.deserializeAws_json1_1ImportWorkspaceImageCommand = exports.deserializeAws_json1_1ImportClientBrandingCommand = exports.deserializeAws_json1_1DisassociateIpGroupsCommand = exports.deserializeAws_json1_1DisassociateConnectionAliasCommand = exports.deserializeAws_json1_1DescribeWorkspaceSnapshotsCommand = exports.deserializeAws_json1_1DescribeWorkspacesConnectionStatusCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
@@ -77,6 +77,16 @@ const serializeAws_json1_1CreateIpGroupCommand = async (input, context) => {
|
|
|
77
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
78
|
};
|
|
79
79
|
exports.serializeAws_json1_1CreateIpGroupCommand = serializeAws_json1_1CreateIpGroupCommand;
|
|
80
|
+
const serializeAws_json1_1CreateStandbyWorkspacesCommand = async (input, context) => {
|
|
81
|
+
const headers = {
|
|
82
|
+
"content-type": "application/x-amz-json-1.1",
|
|
83
|
+
"x-amz-target": "WorkspacesService.CreateStandbyWorkspaces",
|
|
84
|
+
};
|
|
85
|
+
let body;
|
|
86
|
+
body = JSON.stringify(serializeAws_json1_1CreateStandbyWorkspacesRequest(input, context));
|
|
87
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
|
+
};
|
|
89
|
+
exports.serializeAws_json1_1CreateStandbyWorkspacesCommand = serializeAws_json1_1CreateStandbyWorkspacesCommand;
|
|
80
90
|
const serializeAws_json1_1CreateTagsCommand = async (input, context) => {
|
|
81
91
|
const headers = {
|
|
82
92
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -984,6 +994,52 @@ const deserializeAws_json1_1CreateIpGroupCommandError = async (output, context)
|
|
|
984
994
|
});
|
|
985
995
|
}
|
|
986
996
|
};
|
|
997
|
+
const deserializeAws_json1_1CreateStandbyWorkspacesCommand = async (output, context) => {
|
|
998
|
+
if (output.statusCode >= 300) {
|
|
999
|
+
return deserializeAws_json1_1CreateStandbyWorkspacesCommandError(output, context);
|
|
1000
|
+
}
|
|
1001
|
+
const data = await parseBody(output.body, context);
|
|
1002
|
+
let contents = {};
|
|
1003
|
+
contents = deserializeAws_json1_1CreateStandbyWorkspacesResult(data, context);
|
|
1004
|
+
const response = {
|
|
1005
|
+
$metadata: deserializeMetadata(output),
|
|
1006
|
+
...contents,
|
|
1007
|
+
};
|
|
1008
|
+
return Promise.resolve(response);
|
|
1009
|
+
};
|
|
1010
|
+
exports.deserializeAws_json1_1CreateStandbyWorkspacesCommand = deserializeAws_json1_1CreateStandbyWorkspacesCommand;
|
|
1011
|
+
const deserializeAws_json1_1CreateStandbyWorkspacesCommandError = async (output, context) => {
|
|
1012
|
+
const parsedOutput = {
|
|
1013
|
+
...output,
|
|
1014
|
+
body: await parseErrorBody(output.body, context),
|
|
1015
|
+
};
|
|
1016
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1017
|
+
switch (errorCode) {
|
|
1018
|
+
case "AccessDeniedException":
|
|
1019
|
+
case "com.amazonaws.workspaces#AccessDeniedException":
|
|
1020
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1021
|
+
case "InvalidParameterValuesException":
|
|
1022
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException":
|
|
1023
|
+
throw await deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context);
|
|
1024
|
+
case "OperationNotSupportedException":
|
|
1025
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
1026
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
1027
|
+
case "ResourceLimitExceededException":
|
|
1028
|
+
case "com.amazonaws.workspaces#ResourceLimitExceededException":
|
|
1029
|
+
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
1030
|
+
case "ResourceNotFoundException":
|
|
1031
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
1032
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1033
|
+
default:
|
|
1034
|
+
const parsedBody = parsedOutput.body;
|
|
1035
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1036
|
+
output,
|
|
1037
|
+
parsedBody,
|
|
1038
|
+
exceptionCtor: WorkSpacesServiceException_1.WorkSpacesServiceException,
|
|
1039
|
+
errorCode,
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
987
1043
|
const deserializeAws_json1_1CreateTagsCommand = async (output, context) => {
|
|
988
1044
|
if (output.statusCode >= 300) {
|
|
989
1045
|
return deserializeAws_json1_1CreateTagsCommandError(output, context);
|
|
@@ -2785,6 +2841,9 @@ const deserializeAws_json1_1ModifyWorkspaceStateCommandError = async (output, co
|
|
|
2785
2841
|
case "InvalidResourceStateException":
|
|
2786
2842
|
case "com.amazonaws.workspaces#InvalidResourceStateException":
|
|
2787
2843
|
throw await deserializeAws_json1_1InvalidResourceStateExceptionResponse(parsedOutput, context);
|
|
2844
|
+
case "OperationNotSupportedException":
|
|
2845
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
2846
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
2788
2847
|
case "ResourceNotFoundException":
|
|
2789
2848
|
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
2790
2849
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -2818,13 +2877,19 @@ const deserializeAws_json1_1RebootWorkspacesCommandError = async (output, contex
|
|
|
2818
2877
|
body: await parseErrorBody(output.body, context),
|
|
2819
2878
|
};
|
|
2820
2879
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2880
|
+
switch (errorCode) {
|
|
2881
|
+
case "OperationNotSupportedException":
|
|
2882
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
2883
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
2884
|
+
default:
|
|
2885
|
+
const parsedBody = parsedOutput.body;
|
|
2886
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2887
|
+
output,
|
|
2888
|
+
parsedBody,
|
|
2889
|
+
exceptionCtor: WorkSpacesServiceException_1.WorkSpacesServiceException,
|
|
2890
|
+
errorCode,
|
|
2891
|
+
});
|
|
2892
|
+
}
|
|
2828
2893
|
};
|
|
2829
2894
|
const deserializeAws_json1_1RebuildWorkspacesCommand = async (output, context) => {
|
|
2830
2895
|
if (output.statusCode >= 300) {
|
|
@@ -2846,13 +2911,19 @@ const deserializeAws_json1_1RebuildWorkspacesCommandError = async (output, conte
|
|
|
2846
2911
|
body: await parseErrorBody(output.body, context),
|
|
2847
2912
|
};
|
|
2848
2913
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2914
|
+
switch (errorCode) {
|
|
2915
|
+
case "OperationNotSupportedException":
|
|
2916
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
2917
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
2918
|
+
default:
|
|
2919
|
+
const parsedBody = parsedOutput.body;
|
|
2920
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2921
|
+
output,
|
|
2922
|
+
parsedBody,
|
|
2923
|
+
exceptionCtor: WorkSpacesServiceException_1.WorkSpacesServiceException,
|
|
2924
|
+
errorCode,
|
|
2925
|
+
});
|
|
2926
|
+
}
|
|
2856
2927
|
};
|
|
2857
2928
|
const deserializeAws_json1_1RegisterWorkspaceDirectoryCommand = async (output, context) => {
|
|
2858
2929
|
if (output.statusCode >= 300) {
|
|
@@ -2936,6 +3007,9 @@ const deserializeAws_json1_1RestoreWorkspaceCommandError = async (output, contex
|
|
|
2936
3007
|
case "InvalidParameterValuesException":
|
|
2937
3008
|
case "com.amazonaws.workspaces#InvalidParameterValuesException":
|
|
2938
3009
|
throw await deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context);
|
|
3010
|
+
case "OperationNotSupportedException":
|
|
3011
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
3012
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
2939
3013
|
case "ResourceNotFoundException":
|
|
2940
3014
|
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
2941
3015
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -3241,6 +3315,9 @@ const deserializeAws_json1_1UpdateWorkspaceBundleCommandError = async (output, c
|
|
|
3241
3315
|
case "InvalidParameterValuesException":
|
|
3242
3316
|
case "com.amazonaws.workspaces#InvalidParameterValuesException":
|
|
3243
3317
|
throw await deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context);
|
|
3318
|
+
case "OperationNotSupportedException":
|
|
3319
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
3320
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
3244
3321
|
case "ResourceNotFoundException":
|
|
3245
3322
|
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
3246
3323
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -3528,6 +3605,14 @@ const serializeAws_json1_1CreateIpGroupRequest = (input, context) => {
|
|
|
3528
3605
|
...(input.UserRules != null && { UserRules: serializeAws_json1_1IpRuleList(input.UserRules, context) }),
|
|
3529
3606
|
};
|
|
3530
3607
|
};
|
|
3608
|
+
const serializeAws_json1_1CreateStandbyWorkspacesRequest = (input, context) => {
|
|
3609
|
+
return {
|
|
3610
|
+
...(input.PrimaryRegion != null && { PrimaryRegion: input.PrimaryRegion }),
|
|
3611
|
+
...(input.StandbyWorkspaces != null && {
|
|
3612
|
+
StandbyWorkspaces: serializeAws_json1_1StandbyWorkspacesList(input.StandbyWorkspaces, context),
|
|
3613
|
+
}),
|
|
3614
|
+
};
|
|
3615
|
+
};
|
|
3531
3616
|
const serializeAws_json1_1CreateTagsRequest = (input, context) => {
|
|
3532
3617
|
return {
|
|
3533
3618
|
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
@@ -3847,10 +3932,8 @@ const serializeAws_json1_1LoginMessage = (input, context) => {
|
|
|
3847
3932
|
if (value === null) {
|
|
3848
3933
|
return acc;
|
|
3849
3934
|
}
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
[key]: value,
|
|
3853
|
-
};
|
|
3935
|
+
acc[key] = value;
|
|
3936
|
+
return acc;
|
|
3854
3937
|
}, {});
|
|
3855
3938
|
};
|
|
3856
3939
|
const serializeAws_json1_1MigrateWorkspaceRequest = (input, context) => {
|
|
@@ -4029,6 +4112,21 @@ const serializeAws_json1_1SelfservicePermissions = (input, context) => {
|
|
|
4029
4112
|
...(input.SwitchRunningMode != null && { SwitchRunningMode: input.SwitchRunningMode }),
|
|
4030
4113
|
};
|
|
4031
4114
|
};
|
|
4115
|
+
const serializeAws_json1_1StandbyWorkspace = (input, context) => {
|
|
4116
|
+
return {
|
|
4117
|
+
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4118
|
+
...(input.PrimaryWorkspaceId != null && { PrimaryWorkspaceId: input.PrimaryWorkspaceId }),
|
|
4119
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4120
|
+
...(input.VolumeEncryptionKey != null && { VolumeEncryptionKey: input.VolumeEncryptionKey }),
|
|
4121
|
+
};
|
|
4122
|
+
};
|
|
4123
|
+
const serializeAws_json1_1StandbyWorkspacesList = (input, context) => {
|
|
4124
|
+
return input
|
|
4125
|
+
.filter((e) => e != null)
|
|
4126
|
+
.map((entry) => {
|
|
4127
|
+
return serializeAws_json1_1StandbyWorkspace(entry, context);
|
|
4128
|
+
});
|
|
4129
|
+
};
|
|
4032
4130
|
const serializeAws_json1_1StartRequest = (input, context) => {
|
|
4033
4131
|
return {
|
|
4034
4132
|
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
@@ -4409,6 +4507,16 @@ const deserializeAws_json1_1CreateIpGroupResult = (output, context) => {
|
|
|
4409
4507
|
GroupId: (0, smithy_client_1.expectString)(output.GroupId),
|
|
4410
4508
|
};
|
|
4411
4509
|
};
|
|
4510
|
+
const deserializeAws_json1_1CreateStandbyWorkspacesResult = (output, context) => {
|
|
4511
|
+
return {
|
|
4512
|
+
FailedStandbyRequests: output.FailedStandbyRequests != null
|
|
4513
|
+
? deserializeAws_json1_1FailedCreateStandbyWorkspacesRequestList(output.FailedStandbyRequests, context)
|
|
4514
|
+
: undefined,
|
|
4515
|
+
PendingStandbyRequests: output.PendingStandbyRequests != null
|
|
4516
|
+
? deserializeAws_json1_1PendingCreateStandbyWorkspacesRequestList(output.PendingStandbyRequests, context)
|
|
4517
|
+
: undefined,
|
|
4518
|
+
};
|
|
4519
|
+
};
|
|
4412
4520
|
const deserializeAws_json1_1CreateTagsResult = (output, context) => {
|
|
4413
4521
|
return {};
|
|
4414
4522
|
};
|
|
@@ -4656,6 +4764,26 @@ const deserializeAws_json1_1DnsIpAddresses = (output, context) => {
|
|
|
4656
4764
|
});
|
|
4657
4765
|
return retVal;
|
|
4658
4766
|
};
|
|
4767
|
+
const deserializeAws_json1_1FailedCreateStandbyWorkspacesRequest = (output, context) => {
|
|
4768
|
+
return {
|
|
4769
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4770
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4771
|
+
StandbyWorkspaceRequest: output.StandbyWorkspaceRequest != null
|
|
4772
|
+
? deserializeAws_json1_1StandbyWorkspace(output.StandbyWorkspaceRequest, context)
|
|
4773
|
+
: undefined,
|
|
4774
|
+
};
|
|
4775
|
+
};
|
|
4776
|
+
const deserializeAws_json1_1FailedCreateStandbyWorkspacesRequestList = (output, context) => {
|
|
4777
|
+
const retVal = (output || [])
|
|
4778
|
+
.filter((e) => e != null)
|
|
4779
|
+
.map((entry) => {
|
|
4780
|
+
if (entry === null) {
|
|
4781
|
+
return null;
|
|
4782
|
+
}
|
|
4783
|
+
return deserializeAws_json1_1FailedCreateStandbyWorkspacesRequest(entry, context);
|
|
4784
|
+
});
|
|
4785
|
+
return retVal;
|
|
4786
|
+
};
|
|
4659
4787
|
const deserializeAws_json1_1FailedCreateWorkspaceRequest = (output, context) => {
|
|
4660
4788
|
return {
|
|
4661
4789
|
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
@@ -4843,10 +4971,8 @@ const deserializeAws_json1_1LoginMessage = (output, context) => {
|
|
|
4843
4971
|
if (value === null) {
|
|
4844
4972
|
return acc;
|
|
4845
4973
|
}
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
4849
|
-
};
|
|
4974
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4975
|
+
return acc;
|
|
4850
4976
|
}, {});
|
|
4851
4977
|
};
|
|
4852
4978
|
const deserializeAws_json1_1MigrateWorkspaceResult = (output, context) => {
|
|
@@ -4915,6 +5041,25 @@ const deserializeAws_json1_1OperationNotSupportedException = (output, context) =
|
|
|
4915
5041
|
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
4916
5042
|
};
|
|
4917
5043
|
};
|
|
5044
|
+
const deserializeAws_json1_1PendingCreateStandbyWorkspacesRequest = (output, context) => {
|
|
5045
|
+
return {
|
|
5046
|
+
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5047
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
5048
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
5049
|
+
WorkspaceId: (0, smithy_client_1.expectString)(output.WorkspaceId),
|
|
5050
|
+
};
|
|
5051
|
+
};
|
|
5052
|
+
const deserializeAws_json1_1PendingCreateStandbyWorkspacesRequestList = (output, context) => {
|
|
5053
|
+
const retVal = (output || [])
|
|
5054
|
+
.filter((e) => e != null)
|
|
5055
|
+
.map((entry) => {
|
|
5056
|
+
if (entry === null) {
|
|
5057
|
+
return null;
|
|
5058
|
+
}
|
|
5059
|
+
return deserializeAws_json1_1PendingCreateStandbyWorkspacesRequest(entry, context);
|
|
5060
|
+
});
|
|
5061
|
+
return retVal;
|
|
5062
|
+
};
|
|
4918
5063
|
const deserializeAws_json1_1ProtocolList = (output, context) => {
|
|
4919
5064
|
const retVal = (output || [])
|
|
4920
5065
|
.filter((e) => e != null)
|
|
@@ -4943,6 +5088,25 @@ const deserializeAws_json1_1RebuildWorkspacesResult = (output, context) => {
|
|
|
4943
5088
|
const deserializeAws_json1_1RegisterWorkspaceDirectoryResult = (output, context) => {
|
|
4944
5089
|
return {};
|
|
4945
5090
|
};
|
|
5091
|
+
const deserializeAws_json1_1RelatedWorkspaceProperties = (output, context) => {
|
|
5092
|
+
return {
|
|
5093
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
5094
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
5095
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5096
|
+
WorkspaceId: (0, smithy_client_1.expectString)(output.WorkspaceId),
|
|
5097
|
+
};
|
|
5098
|
+
};
|
|
5099
|
+
const deserializeAws_json1_1RelatedWorkspaces = (output, context) => {
|
|
5100
|
+
const retVal = (output || [])
|
|
5101
|
+
.filter((e) => e != null)
|
|
5102
|
+
.map((entry) => {
|
|
5103
|
+
if (entry === null) {
|
|
5104
|
+
return null;
|
|
5105
|
+
}
|
|
5106
|
+
return deserializeAws_json1_1RelatedWorkspaceProperties(entry, context);
|
|
5107
|
+
});
|
|
5108
|
+
return retVal;
|
|
5109
|
+
};
|
|
4946
5110
|
const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
|
|
4947
5111
|
return {
|
|
4948
5112
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
@@ -5020,6 +5184,14 @@ const deserializeAws_json1_1SnapshotList = (output, context) => {
|
|
|
5020
5184
|
});
|
|
5021
5185
|
return retVal;
|
|
5022
5186
|
};
|
|
5187
|
+
const deserializeAws_json1_1StandbyWorkspace = (output, context) => {
|
|
5188
|
+
return {
|
|
5189
|
+
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5190
|
+
PrimaryWorkspaceId: (0, smithy_client_1.expectString)(output.PrimaryWorkspaceId),
|
|
5191
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
5192
|
+
VolumeEncryptionKey: (0, smithy_client_1.expectString)(output.VolumeEncryptionKey),
|
|
5193
|
+
};
|
|
5194
|
+
};
|
|
5023
5195
|
const deserializeAws_json1_1StartWorkspacesResult = (output, context) => {
|
|
5024
5196
|
return {
|
|
5025
5197
|
FailedRequests: output.FailedRequests != null
|
|
@@ -5116,6 +5288,9 @@ const deserializeAws_json1_1Workspace = (output, context) => {
|
|
|
5116
5288
|
ModificationStates: output.ModificationStates != null
|
|
5117
5289
|
? deserializeAws_json1_1ModificationStateList(output.ModificationStates, context)
|
|
5118
5290
|
: undefined,
|
|
5291
|
+
RelatedWorkspaces: output.RelatedWorkspaces != null
|
|
5292
|
+
? deserializeAws_json1_1RelatedWorkspaces(output.RelatedWorkspaces, context)
|
|
5293
|
+
: undefined,
|
|
5119
5294
|
RootVolumeEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.RootVolumeEncryptionEnabled),
|
|
5120
5295
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
5121
5296
|
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
@@ -5143,6 +5318,7 @@ const deserializeAws_json1_1WorkspaceAccessProperties = (output, context) => {
|
|
|
5143
5318
|
const deserializeAws_json1_1WorkspaceBundle = (output, context) => {
|
|
5144
5319
|
return {
|
|
5145
5320
|
BundleId: (0, smithy_client_1.expectString)(output.BundleId),
|
|
5321
|
+
BundleType: (0, smithy_client_1.expectString)(output.BundleType),
|
|
5146
5322
|
ComputeType: output.ComputeType != null ? deserializeAws_json1_1ComputeType(output.ComputeType, context) : undefined,
|
|
5147
5323
|
CreationTime: output.CreationTime != null
|
|
5148
5324
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
@@ -5155,6 +5331,7 @@ const deserializeAws_json1_1WorkspaceBundle = (output, context) => {
|
|
|
5155
5331
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5156
5332
|
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
5157
5333
|
RootStorage: output.RootStorage != null ? deserializeAws_json1_1RootStorage(output.RootStorage, context) : undefined,
|
|
5334
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
5158
5335
|
UserStorage: output.UserStorage != null ? deserializeAws_json1_1UserStorage(output.UserStorage, context) : undefined,
|
|
5159
5336
|
};
|
|
5160
5337
|
};
|
package/dist-es/WorkSpaces.js
CHANGED
|
@@ -5,6 +5,7 @@ import { CopyWorkspaceImageCommand, } from "./commands/CopyWorkspaceImageCommand
|
|
|
5
5
|
import { CreateConnectClientAddInCommand, } from "./commands/CreateConnectClientAddInCommand";
|
|
6
6
|
import { CreateConnectionAliasCommand, } from "./commands/CreateConnectionAliasCommand";
|
|
7
7
|
import { CreateIpGroupCommand, } from "./commands/CreateIpGroupCommand";
|
|
8
|
+
import { CreateStandbyWorkspacesCommand, } from "./commands/CreateStandbyWorkspacesCommand";
|
|
8
9
|
import { CreateTagsCommand } from "./commands/CreateTagsCommand";
|
|
9
10
|
import { CreateUpdatedWorkspaceImageCommand, } from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
10
11
|
import { CreateWorkspaceBundleCommand, } from "./commands/CreateWorkspaceBundleCommand";
|
|
@@ -162,6 +163,20 @@ export class WorkSpaces extends WorkSpacesClient {
|
|
|
162
163
|
return this.send(command, optionsOrCb);
|
|
163
164
|
}
|
|
164
165
|
}
|
|
166
|
+
createStandbyWorkspaces(args, optionsOrCb, cb) {
|
|
167
|
+
const command = new CreateStandbyWorkspacesCommand(args);
|
|
168
|
+
if (typeof optionsOrCb === "function") {
|
|
169
|
+
this.send(command, optionsOrCb);
|
|
170
|
+
}
|
|
171
|
+
else if (typeof cb === "function") {
|
|
172
|
+
if (typeof optionsOrCb !== "object")
|
|
173
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
return this.send(command, optionsOrCb);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
165
180
|
createTags(args, optionsOrCb, cb) {
|
|
166
181
|
const command = new CreateTagsCommand(args);
|
|
167
182
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateStandbyWorkspacesRequestFilterSensitiveLog, CreateStandbyWorkspacesResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateStandbyWorkspacesCommand, serializeAws_json1_1CreateStandbyWorkspacesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class CreateStandbyWorkspacesCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateStandbyWorkspacesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WorkSpacesClient";
|
|
25
|
+
const commandName = "CreateStandbyWorkspacesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateStandbyWorkspacesRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateStandbyWorkspacesResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1CreateStandbyWorkspacesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1CreateStandbyWorkspacesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./CopyWorkspaceImageCommand";
|
|
|
5
5
|
export * from "./CreateConnectClientAddInCommand";
|
|
6
6
|
export * from "./CreateConnectionAliasCommand";
|
|
7
7
|
export * from "./CreateIpGroupCommand";
|
|
8
|
+
export * from "./CreateStandbyWorkspacesCommand";
|
|
8
9
|
export * from "./CreateTagsCommand";
|
|
9
10
|
export * from "./CreateUpdatedWorkspaceImageCommand";
|
|
10
11
|
export * from "./CreateWorkspaceBundleCommand";
|
|
@@ -114,6 +114,11 @@ export var AssociationStatus;
|
|
|
114
114
|
AssociationStatus["PENDING_ASSOCIATION"] = "PENDING_ASSOCIATION";
|
|
115
115
|
AssociationStatus["PENDING_DISASSOCIATION"] = "PENDING_DISASSOCIATION";
|
|
116
116
|
})(AssociationStatus || (AssociationStatus = {}));
|
|
117
|
+
export var BundleType;
|
|
118
|
+
(function (BundleType) {
|
|
119
|
+
BundleType["REGULAR"] = "REGULAR";
|
|
120
|
+
BundleType["STANDBY"] = "STANDBY";
|
|
121
|
+
})(BundleType || (BundleType = {}));
|
|
117
122
|
export var Compute;
|
|
118
123
|
(function (Compute) {
|
|
119
124
|
Compute["GRAPHICS"] = "GRAPHICS";
|
|
@@ -126,6 +131,12 @@ export var Compute;
|
|
|
126
131
|
Compute["STANDARD"] = "STANDARD";
|
|
127
132
|
Compute["VALUE"] = "VALUE";
|
|
128
133
|
})(Compute || (Compute = {}));
|
|
134
|
+
export var WorkspaceBundleState;
|
|
135
|
+
(function (WorkspaceBundleState) {
|
|
136
|
+
WorkspaceBundleState["AVAILABLE"] = "AVAILABLE";
|
|
137
|
+
WorkspaceBundleState["ERROR"] = "ERROR";
|
|
138
|
+
WorkspaceBundleState["PENDING"] = "PENDING";
|
|
139
|
+
})(WorkspaceBundleState || (WorkspaceBundleState = {}));
|
|
129
140
|
export var CertificateBasedAuthStatusEnum;
|
|
130
141
|
(function (CertificateBasedAuthStatusEnum) {
|
|
131
142
|
CertificateBasedAuthStatusEnum["DISABLED"] = "DISABLED";
|
|
@@ -199,6 +210,26 @@ export class ResourceCreationFailedException extends __BaseException {
|
|
|
199
210
|
Object.setPrototypeOf(this, ResourceCreationFailedException.prototype);
|
|
200
211
|
}
|
|
201
212
|
}
|
|
213
|
+
export var WorkspaceState;
|
|
214
|
+
(function (WorkspaceState) {
|
|
215
|
+
WorkspaceState["ADMIN_MAINTENANCE"] = "ADMIN_MAINTENANCE";
|
|
216
|
+
WorkspaceState["AVAILABLE"] = "AVAILABLE";
|
|
217
|
+
WorkspaceState["ERROR"] = "ERROR";
|
|
218
|
+
WorkspaceState["IMPAIRED"] = "IMPAIRED";
|
|
219
|
+
WorkspaceState["MAINTENANCE"] = "MAINTENANCE";
|
|
220
|
+
WorkspaceState["PENDING"] = "PENDING";
|
|
221
|
+
WorkspaceState["REBOOTING"] = "REBOOTING";
|
|
222
|
+
WorkspaceState["REBUILDING"] = "REBUILDING";
|
|
223
|
+
WorkspaceState["RESTORING"] = "RESTORING";
|
|
224
|
+
WorkspaceState["STARTING"] = "STARTING";
|
|
225
|
+
WorkspaceState["STOPPED"] = "STOPPED";
|
|
226
|
+
WorkspaceState["STOPPING"] = "STOPPING";
|
|
227
|
+
WorkspaceState["SUSPENDED"] = "SUSPENDED";
|
|
228
|
+
WorkspaceState["TERMINATED"] = "TERMINATED";
|
|
229
|
+
WorkspaceState["TERMINATING"] = "TERMINATING";
|
|
230
|
+
WorkspaceState["UNHEALTHY"] = "UNHEALTHY";
|
|
231
|
+
WorkspaceState["UPDATING"] = "UPDATING";
|
|
232
|
+
})(WorkspaceState || (WorkspaceState = {}));
|
|
202
233
|
export var OperatingSystemType;
|
|
203
234
|
(function (OperatingSystemType) {
|
|
204
235
|
OperatingSystemType["LINUX"] = "LINUX";
|
|
@@ -237,26 +268,11 @@ export var ModificationStateEnum;
|
|
|
237
268
|
ModificationStateEnum["UPDATE_INITIATED"] = "UPDATE_INITIATED";
|
|
238
269
|
ModificationStateEnum["UPDATE_IN_PROGRESS"] = "UPDATE_IN_PROGRESS";
|
|
239
270
|
})(ModificationStateEnum || (ModificationStateEnum = {}));
|
|
240
|
-
export var
|
|
241
|
-
(function (
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
WorkspaceState["IMPAIRED"] = "IMPAIRED";
|
|
246
|
-
WorkspaceState["MAINTENANCE"] = "MAINTENANCE";
|
|
247
|
-
WorkspaceState["PENDING"] = "PENDING";
|
|
248
|
-
WorkspaceState["REBOOTING"] = "REBOOTING";
|
|
249
|
-
WorkspaceState["REBUILDING"] = "REBUILDING";
|
|
250
|
-
WorkspaceState["RESTORING"] = "RESTORING";
|
|
251
|
-
WorkspaceState["STARTING"] = "STARTING";
|
|
252
|
-
WorkspaceState["STOPPED"] = "STOPPED";
|
|
253
|
-
WorkspaceState["STOPPING"] = "STOPPING";
|
|
254
|
-
WorkspaceState["SUSPENDED"] = "SUSPENDED";
|
|
255
|
-
WorkspaceState["TERMINATED"] = "TERMINATED";
|
|
256
|
-
WorkspaceState["TERMINATING"] = "TERMINATING";
|
|
257
|
-
WorkspaceState["UNHEALTHY"] = "UNHEALTHY";
|
|
258
|
-
WorkspaceState["UPDATING"] = "UPDATING";
|
|
259
|
-
})(WorkspaceState || (WorkspaceState = {}));
|
|
271
|
+
export var StandbyWorkspaceRelationshipType;
|
|
272
|
+
(function (StandbyWorkspaceRelationshipType) {
|
|
273
|
+
StandbyWorkspaceRelationshipType["PRIMARY"] = "PRIMARY";
|
|
274
|
+
StandbyWorkspaceRelationshipType["STANDBY"] = "STANDBY";
|
|
275
|
+
})(StandbyWorkspaceRelationshipType || (StandbyWorkspaceRelationshipType = {}));
|
|
260
276
|
export var DedicatedTenancySupportEnum;
|
|
261
277
|
(function (DedicatedTenancySupportEnum) {
|
|
262
278
|
DedicatedTenancySupportEnum["ENABLED"] = "ENABLED";
|
|
@@ -446,6 +462,21 @@ export const CreateIpGroupRequestFilterSensitiveLog = (obj) => ({
|
|
|
446
462
|
export const CreateIpGroupResultFilterSensitiveLog = (obj) => ({
|
|
447
463
|
...obj,
|
|
448
464
|
});
|
|
465
|
+
export const StandbyWorkspaceFilterSensitiveLog = (obj) => ({
|
|
466
|
+
...obj,
|
|
467
|
+
});
|
|
468
|
+
export const CreateStandbyWorkspacesRequestFilterSensitiveLog = (obj) => ({
|
|
469
|
+
...obj,
|
|
470
|
+
});
|
|
471
|
+
export const FailedCreateStandbyWorkspacesRequestFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
});
|
|
474
|
+
export const PendingCreateStandbyWorkspacesRequestFilterSensitiveLog = (obj) => ({
|
|
475
|
+
...obj,
|
|
476
|
+
});
|
|
477
|
+
export const CreateStandbyWorkspacesResultFilterSensitiveLog = (obj) => ({
|
|
478
|
+
...obj,
|
|
479
|
+
});
|
|
449
480
|
export const CreateTagsRequestFilterSensitiveLog = (obj) => ({
|
|
450
481
|
...obj,
|
|
451
482
|
});
|
|
@@ -488,6 +519,9 @@ export const FailedCreateWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
|
488
519
|
export const ModificationStateFilterSensitiveLog = (obj) => ({
|
|
489
520
|
...obj,
|
|
490
521
|
});
|
|
522
|
+
export const RelatedWorkspacePropertiesFilterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
});
|
|
491
525
|
export const WorkspaceFilterSensitiveLog = (obj) => ({
|
|
492
526
|
...obj,
|
|
493
527
|
});
|