@aws-sdk/client-workspaces 3.425.0 → 3.427.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.
Files changed (67) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/WorkSpaces.js +16 -0
  3. package/dist-cjs/commands/AssociateWorkspaceApplicationCommand.js +51 -0
  4. package/dist-cjs/commands/DeployWorkspaceApplicationsCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeApplicationAssociationsCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeApplicationsCommand.js +51 -0
  7. package/dist-cjs/commands/DescribeBundleAssociationsCommand.js +51 -0
  8. package/dist-cjs/commands/DescribeImageAssociationsCommand.js +51 -0
  9. package/dist-cjs/commands/DescribeWorkspaceAssociationsCommand.js +51 -0
  10. package/dist-cjs/commands/DisassociateWorkspaceApplicationCommand.js +51 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +136 -14
  13. package/dist-cjs/pagination/DescribeApplicationAssociationsPaginator.js +29 -0
  14. package/dist-cjs/pagination/DescribeApplicationsPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_json1_1.js +611 -3
  17. package/dist-es/WorkSpaces.js +16 -0
  18. package/dist-es/commands/AssociateWorkspaceApplicationCommand.js +47 -0
  19. package/dist-es/commands/DeployWorkspaceApplicationsCommand.js +47 -0
  20. package/dist-es/commands/DescribeApplicationAssociationsCommand.js +47 -0
  21. package/dist-es/commands/DescribeApplicationsCommand.js +47 -0
  22. package/dist-es/commands/DescribeBundleAssociationsCommand.js +47 -0
  23. package/dist-es/commands/DescribeImageAssociationsCommand.js +47 -0
  24. package/dist-es/commands/DescribeWorkspaceAssociationsCommand.js +47 -0
  25. package/dist-es/commands/DisassociateWorkspaceApplicationCommand.js +47 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +128 -12
  28. package/dist-es/pagination/DescribeApplicationAssociationsPaginator.js +25 -0
  29. package/dist-es/pagination/DescribeApplicationsPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/protocols/Aws_json1_1.js +593 -1
  32. package/dist-types/WorkSpaces.d.ts +56 -0
  33. package/dist-types/WorkSpacesClient.d.ts +10 -2
  34. package/dist-types/commands/AssociateWorkspaceApplicationCommand.d.ts +115 -0
  35. package/dist-types/commands/CreateWorkspacesCommand.d.ts +3 -0
  36. package/dist-types/commands/DeployWorkspaceApplicationsCommand.d.ts +107 -0
  37. package/dist-types/commands/DescribeApplicationAssociationsCommand.d.ts +104 -0
  38. package/dist-types/commands/DescribeApplicationsCommand.d.ts +114 -0
  39. package/dist-types/commands/DescribeBundleAssociationsCommand.d.ts +101 -0
  40. package/dist-types/commands/DescribeImageAssociationsCommand.d.ts +101 -0
  41. package/dist-types/commands/DescribeWorkspaceAssociationsCommand.d.ts +101 -0
  42. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +1 -0
  43. package/dist-types/commands/DisassociateWorkspaceApplicationCommand.d.ts +100 -0
  44. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -0
  45. package/dist-types/commands/index.d.ts +8 -0
  46. package/dist-types/models/models_0.d.ts +701 -15
  47. package/dist-types/pagination/DescribeApplicationAssociationsPaginator.d.ts +7 -0
  48. package/dist-types/pagination/DescribeApplicationsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +2 -0
  50. package/dist-types/protocols/Aws_json1_1.d.ts +72 -0
  51. package/dist-types/ts3.4/WorkSpaces.d.ts +136 -0
  52. package/dist-types/ts3.4/WorkSpacesClient.d.ts +48 -0
  53. package/dist-types/ts3.4/commands/AssociateWorkspaceApplicationCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/DeployWorkspaceApplicationsCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/DescribeApplicationAssociationsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/DescribeBundleAssociationsCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DescribeImageAssociationsCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/DescribeWorkspaceAssociationsCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/DisassociateWorkspaceApplicationCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +251 -7
  63. package/dist-types/ts3.4/pagination/DescribeApplicationAssociationsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/DescribeApplicationsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
  67. package/package.json +5 -5
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_ModifyWorkspaceCreationPropertiesCommand = exports.se_ModifyWorkspaceAccessPropertiesCommand = exports.se_ModifySelfservicePermissionsCommand = exports.se_ModifySamlPropertiesCommand = exports.se_ModifyClientPropertiesCommand = exports.se_ModifyCertificateBasedAuthPropertiesCommand = exports.se_ModifyAccountCommand = exports.se_MigrateWorkspaceCommand = exports.se_ListAvailableManagementCidrRangesCommand = exports.se_ImportWorkspaceImageCommand = exports.se_ImportClientBrandingCommand = exports.se_DisassociateIpGroupsCommand = exports.se_DisassociateConnectionAliasCommand = exports.se_DescribeWorkspaceSnapshotsCommand = exports.se_DescribeWorkspacesConnectionStatusCommand = exports.se_DescribeWorkspacesCommand = exports.se_DescribeWorkspaceImagesCommand = exports.se_DescribeWorkspaceImagePermissionsCommand = exports.se_DescribeWorkspaceDirectoriesCommand = exports.se_DescribeWorkspaceBundlesCommand = exports.se_DescribeTagsCommand = exports.se_DescribeIpGroupsCommand = exports.se_DescribeConnectionAliasPermissionsCommand = exports.se_DescribeConnectionAliasesCommand = exports.se_DescribeConnectClientAddInsCommand = exports.se_DescribeClientPropertiesCommand = exports.se_DescribeClientBrandingCommand = exports.se_DescribeAccountModificationsCommand = exports.se_DescribeAccountCommand = exports.se_DeregisterWorkspaceDirectoryCommand = exports.se_DeleteWorkspaceImageCommand = exports.se_DeleteWorkspaceBundleCommand = exports.se_DeleteTagsCommand = exports.se_DeleteIpGroupCommand = exports.se_DeleteConnectionAliasCommand = exports.se_DeleteConnectClientAddInCommand = exports.se_DeleteClientBrandingCommand = exports.se_CreateWorkspacesCommand = exports.se_CreateWorkspaceImageCommand = exports.se_CreateWorkspaceBundleCommand = exports.se_CreateUpdatedWorkspaceImageCommand = exports.se_CreateTagsCommand = exports.se_CreateStandbyWorkspacesCommand = exports.se_CreateIpGroupCommand = exports.se_CreateConnectionAliasCommand = exports.se_CreateConnectClientAddInCommand = exports.se_CopyWorkspaceImageCommand = exports.se_AuthorizeIpRulesCommand = exports.se_AssociateIpGroupsCommand = exports.se_AssociateConnectionAliasCommand = void 0;
4
- exports.de_DescribeWorkspacesCommand = exports.de_DescribeWorkspaceImagesCommand = exports.de_DescribeWorkspaceImagePermissionsCommand = exports.de_DescribeWorkspaceDirectoriesCommand = exports.de_DescribeWorkspaceBundlesCommand = exports.de_DescribeTagsCommand = exports.de_DescribeIpGroupsCommand = exports.de_DescribeConnectionAliasPermissionsCommand = exports.de_DescribeConnectionAliasesCommand = exports.de_DescribeConnectClientAddInsCommand = exports.de_DescribeClientPropertiesCommand = exports.de_DescribeClientBrandingCommand = exports.de_DescribeAccountModificationsCommand = exports.de_DescribeAccountCommand = exports.de_DeregisterWorkspaceDirectoryCommand = exports.de_DeleteWorkspaceImageCommand = exports.de_DeleteWorkspaceBundleCommand = exports.de_DeleteTagsCommand = exports.de_DeleteIpGroupCommand = exports.de_DeleteConnectionAliasCommand = exports.de_DeleteConnectClientAddInCommand = exports.de_DeleteClientBrandingCommand = exports.de_CreateWorkspacesCommand = exports.de_CreateWorkspaceImageCommand = exports.de_CreateWorkspaceBundleCommand = exports.de_CreateUpdatedWorkspaceImageCommand = exports.de_CreateTagsCommand = exports.de_CreateStandbyWorkspacesCommand = exports.de_CreateIpGroupCommand = exports.de_CreateConnectionAliasCommand = exports.de_CreateConnectClientAddInCommand = exports.de_CopyWorkspaceImageCommand = exports.de_AuthorizeIpRulesCommand = exports.de_AssociateIpGroupsCommand = exports.de_AssociateConnectionAliasCommand = exports.se_UpdateWorkspaceImagePermissionCommand = exports.se_UpdateWorkspaceBundleCommand = exports.se_UpdateRulesOfIpGroupCommand = exports.se_UpdateConnectionAliasPermissionCommand = exports.se_UpdateConnectClientAddInCommand = exports.se_TerminateWorkspacesCommand = exports.se_StopWorkspacesCommand = exports.se_StartWorkspacesCommand = exports.se_RevokeIpRulesCommand = exports.se_RestoreWorkspaceCommand = exports.se_RegisterWorkspaceDirectoryCommand = exports.se_RebuildWorkspacesCommand = exports.se_RebootWorkspacesCommand = exports.se_ModifyWorkspaceStateCommand = exports.se_ModifyWorkspacePropertiesCommand = void 0;
5
- exports.de_UpdateWorkspaceImagePermissionCommand = exports.de_UpdateWorkspaceBundleCommand = exports.de_UpdateRulesOfIpGroupCommand = exports.de_UpdateConnectionAliasPermissionCommand = exports.de_UpdateConnectClientAddInCommand = exports.de_TerminateWorkspacesCommand = exports.de_StopWorkspacesCommand = exports.de_StartWorkspacesCommand = exports.de_RevokeIpRulesCommand = exports.de_RestoreWorkspaceCommand = exports.de_RegisterWorkspaceDirectoryCommand = exports.de_RebuildWorkspacesCommand = exports.de_RebootWorkspacesCommand = exports.de_ModifyWorkspaceStateCommand = exports.de_ModifyWorkspacePropertiesCommand = exports.de_ModifyWorkspaceCreationPropertiesCommand = exports.de_ModifyWorkspaceAccessPropertiesCommand = exports.de_ModifySelfservicePermissionsCommand = exports.de_ModifySamlPropertiesCommand = exports.de_ModifyClientPropertiesCommand = exports.de_ModifyCertificateBasedAuthPropertiesCommand = exports.de_ModifyAccountCommand = exports.de_MigrateWorkspaceCommand = exports.de_ListAvailableManagementCidrRangesCommand = exports.de_ImportWorkspaceImageCommand = exports.de_ImportClientBrandingCommand = exports.de_DisassociateIpGroupsCommand = exports.de_DisassociateConnectionAliasCommand = exports.de_DescribeWorkspaceSnapshotsCommand = exports.de_DescribeWorkspacesConnectionStatusCommand = void 0;
3
+ exports.se_ListAvailableManagementCidrRangesCommand = exports.se_ImportWorkspaceImageCommand = exports.se_ImportClientBrandingCommand = exports.se_DisassociateWorkspaceApplicationCommand = exports.se_DisassociateIpGroupsCommand = exports.se_DisassociateConnectionAliasCommand = exports.se_DescribeWorkspaceSnapshotsCommand = exports.se_DescribeWorkspacesConnectionStatusCommand = exports.se_DescribeWorkspacesCommand = exports.se_DescribeWorkspaceImagesCommand = exports.se_DescribeWorkspaceImagePermissionsCommand = exports.se_DescribeWorkspaceDirectoriesCommand = exports.se_DescribeWorkspaceBundlesCommand = exports.se_DescribeWorkspaceAssociationsCommand = exports.se_DescribeTagsCommand = exports.se_DescribeIpGroupsCommand = exports.se_DescribeImageAssociationsCommand = exports.se_DescribeConnectionAliasPermissionsCommand = exports.se_DescribeConnectionAliasesCommand = exports.se_DescribeConnectClientAddInsCommand = exports.se_DescribeClientPropertiesCommand = exports.se_DescribeClientBrandingCommand = exports.se_DescribeBundleAssociationsCommand = exports.se_DescribeApplicationsCommand = exports.se_DescribeApplicationAssociationsCommand = exports.se_DescribeAccountModificationsCommand = exports.se_DescribeAccountCommand = exports.se_DeregisterWorkspaceDirectoryCommand = exports.se_DeployWorkspaceApplicationsCommand = exports.se_DeleteWorkspaceImageCommand = exports.se_DeleteWorkspaceBundleCommand = exports.se_DeleteTagsCommand = exports.se_DeleteIpGroupCommand = exports.se_DeleteConnectionAliasCommand = exports.se_DeleteConnectClientAddInCommand = exports.se_DeleteClientBrandingCommand = exports.se_CreateWorkspacesCommand = exports.se_CreateWorkspaceImageCommand = exports.se_CreateWorkspaceBundleCommand = exports.se_CreateUpdatedWorkspaceImageCommand = exports.se_CreateTagsCommand = exports.se_CreateStandbyWorkspacesCommand = exports.se_CreateIpGroupCommand = exports.se_CreateConnectionAliasCommand = exports.se_CreateConnectClientAddInCommand = exports.se_CopyWorkspaceImageCommand = exports.se_AuthorizeIpRulesCommand = exports.se_AssociateWorkspaceApplicationCommand = exports.se_AssociateIpGroupsCommand = exports.se_AssociateConnectionAliasCommand = void 0;
4
+ exports.de_DescribeApplicationsCommand = exports.de_DescribeApplicationAssociationsCommand = exports.de_DescribeAccountModificationsCommand = exports.de_DescribeAccountCommand = exports.de_DeregisterWorkspaceDirectoryCommand = exports.de_DeployWorkspaceApplicationsCommand = exports.de_DeleteWorkspaceImageCommand = exports.de_DeleteWorkspaceBundleCommand = exports.de_DeleteTagsCommand = exports.de_DeleteIpGroupCommand = exports.de_DeleteConnectionAliasCommand = exports.de_DeleteConnectClientAddInCommand = exports.de_DeleteClientBrandingCommand = exports.de_CreateWorkspacesCommand = exports.de_CreateWorkspaceImageCommand = exports.de_CreateWorkspaceBundleCommand = exports.de_CreateUpdatedWorkspaceImageCommand = exports.de_CreateTagsCommand = exports.de_CreateStandbyWorkspacesCommand = exports.de_CreateIpGroupCommand = exports.de_CreateConnectionAliasCommand = exports.de_CreateConnectClientAddInCommand = exports.de_CopyWorkspaceImageCommand = exports.de_AuthorizeIpRulesCommand = exports.de_AssociateWorkspaceApplicationCommand = exports.de_AssociateIpGroupsCommand = exports.de_AssociateConnectionAliasCommand = exports.se_UpdateWorkspaceImagePermissionCommand = exports.se_UpdateWorkspaceBundleCommand = exports.se_UpdateRulesOfIpGroupCommand = exports.se_UpdateConnectionAliasPermissionCommand = exports.se_UpdateConnectClientAddInCommand = exports.se_TerminateWorkspacesCommand = exports.se_StopWorkspacesCommand = exports.se_StartWorkspacesCommand = exports.se_RevokeIpRulesCommand = exports.se_RestoreWorkspaceCommand = exports.se_RegisterWorkspaceDirectoryCommand = exports.se_RebuildWorkspacesCommand = exports.se_RebootWorkspacesCommand = exports.se_ModifyWorkspaceStateCommand = exports.se_ModifyWorkspacePropertiesCommand = exports.se_ModifyWorkspaceCreationPropertiesCommand = exports.se_ModifyWorkspaceAccessPropertiesCommand = exports.se_ModifySelfservicePermissionsCommand = exports.se_ModifySamlPropertiesCommand = exports.se_ModifyClientPropertiesCommand = exports.se_ModifyCertificateBasedAuthPropertiesCommand = exports.se_ModifyAccountCommand = exports.se_MigrateWorkspaceCommand = void 0;
5
+ exports.de_UpdateWorkspaceImagePermissionCommand = exports.de_UpdateWorkspaceBundleCommand = exports.de_UpdateRulesOfIpGroupCommand = exports.de_UpdateConnectionAliasPermissionCommand = exports.de_UpdateConnectClientAddInCommand = exports.de_TerminateWorkspacesCommand = exports.de_StopWorkspacesCommand = exports.de_StartWorkspacesCommand = exports.de_RevokeIpRulesCommand = exports.de_RestoreWorkspaceCommand = exports.de_RegisterWorkspaceDirectoryCommand = exports.de_RebuildWorkspacesCommand = exports.de_RebootWorkspacesCommand = exports.de_ModifyWorkspaceStateCommand = exports.de_ModifyWorkspacePropertiesCommand = exports.de_ModifyWorkspaceCreationPropertiesCommand = exports.de_ModifyWorkspaceAccessPropertiesCommand = exports.de_ModifySelfservicePermissionsCommand = exports.de_ModifySamlPropertiesCommand = exports.de_ModifyClientPropertiesCommand = exports.de_ModifyCertificateBasedAuthPropertiesCommand = exports.de_ModifyAccountCommand = exports.de_MigrateWorkspaceCommand = exports.de_ListAvailableManagementCidrRangesCommand = exports.de_ImportWorkspaceImageCommand = exports.de_ImportClientBrandingCommand = exports.de_DisassociateWorkspaceApplicationCommand = exports.de_DisassociateIpGroupsCommand = exports.de_DisassociateConnectionAliasCommand = exports.de_DescribeWorkspaceSnapshotsCommand = exports.de_DescribeWorkspacesConnectionStatusCommand = exports.de_DescribeWorkspacesCommand = exports.de_DescribeWorkspaceImagesCommand = exports.de_DescribeWorkspaceImagePermissionsCommand = exports.de_DescribeWorkspaceDirectoriesCommand = exports.de_DescribeWorkspaceBundlesCommand = exports.de_DescribeWorkspaceAssociationsCommand = exports.de_DescribeTagsCommand = exports.de_DescribeIpGroupsCommand = exports.de_DescribeImageAssociationsCommand = exports.de_DescribeConnectionAliasPermissionsCommand = exports.de_DescribeConnectionAliasesCommand = exports.de_DescribeConnectClientAddInsCommand = exports.de_DescribeClientPropertiesCommand = exports.de_DescribeClientBrandingCommand = exports.de_DescribeBundleAssociationsCommand = void 0;
6
6
  const protocol_http_1 = require("@smithy/protocol-http");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  const models_0_1 = require("../models/models_0");
