@aws-sdk/client-cleanrooms 3.460.0 → 3.462.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 (123) hide show
  1. package/README.md +136 -0
  2. package/dist-cjs/CleanRooms.js +34 -0
  3. package/dist-cjs/commands/CreateConfiguredAudienceModelAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePrivacyBudgetTemplateCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfiguredAudienceModelAssociationCommand.js +51 -0
  6. package/dist-cjs/commands/DeletePrivacyBudgetTemplateCommand.js +51 -0
  7. package/dist-cjs/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +51 -0
  8. package/dist-cjs/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +51 -0
  9. package/dist-cjs/commands/GetConfiguredAudienceModelAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/GetPrivacyBudgetTemplateCommand.js +51 -0
  11. package/dist-cjs/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +51 -0
  13. package/dist-cjs/commands/ListCollaborationPrivacyBudgetsCommand.js +51 -0
  14. package/dist-cjs/commands/ListConfiguredAudienceModelAssociationsCommand.js +51 -0
  15. package/dist-cjs/commands/ListPrivacyBudgetTemplatesCommand.js +51 -0
  16. package/dist-cjs/commands/ListPrivacyBudgetsCommand.js +51 -0
  17. package/dist-cjs/commands/PreviewPrivacyImpactCommand.js +51 -0
  18. package/dist-cjs/commands/UpdateConfiguredAudienceModelAssociationCommand.js +51 -0
  19. package/dist-cjs/commands/UpdatePrivacyBudgetTemplateCommand.js +51 -0
  20. package/dist-cjs/commands/index.js +17 -0
  21. package/dist-cjs/models/models_0.js +64 -2
  22. package/dist-cjs/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +29 -0
  23. package/dist-cjs/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +29 -0
  24. package/dist-cjs/pagination/ListCollaborationPrivacyBudgetsPaginator.js +29 -0
  25. package/dist-cjs/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListPrivacyBudgetTemplatesPaginator.js +29 -0
  27. package/dist-cjs/pagination/ListPrivacyBudgetsPaginator.js +29 -0
  28. package/dist-cjs/pagination/index.js +6 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +1513 -128
  30. package/dist-es/CleanRooms.js +34 -0
  31. package/dist-es/commands/CreateConfiguredAudienceModelAssociationCommand.js +47 -0
  32. package/dist-es/commands/CreatePrivacyBudgetTemplateCommand.js +47 -0
  33. package/dist-es/commands/DeleteConfiguredAudienceModelAssociationCommand.js +47 -0
  34. package/dist-es/commands/DeletePrivacyBudgetTemplateCommand.js +47 -0
  35. package/dist-es/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +47 -0
  36. package/dist-es/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +47 -0
  37. package/dist-es/commands/GetConfiguredAudienceModelAssociationCommand.js +47 -0
  38. package/dist-es/commands/GetPrivacyBudgetTemplateCommand.js +47 -0
  39. package/dist-es/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +47 -0
  40. package/dist-es/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +47 -0
  41. package/dist-es/commands/ListCollaborationPrivacyBudgetsCommand.js +47 -0
  42. package/dist-es/commands/ListConfiguredAudienceModelAssociationsCommand.js +47 -0
  43. package/dist-es/commands/ListPrivacyBudgetTemplatesCommand.js +47 -0
  44. package/dist-es/commands/ListPrivacyBudgetsCommand.js +47 -0
  45. package/dist-es/commands/PreviewPrivacyImpactCommand.js +47 -0
  46. package/dist-es/commands/UpdateConfiguredAudienceModelAssociationCommand.js +47 -0
  47. package/dist-es/commands/UpdatePrivacyBudgetTemplateCommand.js +47 -0
  48. package/dist-es/commands/index.js +17 -0
  49. package/dist-es/models/models_0.js +62 -0
  50. package/dist-es/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +25 -0
  51. package/dist-es/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +25 -0
  52. package/dist-es/pagination/ListCollaborationPrivacyBudgetsPaginator.js +25 -0
  53. package/dist-es/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +25 -0
  54. package/dist-es/pagination/ListPrivacyBudgetTemplatesPaginator.js +25 -0
  55. package/dist-es/pagination/ListPrivacyBudgetsPaginator.js +25 -0
  56. package/dist-es/pagination/index.js +6 -0
  57. package/dist-es/protocols/Aws_restJson1.js +1541 -191
  58. package/dist-types/CleanRooms.d.ts +119 -0
  59. package/dist-types/CleanRoomsClient.d.ts +19 -2
  60. package/dist-types/commands/CreateConfiguredAudienceModelAssociationCommand.d.ts +114 -0
  61. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +14 -0
  62. package/dist-types/commands/CreatePrivacyBudgetTemplateCommand.d.ts +119 -0
  63. package/dist-types/commands/DeleteConfiguredAudienceModelAssociationCommand.d.ts +87 -0
  64. package/dist-types/commands/DeletePrivacyBudgetTemplateCommand.d.ts +87 -0
  65. package/dist-types/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.d.ts +100 -0
  66. package/dist-types/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +105 -0
  67. package/dist-types/commands/GetConfiguredAudienceModelAssociationCommand.d.ts +102 -0
  68. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +7 -0
  69. package/dist-types/commands/GetPrivacyBudgetTemplateCommand.d.ts +106 -0
  70. package/dist-types/commands/GetProtectedQueryCommand.d.ts +11 -0
  71. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +7 -0
  72. package/dist-types/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.d.ts +103 -0
  73. package/dist-types/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +102 -0
  74. package/dist-types/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +116 -0
  75. package/dist-types/commands/ListConfiguredAudienceModelAssociationsCommand.d.ts +105 -0
  76. package/dist-types/commands/ListPrivacyBudgetTemplatesCommand.d.ts +103 -0
  77. package/dist-types/commands/ListPrivacyBudgetsCommand.d.ts +117 -0
  78. package/dist-types/commands/PreviewPrivacyImpactCommand.d.ts +103 -0
  79. package/dist-types/commands/StartProtectedQueryCommand.d.ts +11 -0
  80. package/dist-types/commands/UpdateConfiguredAudienceModelAssociationCommand.d.ts +104 -0
  81. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +14 -0
  82. package/dist-types/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +116 -0
  83. package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +11 -0
  84. package/dist-types/commands/index.d.ts +17 -0
  85. package/dist-types/models/models_0.d.ts +2605 -1044
  86. package/dist-types/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListCollaborationPrivacyBudgetsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListConfiguredAudienceModelAssociationsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListPrivacyBudgetTemplatesPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListPrivacyBudgetsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +6 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +153 -0
  94. package/dist-types/ts3.4/CleanRooms.d.ts +343 -0
  95. package/dist-types/ts3.4/CleanRoomsClient.d.ts +102 -0
  96. package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/CreatePrivacyBudgetTemplateCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/DeletePrivacyBudgetTemplateCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.d.ts +44 -0
  101. package/dist-types/ts3.4/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  103. package/dist-types/ts3.4/commands/GetPrivacyBudgetTemplateCommand.d.ts +42 -0
  104. package/dist-types/ts3.4/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.d.ts +44 -0
  105. package/dist-types/ts3.4/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/ListConfiguredAudienceModelAssociationsCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/ListPrivacyBudgetTemplatesCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/ListPrivacyBudgetsCommand.d.ts +39 -0
  110. package/dist-types/ts3.4/commands/PreviewPrivacyImpactCommand.d.ts +42 -0
  111. package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelAssociationCommand.d.ts +42 -0
  112. package/dist-types/ts3.4/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +42 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +477 -0
  115. package/dist-types/ts3.4/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/ListCollaborationPrivacyBudgetsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelAssociationsPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/ListPrivacyBudgetTemplatesPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/ListPrivacyBudgetsPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  122. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +204 -0
  123. package/package.json +3 -3
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_CreateConfiguredTableCommand = exports.de_CreateCollaborationCommand = exports.de_CreateAnalysisTemplateCommand = exports.de_BatchGetSchemaCommand = exports.de_BatchGetCollaborationAnalysisTemplateCommand = exports.se_UpdateProtectedQueryCommand = exports.se_UpdateMembershipCommand = exports.se_UpdateConfiguredTableAssociationCommand = exports.se_UpdateConfiguredTableAnalysisRuleCommand = exports.se_UpdateConfiguredTableCommand = exports.se_UpdateCollaborationCommand = exports.se_UpdateAnalysisTemplateCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartProtectedQueryCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchemasCommand = exports.se_ListProtectedQueriesCommand = exports.se_ListMembershipsCommand = exports.se_ListMembersCommand = exports.se_ListConfiguredTablesCommand = exports.se_ListConfiguredTableAssociationsCommand = exports.se_ListCollaborationsCommand = exports.se_ListCollaborationAnalysisTemplatesCommand = exports.se_ListAnalysisTemplatesCommand = exports.se_GetSchemaAnalysisRuleCommand = exports.se_GetSchemaCommand = exports.se_GetProtectedQueryCommand = exports.se_GetMembershipCommand = exports.se_GetConfiguredTableAssociationCommand = exports.se_GetConfiguredTableAnalysisRuleCommand = exports.se_GetConfiguredTableCommand = exports.se_GetCollaborationAnalysisTemplateCommand = exports.se_GetCollaborationCommand = exports.se_GetAnalysisTemplateCommand = exports.se_DeleteMembershipCommand = exports.se_DeleteMemberCommand = exports.se_DeleteConfiguredTableAssociationCommand = exports.se_DeleteConfiguredTableAnalysisRuleCommand = exports.se_DeleteConfiguredTableCommand = exports.se_DeleteCollaborationCommand = exports.se_DeleteAnalysisTemplateCommand = exports.se_CreateMembershipCommand = exports.se_CreateConfiguredTableAssociationCommand = exports.se_CreateConfiguredTableAnalysisRuleCommand = exports.se_CreateConfiguredTableCommand = exports.se_CreateCollaborationCommand = exports.se_CreateAnalysisTemplateCommand = exports.se_BatchGetSchemaCommand = exports.se_BatchGetCollaborationAnalysisTemplateCommand = void 0;
4
- exports.de_UpdateProtectedQueryCommand = exports.de_UpdateMembershipCommand = exports.de_UpdateConfiguredTableAssociationCommand = exports.de_UpdateConfiguredTableAnalysisRuleCommand = exports.de_UpdateConfiguredTableCommand = exports.de_UpdateCollaborationCommand = exports.de_UpdateAnalysisTemplateCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartProtectedQueryCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchemasCommand = exports.de_ListProtectedQueriesCommand = exports.de_ListMembershipsCommand = exports.de_ListMembersCommand = exports.de_ListConfiguredTablesCommand = exports.de_ListConfiguredTableAssociationsCommand = exports.de_ListCollaborationsCommand = exports.de_ListCollaborationAnalysisTemplatesCommand = exports.de_ListAnalysisTemplatesCommand = exports.de_GetSchemaAnalysisRuleCommand = exports.de_GetSchemaCommand = exports.de_GetProtectedQueryCommand = exports.de_GetMembershipCommand = exports.de_GetConfiguredTableAssociationCommand = exports.de_GetConfiguredTableAnalysisRuleCommand = exports.de_GetConfiguredTableCommand = exports.de_GetCollaborationAnalysisTemplateCommand = exports.de_GetCollaborationCommand = exports.de_GetAnalysisTemplateCommand = exports.de_DeleteMembershipCommand = exports.de_DeleteMemberCommand = exports.de_DeleteConfiguredTableAssociationCommand = exports.de_DeleteConfiguredTableAnalysisRuleCommand = exports.de_DeleteConfiguredTableCommand = exports.de_DeleteCollaborationCommand = exports.de_DeleteAnalysisTemplateCommand = exports.de_CreateMembershipCommand = exports.de_CreateConfiguredTableAssociationCommand = exports.de_CreateConfiguredTableAnalysisRuleCommand = void 0;
3
+ exports.se_PreviewPrivacyImpactCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchemasCommand = exports.se_ListProtectedQueriesCommand = exports.se_ListPrivacyBudgetTemplatesCommand = exports.se_ListPrivacyBudgetsCommand = exports.se_ListMembershipsCommand = exports.se_ListMembersCommand = exports.se_ListConfiguredTablesCommand = exports.se_ListConfiguredTableAssociationsCommand = exports.se_ListConfiguredAudienceModelAssociationsCommand = exports.se_ListCollaborationsCommand = exports.se_ListCollaborationPrivacyBudgetTemplatesCommand = exports.se_ListCollaborationPrivacyBudgetsCommand = exports.se_ListCollaborationConfiguredAudienceModelAssociationsCommand = exports.se_ListCollaborationAnalysisTemplatesCommand = exports.se_ListAnalysisTemplatesCommand = exports.se_GetSchemaAnalysisRuleCommand = exports.se_GetSchemaCommand = exports.se_GetProtectedQueryCommand = exports.se_GetPrivacyBudgetTemplateCommand = exports.se_GetMembershipCommand = exports.se_GetConfiguredTableAssociationCommand = exports.se_GetConfiguredTableAnalysisRuleCommand = exports.se_GetConfiguredTableCommand = exports.se_GetConfiguredAudienceModelAssociationCommand = exports.se_GetCollaborationPrivacyBudgetTemplateCommand = exports.se_GetCollaborationConfiguredAudienceModelAssociationCommand = exports.se_GetCollaborationAnalysisTemplateCommand = exports.se_GetCollaborationCommand = exports.se_GetAnalysisTemplateCommand = exports.se_DeletePrivacyBudgetTemplateCommand = exports.se_DeleteMembershipCommand = exports.se_DeleteMemberCommand = exports.se_DeleteConfiguredTableAssociationCommand = exports.se_DeleteConfiguredTableAnalysisRuleCommand = exports.se_DeleteConfiguredTableCommand = exports.se_DeleteConfiguredAudienceModelAssociationCommand = exports.se_DeleteCollaborationCommand = exports.se_DeleteAnalysisTemplateCommand = exports.se_CreatePrivacyBudgetTemplateCommand = exports.se_CreateMembershipCommand = exports.se_CreateConfiguredTableAssociationCommand = exports.se_CreateConfiguredTableAnalysisRuleCommand = exports.se_CreateConfiguredTableCommand = exports.se_CreateConfiguredAudienceModelAssociationCommand = exports.se_CreateCollaborationCommand = exports.se_CreateAnalysisTemplateCommand = exports.se_BatchGetSchemaCommand = exports.se_BatchGetCollaborationAnalysisTemplateCommand = void 0;
4
+ exports.de_ListCollaborationPrivacyBudgetTemplatesCommand = exports.de_ListCollaborationPrivacyBudgetsCommand = exports.de_ListCollaborationConfiguredAudienceModelAssociationsCommand = exports.de_ListCollaborationAnalysisTemplatesCommand = exports.de_ListAnalysisTemplatesCommand = exports.de_GetSchemaAnalysisRuleCommand = exports.de_GetSchemaCommand = exports.de_GetProtectedQueryCommand = exports.de_GetPrivacyBudgetTemplateCommand = exports.de_GetMembershipCommand = exports.de_GetConfiguredTableAssociationCommand = exports.de_GetConfiguredTableAnalysisRuleCommand = exports.de_GetConfiguredTableCommand = exports.de_GetConfiguredAudienceModelAssociationCommand = exports.de_GetCollaborationPrivacyBudgetTemplateCommand = exports.de_GetCollaborationConfiguredAudienceModelAssociationCommand = exports.de_GetCollaborationAnalysisTemplateCommand = exports.de_GetCollaborationCommand = exports.de_GetAnalysisTemplateCommand = exports.de_DeletePrivacyBudgetTemplateCommand = exports.de_DeleteMembershipCommand = exports.de_DeleteMemberCommand = exports.de_DeleteConfiguredTableAssociationCommand = exports.de_DeleteConfiguredTableAnalysisRuleCommand = exports.de_DeleteConfiguredTableCommand = exports.de_DeleteConfiguredAudienceModelAssociationCommand = exports.de_DeleteCollaborationCommand = exports.de_DeleteAnalysisTemplateCommand = exports.de_CreatePrivacyBudgetTemplateCommand = exports.de_CreateMembershipCommand = exports.de_CreateConfiguredTableAssociationCommand = exports.de_CreateConfiguredTableAnalysisRuleCommand = exports.de_CreateConfiguredTableCommand = exports.de_CreateConfiguredAudienceModelAssociationCommand = exports.de_CreateCollaborationCommand = exports.de_CreateAnalysisTemplateCommand = exports.de_BatchGetSchemaCommand = exports.de_BatchGetCollaborationAnalysisTemplateCommand = exports.se_UpdateProtectedQueryCommand = exports.se_UpdatePrivacyBudgetTemplateCommand = exports.se_UpdateMembershipCommand = exports.se_UpdateConfiguredTableAssociationCommand = exports.se_UpdateConfiguredTableAnalysisRuleCommand = exports.se_UpdateConfiguredTableCommand = exports.se_UpdateConfiguredAudienceModelAssociationCommand = exports.se_UpdateCollaborationCommand = exports.se_UpdateAnalysisTemplateCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartProtectedQueryCommand = void 0;
5
+ exports.de_UpdateProtectedQueryCommand = exports.de_UpdatePrivacyBudgetTemplateCommand = exports.de_UpdateMembershipCommand = exports.de_UpdateConfiguredTableAssociationCommand = exports.de_UpdateConfiguredTableAnalysisRuleCommand = exports.de_UpdateConfiguredTableCommand = exports.de_UpdateConfiguredAudienceModelAssociationCommand = exports.de_UpdateCollaborationCommand = exports.de_UpdateAnalysisTemplateCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartProtectedQueryCommand = exports.de_PreviewPrivacyImpactCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchemasCommand = exports.de_ListProtectedQueriesCommand = exports.de_ListPrivacyBudgetTemplatesCommand = exports.de_ListPrivacyBudgetsCommand = exports.de_ListMembershipsCommand = exports.de_ListMembersCommand = exports.de_ListConfiguredTablesCommand = exports.de_ListConfiguredTableAssociationsCommand = exports.de_ListConfiguredAudienceModelAssociationsCommand = exports.de_ListCollaborationsCommand = void 0;
5
6
  const core_1 = require("@aws-sdk/core");
