@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
|
@@ -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_1ModifyClientPropertiesCommand = exports.deserializeAws_json1_1ModifyAccountCommand = exports.deserializeAws_json1_1MigrateWorkspaceCommand = exports.deserializeAws_json1_1ListAvailableManagementCidrRangesCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_1RebootWorkspacesCommand = exports.serializeAws_json1_1ModifyWorkspaceStateCommand = exports.serializeAws_json1_1ModifyWorkspacePropertiesCommand = exports.serializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand = exports.serializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand = exports.serializeAws_json1_1ModifySelfservicePermissionsCommand = exports.serializeAws_json1_1ModifyClientPropertiesCommand = 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_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_1DisassociateIpGroupsCommand = exports.deserializeAws_json1_1DisassociateConnectionAliasCommand = exports.deserializeAws_json1_1DescribeWorkspaceSnapshotsCommand = exports.deserializeAws_json1_1DescribeWorkspacesConnectionStatusCommand = 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_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 = 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_1ModifyClientPropertiesCommand = exports.deserializeAws_json1_1ModifyAccountCommand = exports.deserializeAws_json1_1MigrateWorkspaceCommand = exports.deserializeAws_json1_1ListAvailableManagementCidrRangesCommand = exports.deserializeAws_json1_1ImportWorkspaceImageCommand = exports.deserializeAws_json1_1ImportClientBrandingCommand = 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");
|
|
@@ -107,6 +107,16 @@ const serializeAws_json1_1CreateWorkspaceBundleCommand = async (input, context)
|
|
|
107
107
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
108
|
};
|
|
109
109
|
exports.serializeAws_json1_1CreateWorkspaceBundleCommand = serializeAws_json1_1CreateWorkspaceBundleCommand;
|
|
110
|
+
const serializeAws_json1_1CreateWorkspaceImageCommand = async (input, context) => {
|
|
111
|
+
const headers = {
|
|
112
|
+
"content-type": "application/x-amz-json-1.1",
|
|
113
|
+
"x-amz-target": "WorkspacesService.CreateWorkspaceImage",
|
|
114
|
+
};
|
|
115
|
+
let body;
|
|
116
|
+
body = JSON.stringify(serializeAws_json1_1CreateWorkspaceImageRequest(input, context));
|
|
117
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
|
+
};
|
|
119
|
+
exports.serializeAws_json1_1CreateWorkspaceImageCommand = serializeAws_json1_1CreateWorkspaceImageCommand;
|
|
110
120
|
const serializeAws_json1_1CreateWorkspacesCommand = async (input, context) => {
|
|
111
121
|
const headers = {
|
|
112
122
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1125,6 +1135,61 @@ const deserializeAws_json1_1CreateWorkspaceBundleCommandError = async (output, c
|
|
|
1125
1135
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1126
1136
|
}
|
|
1127
1137
|
};
|
|
1138
|
+
const deserializeAws_json1_1CreateWorkspaceImageCommand = async (output, context) => {
|
|
1139
|
+
if (output.statusCode >= 300) {
|
|
1140
|
+
return deserializeAws_json1_1CreateWorkspaceImageCommandError(output, context);
|
|
1141
|
+
}
|
|
1142
|
+
const data = await parseBody(output.body, context);
|
|
1143
|
+
let contents = {};
|
|
1144
|
+
contents = deserializeAws_json1_1CreateWorkspaceImageResult(data, context);
|
|
1145
|
+
const response = {
|
|
1146
|
+
$metadata: deserializeMetadata(output),
|
|
1147
|
+
...contents,
|
|
1148
|
+
};
|
|
1149
|
+
return Promise.resolve(response);
|
|
1150
|
+
};
|
|
1151
|
+
exports.deserializeAws_json1_1CreateWorkspaceImageCommand = deserializeAws_json1_1CreateWorkspaceImageCommand;
|
|
1152
|
+
const deserializeAws_json1_1CreateWorkspaceImageCommandError = async (output, context) => {
|
|
1153
|
+
const parsedOutput = {
|
|
1154
|
+
...output,
|
|
1155
|
+
body: await parseBody(output.body, context),
|
|
1156
|
+
};
|
|
1157
|
+
let response;
|
|
1158
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1159
|
+
switch (errorCode) {
|
|
1160
|
+
case "AccessDeniedException":
|
|
1161
|
+
case "com.amazonaws.workspaces#AccessDeniedException":
|
|
1162
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1163
|
+
case "InvalidParameterValuesException":
|
|
1164
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException":
|
|
1165
|
+
throw await deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context);
|
|
1166
|
+
case "InvalidResourceStateException":
|
|
1167
|
+
case "com.amazonaws.workspaces#InvalidResourceStateException":
|
|
1168
|
+
throw await deserializeAws_json1_1InvalidResourceStateExceptionResponse(parsedOutput, context);
|
|
1169
|
+
case "OperationNotSupportedException":
|
|
1170
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
1171
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
1172
|
+
case "ResourceAlreadyExistsException":
|
|
1173
|
+
case "com.amazonaws.workspaces#ResourceAlreadyExistsException":
|
|
1174
|
+
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1175
|
+
case "ResourceLimitExceededException":
|
|
1176
|
+
case "com.amazonaws.workspaces#ResourceLimitExceededException":
|
|
1177
|
+
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
1178
|
+
case "ResourceNotFoundException":
|
|
1179
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
1180
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1181
|
+
default:
|
|
1182
|
+
const parsedBody = parsedOutput.body;
|
|
1183
|
+
const $metadata = deserializeMetadata(output);
|
|
1184
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1185
|
+
response = new WorkSpacesServiceException_1.WorkSpacesServiceException({
|
|
1186
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1187
|
+
$fault: "client",
|
|
1188
|
+
$metadata,
|
|
1189
|
+
});
|
|
1190
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1191
|
+
}
|
|
1192
|
+
};
|
|
1128
1193
|
const deserializeAws_json1_1CreateWorkspacesCommand = async (output, context) => {
|
|
1129
1194
|
if (output.statusCode >= 300) {
|
|
1130
1195
|
return deserializeAws_json1_1CreateWorkspacesCommandError(output, context);
|
|
@@ -2296,6 +2361,9 @@ const deserializeAws_json1_1ImportClientBrandingCommandError = async (output, co
|
|
|
2296
2361
|
case "ResourceLimitExceededException":
|
|
2297
2362
|
case "com.amazonaws.workspaces#ResourceLimitExceededException":
|
|
2298
2363
|
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
2364
|
+
case "ResourceNotFoundException":
|
|
2365
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
2366
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2299
2367
|
default:
|
|
2300
2368
|
const parsedBody = parsedOutput.body;
|
|
2301
2369
|
const $metadata = deserializeMetadata(output);
|
|
@@ -3585,6 +3653,14 @@ const serializeAws_json1_1CreateWorkspaceBundleRequest = (input, context) => {
|
|
|
3585
3653
|
...(input.UserStorage != null && { UserStorage: serializeAws_json1_1UserStorage(input.UserStorage, context) }),
|
|
3586
3654
|
};
|
|
3587
3655
|
};
|
|
3656
|
+
const serializeAws_json1_1CreateWorkspaceImageRequest = (input, context) => {
|
|
3657
|
+
return {
|
|
3658
|
+
...(input.Description != null && { Description: input.Description }),
|
|
3659
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3660
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3661
|
+
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3662
|
+
};
|
|
3663
|
+
};
|
|
3588
3664
|
const serializeAws_json1_1CreateWorkspacesRequest = (input, context) => {
|
|
3589
3665
|
return {
|
|
3590
3666
|
...(input.Workspaces != null && {
|
|
@@ -4438,6 +4514,20 @@ const deserializeAws_json1_1CreateWorkspaceBundleResult = (output, context) => {
|
|
|
4438
4514
|
: undefined,
|
|
4439
4515
|
};
|
|
4440
4516
|
};
|
|
4517
|
+
const deserializeAws_json1_1CreateWorkspaceImageResult = (output, context) => {
|
|
4518
|
+
return {
|
|
4519
|
+
Created: output.Created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Created))) : undefined,
|
|
4520
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4521
|
+
ImageId: (0, smithy_client_1.expectString)(output.ImageId),
|
|
4522
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4523
|
+
OperatingSystem: output.OperatingSystem != null
|
|
4524
|
+
? deserializeAws_json1_1OperatingSystem(output.OperatingSystem, context)
|
|
4525
|
+
: undefined,
|
|
4526
|
+
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
4527
|
+
RequiredTenancy: (0, smithy_client_1.expectString)(output.RequiredTenancy),
|
|
4528
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
4529
|
+
};
|
|
4530
|
+
};
|
|
4441
4531
|
const deserializeAws_json1_1CreateWorkspacesResult = (output, context) => {
|
|
4442
4532
|
return {
|
|
4443
4533
|
FailedRequests: output.FailedRequests != null
|
package/dist-es/WorkSpaces.js
CHANGED
|
@@ -9,6 +9,7 @@ import { CreateIpGroupCommand, } from "./commands/CreateIpGroupCommand";
|
|
|
9
9
|
import { CreateTagsCommand } from "./commands/CreateTagsCommand";
|
|
10
10
|
import { CreateUpdatedWorkspaceImageCommand, } from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
11
11
|
import { CreateWorkspaceBundleCommand, } from "./commands/CreateWorkspaceBundleCommand";
|
|
12
|
+
import { CreateWorkspaceImageCommand, } from "./commands/CreateWorkspaceImageCommand";
|
|
12
13
|
import { CreateWorkspacesCommand, } from "./commands/CreateWorkspacesCommand";
|
|
13
14
|
import { DeleteClientBrandingCommand, } from "./commands/DeleteClientBrandingCommand";
|
|
14
15
|
import { DeleteConnectClientAddInCommand, } from "./commands/DeleteConnectClientAddInCommand";
|
|
@@ -206,6 +207,20 @@ var WorkSpaces = (function (_super) {
|
|
|
206
207
|
return this.send(command, optionsOrCb);
|
|
207
208
|
}
|
|
208
209
|
};
|
|
210
|
+
WorkSpaces.prototype.createWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
211
|
+
var command = new CreateWorkspaceImageCommand(args);
|
|
212
|
+
if (typeof optionsOrCb === "function") {
|
|
213
|
+
this.send(command, optionsOrCb);
|
|
214
|
+
}
|
|
215
|
+
else if (typeof cb === "function") {
|
|
216
|
+
if (typeof optionsOrCb !== "object")
|
|
217
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
218
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
return this.send(command, optionsOrCb);
|
|
222
|
+
}
|
|
223
|
+
};
|
|
209
224
|
WorkSpaces.prototype.createWorkspaces = function (args, optionsOrCb, cb) {
|
|
210
225
|
var command = new CreateWorkspacesCommand(args);
|
|
211
226
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AssociateConnectionAliasRequestFilterSensitiveLog, AssociateConnectionAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AssociateConnectionAliasCommand, serializeAws_json1_1AssociateConnectionAliasCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AssociateConnectionAliasCommand = (function (_super) {
|
|
7
7
|
__extends(AssociateConnectionAliasCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AssociateConnectionAliasCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AssociateConnectionAliasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateConnectionAliasResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AssociateIpGroupsRequestFilterSensitiveLog, AssociateIpGroupsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AssociateIpGroupsCommand, serializeAws_json1_1AssociateIpGroupsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AssociateIpGroupsCommand = (function (_super) {
|
|
7
7
|
__extends(AssociateIpGroupsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AssociateIpGroupsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AssociateIpGroupsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateIpGroupsResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AuthorizeIpRulesRequestFilterSensitiveLog, AuthorizeIpRulesResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AuthorizeIpRulesCommand, serializeAws_json1_1AuthorizeIpRulesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AuthorizeIpRulesCommand = (function (_super) {
|
|
7
7
|
__extends(AuthorizeIpRulesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AuthorizeIpRulesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AuthorizeIpRulesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AuthorizeIpRulesResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CopyWorkspaceImageRequestFilterSensitiveLog, CopyWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CopyWorkspaceImageCommand, serializeAws_json1_1CopyWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CopyWorkspaceImageCommand = (function (_super) {
|
|
7
7
|
__extends(CopyWorkspaceImageCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CopyWorkspaceImageCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CopyWorkspaceImageRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CopyWorkspaceImageResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateConnectClientAddInRequestFilterSensitiveLog, CreateConnectClientAddInResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateConnectClientAddInCommand, serializeAws_json1_1CreateConnectClientAddInCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateConnectClientAddInCommand = (function (_super) {
|
|
7
7
|
__extends(CreateConnectClientAddInCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateConnectClientAddInCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateConnectClientAddInRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateConnectClientAddInResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateConnectionAliasRequestFilterSensitiveLog, CreateConnectionAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateConnectionAliasCommand, serializeAws_json1_1CreateConnectionAliasCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateConnectionAliasCommand = (function (_super) {
|
|
7
7
|
__extends(CreateConnectionAliasCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateConnectionAliasCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateConnectionAliasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateConnectionAliasResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateIpGroupRequestFilterSensitiveLog, CreateIpGroupResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateIpGroupCommand, serializeAws_json1_1CreateIpGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateIpGroupCommand = (function (_super) {
|
|
7
7
|
__extends(CreateIpGroupCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateIpGroupCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateIpGroupRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateIpGroupResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateTagsRequestFilterSensitiveLog, CreateTagsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateTagsCommand, serializeAws_json1_1CreateTagsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateTagsCommand = (function (_super) {
|
|
7
7
|
__extends(CreateTagsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateTagsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateTagsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateTagsResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateUpdatedWorkspaceImageRequestFilterSensitiveLog, CreateUpdatedWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateUpdatedWorkspaceImageCommand, serializeAws_json1_1CreateUpdatedWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateUpdatedWorkspaceImageCommand = (function (_super) {
|
|
7
7
|
__extends(CreateUpdatedWorkspaceImageCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateUpdatedWorkspaceImageCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateUpdatedWorkspaceImageRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateUpdatedWorkspaceImageResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateWorkspaceBundleRequestFilterSensitiveLog, CreateWorkspaceBundleResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateWorkspaceBundleCommand, serializeAws_json1_1CreateWorkspaceBundleCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateWorkspaceBundleCommand = (function (_super) {
|
|
7
7
|
__extends(CreateWorkspaceBundleCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateWorkspaceBundleCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateWorkspaceBundleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWorkspaceBundleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateWorkspaceImageRequestFilterSensitiveLog, CreateWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateWorkspaceImageCommand, serializeAws_json1_1CreateWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateWorkspaceImageCommand = (function (_super) {
|
|
7
|
+
__extends(CreateWorkspaceImageCommand, _super);
|
|
8
|
+
function CreateWorkspaceImageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateWorkspaceImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkSpacesClient";
|
|
18
|
+
var commandName = "CreateWorkspaceImageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateWorkspaceImageRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWorkspaceImageResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateWorkspaceImageCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateWorkspaceImageCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateWorkspaceImageCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateWorkspaceImageCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateWorkspaceImageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateWorkspaceImageCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateWorkspacesRequestFilterSensitiveLog, CreateWorkspacesResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateWorkspacesCommand, serializeAws_json1_1CreateWorkspacesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateWorkspacesCommand = (function (_super) {
|
|
7
7
|
__extends(CreateWorkspacesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateWorkspacesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateWorkspacesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWorkspacesResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteClientBrandingRequestFilterSensitiveLog, DeleteClientBrandingResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteClientBrandingCommand, serializeAws_json1_1DeleteClientBrandingCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteClientBrandingCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteClientBrandingCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteClientBrandingCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteClientBrandingRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteClientBrandingResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteConnectClientAddInRequestFilterSensitiveLog, DeleteConnectClientAddInResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteConnectClientAddInCommand, serializeAws_json1_1DeleteConnectClientAddInCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteConnectClientAddInCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteConnectClientAddInCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteConnectClientAddInCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteConnectClientAddInRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteConnectClientAddInResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteConnectionAliasRequestFilterSensitiveLog, DeleteConnectionAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteConnectionAliasCommand, serializeAws_json1_1DeleteConnectionAliasCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteConnectionAliasCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteConnectionAliasCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteConnectionAliasCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteConnectionAliasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteConnectionAliasResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteIpGroupRequestFilterSensitiveLog, DeleteIpGroupResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteIpGroupCommand, serializeAws_json1_1DeleteIpGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteIpGroupCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteIpGroupCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteIpGroupCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteIpGroupRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteIpGroupResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteTagsRequestFilterSensitiveLog, DeleteTagsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteTagsCommand, serializeAws_json1_1DeleteTagsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteTagsCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteTagsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteTagsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteTagsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteTagsResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteWorkspaceBundleRequestFilterSensitiveLog, DeleteWorkspaceBundleResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteWorkspaceBundleCommand, serializeAws_json1_1DeleteWorkspaceBundleCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteWorkspaceBundleCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteWorkspaceBundleCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteWorkspaceBundleCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteWorkspaceBundleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteWorkspaceBundleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteWorkspaceImageRequestFilterSensitiveLog, DeleteWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteWorkspaceImageCommand, serializeAws_json1_1DeleteWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteWorkspaceImageCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteWorkspaceImageCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteWorkspaceImageCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteWorkspaceImageRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteWorkspaceImageResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|