@@ -21,6 +21,13 @@ const se_AssociateIpGroupsCommand = async (input, context) => {
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
23
  exports.se_AssociateIpGroupsCommand = se_AssociateIpGroupsCommand;
24
+ const se_AssociateWorkspaceApplicationCommand = async (input, context) => {
25
+ const headers = sharedHeaders("AssociateWorkspaceApplication");
26
+ let body;
27
+ body = JSON.stringify((0, smithy_client_1._json)(input));
28
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
29
+ };
30
+ exports.se_AssociateWorkspaceApplicationCommand = se_AssociateWorkspaceApplicationCommand;
24
31
  const se_AuthorizeIpRulesCommand = async (input, context) => {
25
32
  const headers = sharedHeaders("AuthorizeIpRules");
26
33
  let body;
@@ -147,6 +154,13 @@ const se_DeleteWorkspaceImageCommand = async (input, context) => {
147
154
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
155
  };
149
156
  exports.se_DeleteWorkspaceImageCommand = se_DeleteWorkspaceImageCommand;
157
+ const se_DeployWorkspaceApplicationsCommand = async (input, context) => {
158
+ const headers = sharedHeaders("DeployWorkspaceApplications");
159
+ let body;
160
+ body = JSON.stringify((0, smithy_client_1._json)(input));
161
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
162
+ };
163
+ exports.se_DeployWorkspaceApplicationsCommand = se_DeployWorkspaceApplicationsCommand;
150
164
  const se_DeregisterWorkspaceDirectoryCommand = async (input, context) => {
151
165
  const headers = sharedHeaders("DeregisterWorkspaceDirectory");
152
166
  let body;
@@ -168,6 +182,27 @@ const se_DescribeAccountModificationsCommand = async (input, context) => {
168
182
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
169
183
  };
170
184
  exports.se_DescribeAccountModificationsCommand = se_DescribeAccountModificationsCommand;
185
+ const se_DescribeApplicationAssociationsCommand = async (input, context) => {
186
+ const headers = sharedHeaders("DescribeApplicationAssociations");
187
+ let body;
188
+ body = JSON.stringify((0, smithy_client_1._json)(input));
189
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
190
+ };
191
+ exports.se_DescribeApplicationAssociationsCommand = se_DescribeApplicationAssociationsCommand;
192
+ const se_DescribeApplicationsCommand = async (input, context) => {
193
+ const headers = sharedHeaders("DescribeApplications");
194
+ let body;
195
+ body = JSON.stringify((0, smithy_client_1._json)(input));
196
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
197
+ };
198
+ exports.se_DescribeApplicationsCommand = se_DescribeApplicationsCommand;
199
+ const se_DescribeBundleAssociationsCommand = async (input, context) => {
200
+ const headers = sharedHeaders("DescribeBundleAssociations");
201
+ let body;
202
+ body = JSON.stringify((0, smithy_client_1._json)(input));
203
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
204
+ };
205
+ exports.se_DescribeBundleAssociationsCommand = se_DescribeBundleAssociationsCommand;
171
206
  const se_DescribeClientBrandingCommand = async (input, context) => {
172
207
  const headers = sharedHeaders("DescribeClientBranding");
173
208
  let body;
@@ -203,6 +238,13 @@ const se_DescribeConnectionAliasPermissionsCommand = async (input, context) => {
203
238
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
204
239
  };
205
240
  exports.se_DescribeConnectionAliasPermissionsCommand = se_DescribeConnectionAliasPermissionsCommand;
241
+ const se_DescribeImageAssociationsCommand = async (input, context) => {
242
+ const headers = sharedHeaders("DescribeImageAssociations");
243
+ let body;
244
+ body = JSON.stringify((0, smithy_client_1._json)(input));
245
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
+ };
247
+ exports.se_DescribeImageAssociationsCommand = se_DescribeImageAssociationsCommand;
206
248
  const se_DescribeIpGroupsCommand = async (input, context) => {
207
249
  const headers = sharedHeaders("DescribeIpGroups");
208
250
  let body;
@@ -217,6 +259,13 @@ const se_DescribeTagsCommand = async (input, context) => {
217
259
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
218
260
  };
219
261
  exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
262
+ const se_DescribeWorkspaceAssociationsCommand = async (input, context) => {
263
+ const headers = sharedHeaders("DescribeWorkspaceAssociations");
264
+ let body;
265
+ body = JSON.stringify((0, smithy_client_1._json)(input));
266
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
267
+ };
268
+ exports.se_DescribeWorkspaceAssociationsCommand = se_DescribeWorkspaceAssociationsCommand;
220
269
  const se_DescribeWorkspaceBundlesCommand = async (input, context) => {
221
270
  const headers = sharedHeaders("DescribeWorkspaceBundles");
222
271
  let body;
@@ -280,6 +329,13 @@ const se_DisassociateIpGroupsCommand = async (input, context) => {
280
329
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
281
330
  };
282
331
  exports.se_DisassociateIpGroupsCommand = se_DisassociateIpGroupsCommand;
332
+ const se_DisassociateWorkspaceApplicationCommand = async (input, context) => {
333
+ const headers = sharedHeaders("DisassociateWorkspaceApplication");
334
+ let body;
335
+ body = JSON.stringify((0, smithy_client_1._json)(input));
336
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
+ };
338
+ exports.se_DisassociateWorkspaceApplicationCommand = se_DisassociateWorkspaceApplicationCommand;
283
339
  const se_ImportClientBrandingCommand = async (input, context) => {
284
340
  const headers = sharedHeaders("ImportClientBranding");
285
341
  let body;
@@ -558,6 +614,66 @@ const de_AssociateIpGroupsCommandError = async (output, context) => {
558
614
  });
559
615
  }
560
616
  };
617
+ const de_AssociateWorkspaceApplicationCommand = async (output, context) => {
618
+ if (output.statusCode >= 300) {
619
+ return de_AssociateWorkspaceApplicationCommandError(output, context);
620
+ }
621
+ const data = await parseBody(output.body, context);
622
+ let contents = {};
623
+ contents = de_AssociateWorkspaceApplicationResult(data, context);
624
+ const response = {
625
+ $metadata: deserializeMetadata(output),
626
+ ...contents,
627
+ };
628
+ return response;
629
+ };
630
+ exports.de_AssociateWorkspaceApplicationCommand = de_AssociateWorkspaceApplicationCommand;
631
+ const de_AssociateWorkspaceApplicationCommandError = async (output, context) => {
632
+ const parsedOutput = {
633
+ ...output,
634
+ body: await parseErrorBody(output.body, context),
635
+ };
636
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
637
+ switch (errorCode) {
638
+ case "AccessDeniedException":
639
+ case "com.amazonaws.workspaces#AccessDeniedException":
640
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
641
+ case "ApplicationNotSupportedException":
642
+ case "com.amazonaws.workspaces#ApplicationNotSupportedException":
643
+ throw await de_ApplicationNotSupportedExceptionRes(parsedOutput, context);
644
+ case "ComputeNotCompatibleException":
645
+ case "com.amazonaws.workspaces#ComputeNotCompatibleException":
646
+ throw await de_ComputeNotCompatibleExceptionRes(parsedOutput, context);
647
+ case "IncompatibleApplicationsException":
648
+ case "com.amazonaws.workspaces#IncompatibleApplicationsException":
649
+ throw await de_IncompatibleApplicationsExceptionRes(parsedOutput, context);
650
+ case "InvalidParameterValuesException":
651
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
652
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
653
+ case "OperatingSystemNotCompatibleException":
654
+ case "com.amazonaws.workspaces#OperatingSystemNotCompatibleException":
655
+ throw await de_OperatingSystemNotCompatibleExceptionRes(parsedOutput, context);
656
+ case "OperationNotSupportedException":
657
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
658
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
659
+ case "ResourceAlreadyExistsException":
660
+ case "com.amazonaws.workspaces#ResourceAlreadyExistsException":
661
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
662
+ case "ResourceInUseException":
663
+ case "com.amazonaws.workspaces#ResourceInUseException":
664
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
665
+ case "ResourceNotFoundException":
666
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
667
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
668
+ default:
669
+ const parsedBody = parsedOutput.body;
670
+ return throwDefaultError({
671
+ output,
672
+ parsedBody,
673
+ errorCode,
674
+ });
675
+ }
676
+ };
561
677
  const de_AuthorizeIpRulesCommand = async (output, context) => {
562
678
  if (output.statusCode >= 300) {
563
679
  return de_AuthorizeIpRulesCommandError(output, context);
@@ -1347,6 +1463,54 @@ const de_DeleteWorkspaceImageCommandError = async (output, context) => {
1347
1463
  });
1348
1464
  }
1349
1465
  };
1466
+ const de_DeployWorkspaceApplicationsCommand = async (output, context) => {
1467
+ if (output.statusCode >= 300) {
1468
+ return de_DeployWorkspaceApplicationsCommandError(output, context);
1469
+ }
1470
+ const data = await parseBody(output.body, context);
1471
+ let contents = {};
1472
+ contents = de_DeployWorkspaceApplicationsResult(data, context);
1473
+ const response = {
1474
+ $metadata: deserializeMetadata(output),
1475
+ ...contents,
1476
+ };
1477
+ return response;
1478
+ };
1479
+ exports.de_DeployWorkspaceApplicationsCommand = de_DeployWorkspaceApplicationsCommand;
1480
+ const de_DeployWorkspaceApplicationsCommandError = async (output, context) => {
1481
+ const parsedOutput = {
1482
+ ...output,
1483
+ body: await parseErrorBody(output.body, context),
1484
+ };
1485
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1486
+ switch (errorCode) {
1487
+ case "AccessDeniedException":
1488
+ case "com.amazonaws.workspaces#AccessDeniedException":
1489
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1490
+ case "IncompatibleApplicationsException":
1491
+ case "com.amazonaws.workspaces#IncompatibleApplicationsException":
1492
+ throw await de_IncompatibleApplicationsExceptionRes(parsedOutput, context);
1493
+ case "InvalidParameterValuesException":
1494
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
1495
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
1496
+ case "OperationNotSupportedException":
1497
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
1498
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
1499
+ case "ResourceInUseException":
1500
+ case "com.amazonaws.workspaces#ResourceInUseException":
1501
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1502
+ case "ResourceNotFoundException":
1503
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
1504
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1505
+ default:
1506
+ const parsedBody = parsedOutput.body;
1507
+ return throwDefaultError({
1508
+ output,
1509
+ parsedBody,
1510
+ errorCode,
1511
+ });
1512
+ }
1513
+ };
1350
1514
  const de_DeregisterWorkspaceDirectoryCommand = async (output, context) => {
1351
1515
  if (output.statusCode >= 300) {
1352
1516
  return de_DeregisterWorkspaceDirectoryCommandError(output, context);
@@ -1458,6 +1622,132 @@ const de_DescribeAccountModificationsCommandError = async (output, context) => {
1458
1622
  });
1459
1623
  }
1460
1624
  };
1625
+ const de_DescribeApplicationAssociationsCommand = async (output, context) => {
1626
+ if (output.statusCode >= 300) {
1627
+ return de_DescribeApplicationAssociationsCommandError(output, context);
1628
+ }
1629
+ const data = await parseBody(output.body, context);
1630
+ let contents = {};
1631
+ contents = de_DescribeApplicationAssociationsResult(data, context);
1632
+ const response = {
1633
+ $metadata: deserializeMetadata(output),
1634
+ ...contents,
1635
+ };
1636
+ return response;
1637
+ };
1638
+ exports.de_DescribeApplicationAssociationsCommand = de_DescribeApplicationAssociationsCommand;
1639
+ const de_DescribeApplicationAssociationsCommandError = async (output, context) => {
1640
+ const parsedOutput = {
1641
+ ...output,
1642
+ body: await parseErrorBody(output.body, context),
1643
+ };
1644
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1645
+ switch (errorCode) {
1646
+ case "AccessDeniedException":
1647
+ case "com.amazonaws.workspaces#AccessDeniedException":
1648
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1649
+ case "InvalidParameterValuesException":
1650
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
1651
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
1652
+ case "OperationNotSupportedException":
1653
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
1654
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
1655
+ case "ResourceNotFoundException":
1656
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
1657
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1658
+ default:
1659
+ const parsedBody = parsedOutput.body;
1660
+ return throwDefaultError({
1661
+ output,
1662
+ parsedBody,
1663
+ errorCode,
1664
+ });
1665
+ }
1666
+ };
1667
+ const de_DescribeApplicationsCommand = async (output, context) => {
1668
+ if (output.statusCode >= 300) {
1669
+ return de_DescribeApplicationsCommandError(output, context);
1670
+ }
1671
+ const data = await parseBody(output.body, context);
1672
+ let contents = {};
1673
+ contents = de_DescribeApplicationsResult(data, context);
1674
+ const response = {
1675
+ $metadata: deserializeMetadata(output),
1676
+ ...contents,
1677
+ };
1678
+ return response;
1679
+ };
1680
+ exports.de_DescribeApplicationsCommand = de_DescribeApplicationsCommand;
1681
+ const de_DescribeApplicationsCommandError = async (output, context) => {
1682
+ const parsedOutput = {
1683
+ ...output,
1684
+ body: await parseErrorBody(output.body, context),
1685
+ };
1686
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1687
+ switch (errorCode) {
1688
+ case "AccessDeniedException":
1689
+ case "com.amazonaws.workspaces#AccessDeniedException":
1690
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1691
+ case "InvalidParameterValuesException":
1692
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
1693
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
1694
+ case "OperationNotSupportedException":
1695
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
1696
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
1697
+ case "ResourceNotFoundException":
1698
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
1699
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1700
+ default:
1701
+ const parsedBody = parsedOutput.body;
1702
+ return throwDefaultError({
1703
+ output,
1704
+ parsedBody,
1705
+ errorCode,
1706
+ });
1707
+ }
1708
+ };
1709
+ const de_DescribeBundleAssociationsCommand = async (output, context) => {
1710
+ if (output.statusCode >= 300) {
1711
+ return de_DescribeBundleAssociationsCommandError(output, context);
1712
+ }
1713
+ const data = await parseBody(output.body, context);
1714
+ let contents = {};
1715
+ contents = de_DescribeBundleAssociationsResult(data, context);
1716
+ const response = {
1717
+ $metadata: deserializeMetadata(output),
1718
+ ...contents,
1719
+ };
1720
+ return response;
1721
+ };
1722
+ exports.de_DescribeBundleAssociationsCommand = de_DescribeBundleAssociationsCommand;
1723
+ const de_DescribeBundleAssociationsCommandError = async (output, context) => {
1724
+ const parsedOutput = {
1725
+ ...output,
1726
+ body: await parseErrorBody(output.body, context),
1727
+ };
1728
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1729
+ switch (errorCode) {
1730
+ case "AccessDeniedException":
1731
+ case "com.amazonaws.workspaces#AccessDeniedException":
1732
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1733
+ case "InvalidParameterValuesException":
1734
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
1735
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
1736
+ case "OperationNotSupportedException":
1737
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
1738
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
1739
+ case "ResourceNotFoundException":
1740
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
1741
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1742
+ default:
1743
+ const parsedBody = parsedOutput.body;
1744
+ return throwDefaultError({
1745
+ output,
1746
+ parsedBody,
1747
+ errorCode,
1748
+ });
1749
+ }
1750
+ };
1461
1751
  const de_DescribeClientBrandingCommand = async (output, context) => {
1462
1752
  if (output.statusCode >= 300) {
1463
1753
  return de_DescribeClientBrandingCommandError(output, context);
@@ -1656,6 +1946,48 @@ const de_DescribeConnectionAliasPermissionsCommandError = async (output, context
1656
1946
  });
1657
1947
  }
1658
1948
  };
1949
+ const de_DescribeImageAssociationsCommand = async (output, context) => {
1950
+ if (output.statusCode >= 300) {
1951
+ return de_DescribeImageAssociationsCommandError(output, context);
1952
+ }
1953
+ const data = await parseBody(output.body, context);
1954
+ let contents = {};
1955
+ contents = de_DescribeImageAssociationsResult(data, context);
1956
+ const response = {
1957
+ $metadata: deserializeMetadata(output),
1958
+ ...contents,
1959
+ };
1960
+ return response;
1961
+ };
1962
+ exports.de_DescribeImageAssociationsCommand = de_DescribeImageAssociationsCommand;
1963
+ const de_DescribeImageAssociationsCommandError = async (output, context) => {
1964
+ const parsedOutput = {
1965
+ ...output,
1966
+ body: await parseErrorBody(output.body, context),
1967
+ };
1968
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1969
+ switch (errorCode) {
1970
+ case "AccessDeniedException":
1971
+ case "com.amazonaws.workspaces#AccessDeniedException":
1972
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1973
+ case "InvalidParameterValuesException":
1974
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
1975
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
1976
+ case "OperationNotSupportedException":
1977
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
1978
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
1979
+ case "ResourceNotFoundException":
1980
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
1981
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1982
+ default:
1983
+ const parsedBody = parsedOutput.body;
1984
+ return throwDefaultError({
1985
+ output,
1986
+ parsedBody,
1987
+ errorCode,
1988
+ });
1989
+ }
1990
+ };
1659
1991
  const de_DescribeIpGroupsCommand = async (output, context) => {
1660
1992
  if (output.statusCode >= 300) {
1661
1993
  return de_DescribeIpGroupsCommandError(output, context);
@@ -1725,6 +2057,48 @@ const de_DescribeTagsCommandError = async (output, context) => {
1725
2057
  });
1726
2058
  }
1727
2059
  };