6
7
  const protocol_http_1 = require("@smithy/protocol-http");
7
8
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -110,6 +111,33 @@ const se_CreateCollaborationCommand = async (input, context) => {
110
111
  });
111
112
  };
112
113
  exports.se_CreateCollaborationCommand = se_CreateCollaborationCommand;
114
+ const se_CreateConfiguredAudienceModelAssociationCommand = async (input, context) => {
115
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
116
+ const headers = {
117
+ "content-type": "application/json",
118
+ };
119
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
120
+ "/memberships/{membershipIdentifier}/configuredaudiencemodelassociations";
121
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
122
+ let body;
123
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
124
+ configuredAudienceModelArn: [],
125
+ configuredAudienceModelAssociationName: [],
126
+ description: [],
127
+ manageResourcePolicies: [],
128
+ tags: (_) => (0, smithy_client_1._json)(_),
129
+ }));
130
+ return new protocol_http_1.HttpRequest({
131
+ protocol,
132
+ hostname,
133
+ port,
134
+ method: "POST",
135
+ headers,
136
+ path: resolvedPath,
137
+ body,
138
+ });
139
+ };
140
+ exports.se_CreateConfiguredAudienceModelAssociationCommand = se_CreateConfiguredAudienceModelAssociationCommand;
113
141
  const se_CreateConfiguredTableCommand = async (input, context) => {
114
142
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
143
  const headers = {
@@ -212,6 +240,32 @@ const se_CreateMembershipCommand = async (input, context) => {
212
240
  });
213
241
  };
214
242
  exports.se_CreateMembershipCommand = se_CreateMembershipCommand;
243
+ const se_CreatePrivacyBudgetTemplateCommand = async (input, context) => {
244
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
+ const headers = {
246
+ "content-type": "application/json",
247
+ };
248
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
249
+ "/memberships/{membershipIdentifier}/privacybudgettemplates";
250
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
251
+ let body;
252
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
253
+ autoRefresh: [],
254
+ parameters: (_) => (0, smithy_client_1._json)(_),
255
+ privacyBudgetType: [],
256
+ tags: (_) => (0, smithy_client_1._json)(_),
257
+ }));
258
+ return new protocol_http_1.HttpRequest({
259
+ protocol,
260
+ hostname,
261
+ port,
262
+ method: "POST",
263
+ headers,
264
+ path: resolvedPath,
265
+ body,
266
+ });
267
+ };
268
+ exports.se_CreatePrivacyBudgetTemplateCommand = se_CreatePrivacyBudgetTemplateCommand;
215
269
  const se_DeleteAnalysisTemplateCommand = async (input, context) => {
216
270
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
217
271
  const headers = {};
@@ -248,6 +302,25 @@ const se_DeleteCollaborationCommand = async (input, context) => {
248
302
  });
249
303
  };
250
304
  exports.se_DeleteCollaborationCommand = se_DeleteCollaborationCommand;
305
+ const se_DeleteConfiguredAudienceModelAssociationCommand = async (input, context) => {
306
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
307
+ const headers = {};
308
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
309
+ "/memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}";
310
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
311
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
312
+ let body;
313
+ return new protocol_http_1.HttpRequest({
314
+ protocol,
315
+ hostname,
316
+ port,
317
+ method: "DELETE",
318
+ headers,
319
+ path: resolvedPath,
320
+ body,
321
+ });
322
+ };
323
+ exports.se_DeleteConfiguredAudienceModelAssociationCommand = se_DeleteConfiguredAudienceModelAssociationCommand;
251
324
  const se_DeleteConfiguredTableCommand = async (input, context) => {
252
325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
253
326
  const headers = {};
@@ -340,6 +413,25 @@ const se_DeleteMembershipCommand = async (input, context) => {
340
413
  });
341
414
  };
342
415
  exports.se_DeleteMembershipCommand = se_DeleteMembershipCommand;
416
+ const se_DeletePrivacyBudgetTemplateCommand = async (input, context) => {
417
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
418
+ const headers = {};
419
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
420
+ "/memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}";
421
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
422
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
423
+ let body;
424
+ return new protocol_http_1.HttpRequest({
425
+ protocol,
426
+ hostname,
427
+ port,
428
+ method: "DELETE",
429
+ headers,
430
+ path: resolvedPath,
431
+ body,
432
+ });
433
+ };
434
+ exports.se_DeletePrivacyBudgetTemplateCommand = se_DeletePrivacyBudgetTemplateCommand;
343
435
  const se_GetAnalysisTemplateCommand = async (input, context) => {
344
436
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
345
437
  const headers = {};
@@ -395,6 +487,63 @@ const se_GetCollaborationAnalysisTemplateCommand = async (input, context) => {
395
487
  });
396
488
  };
397
489
  exports.se_GetCollaborationAnalysisTemplateCommand = se_GetCollaborationAnalysisTemplateCommand;
490
+ const se_GetCollaborationConfiguredAudienceModelAssociationCommand = async (input, context) => {
491
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
492
+ const headers = {};
493
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
494
+ "/collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}";
495
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
496
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
497
+ let body;
498
+ return new protocol_http_1.HttpRequest({
499
+ protocol,
500
+ hostname,
501
+ port,
502
+ method: "GET",
503
+ headers,
504
+ path: resolvedPath,
505
+ body,
506
+ });
507
+ };
508
+ exports.se_GetCollaborationConfiguredAudienceModelAssociationCommand = se_GetCollaborationConfiguredAudienceModelAssociationCommand;
509
+ const se_GetCollaborationPrivacyBudgetTemplateCommand = async (input, context) => {
510
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
511
+ const headers = {};
512
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
513
+ "/collaborations/{collaborationIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}";
514
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
515
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
516
+ let body;
517
+ return new protocol_http_1.HttpRequest({
518
+ protocol,
519
+ hostname,
520
+ port,
521
+ method: "GET",
522
+ headers,
523
+ path: resolvedPath,
524
+ body,
525
+ });
526
+ };
527
+ exports.se_GetCollaborationPrivacyBudgetTemplateCommand = se_GetCollaborationPrivacyBudgetTemplateCommand;
528
+ const se_GetConfiguredAudienceModelAssociationCommand = async (input, context) => {
529
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
530
+ const headers = {};
531
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
532
+ "/memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}";
533
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
534
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
535
+ let body;
536
+ return new protocol_http_1.HttpRequest({
537
+ protocol,
538
+ hostname,
539
+ port,
540
+ method: "GET",
541
+ headers,
542
+ path: resolvedPath,
543
+ body,
544
+ });
545
+ };
546
+ exports.se_GetConfiguredAudienceModelAssociationCommand = se_GetConfiguredAudienceModelAssociationCommand;
398
547
  const se_GetConfiguredTableCommand = async (input, context) => {
399
548
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
400
549
  const headers = {};
@@ -468,6 +617,25 @@ const se_GetMembershipCommand = async (input, context) => {
468
617
  });
469
618
  };
470
619
  exports.se_GetMembershipCommand = se_GetMembershipCommand;
620
+ const se_GetPrivacyBudgetTemplateCommand = async (input, context) => {
621
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
622
+ const headers = {};
623
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
624
+ "/memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}";
625
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
626
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
627
+ let body;
628
+ return new protocol_http_1.HttpRequest({
629
+ protocol,
630
+ hostname,
631
+ port,
632
+ method: "GET",
633
+ headers,
634
+ path: resolvedPath,
635
+ body,
636
+ });
637
+ };
638
+ exports.se_GetPrivacyBudgetTemplateCommand = se_GetPrivacyBudgetTemplateCommand;
471
639
  const se_GetProtectedQueryCommand = async (input, context) => {
472
640
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
473
641
  const headers = {};
@@ -572,6 +740,76 @@ const se_ListCollaborationAnalysisTemplatesCommand = async (input, context) => {
572
740
  });
573
741
  };
574
742
  exports.se_ListCollaborationAnalysisTemplatesCommand = se_ListCollaborationAnalysisTemplatesCommand;
743
+ const se_ListCollaborationConfiguredAudienceModelAssociationsCommand = async (input, context) => {
744
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
745
+ const headers = {};
746
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
747
+ "/collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations";
748
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
749
+ const query = (0, smithy_client_1.map)({
750
+ nextToken: [, input.nextToken],
751
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
752
+ });
753
+ let body;
754
+ return new protocol_http_1.HttpRequest({
755
+ protocol,
756
+ hostname,
757
+ port,
758
+ method: "GET",
759
+ headers,
760
+ path: resolvedPath,
761
+ query,
762
+ body,
763
+ });
764
+ };
765
+ exports.se_ListCollaborationConfiguredAudienceModelAssociationsCommand = se_ListCollaborationConfiguredAudienceModelAssociationsCommand;
766
+ const se_ListCollaborationPrivacyBudgetsCommand = async (input, context) => {
767
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
768
+ const headers = {};
769
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
770
+ "/collaborations/{collaborationIdentifier}/privacybudgets";
771
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
772
+ const query = (0, smithy_client_1.map)({
773
+ privacyBudgetType: [, (0, smithy_client_1.expectNonNull)(input.privacyBudgetType, `privacyBudgetType`)],
774
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
775
+ nextToken: [, input.nextToken],
776
+ });
777
+ let body;
778
+ return new protocol_http_1.HttpRequest({
779
+ protocol,
780
+ hostname,
781
+ port,
782
+ method: "GET",
783
+ headers,
784
+ path: resolvedPath,
785
+ query,
786
+ body,
787
+ });
788
+ };
789
+ exports.se_ListCollaborationPrivacyBudgetsCommand = se_ListCollaborationPrivacyBudgetsCommand;
790
+ const se_ListCollaborationPrivacyBudgetTemplatesCommand = async (input, context) => {
791
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
792
+ const headers = {};
793
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
794
+ "/collaborations/{collaborationIdentifier}/privacybudgettemplates";
795
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
796
+ const query = (0, smithy_client_1.map)({
797
+ nextToken: [, input.nextToken],
798
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
799
+ });
800
+ let body;
801
+ return new protocol_http_1.HttpRequest({
802
+ protocol,
803
+ hostname,
804
+ port,
805
+ method: "GET",
806
+ headers,
807
+ path: resolvedPath,
808
+ query,
809
+ body,
810
+ });
811
+ };
812
+ exports.se_ListCollaborationPrivacyBudgetTemplatesCommand = se_ListCollaborationPrivacyBudgetTemplatesCommand;
575
813
  const se_ListCollaborationsCommand = async (input, context) => {
576
814
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
577
815
  const headers = {};
@@ -594,6 +832,29 @@ const se_ListCollaborationsCommand = async (input, context) => {
594
832
  });
