@aws-sdk/client-workspaces 3.133.0 → 3.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/WorkSpaces.js +30 -0
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/AssociateIpGroupsCommand.js +2 -2
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js +2 -2
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/CreateConnectClientAddInCommand.js +2 -2
- package/dist-cjs/commands/CreateConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/CreateIpGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateTagsCommand.js +2 -2
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +2 -2
- package/dist-cjs/commands/CreateWorkspaceImageCommand.js +36 -0
- package/dist-cjs/commands/CreateWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/DeleteClientBrandingCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectClientAddInCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/DeleteIpGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +2 -2
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeClientBrandingCommand.js +2 -2
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectClientAddInsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +2 -2
- package/dist-cjs/commands/DescribeIpGroupsCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +2 -2
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +2 -2
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js +2 -2
- package/dist-cjs/commands/ImportClientBrandingCommand.js +2 -2
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js +2 -2
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +2 -2
- package/dist-cjs/commands/MigrateWorkspaceCommand.js +2 -2
- package/dist-cjs/commands/ModifyAccountCommand.js +2 -2
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifySamlPropertiesCommand.js +36 -0
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +2 -2
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +2 -2
- package/dist-cjs/commands/RebootWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/RebuildWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +2 -2
- package/dist-cjs/commands/RestoreWorkspaceCommand.js +2 -2
- package/dist-cjs/commands/RevokeIpRulesCommand.js +2 -2
- package/dist-cjs/commands/StartWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/StopWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/TerminateWorkspacesCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectClientAddInCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +2 -2
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +2 -2
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +2 -2
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +700 -992
- package/dist-cjs/protocols/Aws_json1_1.js +185 -3
- package/dist-es/WorkSpaces.js +30 -0
- package/dist-es/commands/AssociateConnectionAliasCommand.js +3 -3
- package/dist-es/commands/AssociateIpGroupsCommand.js +3 -3
- package/dist-es/commands/AuthorizeIpRulesCommand.js +3 -3
- package/dist-es/commands/CopyWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/CreateConnectClientAddInCommand.js +3 -3
- package/dist-es/commands/CreateConnectionAliasCommand.js +3 -3
- package/dist-es/commands/CreateIpGroupCommand.js +3 -3
- package/dist-es/commands/CreateTagsCommand.js +3 -3
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/CreateWorkspaceBundleCommand.js +3 -3
- package/dist-es/commands/CreateWorkspaceImageCommand.js +39 -0
- package/dist-es/commands/CreateWorkspacesCommand.js +3 -3
- package/dist-es/commands/DeleteClientBrandingCommand.js +3 -3
- package/dist-es/commands/DeleteConnectClientAddInCommand.js +3 -3
- package/dist-es/commands/DeleteConnectionAliasCommand.js +3 -3
- package/dist-es/commands/DeleteIpGroupCommand.js +3 -3
- package/dist-es/commands/DeleteTagsCommand.js +3 -3
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js +3 -3
- package/dist-es/commands/DeleteWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +3 -3
- package/dist-es/commands/DescribeAccountCommand.js +3 -3
- package/dist-es/commands/DescribeAccountModificationsCommand.js +3 -3
- package/dist-es/commands/DescribeClientBrandingCommand.js +3 -3
- package/dist-es/commands/DescribeClientPropertiesCommand.js +3 -3
- package/dist-es/commands/DescribeConnectClientAddInsCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionAliasesCommand.js +3 -3
- package/dist-es/commands/DescribeIpGroupsCommand.js +3 -3
- package/dist-es/commands/DescribeTagsCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspacesCommand.js +3 -3
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +3 -3
- package/dist-es/commands/DisassociateConnectionAliasCommand.js +3 -3
- package/dist-es/commands/DisassociateIpGroupsCommand.js +3 -3
- package/dist-es/commands/ImportClientBrandingCommand.js +3 -3
- package/dist-es/commands/ImportWorkspaceImageCommand.js +3 -3
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +3 -3
- package/dist-es/commands/MigrateWorkspaceCommand.js +3 -3
- package/dist-es/commands/ModifyAccountCommand.js +3 -3
- package/dist-es/commands/ModifyClientPropertiesCommand.js +3 -3
- package/dist-es/commands/ModifySamlPropertiesCommand.js +39 -0
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +3 -3
- package/dist-es/commands/ModifyWorkspaceStateCommand.js +3 -3
- package/dist-es/commands/RebootWorkspacesCommand.js +3 -3
- package/dist-es/commands/RebuildWorkspacesCommand.js +3 -3
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +3 -3
- package/dist-es/commands/RestoreWorkspaceCommand.js +3 -3
- package/dist-es/commands/RevokeIpRulesCommand.js +3 -3
- package/dist-es/commands/StartWorkspacesCommand.js +3 -3
- package/dist-es/commands/StopWorkspacesCommand.js +3 -3
- package/dist-es/commands/TerminateWorkspacesCommand.js +3 -3
- package/dist-es/commands/UpdateConnectClientAddInCommand.js +3 -3
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +3 -3
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +3 -3
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js +3 -3
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +3 -3
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +194 -664
- package/dist-es/protocols/Aws_json1_1.js +208 -0
- package/dist-types/WorkSpaces.d.ts +16 -0
- package/dist-types/WorkSpacesClient.d.ts +4 -2
- package/dist-types/commands/CreateWorkspaceImageCommand.d.ts +35 -0
- package/dist-types/commands/ModifySamlPropertiesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +835 -996
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +10 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateWorkspaceImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifySamlPropertiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +404 -660
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -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_1ModifyWorkspaceStateCommand = exports.serializeAws_json1_1ModifyWorkspacePropertiesCommand = exports.serializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand = exports.serializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand = exports.serializeAws_json1_1ModifySelfservicePermissionsCommand = exports.serializeAws_json1_1ModifySamlPropertiesCommand = 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_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 = exports.serializeAws_json1_1RebootWorkspacesCommand = 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_1ModifyAccountCommand = exports.deserializeAws_json1_1MigrateWorkspaceCommand = exports.deserializeAws_json1_1ListAvailableManagementCidrRangesCommand = exports.deserializeAws_json1_1ImportWorkspaceImageCommand = exports.deserializeAws_json1_1ImportClientBrandingCommand = exports.deserializeAws_json1_1DisassociateIpGroupsCommand = 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",
|
|
@@ -437,6 +447,16 @@ const serializeAws_json1_1ModifyClientPropertiesCommand = async (input, context)
|
|
|
437
447
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
438
448
|
};
|
|
439
449
|
exports.serializeAws_json1_1ModifyClientPropertiesCommand = serializeAws_json1_1ModifyClientPropertiesCommand;
|
|
450
|
+
const serializeAws_json1_1ModifySamlPropertiesCommand = async (input, context) => {
|
|
451
|
+
const headers = {
|
|
452
|
+
"content-type": "application/x-amz-json-1.1",
|
|
453
|
+
"x-amz-target": "WorkspacesService.ModifySamlProperties",
|
|
454
|
+
};
|
|
455
|
+
let body;
|
|
456
|
+
body = JSON.stringify(serializeAws_json1_1ModifySamlPropertiesRequest(input, context));
|
|
457
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
458
|
+
};
|
|
459
|
+
exports.serializeAws_json1_1ModifySamlPropertiesCommand = serializeAws_json1_1ModifySamlPropertiesCommand;
|
|
440
460
|
const serializeAws_json1_1ModifySelfservicePermissionsCommand = async (input, context) => {
|
|
441
461
|
const headers = {
|
|
442
462
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1125,6 +1145,61 @@ const deserializeAws_json1_1CreateWorkspaceBundleCommandError = async (output, c
|
|
|
1125
1145
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1126
1146
|
}
|
|
1127
1147
|
};
|
|
1148
|
+
const deserializeAws_json1_1CreateWorkspaceImageCommand = async (output, context) => {
|
|
1149
|
+
if (output.statusCode >= 300) {
|
|
1150
|
+
return deserializeAws_json1_1CreateWorkspaceImageCommandError(output, context);
|
|
1151
|
+
}
|
|
1152
|
+
const data = await parseBody(output.body, context);
|
|
1153
|
+
let contents = {};
|
|
1154
|
+
contents = deserializeAws_json1_1CreateWorkspaceImageResult(data, context);
|
|
1155
|
+
const response = {
|
|
1156
|
+
$metadata: deserializeMetadata(output),
|
|
1157
|
+
...contents,
|
|
1158
|
+
};
|
|
1159
|
+
return Promise.resolve(response);
|
|
1160
|
+
};
|
|
1161
|
+
exports.deserializeAws_json1_1CreateWorkspaceImageCommand = deserializeAws_json1_1CreateWorkspaceImageCommand;
|
|
1162
|
+
const deserializeAws_json1_1CreateWorkspaceImageCommandError = async (output, context) => {
|
|
1163
|
+
const parsedOutput = {
|
|
1164
|
+
...output,
|
|
1165
|
+
body: await parseBody(output.body, context),
|
|
1166
|
+
};
|
|
1167
|
+
let response;
|
|
1168
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1169
|
+
switch (errorCode) {
|
|
1170
|
+
case "AccessDeniedException":
|
|
1171
|
+
case "com.amazonaws.workspaces#AccessDeniedException":
|
|
1172
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1173
|
+
case "InvalidParameterValuesException":
|
|
1174
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException":
|
|
1175
|
+
throw await deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context);
|
|
1176
|
+
case "InvalidResourceStateException":
|
|
1177
|
+
case "com.amazonaws.workspaces#InvalidResourceStateException":
|
|
1178
|
+
throw await deserializeAws_json1_1InvalidResourceStateExceptionResponse(parsedOutput, context);
|
|
1179
|
+
case "OperationNotSupportedException":
|
|
1180
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
1181
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
1182
|
+
case "ResourceAlreadyExistsException":
|
|
1183
|
+
case "com.amazonaws.workspaces#ResourceAlreadyExistsException":
|
|
1184
|
+
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1185
|
+
case "ResourceLimitExceededException":
|
|
1186
|
+
case "com.amazonaws.workspaces#ResourceLimitExceededException":
|
|
1187
|
+
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
1188
|
+
case "ResourceNotFoundException":
|
|
1189
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
1190
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1191
|
+
default:
|
|
1192
|
+
const parsedBody = parsedOutput.body;
|
|
1193
|
+
const $metadata = deserializeMetadata(output);
|
|
1194
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1195
|
+
response = new WorkSpacesServiceException_1.WorkSpacesServiceException({
|
|
1196
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1197
|
+
$fault: "client",
|
|
1198
|
+
$metadata,
|
|
1199
|
+
});
|
|
1200
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1201
|
+
}
|
|
1202
|
+
};
|
|
1128
1203
|
const deserializeAws_json1_1CreateWorkspacesCommand = async (output, context) => {
|
|
1129
1204
|
if (output.statusCode >= 300) {
|
|
1130
1205
|
return deserializeAws_json1_1CreateWorkspacesCommandError(output, context);
|
|
@@ -2547,6 +2622,52 @@ const deserializeAws_json1_1ModifyClientPropertiesCommandError = async (output,
|
|
|
2547
2622
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2548
2623
|
}
|
|
2549
2624
|
};
|
|
2625
|
+
const deserializeAws_json1_1ModifySamlPropertiesCommand = async (output, context) => {
|
|
2626
|
+
if (output.statusCode >= 300) {
|
|
2627
|
+
return deserializeAws_json1_1ModifySamlPropertiesCommandError(output, context);
|
|
2628
|
+
}
|
|
2629
|
+
const data = await parseBody(output.body, context);
|
|
2630
|
+
let contents = {};
|
|
2631
|
+
contents = deserializeAws_json1_1ModifySamlPropertiesResult(data, context);
|
|
2632
|
+
const response = {
|
|
2633
|
+
$metadata: deserializeMetadata(output),
|
|
2634
|
+
...contents,
|
|
2635
|
+
};
|
|
2636
|
+
return Promise.resolve(response);
|
|
2637
|
+
};
|
|
2638
|
+
exports.deserializeAws_json1_1ModifySamlPropertiesCommand = deserializeAws_json1_1ModifySamlPropertiesCommand;
|
|
2639
|
+
const deserializeAws_json1_1ModifySamlPropertiesCommandError = async (output, context) => {
|
|
2640
|
+
const parsedOutput = {
|
|
2641
|
+
...output,
|
|
2642
|
+
body: await parseBody(output.body, context),
|
|
2643
|
+
};
|
|
2644
|
+
let response;
|
|
2645
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2646
|
+
switch (errorCode) {
|
|
2647
|
+
case "AccessDeniedException":
|
|
2648
|
+
case "com.amazonaws.workspaces#AccessDeniedException":
|
|
2649
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2650
|
+
case "InvalidParameterValuesException":
|
|
2651
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException":
|
|
2652
|
+
throw await deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context);
|
|
2653
|
+
case "OperationNotSupportedException":
|
|
2654
|
+
case "com.amazonaws.workspaces#OperationNotSupportedException":
|
|
2655
|
+
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
2656
|
+
case "ResourceNotFoundException":
|
|
2657
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException":
|
|
2658
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2659
|
+
default:
|
|
2660
|
+
const parsedBody = parsedOutput.body;
|
|
2661
|
+
const $metadata = deserializeMetadata(output);
|
|
2662
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2663
|
+
response = new WorkSpacesServiceException_1.WorkSpacesServiceException({
|
|
2664
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2665
|
+
$fault: "client",
|
|
2666
|
+
$metadata,
|
|
2667
|
+
});
|
|
2668
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2669
|
+
}
|
|
2670
|
+
};
|
|
2550
2671
|
const deserializeAws_json1_1ModifySelfservicePermissionsCommand = async (output, context) => {
|
|
2551
2672
|
if (output.statusCode >= 300) {
|
|
2552
2673
|
return deserializeAws_json1_1ModifySelfservicePermissionsCommandError(output, context);
|
|
@@ -3588,6 +3709,14 @@ const serializeAws_json1_1CreateWorkspaceBundleRequest = (input, context) => {
|
|
|
3588
3709
|
...(input.UserStorage != null && { UserStorage: serializeAws_json1_1UserStorage(input.UserStorage, context) }),
|
|
3589
3710
|
};
|
|
3590
3711
|
};
|
|
3712
|
+
const serializeAws_json1_1CreateWorkspaceImageRequest = (input, context) => {
|
|
3713
|
+
return {
|
|
3714
|
+
...(input.Description != null && { Description: input.Description }),
|
|
3715
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3716
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3717
|
+
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3718
|
+
};
|
|
3719
|
+
};
|
|
3591
3720
|
const serializeAws_json1_1CreateWorkspacesRequest = (input, context) => {
|
|
3592
3721
|
return {
|
|
3593
3722
|
...(input.Workspaces != null && {
|
|
@@ -3604,6 +3733,16 @@ const serializeAws_json1_1DefaultImportClientBrandingAttributes = (input, contex
|
|
|
3604
3733
|
...(input.SupportLink != null && { SupportLink: input.SupportLink }),
|
|
3605
3734
|
};
|
|
3606
3735
|
};
|
|
3736
|
+
const serializeAws_json1_1DeletableSamlPropertiesList = (input, context) => {
|
|
3737
|
+
return input
|
|
3738
|
+
.filter((e) => e != null)
|
|
3739
|
+
.map((entry) => {
|
|
3740
|
+
if (entry === null) {
|
|
3741
|
+
return null;
|
|
3742
|
+
}
|
|
3743
|
+
return entry;
|
|
3744
|
+
});
|
|
3745
|
+
};
|
|
3607
3746
|
const serializeAws_json1_1DeleteClientBrandingRequest = (input, context) => {
|
|
3608
3747
|
return {
|
|
3609
3748
|
...(input.Platforms != null && { Platforms: serializeAws_json1_1ClientDeviceTypeList(input.Platforms, context) }),
|
|
@@ -3900,6 +4039,17 @@ const serializeAws_json1_1ModifyClientPropertiesRequest = (input, context) => {
|
|
|
3900
4039
|
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3901
4040
|
};
|
|
3902
4041
|
};
|
|
4042
|
+
const serializeAws_json1_1ModifySamlPropertiesRequest = (input, context) => {
|
|
4043
|
+
return {
|
|
4044
|
+
...(input.PropertiesToDelete != null && {
|
|
4045
|
+
PropertiesToDelete: serializeAws_json1_1DeletableSamlPropertiesList(input.PropertiesToDelete, context),
|
|
4046
|
+
}),
|
|
4047
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4048
|
+
...(input.SamlProperties != null && {
|
|
4049
|
+
SamlProperties: serializeAws_json1_1SamlProperties(input.SamlProperties, context),
|
|
4050
|
+
}),
|
|
4051
|
+
};
|
|
4052
|
+
};
|
|
3903
4053
|
const serializeAws_json1_1ModifySelfservicePermissionsRequest = (input, context) => {
|
|
3904
4054
|
return {
|
|
3905
4055
|
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
@@ -4018,6 +4168,13 @@ const serializeAws_json1_1RootStorage = (input, context) => {
|
|
|
4018
4168
|
...(input.Capacity != null && { Capacity: input.Capacity }),
|
|
4019
4169
|
};
|
|
4020
4170
|
};
|
|
4171
|
+
const serializeAws_json1_1SamlProperties = (input, context) => {
|
|
4172
|
+
return {
|
|
4173
|
+
...(input.RelayStateParameterName != null && { RelayStateParameterName: input.RelayStateParameterName }),
|
|
4174
|
+
...(input.Status != null && { Status: input.Status }),
|
|
4175
|
+
...(input.UserAccessUrl != null && { UserAccessUrl: input.UserAccessUrl }),
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4021
4178
|
const serializeAws_json1_1SelfservicePermissions = (input, context) => {
|
|
4022
4179
|
return {
|
|
4023
4180
|
...(input.ChangeComputeType != null && { ChangeComputeType: input.ChangeComputeType }),
|
|
@@ -4441,6 +4598,20 @@ const deserializeAws_json1_1CreateWorkspaceBundleResult = (output, context) => {
|
|
|
4441
4598
|
: undefined,
|
|
4442
4599
|
};
|
|
4443
4600
|
};
|
|
4601
|
+
const deserializeAws_json1_1CreateWorkspaceImageResult = (output, context) => {
|
|
4602
|
+
return {
|
|
4603
|
+
Created: output.Created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Created))) : undefined,
|
|
4604
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4605
|
+
ImageId: (0, smithy_client_1.expectString)(output.ImageId),
|
|
4606
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4607
|
+
OperatingSystem: output.OperatingSystem != null
|
|
4608
|
+
? deserializeAws_json1_1OperatingSystem(output.OperatingSystem, context)
|
|
4609
|
+
: undefined,
|
|
4610
|
+
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
4611
|
+
RequiredTenancy: (0, smithy_client_1.expectString)(output.RequiredTenancy),
|
|
4612
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
4613
|
+
};
|
|
4614
|
+
};
|
|
4444
4615
|
const deserializeAws_json1_1CreateWorkspacesResult = (output, context) => {
|
|
4445
4616
|
return {
|
|
4446
4617
|
FailedRequests: output.FailedRequests != null
|
|
@@ -4881,6 +5052,9 @@ const deserializeAws_json1_1ModifyAccountResult = (output, context) => {
|
|
|
4881
5052
|
const deserializeAws_json1_1ModifyClientPropertiesResult = (output, context) => {
|
|
4882
5053
|
return {};
|
|
4883
5054
|
};
|
|
5055
|
+
const deserializeAws_json1_1ModifySamlPropertiesResult = (output, context) => {
|
|
5056
|
+
return {};
|
|
5057
|
+
};
|
|
4884
5058
|
const deserializeAws_json1_1ModifySelfservicePermissionsResult = (output, context) => {
|
|
4885
5059
|
return {};
|
|
4886
5060
|
};
|
|
@@ -4972,6 +5146,13 @@ const deserializeAws_json1_1RootStorage = (output, context) => {
|
|
|
4972
5146
|
Capacity: (0, smithy_client_1.expectString)(output.Capacity),
|
|
4973
5147
|
};
|
|
4974
5148
|
};
|
|
5149
|
+
const deserializeAws_json1_1SamlProperties = (output, context) => {
|
|
5150
|
+
return {
|
|
5151
|
+
RelayStateParameterName: (0, smithy_client_1.expectString)(output.RelayStateParameterName),
|
|
5152
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5153
|
+
UserAccessUrl: (0, smithy_client_1.expectString)(output.UserAccessUrl),
|
|
5154
|
+
};
|
|
5155
|
+
};
|
|
4975
5156
|
const deserializeAws_json1_1SelfservicePermissions = (output, context) => {
|
|
4976
5157
|
return {
|
|
4977
5158
|
ChangeComputeType: (0, smithy_client_1.expectString)(output.ChangeComputeType),
|
|
@@ -5170,6 +5351,7 @@ const deserializeAws_json1_1WorkspaceDirectory = (output, context) => {
|
|
|
5170
5351
|
DnsIpAddresses: output.DnsIpAddresses != null ? deserializeAws_json1_1DnsIpAddresses(output.DnsIpAddresses, context) : undefined,
|
|
5171
5352
|
IamRoleId: (0, smithy_client_1.expectString)(output.IamRoleId),
|
|
5172
5353
|
RegistrationCode: (0, smithy_client_1.expectString)(output.RegistrationCode),
|
|
5354
|
+
SamlProperties: output.SamlProperties != null ? deserializeAws_json1_1SamlProperties(output.SamlProperties, context) : undefined,
|
|
5173
5355
|
SelfservicePermissions: output.SelfservicePermissions != null
|
|
5174
5356
|
? deserializeAws_json1_1SelfservicePermissions(output.SelfservicePermissions, context)
|
|
5175
5357
|
: undefined,
|
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";
|
|
@@ -42,6 +43,7 @@ import { ListAvailableManagementCidrRangesCommand, } from "./commands/ListAvaila
|
|
|
42
43
|
import { MigrateWorkspaceCommand, } from "./commands/MigrateWorkspaceCommand";
|
|
43
44
|
import { ModifyAccountCommand, } from "./commands/ModifyAccountCommand";
|
|
44
45
|
import { ModifyClientPropertiesCommand, } from "./commands/ModifyClientPropertiesCommand";
|
|
46
|
+
import { ModifySamlPropertiesCommand, } from "./commands/ModifySamlPropertiesCommand";
|
|
45
47
|
import { ModifySelfservicePermissionsCommand, } from "./commands/ModifySelfservicePermissionsCommand";
|
|
46
48
|
import { ModifyWorkspaceAccessPropertiesCommand, } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
47
49
|
import { ModifyWorkspaceCreationPropertiesCommand, } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -206,6 +208,20 @@ var WorkSpaces = (function (_super) {
|
|
|
206
208
|
return this.send(command, optionsOrCb);
|
|
207
209
|
}
|
|
208
210
|
};
|
|
211
|
+
WorkSpaces.prototype.createWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
212
|
+
var command = new CreateWorkspaceImageCommand(args);
|
|
213
|
+
if (typeof optionsOrCb === "function") {
|
|
214
|
+
this.send(command, optionsOrCb);
|
|
215
|
+
}
|
|
216
|
+
else if (typeof cb === "function") {
|
|
217
|
+
if (typeof optionsOrCb !== "object")
|
|
218
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
219
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
return this.send(command, optionsOrCb);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
209
225
|
WorkSpaces.prototype.createWorkspaces = function (args, optionsOrCb, cb) {
|
|
210
226
|
var command = new CreateWorkspacesCommand(args);
|
|
211
227
|
if (typeof optionsOrCb === "function") {
|
|
@@ -668,6 +684,20 @@ var WorkSpaces = (function (_super) {
|
|
|
668
684
|
return this.send(command, optionsOrCb);
|
|
669
685
|
}
|
|
670
686
|
};
|
|
687
|
+
WorkSpaces.prototype.modifySamlProperties = function (args, optionsOrCb, cb) {
|
|
688
|
+
var command = new ModifySamlPropertiesCommand(args);
|
|
689
|
+
if (typeof optionsOrCb === "function") {
|
|
690
|
+
this.send(command, optionsOrCb);
|
|
691
|
+
}
|
|
692
|
+
else if (typeof cb === "function") {
|
|
693
|
+
if (typeof optionsOrCb !== "object")
|
|
694
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
695
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
696
|
+
}
|
|
697
|
+
else {
|
|
698
|
+
return this.send(command, optionsOrCb);
|
|
699
|
+
}
|
|
700
|
+
};
|
|
671
701
|
WorkSpaces.prototype.modifySelfservicePermissions = function (args, optionsOrCb, cb) {
|
|
672
702
|
var command = new ModifySelfservicePermissionsCommand(args);
|
|
673
703
|
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) {
|