2060
+ const de_DescribeWorkspaceAssociationsCommand = async (output, context) => {
2061
+ if (output.statusCode >= 300) {
2062
+ return de_DescribeWorkspaceAssociationsCommandError(output, context);
2063
+ }
2064
+ const data = await parseBody(output.body, context);
2065
+ let contents = {};
2066
+ contents = de_DescribeWorkspaceAssociationsResult(data, context);
2067
+ const response = {
2068
+ $metadata: deserializeMetadata(output),
2069
+ ...contents,
2070
+ };
2071
+ return response;
2072
+ };
2073
+ exports.de_DescribeWorkspaceAssociationsCommand = de_DescribeWorkspaceAssociationsCommand;
2074
+ const de_DescribeWorkspaceAssociationsCommandError = async (output, context) => {
2075
+ const parsedOutput = {
2076
+ ...output,
2077
+ body: await parseErrorBody(output.body, context),
2078
+ };
2079
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2080
+ switch (errorCode) {
2081
+ case "AccessDeniedException":
2082
+ case "com.amazonaws.workspaces#AccessDeniedException":
2083
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2084
+ case "InvalidParameterValuesException":
2085
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
2086
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
2087
+ case "OperationNotSupportedException":
2088
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
2089
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
2090
+ case "ResourceNotFoundException":
2091
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
2092
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2093
+ default:
2094
+ const parsedBody = parsedOutput.body;
2095
+ return throwDefaultError({
2096
+ output,
2097
+ parsedBody,
2098
+ errorCode,
2099
+ });
2100
+ }
2101
+ };
1728
2102
  const de_DescribeWorkspaceBundlesCommand = async (output, context) => {
1729
2103
  if (output.statusCode >= 300) {
1730
2104
  return de_DescribeWorkspaceBundlesCommandError(output, context);
@@ -2058,6 +2432,51 @@ const de_DisassociateIpGroupsCommandError = async (output, context) => {
2058
2432
  });
2059
2433
  }