595
833
  };
596
834
  exports.se_ListCollaborationsCommand = se_ListCollaborationsCommand;
835
+ const se_ListConfiguredAudienceModelAssociationsCommand = async (input, context) => {
836
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
837
+ const headers = {};
838
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
839
+ "/memberships/{membershipIdentifier}/configuredaudiencemodelassociations";
840
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
841
+ const query = (0, smithy_client_1.map)({
842
+ nextToken: [, input.nextToken],
843
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
844
+ });
845
+ let body;
846
+ return new protocol_http_1.HttpRequest({
847
+ protocol,
848
+ hostname,
849
+ port,
850
+ method: "GET",
851
+ headers,
852
+ path: resolvedPath,
853
+ query,
854
+ body,
855
+ });
856
+ };
857
+ exports.se_ListConfiguredAudienceModelAssociationsCommand = se_ListConfiguredAudienceModelAssociationsCommand;
597
858
  const se_ListConfiguredTableAssociationsCommand = async (input, context) => {
598
859
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
599
860
  const headers = {};
@@ -683,6 +944,53 @@ const se_ListMembershipsCommand = async (input, context) => {
683
944
  });
684
945
  };
685
946
  exports.se_ListMembershipsCommand = se_ListMembershipsCommand;
947
+ const se_ListPrivacyBudgetsCommand = async (input, context) => {
948
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
949
+ const headers = {};
950
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
951
+ "/memberships/{membershipIdentifier}/privacybudgets";
952
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
953
+ const query = (0, smithy_client_1.map)({
954
+ privacyBudgetType: [, (0, smithy_client_1.expectNonNull)(input.privacyBudgetType, `privacyBudgetType`)],
955
+ nextToken: [, input.nextToken],
956
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
957
+ });
958
+ let body;
959
+ return new protocol_http_1.HttpRequest({
960
+ protocol,
961
+ hostname,
962
+ port,
963
+ method: "GET",
964
+ headers,
965
+ path: resolvedPath,
966
+ query,
967
+ body,
968
+ });
969
+ };
970
+ exports.se_ListPrivacyBudgetsCommand = se_ListPrivacyBudgetsCommand;
971
+ const se_ListPrivacyBudgetTemplatesCommand = async (input, context) => {
972
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
973
+ const headers = {};
974
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
975
+ "/memberships/{membershipIdentifier}/privacybudgettemplates";
976
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
977
+ const query = (0, smithy_client_1.map)({
978
+ nextToken: [, input.nextToken],
979
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
980
+ });
981
+ let body;
982
+ return new protocol_http_1.HttpRequest({
983
+ protocol,
984
+ hostname,
985
+ port,
986
+ method: "GET",
987
+ headers,
988
+ path: resolvedPath,
989
+ query,
990
+ body,
991
+ });
992
+ };
993
+ exports.se_ListPrivacyBudgetTemplatesCommand = se_ListPrivacyBudgetTemplatesCommand;
686
994
  const se_ListProtectedQueriesCommand = async (input, context) => {
687
995
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
688
996
  const headers = {};
@@ -748,19 +1056,42 @@ const se_ListTagsForResourceCommand = async (input, context) => {
748
1056
  });
749
1057
  };
750
1058
  exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
751
- const se_StartProtectedQueryCommand = async (input, context) => {
1059
+ const se_PreviewPrivacyImpactCommand = async (input, context) => {
752
1060
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
753
1061
  const headers = {
754
1062
  "content-type": "application/json",
755
1063
  };
756
1064
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
757
- "/memberships/{membershipIdentifier}/protectedQueries";
1065
+ "/memberships/{membershipIdentifier}/previewprivacyimpact";
758
1066
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
759
1067
  let body;
760
1068
  body = JSON.stringify((0, smithy_client_1.take)(input, {
761
- resultConfiguration: (_) => (0, smithy_client_1._json)(_),
762
- sqlParameters: (_) => (0, smithy_client_1._json)(_),
763
- type: [],
1069
+ parameters: (_) => (0, smithy_client_1._json)(_),
1070
+ }));
1071
+ return new protocol_http_1.HttpRequest({
1072
+ protocol,
1073
+ hostname,
1074
+ port,
1075
+ method: "POST",
1076
+ headers,
1077
+ path: resolvedPath,
1078
+ body,
1079
+ });
1080
+ };
1081
+ exports.se_PreviewPrivacyImpactCommand = se_PreviewPrivacyImpactCommand;
1082
+ const se_StartProtectedQueryCommand = async (input, context) => {
1083
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1084
+ const headers = {
1085
+ "content-type": "application/json",
1086
+ };
1087
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1088
+ "/memberships/{membershipIdentifier}/protectedQueries";
1089
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
1090
+ let body;
1091
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1092
+ resultConfiguration: (_) => (0, smithy_client_1._json)(_),
1093
+ sqlParameters: (_) => (0, smithy_client_1._json)(_),
1094
+ type: [],
764
1095
  }));
765
1096
  return new protocol_http_1.HttpRequest({
766
1097
  protocol,
@@ -866,6 +1197,31 @@ const se_UpdateCollaborationCommand = async (input, context) => {
866
1197
  });
867
1198
  };
868
1199
  exports.se_UpdateCollaborationCommand = se_UpdateCollaborationCommand;
1200
+ const se_UpdateConfiguredAudienceModelAssociationCommand = async (input, context) => {
1201
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1202
+ const headers = {
1203
+ "content-type": "application/json",
1204
+ };
1205
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1206
+ "/memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}";
1207
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
1208
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
1209
+ let body;
1210
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1211
+ description: [],
1212
+ name: [],
1213
+ }));
1214
+ return new protocol_http_1.HttpRequest({
1215
+ protocol,
1216
+ hostname,
1217
+ port,
1218
+ method: "PATCH",
1219
+ headers,
1220
+ path: resolvedPath,
1221
+ body,
1222
+ });
1223
+ };
1224
+ exports.se_UpdateConfiguredAudienceModelAssociationCommand = se_UpdateConfiguredAudienceModelAssociationCommand;
869
1225
  const se_UpdateConfiguredTableCommand = async (input, context) => {
870
1226
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
871
1227
  const headers = {
@@ -962,6 +1318,31 @@ const se_UpdateMembershipCommand = async (input, context) => {
962
1318
  });
963
1319
  };
964
1320
  exports.se_UpdateMembershipCommand = se_UpdateMembershipCommand;
1321
+ const se_UpdatePrivacyBudgetTemplateCommand = async (input, context) => {
1322
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1323
+ const headers = {
1324
+ "content-type": "application/json",
1325
+ };
1326
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1327
+ "/memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}";
1328
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
1329
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
1330
+ let body;
1331
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1332
+ parameters: (_) => (0, smithy_client_1._json)(_),
1333
+ privacyBudgetType: [],
1334
+ }));
1335
+ return new protocol_http_1.HttpRequest({
1336
+ protocol,
1337
+ hostname,
1338
+ port,
1339
+ method: "PATCH",
1340
+ headers,
1341
+ path: resolvedPath,
1342
+ body,
1343
+ });
1344
+ };
1345
+ exports.se_UpdatePrivacyBudgetTemplateCommand = se_UpdatePrivacyBudgetTemplateCommand;
965
1346
  const se_UpdateProtectedQueryCommand = async (input, context) => {
966
1347
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
967
1348
  const headers = {
@@ -1178,6 +1559,58 @@ const de_CreateCollaborationCommandError = async (output, context) => {
1178
1559
  });
1179
1560
  }
1180
1561
  };
1562
+ const de_CreateConfiguredAudienceModelAssociationCommand = async (output, context) => {
1563
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1564
+ return de_CreateConfiguredAudienceModelAssociationCommandError(output, context);
1565
+ }
1566
+ const contents = (0, smithy_client_1.map)({
1567
+ $metadata: deserializeMetadata(output),
1568
+ });
1569
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1570
+ const doc = (0, smithy_client_1.take)(data, {
1571
+ configuredAudienceModelAssociation: (_) => de_ConfiguredAudienceModelAssociation(_, context),
1572
+ });
1573
+ Object.assign(contents, doc);
1574
+ return contents;
1575
+ };
1576
+ exports.de_CreateConfiguredAudienceModelAssociationCommand = de_CreateConfiguredAudienceModelAssociationCommand;
1577
+ const de_CreateConfiguredAudienceModelAssociationCommandError = async (output, context) => {
1578
+ const parsedOutput = {
1579
+ ...output,
1580
+ body: await parseErrorBody(output.body, context),
1581
+ };
1582
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1583
+ switch (errorCode) {
1584
+ case "AccessDeniedException":
1585
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
1586
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1587
+ case "ConflictException":
1588
+ case "com.amazonaws.cleanrooms#ConflictException":
1589
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1590
+ case "InternalServerException":
1591
+ case "com.amazonaws.cleanrooms#InternalServerException":
1592
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1593
+ case "ResourceNotFoundException":
1594
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
1595
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1596
+ case "ServiceQuotaExceededException":
1597
+ case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
1598
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1599
+ case "ThrottlingException":
1600
+ case "com.amazonaws.cleanrooms#ThrottlingException":
1601
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1602
+ case "ValidationException":
1603
+ case "com.amazonaws.cleanrooms#ValidationException":
1604
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1605
+ default:
1606
+ const parsedBody = parsedOutput.body;
1607
+ return throwDefaultError({
1608
+ output,
1609
+ parsedBody,
1610
+ errorCode,
1611
+ });
1612
+ }
1613
+ };
1181
1614
  const de_CreateConfiguredTableCommand = async (output, context) => {
1182
1615
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1183
1616
  return de_CreateConfiguredTableCommandError(output, context);
@@ -1383,6 +1816,55 @@ const de_CreateMembershipCommandError = async (output, context) => {
1383
1816
  });
1384
1817
  }
1385
1818
  };
1819
+ const de_CreatePrivacyBudgetTemplateCommand = async (output, context) => {
1820
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1821
+ return de_CreatePrivacyBudgetTemplateCommandError(output, context);
1822
+ }
1823
+ const contents = (0, smithy_client_1.map)({
1824
+ $metadata: deserializeMetadata(output),
1825
+ });
1826
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1827
+ const doc = (0, smithy_client_1.take)(data, {
1828
+ privacyBudgetTemplate: (_) => de_PrivacyBudgetTemplate(_, context),
1829
+ });
1830
+ Object.assign(contents, doc);
1831
+ return contents;
1832
+ };
1833
+ exports.de_CreatePrivacyBudgetTemplateCommand = de_CreatePrivacyBudgetTemplateCommand;
1834
+ const de_CreatePrivacyBudgetTemplateCommandError = async (output, context) => {
1835
+ const parsedOutput = {
1836
+ ...output,
1837
+ body: await parseErrorBody(output.body, context),
1838
+ };
1839
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1840
+ switch (errorCode) {
1841
+ case "AccessDeniedException":
1842
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
1843
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1844
+ case "ConflictException":
1845
+ case "com.amazonaws.cleanrooms#ConflictException":
1846
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1847
+ case "InternalServerException":
1848
+ case "com.amazonaws.cleanrooms#InternalServerException":
1849
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1850
+ case "ResourceNotFoundException":
1851
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
1852
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1853
+ case "ThrottlingException":
1854
+ case "com.amazonaws.cleanrooms#ThrottlingException":
1855
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1856
+ case "ValidationException":
1857
+ case "com.amazonaws.cleanrooms#ValidationException":
1858
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1859
+ default:
1860
+ const parsedBody = parsedOutput.body;
1861
+ return throwDefaultError({
1862
+ output,
1863
+ parsedBody,
1864
+ errorCode,
1865
+ });
1866
+ }
1867
+ };
1386
1868
  const de_DeleteAnalysisTemplateCommand = async (output, context) => {
1387
1869
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1388
1870
  return de_DeleteAnalysisTemplateCommandError(output, context);
@@ -1464,6 +1946,48 @@ const de_DeleteCollaborationCommandError = async (output, context) => {
1464
1946
  });
1465
1947
  }
1466
1948
  };
