@aws-sdk/client-cleanrooms 3.250.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 (235) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +215 -0
  3. package/dist-cjs/CleanRooms.js +517 -0
  4. package/dist-cjs/CleanRoomsClient.js +40 -0
  5. package/dist-cjs/commands/BatchGetSchemaCommand.js +46 -0
  6. package/dist-cjs/commands/CreateCollaborationCommand.js +46 -0
  7. package/dist-cjs/commands/CreateConfiguredTableAnalysisRuleCommand.js +46 -0
  8. package/dist-cjs/commands/CreateConfiguredTableAssociationCommand.js +46 -0
  9. package/dist-cjs/commands/CreateConfiguredTableCommand.js +46 -0
  10. package/dist-cjs/commands/CreateMembershipCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteCollaborationCommand.js +46 -0
  12. package/dist-cjs/commands/DeleteConfiguredTableAnalysisRuleCommand.js +46 -0
  13. package/dist-cjs/commands/DeleteConfiguredTableAssociationCommand.js +46 -0
  14. package/dist-cjs/commands/DeleteConfiguredTableCommand.js +46 -0
  15. package/dist-cjs/commands/DeleteMemberCommand.js +46 -0
  16. package/dist-cjs/commands/DeleteMembershipCommand.js +46 -0
  17. package/dist-cjs/commands/GetCollaborationCommand.js +46 -0
  18. package/dist-cjs/commands/GetConfiguredTableAnalysisRuleCommand.js +46 -0
  19. package/dist-cjs/commands/GetConfiguredTableAssociationCommand.js +46 -0
  20. package/dist-cjs/commands/GetConfiguredTableCommand.js +46 -0
  21. package/dist-cjs/commands/GetMembershipCommand.js +46 -0
  22. package/dist-cjs/commands/GetProtectedQueryCommand.js +46 -0
  23. package/dist-cjs/commands/GetSchemaAnalysisRuleCommand.js +46 -0
  24. package/dist-cjs/commands/GetSchemaCommand.js +46 -0
  25. package/dist-cjs/commands/ListCollaborationsCommand.js +46 -0
  26. package/dist-cjs/commands/ListConfiguredTableAssociationsCommand.js +46 -0
  27. package/dist-cjs/commands/ListConfiguredTablesCommand.js +46 -0
  28. package/dist-cjs/commands/ListMembersCommand.js +46 -0
  29. package/dist-cjs/commands/ListMembershipsCommand.js +46 -0
  30. package/dist-cjs/commands/ListProtectedQueriesCommand.js +46 -0
  31. package/dist-cjs/commands/ListSchemasCommand.js +46 -0
  32. package/dist-cjs/commands/StartProtectedQueryCommand.js +46 -0
  33. package/dist-cjs/commands/UpdateCollaborationCommand.js +46 -0
  34. package/dist-cjs/commands/UpdateConfiguredTableAnalysisRuleCommand.js +46 -0
  35. package/dist-cjs/commands/UpdateConfiguredTableAssociationCommand.js +46 -0
  36. package/dist-cjs/commands/UpdateConfiguredTableCommand.js +46 -0
  37. package/dist-cjs/commands/UpdateMembershipCommand.js +46 -0
  38. package/dist-cjs/commands/UpdateProtectedQueryCommand.js +46 -0
  39. package/dist-cjs/commands/index.js +37 -0
  40. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  41. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  42. package/dist-cjs/endpoint/ruleset.js +7 -0
  43. package/dist-cjs/index.js +11 -0
  44. package/dist-cjs/models/CleanRoomsServiceException.js +11 -0
  45. package/dist-cjs/models/index.js +4 -0
  46. package/dist-cjs/models/models_0.js +782 -0
  47. package/dist-cjs/pagination/Interfaces.js +2 -0
  48. package/dist-cjs/pagination/ListCollaborationsPaginator.js +36 -0
  49. package/dist-cjs/pagination/ListConfiguredTableAssociationsPaginator.js +36 -0
  50. package/dist-cjs/pagination/ListConfiguredTablesPaginator.js +36 -0
  51. package/dist-cjs/pagination/ListMembersPaginator.js +36 -0
  52. package/dist-cjs/pagination/ListMembershipsPaginator.js +36 -0
  53. package/dist-cjs/pagination/ListProtectedQueriesPaginator.js +36 -0
  54. package/dist-cjs/pagination/ListSchemasPaginator.js +36 -0
  55. package/dist-cjs/pagination/index.js +11 -0
  56. package/dist-cjs/protocols/Aws_restJson1.js +3336 -0
  57. package/dist-cjs/runtimeConfig.browser.js +42 -0
  58. package/dist-cjs/runtimeConfig.js +51 -0
  59. package/dist-cjs/runtimeConfig.native.js +15 -0
  60. package/dist-cjs/runtimeConfig.shared.js +18 -0
  61. package/dist-es/CleanRooms.js +513 -0
  62. package/dist-es/CleanRoomsClient.js +36 -0
  63. package/dist-es/commands/BatchGetSchemaCommand.js +42 -0
  64. package/dist-es/commands/CreateCollaborationCommand.js +42 -0
  65. package/dist-es/commands/CreateConfiguredTableAnalysisRuleCommand.js +42 -0
  66. package/dist-es/commands/CreateConfiguredTableAssociationCommand.js +42 -0
  67. package/dist-es/commands/CreateConfiguredTableCommand.js +42 -0
  68. package/dist-es/commands/CreateMembershipCommand.js +42 -0
  69. package/dist-es/commands/DeleteCollaborationCommand.js +42 -0
  70. package/dist-es/commands/DeleteConfiguredTableAnalysisRuleCommand.js +42 -0
  71. package/dist-es/commands/DeleteConfiguredTableAssociationCommand.js +42 -0
  72. package/dist-es/commands/DeleteConfiguredTableCommand.js +42 -0
  73. package/dist-es/commands/DeleteMemberCommand.js +42 -0
  74. package/dist-es/commands/DeleteMembershipCommand.js +42 -0
  75. package/dist-es/commands/GetCollaborationCommand.js +42 -0
  76. package/dist-es/commands/GetConfiguredTableAnalysisRuleCommand.js +42 -0
  77. package/dist-es/commands/GetConfiguredTableAssociationCommand.js +42 -0
  78. package/dist-es/commands/GetConfiguredTableCommand.js +42 -0
  79. package/dist-es/commands/GetMembershipCommand.js +42 -0
  80. package/dist-es/commands/GetProtectedQueryCommand.js +42 -0
  81. package/dist-es/commands/GetSchemaAnalysisRuleCommand.js +42 -0
  82. package/dist-es/commands/GetSchemaCommand.js +42 -0
  83. package/dist-es/commands/ListCollaborationsCommand.js +42 -0
  84. package/dist-es/commands/ListConfiguredTableAssociationsCommand.js +42 -0
  85. package/dist-es/commands/ListConfiguredTablesCommand.js +42 -0
  86. package/dist-es/commands/ListMembersCommand.js +42 -0
  87. package/dist-es/commands/ListMembershipsCommand.js +42 -0
  88. package/dist-es/commands/ListProtectedQueriesCommand.js +42 -0
  89. package/dist-es/commands/ListSchemasCommand.js +42 -0
  90. package/dist-es/commands/StartProtectedQueryCommand.js +42 -0
  91. package/dist-es/commands/UpdateCollaborationCommand.js +42 -0
  92. package/dist-es/commands/UpdateConfiguredTableAnalysisRuleCommand.js +42 -0
  93. package/dist-es/commands/UpdateConfiguredTableAssociationCommand.js +42 -0
  94. package/dist-es/commands/UpdateConfiguredTableCommand.js +42 -0
  95. package/dist-es/commands/UpdateMembershipCommand.js +42 -0
  96. package/dist-es/commands/UpdateProtectedQueryCommand.js +42 -0
  97. package/dist-es/commands/index.js +34 -0
  98. package/dist-es/endpoint/EndpointParameters.js +8 -0
  99. package/dist-es/endpoint/endpointResolver.js +8 -0
  100. package/dist-es/endpoint/ruleset.js +4 -0
  101. package/dist-es/index.js +6 -0
  102. package/dist-es/models/CleanRoomsServiceException.js +7 -0
  103. package/dist-es/models/index.js +1 -0
  104. package/dist-es/models/models_0.js +663 -0
  105. package/dist-es/pagination/Interfaces.js +1 -0
  106. package/dist-es/pagination/ListCollaborationsPaginator.js +32 -0
  107. package/dist-es/pagination/ListConfiguredTableAssociationsPaginator.js +32 -0
  108. package/dist-es/pagination/ListConfiguredTablesPaginator.js +32 -0
  109. package/dist-es/pagination/ListMembersPaginator.js +32 -0
  110. package/dist-es/pagination/ListMembershipsPaginator.js +32 -0
  111. package/dist-es/pagination/ListProtectedQueriesPaginator.js +32 -0
  112. package/dist-es/pagination/ListSchemasPaginator.js +32 -0
  113. package/dist-es/pagination/index.js +8 -0
  114. package/dist-es/protocols/Aws_restJson1.js +3264 -0
  115. package/dist-es/runtimeConfig.browser.js +37 -0
  116. package/dist-es/runtimeConfig.js +46 -0
  117. package/dist-es/runtimeConfig.native.js +11 -0
  118. package/dist-es/runtimeConfig.shared.js +14 -0
  119. package/dist-types/CleanRooms.d.ts +260 -0
  120. package/dist-types/CleanRoomsClient.d.ts +185 -0
  121. package/dist-types/commands/BatchGetSchemaCommand.d.ts +37 -0
  122. package/dist-types/commands/CreateCollaborationCommand.d.ts +37 -0
  123. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +38 -0
  124. package/dist-types/commands/CreateConfiguredTableAssociationCommand.d.ts +38 -0
  125. package/dist-types/commands/CreateConfiguredTableCommand.d.ts +37 -0
  126. package/dist-types/commands/CreateMembershipCommand.d.ts +38 -0
  127. package/dist-types/commands/DeleteCollaborationCommand.d.ts +37 -0
  128. package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +37 -0
  129. package/dist-types/commands/DeleteConfiguredTableAssociationCommand.d.ts +37 -0
  130. package/dist-types/commands/DeleteConfiguredTableCommand.d.ts +37 -0
  131. package/dist-types/commands/DeleteMemberCommand.d.ts +39 -0
  132. package/dist-types/commands/DeleteMembershipCommand.d.ts +37 -0
  133. package/dist-types/commands/GetCollaborationCommand.d.ts +37 -0
  134. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +37 -0
  135. package/dist-types/commands/GetConfiguredTableAssociationCommand.d.ts +37 -0
  136. package/dist-types/commands/GetConfiguredTableCommand.d.ts +37 -0
  137. package/dist-types/commands/GetMembershipCommand.d.ts +37 -0
  138. package/dist-types/commands/GetProtectedQueryCommand.d.ts +37 -0
  139. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +37 -0
  140. package/dist-types/commands/GetSchemaCommand.d.ts +37 -0
  141. package/dist-types/commands/ListCollaborationsCommand.d.ts +37 -0
  142. package/dist-types/commands/ListConfiguredTableAssociationsCommand.d.ts +37 -0
  143. package/dist-types/commands/ListConfiguredTablesCommand.d.ts +37 -0
  144. package/dist-types/commands/ListMembersCommand.d.ts +37 -0
  145. package/dist-types/commands/ListMembershipsCommand.d.ts +37 -0
  146. package/dist-types/commands/ListProtectedQueriesCommand.d.ts +37 -0
  147. package/dist-types/commands/ListSchemasCommand.d.ts +37 -0
  148. package/dist-types/commands/StartProtectedQueryCommand.d.ts +37 -0
  149. package/dist-types/commands/UpdateCollaborationCommand.d.ts +37 -0
  150. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +37 -0
  151. package/dist-types/commands/UpdateConfiguredTableAssociationCommand.d.ts +37 -0
  152. package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +37 -0
  153. package/dist-types/commands/UpdateMembershipCommand.d.ts +37 -0
  154. package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +37 -0
  155. package/dist-types/commands/index.d.ts +34 -0
  156. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  157. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  158. package/dist-types/endpoint/ruleset.d.ts +2 -0
  159. package/dist-types/index.d.ts +6 -0
  160. package/dist-types/models/CleanRoomsServiceException.d.ts +10 -0
  161. package/dist-types/models/index.d.ts +1 -0
  162. package/dist-types/models/models_0.d.ts +2382 -0
  163. package/dist-types/pagination/Interfaces.d.ts +6 -0
  164. package/dist-types/pagination/ListCollaborationsPaginator.d.ts +4 -0
  165. package/dist-types/pagination/ListConfiguredTableAssociationsPaginator.d.ts +4 -0
  166. package/dist-types/pagination/ListConfiguredTablesPaginator.d.ts +4 -0
  167. package/dist-types/pagination/ListMembersPaginator.d.ts +4 -0
  168. package/dist-types/pagination/ListMembershipsPaginator.d.ts +4 -0
  169. package/dist-types/pagination/ListProtectedQueriesPaginator.d.ts +4 -0
  170. package/dist-types/pagination/ListSchemasPaginator.d.ts +4 -0
  171. package/dist-types/pagination/index.d.ts +8 -0
  172. package/dist-types/protocols/Aws_restJson1.d.ts +104 -0
  173. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  174. package/dist-types/runtimeConfig.d.ts +42 -0
  175. package/dist-types/runtimeConfig.native.d.ts +41 -0
  176. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  177. package/dist-types/ts3.4/CleanRooms.d.ts +600 -0
  178. package/dist-types/ts3.4/CleanRoomsClient.d.ts +315 -0
  179. package/dist-types/ts3.4/commands/BatchGetSchemaCommand.d.ts +34 -0
  180. package/dist-types/ts3.4/commands/CreateCollaborationCommand.d.ts +38 -0
  181. package/dist-types/ts3.4/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +41 -0
  182. package/dist-types/ts3.4/commands/CreateConfiguredTableAssociationCommand.d.ts +41 -0
  183. package/dist-types/ts3.4/commands/CreateConfiguredTableCommand.d.ts +41 -0
  184. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +37 -0
  185. package/dist-types/ts3.4/commands/DeleteCollaborationCommand.d.ts +38 -0
  186. package/dist-types/ts3.4/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +41 -0
  187. package/dist-types/ts3.4/commands/DeleteConfiguredTableAssociationCommand.d.ts +41 -0
  188. package/dist-types/ts3.4/commands/DeleteConfiguredTableCommand.d.ts +41 -0
  189. package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +34 -0
  190. package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +37 -0
  191. package/dist-types/ts3.4/commands/GetCollaborationCommand.d.ts +37 -0
  192. package/dist-types/ts3.4/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +41 -0
  193. package/dist-types/ts3.4/commands/GetConfiguredTableAssociationCommand.d.ts +41 -0
  194. package/dist-types/ts3.4/commands/GetConfiguredTableCommand.d.ts +38 -0
  195. package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +34 -0
  196. package/dist-types/ts3.4/commands/GetProtectedQueryCommand.d.ts +37 -0
  197. package/dist-types/ts3.4/commands/GetSchemaAnalysisRuleCommand.d.ts +41 -0
  198. package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +34 -0
  199. package/dist-types/ts3.4/commands/ListCollaborationsCommand.d.ts +38 -0
  200. package/dist-types/ts3.4/commands/ListConfiguredTableAssociationsCommand.d.ts +41 -0
  201. package/dist-types/ts3.4/commands/ListConfiguredTablesCommand.d.ts +41 -0
  202. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +34 -0
  203. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +37 -0
  204. package/dist-types/ts3.4/commands/ListProtectedQueriesCommand.d.ts +41 -0
  205. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +34 -0
  206. package/dist-types/ts3.4/commands/StartProtectedQueryCommand.d.ts +38 -0
  207. package/dist-types/ts3.4/commands/UpdateCollaborationCommand.d.ts +38 -0
  208. package/dist-types/ts3.4/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +41 -0
  209. package/dist-types/ts3.4/commands/UpdateConfiguredTableAssociationCommand.d.ts +41 -0
  210. package/dist-types/ts3.4/commands/UpdateConfiguredTableCommand.d.ts +41 -0
  211. package/dist-types/ts3.4/commands/UpdateMembershipCommand.d.ts +37 -0
  212. package/dist-types/ts3.4/commands/UpdateProtectedQueryCommand.d.ts +41 -0
  213. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  214. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  215. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  216. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  217. package/dist-types/ts3.4/index.d.ts +6 -0
  218. package/dist-types/ts3.4/models/CleanRoomsServiceException.d.ts +7 -0
  219. package/dist-types/ts3.4/models/index.d.ts +1 -0
  220. package/dist-types/ts3.4/models/models_0.d.ts +1131 -0
  221. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  222. package/dist-types/ts3.4/pagination/ListCollaborationsPaginator.d.ts +11 -0
  223. package/dist-types/ts3.4/pagination/ListConfiguredTableAssociationsPaginator.d.ts +11 -0
  224. package/dist-types/ts3.4/pagination/ListConfiguredTablesPaginator.d.ts +11 -0
  225. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +11 -0
  226. package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
  227. package/dist-types/ts3.4/pagination/ListProtectedQueriesPaginator.d.ts +11 -0
  228. package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +11 -0
  229. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  230. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +413 -0
  231. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  232. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  233. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  234. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  235. package/package.json +103 -0
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateConfiguredTableAssociationInputFilterSensitiveLog, UpdateConfiguredTableAssociationOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateConfiguredTableAssociationCommand, serializeAws_restJson1UpdateConfiguredTableAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateConfiguredTableAssociationCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfiguredTableAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "UpdateConfiguredTableAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateConfiguredTableAssociationInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateConfiguredTableAssociationOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateConfiguredTableAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateConfiguredTableAssociationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateConfiguredTableInputFilterSensitiveLog, UpdateConfiguredTableOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateConfiguredTableCommand, serializeAws_restJson1UpdateConfiguredTableCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateConfiguredTableCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfiguredTableCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "UpdateConfiguredTableCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateConfiguredTableInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateConfiguredTableOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateConfiguredTableCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateConfiguredTableCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateMembershipInputFilterSensitiveLog, UpdateMembershipOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateMembershipCommand, serializeAws_restJson1UpdateMembershipCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateMembershipCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateMembershipCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "UpdateMembershipCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateMembershipInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateMembershipOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateMembershipCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateMembershipCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateProtectedQueryInputFilterSensitiveLog, UpdateProtectedQueryOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateProtectedQueryCommand, serializeAws_restJson1UpdateProtectedQueryCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateProtectedQueryCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProtectedQueryCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "UpdateProtectedQueryCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateProtectedQueryInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateProtectedQueryOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateProtectedQueryCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateProtectedQueryCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,34 @@
1
+ export * from "./BatchGetSchemaCommand";
2
+ export * from "./CreateCollaborationCommand";
3
+ export * from "./CreateConfiguredTableAnalysisRuleCommand";
4
+ export * from "./CreateConfiguredTableAssociationCommand";
5
+ export * from "./CreateConfiguredTableCommand";
6
+ export * from "./CreateMembershipCommand";
7
+ export * from "./DeleteCollaborationCommand";
8
+ export * from "./DeleteConfiguredTableAnalysisRuleCommand";
9
+ export * from "./DeleteConfiguredTableAssociationCommand";
10
+ export * from "./DeleteConfiguredTableCommand";
11
+ export * from "./DeleteMemberCommand";
12
+ export * from "./DeleteMembershipCommand";
13
+ export * from "./GetCollaborationCommand";
14
+ export * from "./GetConfiguredTableAnalysisRuleCommand";
15
+ export * from "./GetConfiguredTableAssociationCommand";
16
+ export * from "./GetConfiguredTableCommand";
17
+ export * from "./GetMembershipCommand";
18
+ export * from "./GetProtectedQueryCommand";
19
+ export * from "./GetSchemaAnalysisRuleCommand";
20
+ export * from "./GetSchemaCommand";
21
+ export * from "./ListCollaborationsCommand";
22
+ export * from "./ListConfiguredTableAssociationsCommand";
23
+ export * from "./ListConfiguredTablesCommand";
24
+ export * from "./ListMembersCommand";
25
+ export * from "./ListMembershipsCommand";
26
+ export * from "./ListProtectedQueriesCommand";
27
+ export * from "./ListSchemasCommand";
28
+ export * from "./StartProtectedQueryCommand";
29
+ export * from "./UpdateCollaborationCommand";
30
+ export * from "./UpdateConfiguredTableAnalysisRuleCommand";
31
+ export * from "./UpdateConfiguredTableAssociationCommand";
32
+ export * from "./UpdateConfiguredTableCommand";
33
+ export * from "./UpdateMembershipCommand";
34
+ export * from "./UpdateProtectedQueryCommand";
@@ -0,0 +1,8 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "cleanrooms",
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,4 @@
1
+ const q = "fn", r = "argv", s = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1,6 @@
1
+ export * from "./CleanRooms";
2
+ export * from "./CleanRoomsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { CleanRoomsServiceException } from "./models/CleanRoomsServiceException";
@@ -0,0 +1,7 @@
1
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export class CleanRoomsServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, CleanRoomsServiceException.prototype);
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";