2060
2434
  };
2435
+ const de_DisassociateWorkspaceApplicationCommand = async (output, context) => {
2436
+ if (output.statusCode >= 300) {
2437
+ return de_DisassociateWorkspaceApplicationCommandError(output, context);
2438
+ }
2439
+ const data = await parseBody(output.body, context);
2440
+ let contents = {};
2441
+ contents = de_DisassociateWorkspaceApplicationResult(data, context);
2442
+ const response = {
2443
+ $metadata: deserializeMetadata(output),
2444
+ ...contents,
2445
+ };
2446
+ return response;
2447
+ };
2448
+ exports.de_DisassociateWorkspaceApplicationCommand = de_DisassociateWorkspaceApplicationCommand;
2449
+ const de_DisassociateWorkspaceApplicationCommandError = async (output, context) => {
2450
+ const parsedOutput = {
2451
+ ...output,
2452
+ body: await parseErrorBody(output.body, context),
2453
+ };
2454
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2455
+ switch (errorCode) {
2456
+ case "AccessDeniedException":
2457
+ case "com.amazonaws.workspaces#AccessDeniedException":
2458
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2459
+ case "InvalidParameterValuesException":
2460
+ case "com.amazonaws.workspaces#InvalidParameterValuesException":
2461
+ throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
2462
+ case "OperationNotSupportedException":
2463
+ case "com.amazonaws.workspaces#OperationNotSupportedException":
2464
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
2465
+ case "ResourceInUseException":
2466
+ case "com.amazonaws.workspaces#ResourceInUseException":
2467
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2468
+ case "ResourceNotFoundException":
2469
+ case "com.amazonaws.workspaces#ResourceNotFoundException":
2470
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2471
+ default:
2472
+ const parsedBody = parsedOutput.body;
2473
+ return throwDefaultError({
2474
+ output,
2475
+ parsedBody,
2476
+ errorCode,
2477
+ });
2478
+ }
2479
+ };
2061
2480
  const de_ImportClientBrandingCommand = async (output, context) => {
2062
2481
  if (output.statusCode >= 300) {
2063
2482
  return de_ImportClientBrandingCommandError(output, context);
@@ -3129,6 +3548,33 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
3129
3548
  });