1949
+ const de_DeleteConfiguredAudienceModelAssociationCommand = async (output, context) => {
1950
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1951
+ return de_DeleteConfiguredAudienceModelAssociationCommandError(output, context);
1952
+ }
1953
+ const contents = (0, smithy_client_1.map)({
1954
+ $metadata: deserializeMetadata(output),
1955
+ });
1956
+ await (0, smithy_client_1.collectBody)(output.body, context);
1957
+ return contents;
1958
+ };
1959
+ exports.de_DeleteConfiguredAudienceModelAssociationCommand = de_DeleteConfiguredAudienceModelAssociationCommand;
1960
+ const de_DeleteConfiguredAudienceModelAssociationCommandError = async (output, context) => {
1961
+ const parsedOutput = {
1962
+ ...output,
1963
+ body: await parseErrorBody(output.body, context),
1964
+ };
1965
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1966
+ switch (errorCode) {
1967
+ case "AccessDeniedException":
1968
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
1969
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1970
+ case "InternalServerException":
1971
+ case "com.amazonaws.cleanrooms#InternalServerException":
1972
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1973
+ case "ResourceNotFoundException":
1974
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
1975
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1976
+ case "ThrottlingException":
1977
+ case "com.amazonaws.cleanrooms#ThrottlingException":
1978
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1979
+ case "ValidationException":
1980
+ case "com.amazonaws.cleanrooms#ValidationException":
1981
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1982
+ default:
1983
+ const parsedBody = parsedOutput.body;
1984
+ return throwDefaultError({
1985
+ output,
1986
+ parsedBody,
1987
+ errorCode,
1988
+ });
1989
+ }
1990
+ };
1467
1991
  const de_DeleteConfiguredTableCommand = async (output, context) => {
1468
1992
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1469
1993
  return de_DeleteConfiguredTableCommandError(output, context);
@@ -1516,11 +2040,510 @@ const de_DeleteConfiguredTableAnalysisRuleCommand = async (output, context) => {
1516
2040
  const contents = (0, smithy_client_1.map)({
1517
2041
  $metadata: deserializeMetadata(output),
1518
2042
  });
1519
- await (0, smithy_client_1.collectBody)(output.body, context);
2043
+ await (0, smithy_client_1.collectBody)(output.body, context);
2044
+ return contents;
2045
+ };
2046
+ exports.de_DeleteConfiguredTableAnalysisRuleCommand = de_DeleteConfiguredTableAnalysisRuleCommand;
2047
+ const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context) => {
2048
+ const parsedOutput = {
2049
+ ...output,
2050
+ body: await parseErrorBody(output.body, context),
2051
+ };
2052
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2053
+ switch (errorCode) {
2054
+ case "AccessDeniedException":
2055
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2056
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2057
+ case "ConflictException":
2058
+ case "com.amazonaws.cleanrooms#ConflictException":
2059
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2060
+ case "InternalServerException":
2061
+ case "com.amazonaws.cleanrooms#InternalServerException":
2062
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2063
+ case "ResourceNotFoundException":
2064
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2065
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2066
+ case "ThrottlingException":
2067
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2068
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2069
+ case "ValidationException":
2070
+ case "com.amazonaws.cleanrooms#ValidationException":
2071
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2072
+ default:
2073
+ const parsedBody = parsedOutput.body;
2074
+ return throwDefaultError({
2075
+ output,
2076
+ parsedBody,
2077
+ errorCode,
2078
+ });
2079
+ }
2080
+ };
2081
+ const de_DeleteConfiguredTableAssociationCommand = async (output, context) => {
2082
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2083
+ return de_DeleteConfiguredTableAssociationCommandError(output, context);
2084
+ }
2085
+ const contents = (0, smithy_client_1.map)({
2086
+ $metadata: deserializeMetadata(output),
2087
+ });
2088
+ await (0, smithy_client_1.collectBody)(output.body, context);
2089
+ return contents;
2090
+ };
2091
+ exports.de_DeleteConfiguredTableAssociationCommand = de_DeleteConfiguredTableAssociationCommand;
2092
+ const de_DeleteConfiguredTableAssociationCommandError = async (output, context) => {
2093
+ const parsedOutput = {
2094
+ ...output,
2095
+ body: await parseErrorBody(output.body, context),
2096
+ };
2097
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2098
+ switch (errorCode) {
2099
+ case "AccessDeniedException":
2100
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2101
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2102
+ case "ConflictException":
2103
+ case "com.amazonaws.cleanrooms#ConflictException":
2104
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2105
+ case "InternalServerException":
2106
+ case "com.amazonaws.cleanrooms#InternalServerException":
2107
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2108
+ case "ResourceNotFoundException":
2109
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2110
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2111
+ case "ThrottlingException":
2112
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2113
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2114
+ case "ValidationException":
2115
+ case "com.amazonaws.cleanrooms#ValidationException":
2116
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2117
+ default:
2118
+ const parsedBody = parsedOutput.body;
2119
+ return throwDefaultError({
2120
+ output,
2121
+ parsedBody,
2122
+ errorCode,
2123
+ });
2124
+ }
2125
+ };
2126
+ const de_DeleteMemberCommand = async (output, context) => {
2127
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2128
+ return de_DeleteMemberCommandError(output, context);
2129
+ }
2130
+ const contents = (0, smithy_client_1.map)({
2131
+ $metadata: deserializeMetadata(output),
2132
+ });
2133
+ await (0, smithy_client_1.collectBody)(output.body, context);
2134
+ return contents;
2135
+ };
2136
+ exports.de_DeleteMemberCommand = de_DeleteMemberCommand;
2137
+ const de_DeleteMemberCommandError = async (output, context) => {
2138
+ const parsedOutput = {
2139
+ ...output,
2140
+ body: await parseErrorBody(output.body, context),
2141
+ };
2142
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2143
+ switch (errorCode) {
2144
+ case "AccessDeniedException":
2145
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2146
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2147
+ case "ConflictException":
2148
+ case "com.amazonaws.cleanrooms#ConflictException":
2149
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2150
+ case "InternalServerException":
2151
+ case "com.amazonaws.cleanrooms#InternalServerException":
2152
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2153
+ case "ResourceNotFoundException":
2154
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2155
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2156
+ case "ThrottlingException":
2157
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2158
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2159
+ case "ValidationException":
2160
+ case "com.amazonaws.cleanrooms#ValidationException":
2161
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2162
+ default:
2163
+ const parsedBody = parsedOutput.body;
2164
+ return throwDefaultError({
2165
+ output,
2166
+ parsedBody,
2167
+ errorCode,
2168
+ });
2169
+ }
2170
+ };
2171
+ const de_DeleteMembershipCommand = async (output, context) => {
2172
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2173
+ return de_DeleteMembershipCommandError(output, context);
2174
+ }
2175
+ const contents = (0, smithy_client_1.map)({
2176
+ $metadata: deserializeMetadata(output),
2177
+ });
2178
+ await (0, smithy_client_1.collectBody)(output.body, context);
2179
+ return contents;
2180
+ };
2181
+ exports.de_DeleteMembershipCommand = de_DeleteMembershipCommand;
2182
+ const de_DeleteMembershipCommandError = async (output, context) => {
2183
+ const parsedOutput = {
2184
+ ...output,
2185
+ body: await parseErrorBody(output.body, context),
2186
+ };
2187
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2188
+ switch (errorCode) {
2189
+ case "AccessDeniedException":
2190
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2191
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2192
+ case "ConflictException":
2193
+ case "com.amazonaws.cleanrooms#ConflictException":
2194
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2195
+ case "InternalServerException":
2196
+ case "com.amazonaws.cleanrooms#InternalServerException":
2197
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2198
+ case "ResourceNotFoundException":
2199
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2200
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2201
+ case "ThrottlingException":
2202
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2203
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2204
+ case "ValidationException":
2205
+ case "com.amazonaws.cleanrooms#ValidationException":
2206
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2207
+ default:
2208
+ const parsedBody = parsedOutput.body;
2209
+ return throwDefaultError({
2210
+ output,
2211
+ parsedBody,
2212
+ errorCode,
2213
+ });
2214
+ }
2215
+ };
2216
+ const de_DeletePrivacyBudgetTemplateCommand = async (output, context) => {
2217
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2218
+ return de_DeletePrivacyBudgetTemplateCommandError(output, context);
2219
+ }
2220
+ const contents = (0, smithy_client_1.map)({
2221
+ $metadata: deserializeMetadata(output),
2222
+ });
2223
+ await (0, smithy_client_1.collectBody)(output.body, context);
2224
+ return contents;
2225
+ };
2226
+ exports.de_DeletePrivacyBudgetTemplateCommand = de_DeletePrivacyBudgetTemplateCommand;
2227
+ const de_DeletePrivacyBudgetTemplateCommandError = async (output, context) => {
2228
+ const parsedOutput = {
2229
+ ...output,
2230
+ body: await parseErrorBody(output.body, context),
2231
+ };
2232
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2233
+ switch (errorCode) {
2234
+ case "AccessDeniedException":
2235
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2236
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2237
+ case "InternalServerException":
2238
+ case "com.amazonaws.cleanrooms#InternalServerException":
2239
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2240
+ case "ResourceNotFoundException":
2241
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2242
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2243
+ case "ThrottlingException":
2244
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2245
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2246
+ case "ValidationException":
2247
+ case "com.amazonaws.cleanrooms#ValidationException":
2248
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2249
+ default:
2250
+ const parsedBody = parsedOutput.body;
2251
+ return throwDefaultError({
2252
+ output,
2253
+ parsedBody,
2254
+ errorCode,
2255
+ });
2256
+ }
2257
+ };
2258
+ const de_GetAnalysisTemplateCommand = async (output, context) => {
2259
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2260
+ return de_GetAnalysisTemplateCommandError(output, context);
2261
+ }
2262
+ const contents = (0, smithy_client_1.map)({
2263
+ $metadata: deserializeMetadata(output),
2264
+ });
2265
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2266
+ const doc = (0, smithy_client_1.take)(data, {
2267
+ analysisTemplate: (_) => de_AnalysisTemplate(_, context),
2268
+ });
2269
+ Object.assign(contents, doc);
2270
+ return contents;
2271
+ };
2272
+ exports.de_GetAnalysisTemplateCommand = de_GetAnalysisTemplateCommand;
2273
+ const de_GetAnalysisTemplateCommandError = async (output, context) => {
2274
+ const parsedOutput = {
2275
+ ...output,
2276
+ body: await parseErrorBody(output.body, context),
2277
+ };
2278
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2279
+ switch (errorCode) {
2280
+ case "AccessDeniedException":
2281
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2282
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2283
+ case "InternalServerException":
2284
+ case "com.amazonaws.cleanrooms#InternalServerException":
2285
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2286
+ case "ResourceNotFoundException":
2287
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2288
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2289
+ case "ThrottlingException":
2290
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2291
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2292
+ case "ValidationException":
2293
+ case "com.amazonaws.cleanrooms#ValidationException":
2294
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2295
+ default:
2296
+ const parsedBody = parsedOutput.body;
2297
+ return throwDefaultError({
2298
+ output,
2299
+ parsedBody,
2300
+ errorCode,
2301
+ });
2302
+ }
2303
+ };
2304
+ const de_GetCollaborationCommand = async (output, context) => {
2305
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2306
+ return de_GetCollaborationCommandError(output, context);
2307
+ }
2308
+ const contents = (0, smithy_client_1.map)({
2309
+ $metadata: deserializeMetadata(output),
2310
+ });
2311
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2312
+ const doc = (0, smithy_client_1.take)(data, {
2313
+ collaboration: (_) => de_Collaboration(_, context),
2314
+ });
2315
+ Object.assign(contents, doc);
2316
+ return contents;
2317
+ };
2318
+ exports.de_GetCollaborationCommand = de_GetCollaborationCommand;
2319
+ const de_GetCollaborationCommandError = async (output, context) => {
2320
+ const parsedOutput = {
2321
+ ...output,
2322
+ body: await parseErrorBody(output.body, context),
2323
+ };
2324
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2325
+ switch (errorCode) {
2326
+ case "AccessDeniedException":
2327
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2328
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2329
+ case "InternalServerException":
2330
+ case "com.amazonaws.cleanrooms#InternalServerException":
2331
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2332
+ case "ThrottlingException":
2333
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2334
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2335
+ case "ValidationException":
2336
+ case "com.amazonaws.cleanrooms#ValidationException":
2337
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2338
+ default:
2339
+ const parsedBody = parsedOutput.body;
2340
+ return throwDefaultError({
2341
+ output,
2342
+ parsedBody,
2343
+ errorCode,
2344
+ });
2345
+ }
2346
+ };
2347
+ const de_GetCollaborationAnalysisTemplateCommand = async (output, context) => {
2348
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2349
+ return de_GetCollaborationAnalysisTemplateCommandError(output, context);
2350
+ }
2351
+ const contents = (0, smithy_client_1.map)({
2352
+ $metadata: deserializeMetadata(output),
2353
+ });
2354
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2355
+ const doc = (0, smithy_client_1.take)(data, {
2356
+ collaborationAnalysisTemplate: (_) => de_CollaborationAnalysisTemplate(_, context),
2357
+ });
2358
+ Object.assign(contents, doc);
2359
+ return contents;
2360
+ };
2361
+ exports.de_GetCollaborationAnalysisTemplateCommand = de_GetCollaborationAnalysisTemplateCommand;
2362
+ const de_GetCollaborationAnalysisTemplateCommandError = async (output, context) => {
2363
+ const parsedOutput = {
2364
+ ...output,
2365
+ body: await parseErrorBody(output.body, context),
2366
+ };
2367
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2368
+ switch (errorCode) {
2369
+ case "AccessDeniedException":
2370
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2371
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2372
+ case "InternalServerException":
2373
+ case "com.amazonaws.cleanrooms#InternalServerException":
2374
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2375
+ case "ResourceNotFoundException":
2376
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2377
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2378
+ case "ThrottlingException":
2379
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2380
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2381
+ case "ValidationException":
2382
+ case "com.amazonaws.cleanrooms#ValidationException":
2383
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2384
+ default:
2385
+ const parsedBody = parsedOutput.body;
2386
+ return throwDefaultError({
2387
+ output,
2388
+ parsedBody,
2389
+ errorCode,
2390
+ });
2391
+ }
2392
+ };
2393
+ const de_GetCollaborationConfiguredAudienceModelAssociationCommand = async (output, context) => {
2394
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2395
+ return de_GetCollaborationConfiguredAudienceModelAssociationCommandError(output, context);
2396
+ }
2397
+ const contents = (0, smithy_client_1.map)({
2398
+ $metadata: deserializeMetadata(output),
2399
+ });
2400
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2401
+ const doc = (0, smithy_client_1.take)(data, {
2402
+ collaborationConfiguredAudienceModelAssociation: (_) => de_CollaborationConfiguredAudienceModelAssociation(_, context),
2403
+ });
2404
+ Object.assign(contents, doc);
2405
+ return contents;
2406
+ };
2407
+ exports.de_GetCollaborationConfiguredAudienceModelAssociationCommand = de_GetCollaborationConfiguredAudienceModelAssociationCommand;
2408
+ const de_GetCollaborationConfiguredAudienceModelAssociationCommandError = async (output, context) => {
2409
+ const parsedOutput = {
2410
+ ...output,
2411
+ body: await parseErrorBody(output.body, context),
2412
+ };
2413
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2414
+ switch (errorCode) {
2415
+ case "AccessDeniedException":
2416
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2417
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2418
+ case "InternalServerException":
2419
+ case "com.amazonaws.cleanrooms#InternalServerException":
2420
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2421
+ case "ResourceNotFoundException":
2422
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2423
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2424
+ case "ThrottlingException":
2425
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2426
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2427
+ case "ValidationException":
2428
+ case "com.amazonaws.cleanrooms#ValidationException":
2429
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2430
+ default:
2431
+ const parsedBody = parsedOutput.body;
2432
+ return throwDefaultError({
2433
+ output,
2434
+ parsedBody,
2435
+ errorCode,
2436
+ });
2437
+ }
2438
+ };
2439
+ const de_GetCollaborationPrivacyBudgetTemplateCommand = async (output, context) => {
2440
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2441
+ return de_GetCollaborationPrivacyBudgetTemplateCommandError(output, context);
2442
+ }
2443
+ const contents = (0, smithy_client_1.map)({
2444
+ $metadata: deserializeMetadata(output),
2445
+ });
2446
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2447
+ const doc = (0, smithy_client_1.take)(data, {
2448
+ collaborationPrivacyBudgetTemplate: (_) => de_CollaborationPrivacyBudgetTemplate(_, context),
2449
+ });
2450
+ Object.assign(contents, doc);
2451
+ return contents;
2452
+ };
2453
+ exports.de_GetCollaborationPrivacyBudgetTemplateCommand = de_GetCollaborationPrivacyBudgetTemplateCommand;
2454
+ const de_GetCollaborationPrivacyBudgetTemplateCommandError = async (output, context) => {
2455
+ const parsedOutput = {
2456
+ ...output,
2457
+ body: await parseErrorBody(output.body, context),
2458
+ };
2459
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2460
+ switch (errorCode) {
2461
+ case "AccessDeniedException":
2462
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2463
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2464
+ case "InternalServerException":
2465
+ case "com.amazonaws.cleanrooms#InternalServerException":
2466
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2467
+ case "ResourceNotFoundException":
2468
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2469
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2470
+ case "ThrottlingException":
2471
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2472
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2473
+ case "ValidationException":
2474
+ case "com.amazonaws.cleanrooms#ValidationException":
2475
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2476
+ default:
2477
+ const parsedBody = parsedOutput.body;
2478
+ return throwDefaultError({
2479
+ output,
2480
+ parsedBody,
2481
+ errorCode,
2482
+ });
2483
+ }
2484
+ };
2485
+ const de_GetConfiguredAudienceModelAssociationCommand = async (output, context) => {
2486
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2487
+ return de_GetConfiguredAudienceModelAssociationCommandError(output, context);
2488
+ }
2489
+ const contents = (0, smithy_client_1.map)({
2490
+ $metadata: deserializeMetadata(output),
2491
+ });
2492
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2493
+ const doc = (0, smithy_client_1.take)(data, {
2494
+ configuredAudienceModelAssociation: (_) => de_ConfiguredAudienceModelAssociation(_, context),
2495
+ });
2496
+ Object.assign(contents, doc);
2497
+ return contents;
2498
+ };
2499
+ exports.de_GetConfiguredAudienceModelAssociationCommand = de_GetConfiguredAudienceModelAssociationCommand;
2500
+ const de_GetConfiguredAudienceModelAssociationCommandError = async (output, context) => {
2501
+ const parsedOutput = {
2502
+ ...output,
2503
+ body: await parseErrorBody(output.body, context),
2504
+ };
2505
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2506
+ switch (errorCode) {
2507
+ case "AccessDeniedException":
2508
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
2509
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2510
+ case "InternalServerException":
2511
+ case "com.amazonaws.cleanrooms#InternalServerException":
2512
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2513
+ case "ResourceNotFoundException":
2514
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2515
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2516
+ case "ThrottlingException":
2517
+ case "com.amazonaws.cleanrooms#ThrottlingException":
2518
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2519
+ case "ValidationException":
2520
+ case "com.amazonaws.cleanrooms#ValidationException":
2521
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2522
+ default:
2523
+ const parsedBody = parsedOutput.body;
2524
+ return throwDefaultError({
2525
+ output,
2526
+ parsedBody,
2527
+ errorCode,
2528
+ });
2529
+ }
2530
+ };
2531
+ const de_GetConfiguredTableCommand = async (output, context) => {
2532
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2533
+ return de_GetConfiguredTableCommandError(output, context);
2534
+ }
2535
+ const contents = (0, smithy_client_1.map)({
2536
+ $metadata: deserializeMetadata(output),
2537
+ });
2538
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2539
+ const doc = (0, smithy_client_1.take)(data, {
2540
+ configuredTable: (_) => de_ConfiguredTable(_, context),
2541
+ });
2542
+ Object.assign(contents, doc);
1520
2543
  return contents;