3130
3549
  return (0, smithy_client_1.decorateServiceException)(exception, body);
3131
3550
  };
3551
+ const de_ApplicationNotSupportedExceptionRes = async (parsedOutput, context) => {
3552
+ const body = parsedOutput.body;
3553
+ const deserialized = (0, smithy_client_1._json)(body);
3554
+ const exception = new models_0_1.ApplicationNotSupportedException({
3555
+ $metadata: deserializeMetadata(parsedOutput),
3556
+ ...deserialized,
3557
+ });
3558
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3559
+ };
3560
+ const de_ComputeNotCompatibleExceptionRes = async (parsedOutput, context) => {
3561
+ const body = parsedOutput.body;
3562
+ const deserialized = (0, smithy_client_1._json)(body);
3563
+ const exception = new models_0_1.ComputeNotCompatibleException({
3564
+ $metadata: deserializeMetadata(parsedOutput),
3565
+ ...deserialized,
3566
+ });
3567
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3568
+ };
3569
+ const de_IncompatibleApplicationsExceptionRes = async (parsedOutput, context) => {
3570
+ const body = parsedOutput.body;
3571
+ const deserialized = (0, smithy_client_1._json)(body);
3572
+ const exception = new models_0_1.IncompatibleApplicationsException({
3573
+ $metadata: deserializeMetadata(parsedOutput),
3574
+ ...deserialized,
3575
+ });
3576
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3577
+ };
3132
3578
  const de_InvalidParameterValuesExceptionRes = async (parsedOutput, context) => {
3133
3579
  const body = parsedOutput.body;
3134
3580
  const deserialized = (0, smithy_client_1._json)(body);
@@ -3147,6 +3593,15 @@ const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
3147
3593
  });
3148
3594
  return (0, smithy_client_1.decorateServiceException)(exception, body);
3149
3595
  };
3596
+ const de_OperatingSystemNotCompatibleExceptionRes = async (parsedOutput, context) => {
3597
+ const body = parsedOutput.body;
3598
+ const deserialized = (0, smithy_client_1._json)(body);
3599
+ const exception = new models_0_1.OperatingSystemNotCompatibleException({
3600
+ $metadata: deserializeMetadata(parsedOutput),
3601
+ ...deserialized,
3602
+ });
3603
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3604
+ };
3150
3605
  const de_OperationInProgressExceptionRes = async (parsedOutput, context) => {
3151
3606
  const body = parsedOutput.body;
3152
3607
  const deserialized = (0, smithy_client_1._json)(body);
@@ -3192,6 +3647,15 @@ const de_ResourceCreationFailedExceptionRes = async (parsedOutput, context) => {
3192
3647
  });
3193
3648
  return (0, smithy_client_1.decorateServiceException)(exception, body);
3194
3649
  };
3650
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
3651
+ const body = parsedOutput.body;
3652
+ const deserialized = (0, smithy_client_1._json)(body);
3653
+ const exception = new models_0_1.ResourceInUseException({
3654
+ $metadata: deserializeMetadata(parsedOutput),
3655
+ ...deserialized,
3656
+ });
3657
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3658
+ };
3195
3659
  const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