1521
2544
  };
1522
- exports.de_DeleteConfiguredTableAnalysisRuleCommand = de_DeleteConfiguredTableAnalysisRuleCommand;
1523
- const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context) => {
2545
+ exports.de_GetConfiguredTableCommand = de_GetConfiguredTableCommand;
2546
+ const de_GetConfiguredTableCommandError = async (output, context) => {
1524
2547
  const parsedOutput = {
1525
2548
  ...output,
1526
2549
  body: await parseErrorBody(output.body, context),
@@ -1530,9 +2553,6 @@ const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context)
1530
2553
  case "AccessDeniedException":
1531
2554
  case "com.amazonaws.cleanrooms#AccessDeniedException":
1532
2555
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1533
- case "ConflictException":
1534
- case "com.amazonaws.cleanrooms#ConflictException":
1535
- throw await de_ConflictExceptionRes(parsedOutput, context);
1536
2556
  case "InternalServerException":
1537
2557
  case "com.amazonaws.cleanrooms#InternalServerException":
1538
2558
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -1554,18 +2574,22 @@ const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context)
1554
2574
  });
1555
2575
  }
1556
2576
  };
1557
- const de_DeleteConfiguredTableAssociationCommand = async (output, context) => {
1558
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1559
- return de_DeleteConfiguredTableAssociationCommandError(output, context);
2577
+ const de_GetConfiguredTableAnalysisRuleCommand = async (output, context) => {
2578
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2579
+ return de_GetConfiguredTableAnalysisRuleCommandError(output, context);
1560
2580
  }
1561
2581
  const contents = (0, smithy_client_1.map)({
1562
2582
  $metadata: deserializeMetadata(output),
1563
2583
  });
1564
- await (0, smithy_client_1.collectBody)(output.body, context);
2584
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2585
+ const doc = (0, smithy_client_1.take)(data, {
2586
+ analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
2587
+ });
2588
+ Object.assign(contents, doc);
1565
2589
  return contents;
1566
2590
  };
1567
- exports.de_DeleteConfiguredTableAssociationCommand = de_DeleteConfiguredTableAssociationCommand;
1568
- const de_DeleteConfiguredTableAssociationCommandError = async (output, context) => {
2591
+ exports.de_GetConfiguredTableAnalysisRuleCommand = de_GetConfiguredTableAnalysisRuleCommand;
2592
+ const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) => {
1569
2593
  const parsedOutput = {
1570
2594
  ...output,
1571
2595
  body: await parseErrorBody(output.body, context),
@@ -1575,9 +2599,6 @@ const de_DeleteConfiguredTableAssociationCommandError = async (output, context)
1575
2599
  case "AccessDeniedException":
1576
2600
  case "com.amazonaws.cleanrooms#AccessDeniedException":
1577
2601
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1578
- case "ConflictException":
1579
- case "com.amazonaws.cleanrooms#ConflictException":
1580
- throw await de_ConflictExceptionRes(parsedOutput, context);
1581
2602
  case "InternalServerException":
1582
2603
  case "com.amazonaws.cleanrooms#InternalServerException":
1583
2604
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -1599,18 +2620,22 @@ const de_DeleteConfiguredTableAssociationCommandError = async (output, context)
1599
2620
  });
1600
2621
  }
1601
2622
  };
1602
- const de_DeleteMemberCommand = async (output, context) => {
1603
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1604
- return de_DeleteMemberCommandError(output, context);
2623
+ const de_GetConfiguredTableAssociationCommand = async (output, context) => {
2624
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2625
+ return de_GetConfiguredTableAssociationCommandError(output, context);
1605
2626
  }
1606
2627
  const contents = (0, smithy_client_1.map)({
1607
2628
  $metadata: deserializeMetadata(output),
1608
2629
  });
1609
- await (0, smithy_client_1.collectBody)(output.body, context);
2630
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2631
+ const doc = (0, smithy_client_1.take)(data, {
2632
+ configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
2633
+ });
2634
+ Object.assign(contents, doc);
1610
2635
  return contents;
1611
2636
  };
1612
- exports.de_DeleteMemberCommand = de_DeleteMemberCommand;
1613
- const de_DeleteMemberCommandError = async (output, context) => {
2637
+ exports.de_GetConfiguredTableAssociationCommand = de_GetConfiguredTableAssociationCommand;
2638
+ const de_GetConfiguredTableAssociationCommandError = async (output, context) => {
1614
2639
  const parsedOutput = {
1615
2640
  ...output,
1616
2641
  body: await parseErrorBody(output.body, context),
@@ -1620,9 +2645,6 @@ const de_DeleteMemberCommandError = async (output, context) => {
1620
2645
  case "AccessDeniedException":
1621
2646
  case "com.amazonaws.cleanrooms#AccessDeniedException":
1622
2647
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1623
- case "ConflictException":
1624
- case "com.amazonaws.cleanrooms#ConflictException":
1625
- throw await de_ConflictExceptionRes(parsedOutput, context);
1626
2648
  case "InternalServerException":
1627
2649
  case "com.amazonaws.cleanrooms#InternalServerException":
1628
2650
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -1644,18 +2666,22 @@ const de_DeleteMemberCommandError = async (output, context) => {
1644
2666
  });
1645
2667
  }
1646
2668
  };
1647
- const de_DeleteMembershipCommand = async (output, context) => {
1648
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1649
- return de_DeleteMembershipCommandError(output, context);
2669
+ const de_GetMembershipCommand = async (output, context) => {
2670
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2671
+ return de_GetMembershipCommandError(output, context);
1650
2672
  }
1651
2673
  const contents = (0, smithy_client_1.map)({
1652
2674
  $metadata: deserializeMetadata(output),
1653
2675
  });
1654
- await (0, smithy_client_1.collectBody)(output.body, context);
2676
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2677
+ const doc = (0, smithy_client_1.take)(data, {
2678
+ membership: (_) => de_Membership(_, context),
2679
+ });
2680
+ Object.assign(contents, doc);
1655
2681
  return contents;
1656
2682
  };
1657
- exports.de_DeleteMembershipCommand = de_DeleteMembershipCommand;
1658
- const de_DeleteMembershipCommandError = async (output, context) => {
2683
+ exports.de_GetMembershipCommand = de_GetMembershipCommand;
2684
+ const de_GetMembershipCommandError = async (output, context) => {
1659
2685
  const parsedOutput = {
1660
2686
  ...output,
1661
2687
  body: await parseErrorBody(output.body, context),
@@ -1665,9 +2691,6 @@ const de_DeleteMembershipCommandError = async (output, context) => {
1665
2691
  case "AccessDeniedException":
1666
2692
  case "com.amazonaws.cleanrooms#AccessDeniedException":
1667
2693
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1668
- case "ConflictException":
1669
- case "com.amazonaws.cleanrooms#ConflictException":
1670
- throw await de_ConflictExceptionRes(parsedOutput, context);
1671
2694
  case "InternalServerException":
1672
2695
  case "com.amazonaws.cleanrooms#InternalServerException":
1673
2696
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -1689,22 +2712,22 @@ const de_DeleteMembershipCommandError = async (output, context) => {
1689
2712
  });
1690
2713
  }
1691
2714
  };
1692
- const de_GetAnalysisTemplateCommand = async (output, context) => {
2715
+ const de_GetPrivacyBudgetTemplateCommand = async (output, context) => {
1693
2716
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1694
- return de_GetAnalysisTemplateCommandError(output, context);
2717
+ return de_GetPrivacyBudgetTemplateCommandError(output, context);
1695
2718
  }
1696
2719
  const contents = (0, smithy_client_1.map)({
1697
2720
  $metadata: deserializeMetadata(output),
1698
2721
  });
1699
2722
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1700
2723
  const doc = (0, smithy_client_1.take)(data, {
1701
- analysisTemplate: (_) => de_AnalysisTemplate(_, context),
2724
+ privacyBudgetTemplate: (_) => de_PrivacyBudgetTemplate(_, context),
1702
2725
  });
1703
2726
  Object.assign(contents, doc);
1704
2727
  return contents;
1705
2728
  };
1706
- exports.de_GetAnalysisTemplateCommand = de_GetAnalysisTemplateCommand;
1707
- const de_GetAnalysisTemplateCommandError = async (output, context) => {
2729
+ exports.de_GetPrivacyBudgetTemplateCommand = de_GetPrivacyBudgetTemplateCommand;
2730
+ const de_GetPrivacyBudgetTemplateCommandError = async (output, context) => {
1708
2731
  const parsedOutput = {
1709
2732
  ...output,
1710
2733
  body: await parseErrorBody(output.body, context),
@@ -1735,22 +2758,22 @@ const de_GetAnalysisTemplateCommandError = async (output, context) => {
1735
2758
  });
1736
2759
  }
1737
2760
  };
1738
- const de_GetCollaborationCommand = async (output, context) => {
2761
+ const de_GetProtectedQueryCommand = async (output, context) => {
1739
2762
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1740
- return de_GetCollaborationCommandError(output, context);
2763
+ return de_GetProtectedQueryCommandError(output, context);
1741
2764
  }
1742
2765
  const contents = (0, smithy_client_1.map)({
1743
2766
  $metadata: deserializeMetadata(output),
1744
2767
  });
1745
2768
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1746
2769
  const doc = (0, smithy_client_1.take)(data, {
1747
- collaboration: (_) => de_Collaboration(_, context),
2770
+ protectedQuery: (_) => de_ProtectedQuery(_, context),
1748
2771
  });
1749
2772
  Object.assign(contents, doc);
1750
2773
  return contents;
1751
2774
  };
1752
- exports.de_GetCollaborationCommand = de_GetCollaborationCommand;
1753
- const de_GetCollaborationCommandError = async (output, context) => {
2775
+ exports.de_GetProtectedQueryCommand = de_GetProtectedQueryCommand;
2776
+ const de_GetProtectedQueryCommandError = async (output, context) => {
1754
2777
  const parsedOutput = {
1755
2778
  ...output,
1756
2779
  body: await parseErrorBody(output.body, context),
@@ -1763,6 +2786,9 @@ const de_GetCollaborationCommandError = async (output, context) => {
1763
2786
  case "InternalServerException":
1764
2787
  case "com.amazonaws.cleanrooms#InternalServerException":
1765
2788
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2789
+ case "ResourceNotFoundException":
2790
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2791
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1766
2792
  case "ThrottlingException":
1767
2793
  case "com.amazonaws.cleanrooms#ThrottlingException":
1768
2794
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1778,22 +2804,22 @@ const de_GetCollaborationCommandError = async (output, context) => {
1778
2804
  });
1779
2805
  }
1780
2806
  };
1781
- const de_GetCollaborationAnalysisTemplateCommand = async (output, context) => {
2807
+ const de_GetSchemaCommand = async (output, context) => {
1782
2808
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1783
- return de_GetCollaborationAnalysisTemplateCommandError(output, context);
2809
+ return de_GetSchemaCommandError(output, context);
1784
2810
  }
1785
2811
  const contents = (0, smithy_client_1.map)({
1786
2812
  $metadata: deserializeMetadata(output),
1787
2813
  });
1788
2814
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1789
2815
  const doc = (0, smithy_client_1.take)(data, {
1790
- collaborationAnalysisTemplate: (_) => de_CollaborationAnalysisTemplate(_, context),
2816
+ schema: (_) => de_Schema(_, context),
1791
2817
  });
1792
2818
  Object.assign(contents, doc);
1793
2819
  return contents;
1794
2820
  };
1795
- exports.de_GetCollaborationAnalysisTemplateCommand = de_GetCollaborationAnalysisTemplateCommand;
1796
- const de_GetCollaborationAnalysisTemplateCommandError = async (output, context) => {
2821
+ exports.de_GetSchemaCommand = de_GetSchemaCommand;
2822
+ const de_GetSchemaCommandError = async (output, context) => {
1797
2823
  const parsedOutput = {
1798
2824
  ...output,
1799
2825
  body: await parseErrorBody(output.body, context),
@@ -1824,22 +2850,22 @@ const de_GetCollaborationAnalysisTemplateCommandError = async (output, context)
1824
2850
  });
1825
2851
  }
1826
2852
  };
1827
- const de_GetConfiguredTableCommand = async (output, context) => {
2853
+ const de_GetSchemaAnalysisRuleCommand = async (output, context) => {
1828
2854
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1829
- return de_GetConfiguredTableCommandError(output, context);
2855
+ return de_GetSchemaAnalysisRuleCommandError(output, context);
1830
2856
  }
1831
2857
  const contents = (0, smithy_client_1.map)({
1832
2858
  $metadata: deserializeMetadata(output),
1833
2859
  });
1834
2860
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1835
2861
  const doc = (0, smithy_client_1.take)(data, {
1836
- configuredTable: (_) => de_ConfiguredTable(_, context),
2862
+ analysisRule: (_) => de_AnalysisRule(_, context),
1837
2863
  });
1838
2864
  Object.assign(contents, doc);
1839
2865
  return contents;
1840
2866
  };
1841
- exports.de_GetConfiguredTableCommand = de_GetConfiguredTableCommand;
1842
- const de_GetConfiguredTableCommandError = async (output, context) => {
2867
+ exports.de_GetSchemaAnalysisRuleCommand = de_GetSchemaAnalysisRuleCommand;
2868
+ const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
1843
2869
  const parsedOutput = {
1844
2870
  ...output,
1845
2871
  body: await parseErrorBody(output.body, context),
@@ -1870,22 +2896,23 @@ const de_GetConfiguredTableCommandError = async (output, context) => {
1870
2896
  });
1871
2897
  }
1872
2898
  };
1873
- const de_GetConfiguredTableAnalysisRuleCommand = async (output, context) => {
2899
+ const de_ListAnalysisTemplatesCommand = async (output, context) => {
1874
2900
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1875
- return de_GetConfiguredTableAnalysisRuleCommandError(output, context);
2901
+ return de_ListAnalysisTemplatesCommandError(output, context);
1876
2902
  }
1877
2903
  const contents = (0, smithy_client_1.map)({
1878
2904
  $metadata: deserializeMetadata(output),
1879
2905
  });
1880
2906
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1881
2907
  const doc = (0, smithy_client_1.take)(data, {
1882
- analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
2908
+ analysisTemplateSummaries: (_) => de_AnalysisTemplateSummaryList(_, context),
2909
+ nextToken: smithy_client_1.expectString,
1883
2910
  });
1884
2911
  Object.assign(contents, doc);
1885
2912
  return contents;
1886
2913
  };
1887
- exports.de_GetConfiguredTableAnalysisRuleCommand = de_GetConfiguredTableAnalysisRuleCommand;
1888
- const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) => {
2914
+ exports.de_ListAnalysisTemplatesCommand = de_ListAnalysisTemplatesCommand;
2915
+ const de_ListAnalysisTemplatesCommandError = async (output, context) => {
1889
2916
  const parsedOutput = {
1890
2917
  ...output,
1891
2918
  body: await parseErrorBody(output.body, context),
@@ -1916,22 +2943,23 @@ const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) =>
1916
2943
  });
1917
2944
  }
1918
2945
  };
1919
- const de_GetConfiguredTableAssociationCommand = async (output, context) => {
2946
+ const de_ListCollaborationAnalysisTemplatesCommand = async (output, context) => {
1920
2947
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1921
- return de_GetConfiguredTableAssociationCommandError(output, context);
2948
+ return de_ListCollaborationAnalysisTemplatesCommandError(output, context);
1922
2949
  }
1923
2950
  const contents = (0, smithy_client_1.map)({
1924
2951
  $metadata: deserializeMetadata(output),
1925
2952
  });
1926
2953
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1927
2954
  const doc = (0, smithy_client_1.take)(data, {
1928
- configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
2955
+ collaborationAnalysisTemplateSummaries: (_) => de_CollaborationAnalysisTemplateSummaryList(_, context),
2956
+ nextToken: smithy_client_1.expectString,
1929
2957
  });
1930
2958
  Object.assign(contents, doc);
1931
2959
  return contents;
1932
2960
  };
1933
- exports.de_GetConfiguredTableAssociationCommand = de_GetConfiguredTableAssociationCommand;
1934
- const de_GetConfiguredTableAssociationCommandError = async (output, context) => {
2961
+ exports.de_ListCollaborationAnalysisTemplatesCommand = de_ListCollaborationAnalysisTemplatesCommand;
2962
+ const de_ListCollaborationAnalysisTemplatesCommandError = async (output, context) => {
1935
2963
  const parsedOutput = {
1936
2964
  ...output,
1937
2965
  body: await parseErrorBody(output.body, context),
@@ -1962,22 +2990,23 @@ const de_GetConfiguredTableAssociationCommandError = async (output, context) =>
1962
2990
  });
1963
2991
  }
1964
2992
  };
1965
- const de_GetMembershipCommand = async (output, context) => {
2993
+ const de_ListCollaborationConfiguredAudienceModelAssociationsCommand = async (output, context) => {
1966
2994
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1967
- return de_GetMembershipCommandError(output, context);
2995
+ return de_ListCollaborationConfiguredAudienceModelAssociationsCommandError(output, context);
1968
2996
  }
1969
2997
  const contents = (0, smithy_client_1.map)({
1970
2998
  $metadata: deserializeMetadata(output),
1971
2999
  });
1972
3000
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1973
3001
  const doc = (0, smithy_client_1.take)(data, {
1974
- membership: (_) => de_Membership(_, context),
3002
+ collaborationConfiguredAudienceModelAssociationSummaries: (_) => de_CollaborationConfiguredAudienceModelAssociationSummaryList(_, context),
3003
+ nextToken: smithy_client_1.expectString,
1975
3004
  });
1976
3005
  Object.assign(contents, doc);
1977
3006
  return contents;
1978
3007
  };
1979
- exports.de_GetMembershipCommand = de_GetMembershipCommand;
1980
- const de_GetMembershipCommandError = async (output, context) => {
3008
+ exports.de_ListCollaborationConfiguredAudienceModelAssociationsCommand = de_ListCollaborationConfiguredAudienceModelAssociationsCommand;
3009
+ const de_ListCollaborationConfiguredAudienceModelAssociationsCommandError = async (output, context) => {
1981
3010
  const parsedOutput = {
1982
3011
  ...output,
1983
3012
  body: await parseErrorBody(output.body, context),
@@ -2008,22 +3037,23 @@ const de_GetMembershipCommandError = async (output, context) => {
2008
3037
  });
2009
3038
  }
2010
3039
  };
2011
- const de_GetProtectedQueryCommand = async (output, context) => {
3040
+ const de_ListCollaborationPrivacyBudgetsCommand = async (output, context) => {
2012
3041
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2013
- return de_GetProtectedQueryCommandError(output, context);
3042
+ return de_ListCollaborationPrivacyBudgetsCommandError(output, context);
2014
3043
  }
2015
3044
  const contents = (0, smithy_client_1.map)({
2016
3045
  $metadata: deserializeMetadata(output),
2017
3046
  });
2018
3047
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2019
3048
  const doc = (0, smithy_client_1.take)(data, {
2020
- protectedQuery: (_) => de_ProtectedQuery(_, context),
3049
+ collaborationPrivacyBudgetSummaries: (_) => de_CollaborationPrivacyBudgetSummaryList(_, context),
3050
+ nextToken: smithy_client_1.expectString,
2021
3051
  });
2022
3052
  Object.assign(contents, doc);
2023
3053
  return contents;
2024
3054
  };
2025
- exports.de_GetProtectedQueryCommand = de_GetProtectedQueryCommand;
2026
- const de_GetProtectedQueryCommandError = async (output, context) => {
3055
+ exports.de_ListCollaborationPrivacyBudgetsCommand = de_ListCollaborationPrivacyBudgetsCommand;
3056
+ const de_ListCollaborationPrivacyBudgetsCommandError = async (output, context) => {
2027
3057
  const parsedOutput = {
2028
3058
  ...output,
2029
3059
  body: await parseErrorBody(output.body, context),
@@ -2054,22 +3084,23 @@ const de_GetProtectedQueryCommandError = async (output, context) => {
2054
3084
  });
2055
3085
  }
2056
3086
  };
2057
- const de_GetSchemaCommand = async (output, context) => {
3087
+ const de_ListCollaborationPrivacyBudgetTemplatesCommand = async (output, context) => {
2058
3088
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2059
- return de_GetSchemaCommandError(output, context);
3089
+ return de_ListCollaborationPrivacyBudgetTemplatesCommandError(output, context);
2060
3090
  }
2061
3091
  const contents = (0, smithy_client_1.map)({
2062
3092
  $metadata: deserializeMetadata(output),
2063
3093
  });
2064
3094
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2065
3095
  const doc = (0, smithy_client_1.take)(data, {
2066
- schema: (_) => de_Schema(_, context),
3096
+ collaborationPrivacyBudgetTemplateSummaries: (_) => de_CollaborationPrivacyBudgetTemplateSummaryList(_, context),
3097
+ nextToken: smithy_client_1.expectString,
2067
3098
  });
2068
3099
  Object.assign(contents, doc);
2069
3100
  return contents;
2070
3101
  };
2071
- exports.de_GetSchemaCommand = de_GetSchemaCommand;
2072
- const de_GetSchemaCommandError = async (output, context) => {
3102
+ exports.de_ListCollaborationPrivacyBudgetTemplatesCommand = de_ListCollaborationPrivacyBudgetTemplatesCommand;
3103
+ const de_ListCollaborationPrivacyBudgetTemplatesCommandError = async (output, context) => {
2073
3104
  const parsedOutput = {
2074
3105
  ...output,
2075
3106
  body: await parseErrorBody(output.body, context),
@@ -2100,22 +3131,23 @@ const de_GetSchemaCommandError = async (output, context) => {
2100
3131
  });
2101
3132
  }
2102
3133
  };
2103
- const de_GetSchemaAnalysisRuleCommand = async (output, context) => {
3134
+ const de_ListCollaborationsCommand = async (output, context) => {
2104
3135
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2105
- return de_GetSchemaAnalysisRuleCommandError(output, context);
3136
+ return de_ListCollaborationsCommandError(output, context);
2106
3137
  }
2107
3138
  const contents = (0, smithy_client_1.map)({
2108
3139
  $metadata: deserializeMetadata(output),
2109
3140
  });
2110
3141
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2111
3142
  const doc = (0, smithy_client_1.take)(data, {
2112
- analysisRule: (_) => de_AnalysisRule(_, context),
3143
+ collaborationList: (_) => de_CollaborationSummaryList(_, context),
3144
+ nextToken: smithy_client_1.expectString,
2113
3145
  });
2114
3146
  Object.assign(contents, doc);
2115
3147
  return contents;
2116
3148
  };
2117
- exports.de_GetSchemaAnalysisRuleCommand = de_GetSchemaAnalysisRuleCommand;
2118
- const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
3149
+ exports.de_ListCollaborationsCommand = de_ListCollaborationsCommand;
3150
+ const de_ListCollaborationsCommandError = async (output, context) => {
2119
3151
  const parsedOutput = {
2120
3152
  ...output,
2121
3153
  body: await parseErrorBody(output.body, context),
@@ -2128,9 +3160,6 @@ const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
2128
3160
  case "InternalServerException":
2129
3161
  case "com.amazonaws.cleanrooms#InternalServerException":
2130
3162
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2131
- case "ResourceNotFoundException":
2132
- case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2133
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2134
3163
  case "ThrottlingException":
2135
3164
  case "com.amazonaws.cleanrooms#ThrottlingException":
2136
3165
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -2146,23 +3175,23 @@ const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
2146
3175
  });
2147
3176
  }
2148
3177
  };
2149
- const de_ListAnalysisTemplatesCommand = async (output, context) => {
3178
+ const de_ListConfiguredAudienceModelAssociationsCommand = async (output, context) => {
2150
3179
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2151
- return de_ListAnalysisTemplatesCommandError(output, context);
3180
+ return de_ListConfiguredAudienceModelAssociationsCommandError(output, context);
2152
3181
  }
2153
3182
  const contents = (0, smithy_client_1.map)({
2154
3183
  $metadata: deserializeMetadata(output),
2155
3184
  });
2156
3185
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2157
3186
  const doc = (0, smithy_client_1.take)(data, {
2158
- analysisTemplateSummaries: (_) => de_AnalysisTemplateSummaryList(_, context),
3187
+ configuredAudienceModelAssociationSummaries: (_) => de_ConfiguredAudienceModelAssociationSummaryList(_, context),
2159
3188
  nextToken: smithy_client_1.expectString,
2160
3189
  });
2161
3190
  Object.assign(contents, doc);
2162
3191
  return contents;
2163
3192
  };