3196
3660
  const body = parsedOutput.body;
3197
3661
  const deserialized = (0, smithy_client_1._json)(body);
@@ -3295,6 +3759,30 @@ const de_AccountModificationList = (output, context) => {
3295
3759
  });
3296
3760
  return retVal;
3297
3761
  };
3762
+ const de_ApplicationResourceAssociation = (output, context) => {
3763
+ return (0, smithy_client_1.take)(output, {
3764
+ ApplicationId: smithy_client_1.expectString,
3765
+ AssociatedResourceId: smithy_client_1.expectString,
3766
+ AssociatedResourceType: smithy_client_1.expectString,
3767
+ Created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3768
+ LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3769
+ State: smithy_client_1.expectString,
3770
+ StateReason: smithy_client_1._json,
3771
+ });
3772
+ };
3773
+ const de_ApplicationResourceAssociationList = (output, context) => {
3774
+ const retVal = (output || [])
3775
+ .filter((e) => e != null)
3776
+ .map((entry) => {
3777
+ return de_ApplicationResourceAssociation(entry, context);
3778
+ });
3779
+ return retVal;
3780
+ };
3781
+ const de_AssociateWorkspaceApplicationResult = (output, context) => {
3782
+ return (0, smithy_client_1.take)(output, {
3783
+ Association: (_) => de_WorkspaceResourceAssociation(_, context),
3784
+ });
3785
+ };
3298
3786
  const de_BundleList = (output, context) => {
3299
3787
  const retVal = (output || [])
3300
3788
  .filter((e) => e != null)
@@ -3303,6 +3791,25 @@ const de_BundleList = (output, context) => {
3303
3791
  });
3304
3792
  return retVal;
3305
3793
  };