2164
- exports.de_ListAnalysisTemplatesCommand = de_ListAnalysisTemplatesCommand;
2165
- const de_ListAnalysisTemplatesCommandError = async (output, context) => {
3193
+ exports.de_ListConfiguredAudienceModelAssociationsCommand = de_ListConfiguredAudienceModelAssociationsCommand;
3194
+ const de_ListConfiguredAudienceModelAssociationsCommandError = async (output, context) => {
2166
3195
  const parsedOutput = {
2167
3196
  ...output,
2168
3197
  body: await parseErrorBody(output.body, context),
@@ -2193,23 +3222,23 @@ const de_ListAnalysisTemplatesCommandError = async (output, context) => {
2193
3222
  });
2194
3223
  }
2195
3224
  };
2196
- const de_ListCollaborationAnalysisTemplatesCommand = async (output, context) => {
3225
+ const de_ListConfiguredTableAssociationsCommand = async (output, context) => {
2197
3226
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2198
- return de_ListCollaborationAnalysisTemplatesCommandError(output, context);
3227
+ return de_ListConfiguredTableAssociationsCommandError(output, context);
2199
3228
  }
2200
3229
  const contents = (0, smithy_client_1.map)({
2201
3230
  $metadata: deserializeMetadata(output),
2202
3231
  });
2203
3232
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2204
3233
  const doc = (0, smithy_client_1.take)(data, {
2205
- collaborationAnalysisTemplateSummaries: (_) => de_CollaborationAnalysisTemplateSummaryList(_, context),
3234
+ configuredTableAssociationSummaries: (_) => de_ConfiguredTableAssociationSummaryList(_, context),
2206
3235
  nextToken: smithy_client_1.expectString,
2207
3236
  });
2208
3237
  Object.assign(contents, doc);
2209
3238
  return contents;
2210
3239
  };
2211
- exports.de_ListCollaborationAnalysisTemplatesCommand = de_ListCollaborationAnalysisTemplatesCommand;
2212
- const de_ListCollaborationAnalysisTemplatesCommandError = async (output, context) => {
3240
+ exports.de_ListConfiguredTableAssociationsCommand = de_ListConfiguredTableAssociationsCommand;
3241
+ const de_ListConfiguredTableAssociationsCommandError = async (output, context) => {
2213
3242
  const parsedOutput = {
2214
3243
  ...output,
2215
3244
  body: await parseErrorBody(output.body, context),
@@ -2240,23 +3269,23 @@ const de_ListCollaborationAnalysisTemplatesCommandError = async (output, context
2240
3269
  });
2241
3270
  }
2242
3271
  };
2243
- const de_ListCollaborationsCommand = async (output, context) => {
3272
+ const de_ListConfiguredTablesCommand = async (output, context) => {
2244
3273
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2245
- return de_ListCollaborationsCommandError(output, context);
3274
+ return de_ListConfiguredTablesCommandError(output, context);
2246
3275
  }
2247
3276
  const contents = (0, smithy_client_1.map)({
2248
3277
  $metadata: deserializeMetadata(output),
2249
3278
  });
2250
3279
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2251
3280
  const doc = (0, smithy_client_1.take)(data, {
2252
- collaborationList: (_) => de_CollaborationSummaryList(_, context),
3281
+ configuredTableSummaries: (_) => de_ConfiguredTableSummaryList(_, context),
2253
3282
  nextToken: smithy_client_1.expectString,
2254
3283
  });
2255
3284
  Object.assign(contents, doc);
2256
3285
  return contents;
2257
3286
  };
2258
- exports.de_ListCollaborationsCommand = de_ListCollaborationsCommand;
2259
- const de_ListCollaborationsCommandError = async (output, context) => {
3287
+ exports.de_ListConfiguredTablesCommand = de_ListConfiguredTablesCommand;
3288
+ const de_ListConfiguredTablesCommandError = async (output, context) => {
2260
3289
  const parsedOutput = {
2261
3290
  ...output,
2262
3291
  body: await parseErrorBody(output.body, context),
@@ -2284,23 +3313,23 @@ const de_ListCollaborationsCommandError = async (output, context) => {
2284
3313
  });
2285
3314
  }
2286
3315
  };
2287
- const de_ListConfiguredTableAssociationsCommand = async (output, context) => {
3316
+ const de_ListMembersCommand = async (output, context) => {
2288
3317
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2289
- return de_ListConfiguredTableAssociationsCommandError(output, context);
3318
+ return de_ListMembersCommandError(output, context);
2290
3319
  }
2291
3320
  const contents = (0, smithy_client_1.map)({
2292
3321
  $metadata: deserializeMetadata(output),
2293
3322
  });
2294
3323
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2295
3324
  const doc = (0, smithy_client_1.take)(data, {
2296
- configuredTableAssociationSummaries: (_) => de_ConfiguredTableAssociationSummaryList(_, context),
3325
+ memberSummaries: (_) => de_MemberSummaryList(_, context),
2297
3326
  nextToken: smithy_client_1.expectString,
2298
3327
  });
2299
3328
  Object.assign(contents, doc);
2300
3329
  return contents;
2301
3330
  };
2302
- exports.de_ListConfiguredTableAssociationsCommand = de_ListConfiguredTableAssociationsCommand;
2303
- const de_ListConfiguredTableAssociationsCommandError = async (output, context) => {
3331
+ exports.de_ListMembersCommand = de_ListMembersCommand;
3332
+ const de_ListMembersCommandError = async (output, context) => {
2304
3333
  const parsedOutput = {
2305
3334
  ...output,
2306
3335
  body: await parseErrorBody(output.body, context),
@@ -2331,23 +3360,23 @@ const de_ListConfiguredTableAssociationsCommandError = async (output, context) =
2331
3360
  });
2332
3361
  }
2333
3362
  };
2334
- const de_ListConfiguredTablesCommand = async (output, context) => {
3363
+ const de_ListMembershipsCommand = async (output, context) => {
2335
3364
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2336
- return de_ListConfiguredTablesCommandError(output, context);
3365
+ return de_ListMembershipsCommandError(output, context);
2337
3366
  }
2338
3367
  const contents = (0, smithy_client_1.map)({
2339
3368
  $metadata: deserializeMetadata(output),
2340
3369
  });
2341
3370
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2342
3371
  const doc = (0, smithy_client_1.take)(data, {
2343
- configuredTableSummaries: (_) => de_ConfiguredTableSummaryList(_, context),
3372
+ membershipSummaries: (_) => de_MembershipSummaryList(_, context),
2344
3373
  nextToken: smithy_client_1.expectString,
2345
3374
  });
2346
3375
  Object.assign(contents, doc);
2347
3376
  return contents;
2348
3377
  };
2349
- exports.de_ListConfiguredTablesCommand = de_ListConfiguredTablesCommand;
2350
- const de_ListConfiguredTablesCommandError = async (output, context) => {
3378
+ exports.de_ListMembershipsCommand = de_ListMembershipsCommand;
3379
+ const de_ListMembershipsCommandError = async (output, context) => {
2351
3380
  const parsedOutput = {
2352
3381
  ...output,
2353
3382
  body: await parseErrorBody(output.body, context),
@@ -2375,23 +3404,23 @@ const de_ListConfiguredTablesCommandError = async (output, context) => {
2375
3404
  });
2376
3405
  }
2377
3406
  };
2378
- const de_ListMembersCommand = async (output, context) => {
3407
+ const de_ListPrivacyBudgetsCommand = async (output, context) => {
2379
3408
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2380
- return de_ListMembersCommandError(output, context);
3409
+ return de_ListPrivacyBudgetsCommandError(output, context);
2381
3410
  }
2382
3411
  const contents = (0, smithy_client_1.map)({
2383
3412
  $metadata: deserializeMetadata(output),
2384
3413
  });
2385
3414
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2386
3415
  const doc = (0, smithy_client_1.take)(data, {
2387
- memberSummaries: (_) => de_MemberSummaryList(_, context),
2388
3416
  nextToken: smithy_client_1.expectString,
3417
+ privacyBudgetSummaries: (_) => de_PrivacyBudgetSummaryList(_, context),
2389
3418
  });
2390
3419
  Object.assign(contents, doc);
2391
3420
  return contents;
2392
3421
  };
2393
- exports.de_ListMembersCommand = de_ListMembersCommand;
2394
- const de_ListMembersCommandError = async (output, context) => {
3422
+ exports.de_ListPrivacyBudgetsCommand = de_ListPrivacyBudgetsCommand;
3423
+ const de_ListPrivacyBudgetsCommandError = async (output, context) => {
2395
3424
  const parsedOutput = {
2396
3425
  ...output,
2397
3426
  body: await parseErrorBody(output.body, context),
@@ -2422,23 +3451,23 @@ const de_ListMembersCommandError = async (output, context) => {
2422
3451
  });
2423
3452
  }
2424
3453
  };
2425
- const de_ListMembershipsCommand = async (output, context) => {
3454
+ const de_ListPrivacyBudgetTemplatesCommand = async (output, context) => {
2426
3455
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2427
- return de_ListMembershipsCommandError(output, context);
3456
+ return de_ListPrivacyBudgetTemplatesCommandError(output, context);
2428
3457
  }
2429
3458
  const contents = (0, smithy_client_1.map)({
2430
3459
  $metadata: deserializeMetadata(output),
2431
3460
  });
2432
3461
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2433
3462
  const doc = (0, smithy_client_1.take)(data, {
2434
- membershipSummaries: (_) => de_MembershipSummaryList(_, context),
2435
3463
  nextToken: smithy_client_1.expectString,
3464
+ privacyBudgetTemplateSummaries: (_) => de_PrivacyBudgetTemplateSummaryList(_, context),
2436
3465
  });
2437
3466
  Object.assign(contents, doc);
2438
3467
  return contents;
2439
3468
  };
2440
- exports.de_ListMembershipsCommand = de_ListMembershipsCommand;
2441
- const de_ListMembershipsCommandError = async (output, context) => {
3469
+ exports.de_ListPrivacyBudgetTemplatesCommand = de_ListPrivacyBudgetTemplatesCommand;
3470
+ const de_ListPrivacyBudgetTemplatesCommandError = async (output, context) => {
2442
3471
  const parsedOutput = {
2443
3472
  ...output,
2444
3473
  body: await parseErrorBody(output.body, context),
@@ -2451,6 +3480,9 @@ const de_ListMembershipsCommandError = async (output, context) => {
2451
3480
  case "InternalServerException":
2452
3481
  case "com.amazonaws.cleanrooms#InternalServerException":
2453
3482
  throw await de_InternalServerExceptionRes(parsedOutput, context);
3483
+ case "ResourceNotFoundException":
3484
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
3485
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2454
3486
  case "ThrottlingException":
2455
3487
  case "com.amazonaws.cleanrooms#ThrottlingException":
2456
3488
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -2597,6 +3629,52 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
2597
3629
  });
2598
3630
  }
2599
3631
  };
3632
+ const de_PreviewPrivacyImpactCommand = async (output, context) => {
3633
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3634
+ return de_PreviewPrivacyImpactCommandError(output, context);
3635
+ }
3636
+ const contents = (0, smithy_client_1.map)({
3637
+ $metadata: deserializeMetadata(output),
3638
+ });
3639
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3640
+ const doc = (0, smithy_client_1.take)(data, {
3641
+ privacyImpact: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3642
+ });
3643
+ Object.assign(contents, doc);
3644
+ return contents;
3645
+ };
3646
+ exports.de_PreviewPrivacyImpactCommand = de_PreviewPrivacyImpactCommand;
3647
+ const de_PreviewPrivacyImpactCommandError = async (output, context) => {
3648
+ const parsedOutput = {
3649
+ ...output,
3650
+ body: await parseErrorBody(output.body, context),
3651
+ };
3652
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3653
+ switch (errorCode) {
3654
+ case "AccessDeniedException":
3655
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
3656
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3657
+ case "InternalServerException":
3658
+ case "com.amazonaws.cleanrooms#InternalServerException":
3659
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3660
+ case "ResourceNotFoundException":
3661
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
3662
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3663
+ case "ThrottlingException":
3664
+ case "com.amazonaws.cleanrooms#ThrottlingException":
3665
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3666
+ case "ValidationException":
3667
+ case "com.amazonaws.cleanrooms#ValidationException":
3668
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3669
+ default:
3670
+ const parsedBody = parsedOutput.body;
3671
+ return throwDefaultError({
3672
+ output,
3673
+ parsedBody,
3674
+ errorCode,
3675
+ });
3676
+ }
3677
+ };
2600
3678
  const de_StartProtectedQueryCommand = async (output, context) => {
2601
3679
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2602
3680
  return de_StartProtectedQueryCommandError(output, context);
@@ -2801,6 +3879,52 @@ const de_UpdateCollaborationCommandError = async (output, context) => {
2801
3879
  });
2802
3880
  }
2803
3881
  };
3882
+ const de_UpdateConfiguredAudienceModelAssociationCommand = async (output, context) => {
3883
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3884
+ return de_UpdateConfiguredAudienceModelAssociationCommandError(output, context);
3885
+ }
3886
+ const contents = (0, smithy_client_1.map)({
3887
+ $metadata: deserializeMetadata(output),
3888
+ });
3889
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3890
+ const doc = (0, smithy_client_1.take)(data, {
3891
+ configuredAudienceModelAssociation: (_) => de_ConfiguredAudienceModelAssociation(_, context),
3892
+ });
3893
+ Object.assign(contents, doc);
3894
+ return contents;
3895
+ };
3896
+ exports.de_UpdateConfiguredAudienceModelAssociationCommand = de_UpdateConfiguredAudienceModelAssociationCommand;
3897
+ const de_UpdateConfiguredAudienceModelAssociationCommandError = async (output, context) => {
3898
+ const parsedOutput = {
3899
+ ...output,
3900
+ body: await parseErrorBody(output.body, context),
3901
+ };
3902
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3903
+ switch (errorCode) {
3904
+ case "AccessDeniedException":
3905
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
3906
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3907
+ case "InternalServerException":
3908
+ case "com.amazonaws.cleanrooms#InternalServerException":
3909
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3910
+ case "ResourceNotFoundException":
3911
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
3912
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3913
+ case "ThrottlingException":
3914
+ case "com.amazonaws.cleanrooms#ThrottlingException":
3915
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3916
+ case "ValidationException":
3917
+ case "com.amazonaws.cleanrooms#ValidationException":
3918
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3919
+ default:
3920
+ const parsedBody = parsedOutput.body;
3921
+ return throwDefaultError({
3922
+ output,
3923
+ parsedBody,
3924
+ errorCode,
3925
+ });
3926
+ }
3927
+ };
2804
3928
  const de_UpdateConfiguredTableCommand = async (output, context) => {
2805
3929
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2806
3930
  return de_UpdateConfiguredTableCommandError(output, context);
@@ -2997,6 +4121,55 @@ const de_UpdateMembershipCommandError = async (output, context) => {
2997
4121
  });
2998
4122
  }
2999
4123
  };
4124
+ const de_UpdatePrivacyBudgetTemplateCommand = async (output, context) => {
4125
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4126
+ return de_UpdatePrivacyBudgetTemplateCommandError(output, context);
4127
+ }
4128
+ const contents = (0, smithy_client_1.map)({
4129
+ $metadata: deserializeMetadata(output),
4130
+ });
4131
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4132
+ const doc = (0, smithy_client_1.take)(data, {
4133
+ privacyBudgetTemplate: (_) => de_PrivacyBudgetTemplate(_, context),
4134
+ });
4135
+ Object.assign(contents, doc);
4136
+ return contents;
4137
+ };
4138
+ exports.de_UpdatePrivacyBudgetTemplateCommand = de_UpdatePrivacyBudgetTemplateCommand;
4139
+ const de_UpdatePrivacyBudgetTemplateCommandError = async (output, context) => {
4140
+ const parsedOutput = {
4141
+ ...output,
4142
+ body: await parseErrorBody(output.body, context),
4143
+ };
4144
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4145
+ switch (errorCode) {
4146
+ case "AccessDeniedException":
4147
+ case "com.amazonaws.cleanrooms#AccessDeniedException":
4148
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4149
+ case "ConflictException":
4150
+ case "com.amazonaws.cleanrooms#ConflictException":
4151
+ throw await de_ConflictExceptionRes(parsedOutput, context);
4152
+ case "InternalServerException":
4153
+ case "com.amazonaws.cleanrooms#InternalServerException":
4154
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
4155
+ case "ResourceNotFoundException":
4156
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
4157
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4158
+ case "ThrottlingException":
4159
+ case "com.amazonaws.cleanrooms#ThrottlingException":
4160
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4161
+ case "ValidationException":
4162
+ case "com.amazonaws.cleanrooms#ValidationException":
4163
+ throw await de_ValidationExceptionRes(parsedOutput, context);
4164
+ default:
4165
+ const parsedBody = parsedOutput.body;
4166
+ return throwDefaultError({
4167
+ output,
4168
+ parsedBody,
4169
+ errorCode,
4170
+ });
4171
+ }
4172
+ };
3000
4173
  const de_UpdateProtectedQueryCommand = async (output, context) => {
3001
4174
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3002
4175
  return de_UpdateProtectedQueryCommandError(output, context);
@@ -3261,6 +4434,97 @@ const de_CollaborationAnalysisTemplateSummaryList = (output, context) => {
3261
4434
  });
3262
4435
  return retVal;
3263
4436
  };
4437
+ const de_CollaborationConfiguredAudienceModelAssociation = (output, context) => {
4438
+ return (0, smithy_client_1.take)(output, {
4439
+ arn: smithy_client_1.expectString,
4440
+ collaborationArn: smithy_client_1.expectString,
4441
+ collaborationId: smithy_client_1.expectString,
4442
+ configuredAudienceModelArn: smithy_client_1.expectString,
4443
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4444
+ creatorAccountId: smithy_client_1.expectString,
4445
+ description: smithy_client_1.expectString,
4446
+ id: smithy_client_1.expectString,
4447
+ name: smithy_client_1.expectString,
4448
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4449
+ });
4450
+ };
4451
+ const de_CollaborationConfiguredAudienceModelAssociationSummary = (output, context) => {
4452
+ return (0, smithy_client_1.take)(output, {
4453
+ arn: smithy_client_1.expectString,
4454
+ collaborationArn: smithy_client_1.expectString,
4455
+ collaborationId: smithy_client_1.expectString,
4456
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4457
+ creatorAccountId: smithy_client_1.expectString,
4458
+ description: smithy_client_1.expectString,
4459
+ id: smithy_client_1.expectString,
4460
+ name: smithy_client_1.expectString,
4461
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4462
+ });
4463
+ };
4464
+ const de_CollaborationConfiguredAudienceModelAssociationSummaryList = (output, context) => {
4465
+ const retVal = (output || [])
4466
+ .filter((e) => e != null)
4467
+ .map((entry) => {
4468
+ return de_CollaborationConfiguredAudienceModelAssociationSummary(entry, context);
4469
+ });
4470
+ return retVal;
4471
+ };
4472
+ const de_CollaborationPrivacyBudgetSummary = (output, context) => {
4473
+ return (0, smithy_client_1.take)(output, {
4474
+ budget: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
4475
+ collaborationArn: smithy_client_1.expectString,
4476
+ collaborationId: smithy_client_1.expectString,
4477
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4478
+ creatorAccountId: smithy_client_1.expectString,
4479
+ id: smithy_client_1.expectString,
4480
+ privacyBudgetTemplateArn: smithy_client_1.expectString,
4481
+ privacyBudgetTemplateId: smithy_client_1.expectString,
4482
+ type: smithy_client_1.expectString,
4483
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4484
+ });
4485
+ };
4486
+ const de_CollaborationPrivacyBudgetSummaryList = (output, context) => {
4487
+ const retVal = (output || [])
4488
+ .filter((e) => e != null)
4489
+ .map((entry) => {
4490
+ return de_CollaborationPrivacyBudgetSummary(entry, context);
4491
+ });
4492
+ return retVal;
4493
+ };
4494
+ const de_CollaborationPrivacyBudgetTemplate = (output, context) => {
4495
+ return (0, smithy_client_1.take)(output, {
4496
+ arn: smithy_client_1.expectString,
4497
+ autoRefresh: smithy_client_1.expectString,
4498
+ collaborationArn: smithy_client_1.expectString,
4499
+ collaborationId: smithy_client_1.expectString,
4500
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4501
+ creatorAccountId: smithy_client_1.expectString,
4502
+ id: smithy_client_1.expectString,
4503
+ parameters: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
4504
+ privacyBudgetType: smithy_client_1.expectString,
4505
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4506
+ });
4507
+ };
4508
+ const de_CollaborationPrivacyBudgetTemplateSummary = (output, context) => {
4509
+ return (0, smithy_client_1.take)(output, {
4510
+ arn: smithy_client_1.expectString,
4511
+ collaborationArn: smithy_client_1.expectString,
4512
+ collaborationId: smithy_client_1.expectString,
4513
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4514
+ creatorAccountId: smithy_client_1.expectString,
4515
+ id: smithy_client_1.expectString,
4516
+ privacyBudgetType: smithy_client_1.expectString,
4517
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4518
+ });
4519
+ };
4520
+ const de_CollaborationPrivacyBudgetTemplateSummaryList = (output, context) => {
4521
+ const retVal = (output || [])
4522
+ .filter((e) => e != null)
4523
+ .map((entry) => {
4524
+ return de_CollaborationPrivacyBudgetTemplateSummary(entry, context);
4525
+ });
4526
+ return retVal;
4527
+ };
3264
4528
  const de_CollaborationSummary = (output, context) => {
3265
4529
  return (0, smithy_client_1.take)(output, {
3266
4530
  arn: smithy_client_1.expectString,
@@ -3283,6 +4547,45 @@ const de_CollaborationSummaryList = (output, context) => {
3283
4547
  });
3284
4548
  return retVal;
3285
4549
  };
4550
+ const de_ConfiguredAudienceModelAssociation = (output, context) => {
4551
+ return (0, smithy_client_1.take)(output, {
4552
+ arn: smithy_client_1.expectString,
4553
+ collaborationArn: smithy_client_1.expectString,
4554
+ collaborationId: smithy_client_1.expectString,
4555
+ configuredAudienceModelArn: smithy_client_1.expectString,
4556
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4557
+ description: smithy_client_1.expectString,
4558
+ id: smithy_client_1.expectString,
4559
+ manageResourcePolicies: smithy_client_1.expectBoolean,
4560
+ membershipArn: smithy_client_1.expectString,
4561
+ membershipId: smithy_client_1.expectString,
4562
+ name: smithy_client_1.expectString,
4563
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4564
+ });
4565
+ };
4566
+ const de_ConfiguredAudienceModelAssociationSummary = (output, context) => {
4567
+ return (0, smithy_client_1.take)(output, {
4568
+ arn: smithy_client_1.expectString,
4569
+ collaborationArn: smithy_client_1.expectString,
4570
+ collaborationId: smithy_client_1.expectString,
4571
+ configuredAudienceModelArn: smithy_client_1.expectString,
4572
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4573
+ description: smithy_client_1.expectString,
4574
+ id: smithy_client_1.expectString,
4575
+ membershipArn: smithy_client_1.expectString,
4576
+ membershipId: smithy_client_1.expectString,
4577
+ name: smithy_client_1.expectString,
4578
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4579
+ });
4580
+ };
4581
+ const de_ConfiguredAudienceModelAssociationSummaryList = (output, context) => {
4582
+ const retVal = (output || [])
4583
+ .filter((e) => e != null)
4584
+ .map((entry) => {
4585
+ return de_ConfiguredAudienceModelAssociationSummary(entry, context);
4586
+ });
4587
+ return retVal;
4588
+ };
3286
4589
  const de_ConfiguredTable = (output, context) => {
3287
4590
  return (0, smithy_client_1.take)(output, {
3288
4591
  allowedColumns: smithy_client_1._json,
@@ -3361,6 +4664,28 @@ const de_ConfiguredTableSummaryList = (output, context) => {
3361
4664
  });
3362
4665
  return retVal;
3363
4666
  };
4667
+ const de_DifferentialPrivacyParameters = (output, context) => {
4668
+ return (0, smithy_client_1.take)(output, {
4669
+ sensitivityParameters: (_) => de_DifferentialPrivacySensitivityParametersList(_, context),
4670
+ });
4671
+ };
4672
+ const de_DifferentialPrivacySensitivityParameters = (output, context) => {
4673
+ return (0, smithy_client_1.take)(output, {
4674
+ aggregationExpression: smithy_client_1.expectString,
4675
+ aggregationType: smithy_client_1.expectString,
4676
+ maxColumnValue: smithy_client_1.limitedParseFloat32,
4677
+ minColumnValue: smithy_client_1.limitedParseFloat32,
4678
+ userContributionLimit: smithy_client_1.expectInt32,
4679
+ });
4680
+ };
4681
+ const de_DifferentialPrivacySensitivityParametersList = (output, context) => {
4682
+ const retVal = (output || [])
4683
+ .filter((e) => e != null)
4684
+ .map((entry) => {
4685
+ return de_DifferentialPrivacySensitivityParameters(entry, context);
4686
+ });
4687
+ return retVal;
4688
+ };
3364
4689
  const de_Membership = (output, context) => {
3365
4690
  return (0, smithy_client_1.take)(output, {
3366
4691
  arn: smithy_client_1.expectString,
@@ -3424,9 +4749,69 @@ const de_MemberSummaryList = (output, context) => {
3424
4749
  });
3425
4750
  return retVal;
3426
4751
  };
4752
+ const de_PrivacyBudgetSummary = (output, context) => {
4753
+ return (0, smithy_client_1.take)(output, {
4754
+ budget: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
4755
+ collaborationArn: smithy_client_1.expectString,
4756
+ collaborationId: smithy_client_1.expectString,
4757
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4758
+ id: smithy_client_1.expectString,
4759
+ membershipArn: smithy_client_1.expectString,
4760
+ membershipId: smithy_client_1.expectString,
4761
+ privacyBudgetTemplateArn: smithy_client_1.expectString,
4762
+ privacyBudgetTemplateId: smithy_client_1.expectString,
4763
+ type: smithy_client_1.expectString,
4764
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4765
+ });
4766
+ };
4767
+ const de_PrivacyBudgetSummaryList = (output, context) => {
4768
+ const retVal = (output || [])
4769
+ .filter((e) => e != null)
4770
+ .map((entry) => {
4771
+ return de_PrivacyBudgetSummary(entry, context);
4772
+ });
4773
+ return retVal;
4774
+ };
4775
+ const de_PrivacyBudgetTemplate = (output, context) => {
4776
+ return (0, smithy_client_1.take)(output, {
4777
+ arn: smithy_client_1.expectString,
4778
+ autoRefresh: smithy_client_1.expectString,
4779
+ collaborationArn: smithy_client_1.expectString,
4780
+ collaborationId: smithy_client_1.expectString,
4781
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4782
+ id: smithy_client_1.expectString,
4783
+ membershipArn: smithy_client_1.expectString,
4784
+ membershipId: smithy_client_1.expectString,
4785
+ parameters: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
4786
+ privacyBudgetType: smithy_client_1.expectString,
4787
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4788
+ });
4789
+ };
4790
+ const de_PrivacyBudgetTemplateSummary = (output, context) => {
4791
+ return (0, smithy_client_1.take)(output, {
4792
+ arn: smithy_client_1.expectString,
4793
+ collaborationArn: smithy_client_1.expectString,
4794
+ collaborationId: smithy_client_1.expectString,
4795
+ createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4796
+ id: smithy_client_1.expectString,
4797
+ membershipArn: smithy_client_1.expectString,
4798
+ membershipId: smithy_client_1.expectString,
4799
+ privacyBudgetType: smithy_client_1.expectString,
4800
+ updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4801
+ });
4802
+ };
4803
+ const de_PrivacyBudgetTemplateSummaryList = (output, context) => {
4804
+ const retVal = (output || [])
4805
+ .filter((e) => e != null)
4806
+ .map((entry) => {
4807
+ return de_PrivacyBudgetTemplateSummary(entry, context);
4808
+ });
4809
+ return retVal;
4810
+ };
3427
4811
  const de_ProtectedQuery = (output, context) => {
3428
4812
  return (0, smithy_client_1.take)(output, {
3429
4813
  createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4814
+ differentialPrivacy: (_) => de_DifferentialPrivacyParameters(_, context),
3430
4815
  error: smithy_client_1._json,
3431
4816
  id: smithy_client_1.expectString,
3432
4817
  membershipArn: smithy_client_1.expectString,