3794
+ const de_BundleResourceAssociation = (output, context) => {
3795
+ return (0, smithy_client_1.take)(output, {
3796
+ AssociatedResourceId: smithy_client_1.expectString,
3797
+ AssociatedResourceType: smithy_client_1.expectString,
3798
+ BundleId: smithy_client_1.expectString,
3799
+ Created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3800
+ LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3801
+ State: smithy_client_1.expectString,
3802
+ StateReason: smithy_client_1._json,
3803
+ });
3804
+ };
3805
+ const de_BundleResourceAssociationList = (output, context) => {
3806
+ const retVal = (output || [])
3807
+ .filter((e) => e != null)
3808
+ .map((entry) => {
3809
+ return de_BundleResourceAssociation(entry, context);
3810
+ });
3811
+ return retVal;
3812
+ };
3306
3813
  const de_CreateWorkspaceBundleResult = (output, context) => {
3307
3814
  return (0, smithy_client_1.take)(output, {
3308
3815
  WorkspaceBundle: (_) => de_WorkspaceBundle(_, context),
@@ -3320,12 +3827,44 @@ const de_CreateWorkspaceImageResult = (output, context) => {
3320
3827
  State: smithy_client_1.expectString,
3321
3828
  });
3322
3829
  };
3830
+ const de_DeployWorkspaceApplicationsResult = (output, context) => {
3831
+ return (0, smithy_client_1.take)(output, {
3832
+ Deployment: (_) => de_WorkSpaceApplicationDeployment(_, context),
3833
+ });
3834
+ };
3323
3835
  const de_DescribeAccountModificationsResult = (output, context) => {
3324
3836
  return (0, smithy_client_1.take)(output, {
3325
3837
  AccountModifications: (_) => de_AccountModificationList(_, context),
3326
3838
  NextToken: smithy_client_1.expectString,
3327
3839
  });
3328
3840
  };
3841
+ const de_DescribeApplicationAssociationsResult = (output, context) => {
3842
+ return (0, smithy_client_1.take)(output, {
3843
+ Associations: (_) => de_ApplicationResourceAssociationList(_, context),
3844
+ NextToken: smithy_client_1.expectString,
3845
+ });
3846
+ };
3847
+ const de_DescribeApplicationsResult = (output, context) => {
3848
+ return (0, smithy_client_1.take)(output, {
3849
+ Applications: (_) => de_WorkSpaceApplicationList(_, context),
3850
+ NextToken: smithy_client_1.expectString,
3851
+ });
3852
+ };
3853
+ const de_DescribeBundleAssociationsResult = (output, context) => {
3854
+ return (0, smithy_client_1.take)(output, {
3855
+ Associations: (_) => de_BundleResourceAssociationList(_, context),
3856
+ });
3857
+ };
3858
+ const de_DescribeImageAssociationsResult = (output, context) => {
3859
+ return (0, smithy_client_1.take)(output, {
3860
+ Associations: (_) => de_ImageResourceAssociationList(_, context),
3861
+ });
3862
+ };
3863
+ const de_DescribeWorkspaceAssociationsResult = (output, context) => {
3864
+ return (0, smithy_client_1.take)(output, {
3865
+ Associations: (_) => de_WorkspaceResourceAssociationList(_, context),
3866
+ });
3867
+ };
3329
3868
  const de_DescribeWorkspaceBundlesResult = (output, context) => {
3330
3869
  return (0, smithy_client_1.take)(output, {
3331
3870
  Bundles: (_) => de_BundleList(_, context),
@@ -3350,6 +3889,30 @@ const de_DescribeWorkspaceSnapshotsResult = (output, context) => {
3350
3889
  RestoreSnapshots: (_) => de_SnapshotList(_, context),
3351
3890
  });
3352
3891
  };
3892
+ const de_DisassociateWorkspaceApplicationResult = (output, context) => {
3893
+ return (0, smithy_client_1.take)(output, {
3894
+ Association: (_) => de_WorkspaceResourceAssociation(_, context),
3895
+ });
3896
+ };
3897
+ const de_ImageResourceAssociation = (output, context) => {
3898
+ return (0, smithy_client_1.take)(output, {
3899
+ AssociatedResourceId: smithy_client_1.expectString,
3900
+ AssociatedResourceType: smithy_client_1.expectString,
3901
+ Created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3902
+ ImageId: smithy_client_1.expectString,
3903
+ LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3904
+ State: smithy_client_1.expectString,
3905
+ StateReason: smithy_client_1._json,
3906
+ });
3907
+ };
3908
+ const de_ImageResourceAssociationList = (output, context) => {
3909
+ const retVal = (output || [])
3910
+ .filter((e) => e != null)
3911
+ .map((entry) => {
3912
+ return de_ImageResourceAssociation(entry, context);
3913
+ });
3914
+ return retVal;
3915
+ };
3353
3916
  const de_Snapshot = (output, context) => {
3354
3917
  return (0, smithy_client_1.take)(output, {
3355
3918
  SnapshotTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -3363,6 +3926,32 @@ const de_SnapshotList = (output, context) => {
3363
3926
  });
3364
3927
  return retVal;
3365
3928
  };
3929
+ const de_WorkSpaceApplication = (output, context) => {
3930
+ return (0, smithy_client_1.take)(output, {
3931
+ ApplicationId: smithy_client_1.expectString,
3932
+ Created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3933
+ Description: smithy_client_1.expectString,
3934
+ LicenseType: smithy_client_1.expectString,
3935
+ Name: smithy_client_1.expectString,
3936
+ Owner: smithy_client_1.expectString,
3937
+ State: smithy_client_1.expectString,
3938
+ SupportedComputeTypeNames: smithy_client_1._json,
3939
+ SupportedOperatingSystemNames: smithy_client_1._json,
3940
+ });
3941
+ };
3942
+ const de_WorkSpaceApplicationDeployment = (output, context) => {
3943
+ return (0, smithy_client_1.take)(output, {
3944
+ Associations: (_) => de_WorkspaceResourceAssociationList(_, context),
3945
+ });
3946
+ };
3947
+ const de_WorkSpaceApplicationList = (output, context) => {
3948
+ const retVal = (output || [])
3949
+ .filter((e) => e != null)
3950
+ .map((entry) => {
3951
+ return de_WorkSpaceApplication(entry, context);
3952
+ });
3953
+ return retVal;
3954
+ };
3366
3955
  const de_WorkspaceBundle = (output, context) => {
3367
3956
  return (0, smithy_client_1.take)(output, {
3368
3957
  BundleId: smithy_client_1.expectString,
@@ -3419,6 +4008,25 @@ const de_WorkspaceImageList = (output, context) => {
3419
4008
  });
3420
4009
  return retVal;
3421
4010
  };
4011
+ const de_WorkspaceResourceAssociation = (output, context) => {
4012
+ return (0, smithy_client_1.take)(output, {
4013
+ AssociatedResourceId: smithy_client_1.expectString,
4014
+ AssociatedResourceType: smithy_client_1.expectString,
4015
+ Created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4016
+ LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4017
+ State: smithy_client_1.expectString,
4018
+ StateReason: smithy_client_1._json,
4019
+ WorkspaceId: smithy_client_1.expectString,
4020
+ });
4021
+ };
4022
+ const de_WorkspaceResourceAssociationList = (output, context) => {
4023
+ const retVal = (output || [])
4024
+ .filter((e) => e != null)
4025
+ .map((entry) => {
4026
+ return de_WorkspaceResourceAssociation(entry, context);
4027
+ });
4028
+ return retVal;
4029
+ };
3422
4030
  const deserializeMetadata = (output) => ({
3423
4031
  httpStatusCode: output.statusCode,
3424
4032
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],