@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,517 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CleanRooms = void 0;
4
+ const CleanRoomsClient_1 = require("./CleanRoomsClient");
5
+ const BatchGetSchemaCommand_1 = require("./commands/BatchGetSchemaCommand");
6
+ const CreateCollaborationCommand_1 = require("./commands/CreateCollaborationCommand");
7
+ const CreateConfiguredTableAnalysisRuleCommand_1 = require("./commands/CreateConfiguredTableAnalysisRuleCommand");
8
+ const CreateConfiguredTableAssociationCommand_1 = require("./commands/CreateConfiguredTableAssociationCommand");
9
+ const CreateConfiguredTableCommand_1 = require("./commands/CreateConfiguredTableCommand");
10
+ const CreateMembershipCommand_1 = require("./commands/CreateMembershipCommand");
11
+ const DeleteCollaborationCommand_1 = require("./commands/DeleteCollaborationCommand");
12
+ const DeleteConfiguredTableAnalysisRuleCommand_1 = require("./commands/DeleteConfiguredTableAnalysisRuleCommand");
13
+ const DeleteConfiguredTableAssociationCommand_1 = require("./commands/DeleteConfiguredTableAssociationCommand");
14
+ const DeleteConfiguredTableCommand_1 = require("./commands/DeleteConfiguredTableCommand");
15
+ const DeleteMemberCommand_1 = require("./commands/DeleteMemberCommand");
16
+ const DeleteMembershipCommand_1 = require("./commands/DeleteMembershipCommand");
17
+ const GetCollaborationCommand_1 = require("./commands/GetCollaborationCommand");
18
+ const GetConfiguredTableAnalysisRuleCommand_1 = require("./commands/GetConfiguredTableAnalysisRuleCommand");
19
+ const GetConfiguredTableAssociationCommand_1 = require("./commands/GetConfiguredTableAssociationCommand");
20
+ const GetConfiguredTableCommand_1 = require("./commands/GetConfiguredTableCommand");
21
+ const GetMembershipCommand_1 = require("./commands/GetMembershipCommand");
22
+ const GetProtectedQueryCommand_1 = require("./commands/GetProtectedQueryCommand");
23
+ const GetSchemaAnalysisRuleCommand_1 = require("./commands/GetSchemaAnalysisRuleCommand");
24
+ const GetSchemaCommand_1 = require("./commands/GetSchemaCommand");
25
+ const ListCollaborationsCommand_1 = require("./commands/ListCollaborationsCommand");
26
+ const ListConfiguredTableAssociationsCommand_1 = require("./commands/ListConfiguredTableAssociationsCommand");
27
+ const ListConfiguredTablesCommand_1 = require("./commands/ListConfiguredTablesCommand");
28
+ const ListMembersCommand_1 = require("./commands/ListMembersCommand");
29
+ const ListMembershipsCommand_1 = require("./commands/ListMembershipsCommand");
30
+ const ListProtectedQueriesCommand_1 = require("./commands/ListProtectedQueriesCommand");
31
+ const ListSchemasCommand_1 = require("./commands/ListSchemasCommand");
32
+ const StartProtectedQueryCommand_1 = require("./commands/StartProtectedQueryCommand");
33
+ const UpdateCollaborationCommand_1 = require("./commands/UpdateCollaborationCommand");
34
+ const UpdateConfiguredTableAnalysisRuleCommand_1 = require("./commands/UpdateConfiguredTableAnalysisRuleCommand");
35
+ const UpdateConfiguredTableAssociationCommand_1 = require("./commands/UpdateConfiguredTableAssociationCommand");
36
+ const UpdateConfiguredTableCommand_1 = require("./commands/UpdateConfiguredTableCommand");
37
+ const UpdateMembershipCommand_1 = require("./commands/UpdateMembershipCommand");
38
+ const UpdateProtectedQueryCommand_1 = require("./commands/UpdateProtectedQueryCommand");
39
+ class CleanRooms extends CleanRoomsClient_1.CleanRoomsClient {
40
+ batchGetSchema(args, optionsOrCb, cb) {
41
+ const command = new BatchGetSchemaCommand_1.BatchGetSchemaCommand(args);
42
+ if (typeof optionsOrCb === "function") {
43
+ this.send(command, optionsOrCb);
44
+ }
45
+ else if (typeof cb === "function") {
46
+ if (typeof optionsOrCb !== "object")
47
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
48
+ this.send(command, optionsOrCb || {}, cb);
49
+ }
50
+ else {
51
+ return this.send(command, optionsOrCb);
52
+ }
53
+ }
54
+ createCollaboration(args, optionsOrCb, cb) {
55
+ const command = new CreateCollaborationCommand_1.CreateCollaborationCommand(args);
56
+ if (typeof optionsOrCb === "function") {
57
+ this.send(command, optionsOrCb);
58
+ }
59
+ else if (typeof cb === "function") {
60
+ if (typeof optionsOrCb !== "object")
61
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
62
+ this.send(command, optionsOrCb || {}, cb);
63
+ }
64
+ else {
65
+ return this.send(command, optionsOrCb);
66
+ }
67
+ }
68
+ createConfiguredTable(args, optionsOrCb, cb) {
69
+ const command = new CreateConfiguredTableCommand_1.CreateConfiguredTableCommand(args);
70
+ if (typeof optionsOrCb === "function") {
71
+ this.send(command, optionsOrCb);
72
+ }
73
+ else if (typeof cb === "function") {
74
+ if (typeof optionsOrCb !== "object")
75
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
76
+ this.send(command, optionsOrCb || {}, cb);
77
+ }
78
+ else {
79
+ return this.send(command, optionsOrCb);
80
+ }
81
+ }
82
+ createConfiguredTableAnalysisRule(args, optionsOrCb, cb) {
83
+ const command = new CreateConfiguredTableAnalysisRuleCommand_1.CreateConfiguredTableAnalysisRuleCommand(args);
84
+ if (typeof optionsOrCb === "function") {
85
+ this.send(command, optionsOrCb);
86
+ }
87
+ else if (typeof cb === "function") {
88
+ if (typeof optionsOrCb !== "object")
89
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
90
+ this.send(command, optionsOrCb || {}, cb);
91
+ }
92
+ else {
93
+ return this.send(command, optionsOrCb);
94
+ }
95
+ }
96
+ createConfiguredTableAssociation(args, optionsOrCb, cb) {
97
+ const command = new CreateConfiguredTableAssociationCommand_1.CreateConfiguredTableAssociationCommand(args);
98
+ if (typeof optionsOrCb === "function") {
99
+ this.send(command, optionsOrCb);
100
+ }
101
+ else if (typeof cb === "function") {
102
+ if (typeof optionsOrCb !== "object")
103
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
104
+ this.send(command, optionsOrCb || {}, cb);
105
+ }
106
+ else {
107
+ return this.send(command, optionsOrCb);
108
+ }
109
+ }
110
+ createMembership(args, optionsOrCb, cb) {
111
+ const command = new CreateMembershipCommand_1.CreateMembershipCommand(args);
112
+ if (typeof optionsOrCb === "function") {
113
+ this.send(command, optionsOrCb);
114
+ }
115
+ else if (typeof cb === "function") {
116
+ if (typeof optionsOrCb !== "object")
117
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
118
+ this.send(command, optionsOrCb || {}, cb);
119
+ }
120
+ else {
121
+ return this.send(command, optionsOrCb);
122
+ }
123
+ }
124
+ deleteCollaboration(args, optionsOrCb, cb) {
125
+ const command = new DeleteCollaborationCommand_1.DeleteCollaborationCommand(args);
126
+ if (typeof optionsOrCb === "function") {
127
+ this.send(command, optionsOrCb);
128
+ }
129
+ else if (typeof cb === "function") {
130
+ if (typeof optionsOrCb !== "object")
131
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
132
+ this.send(command, optionsOrCb || {}, cb);
133
+ }
134
+ else {
135
+ return this.send(command, optionsOrCb);
136
+ }
137
+ }
138
+ deleteConfiguredTable(args, optionsOrCb, cb) {
139
+ const command = new DeleteConfiguredTableCommand_1.DeleteConfiguredTableCommand(args);
140
+ if (typeof optionsOrCb === "function") {
141
+ this.send(command, optionsOrCb);
142
+ }
143
+ else if (typeof cb === "function") {
144
+ if (typeof optionsOrCb !== "object")
145
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
146
+ this.send(command, optionsOrCb || {}, cb);
147
+ }
148
+ else {
149
+ return this.send(command, optionsOrCb);
150
+ }
151
+ }
152
+ deleteConfiguredTableAnalysisRule(args, optionsOrCb, cb) {
153
+ const command = new DeleteConfiguredTableAnalysisRuleCommand_1.DeleteConfiguredTableAnalysisRuleCommand(args);
154
+ if (typeof optionsOrCb === "function") {
155
+ this.send(command, optionsOrCb);
156
+ }
157
+ else if (typeof cb === "function") {
158
+ if (typeof optionsOrCb !== "object")
159
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
160
+ this.send(command, optionsOrCb || {}, cb);
161
+ }
162
+ else {
163
+ return this.send(command, optionsOrCb);
164
+ }
165
+ }
166
+ deleteConfiguredTableAssociation(args, optionsOrCb, cb) {
167
+ const command = new DeleteConfiguredTableAssociationCommand_1.DeleteConfiguredTableAssociationCommand(args);
168
+ if (typeof optionsOrCb === "function") {
169
+ this.send(command, optionsOrCb);
170
+ }
171
+ else if (typeof cb === "function") {
172
+ if (typeof optionsOrCb !== "object")
173
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
174
+ this.send(command, optionsOrCb || {}, cb);
175
+ }
176
+ else {
177
+ return this.send(command, optionsOrCb);
178
+ }
179
+ }
180
+ deleteMember(args, optionsOrCb, cb) {
181
+ const command = new DeleteMemberCommand_1.DeleteMemberCommand(args);
182
+ if (typeof optionsOrCb === "function") {
183
+ this.send(command, optionsOrCb);
184
+ }
185
+ else if (typeof cb === "function") {
186
+ if (typeof optionsOrCb !== "object")
187
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
188
+ this.send(command, optionsOrCb || {}, cb);
189
+ }
190
+ else {
191
+ return this.send(command, optionsOrCb);
192
+ }
193
+ }
194
+ deleteMembership(args, optionsOrCb, cb) {
195
+ const command = new DeleteMembershipCommand_1.DeleteMembershipCommand(args);
196
+ if (typeof optionsOrCb === "function") {
197
+ this.send(command, optionsOrCb);
198
+ }
199
+ else if (typeof cb === "function") {
200
+ if (typeof optionsOrCb !== "object")
201
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
202
+ this.send(command, optionsOrCb || {}, cb);
203
+ }
204
+ else {
205
+ return this.send(command, optionsOrCb);
206
+ }
207
+ }
208
+ getCollaboration(args, optionsOrCb, cb) {
209
+ const command = new GetCollaborationCommand_1.GetCollaborationCommand(args);
210
+ if (typeof optionsOrCb === "function") {
211
+ this.send(command, optionsOrCb);
212
+ }
213
+ else if (typeof cb === "function") {
214
+ if (typeof optionsOrCb !== "object")
215
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
216
+ this.send(command, optionsOrCb || {}, cb);
217
+ }
218
+ else {
219
+ return this.send(command, optionsOrCb);
220
+ }
221
+ }
222
+ getConfiguredTable(args, optionsOrCb, cb) {
223
+ const command = new GetConfiguredTableCommand_1.GetConfiguredTableCommand(args);
224
+ if (typeof optionsOrCb === "function") {
225
+ this.send(command, optionsOrCb);
226
+ }
227
+ else if (typeof cb === "function") {
228
+ if (typeof optionsOrCb !== "object")
229
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
230
+ this.send(command, optionsOrCb || {}, cb);
231
+ }
232
+ else {
233
+ return this.send(command, optionsOrCb);
234
+ }
235
+ }
236
+ getConfiguredTableAnalysisRule(args, optionsOrCb, cb) {
237
+ const command = new GetConfiguredTableAnalysisRuleCommand_1.GetConfiguredTableAnalysisRuleCommand(args);
238
+ if (typeof optionsOrCb === "function") {
239
+ this.send(command, optionsOrCb);
240
+ }
241
+ else if (typeof cb === "function") {
242
+ if (typeof optionsOrCb !== "object")
243
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
244
+ this.send(command, optionsOrCb || {}, cb);
245
+ }
246
+ else {
247
+ return this.send(command, optionsOrCb);
248
+ }
249
+ }
250
+ getConfiguredTableAssociation(args, optionsOrCb, cb) {
251
+ const command = new GetConfiguredTableAssociationCommand_1.GetConfiguredTableAssociationCommand(args);
252
+ if (typeof optionsOrCb === "function") {
253
+ this.send(command, optionsOrCb);
254
+ }
255
+ else if (typeof cb === "function") {
256
+ if (typeof optionsOrCb !== "object")
257
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
258
+ this.send(command, optionsOrCb || {}, cb);
259
+ }
260
+ else {
261
+ return this.send(command, optionsOrCb);
262
+ }
263
+ }
264
+ getMembership(args, optionsOrCb, cb) {
265
+ const command = new GetMembershipCommand_1.GetMembershipCommand(args);
266
+ if (typeof optionsOrCb === "function") {
267
+ this.send(command, optionsOrCb);
268
+ }
269
+ else if (typeof cb === "function") {
270
+ if (typeof optionsOrCb !== "object")
271
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
272
+ this.send(command, optionsOrCb || {}, cb);
273
+ }
274
+ else {
275
+ return this.send(command, optionsOrCb);
276
+ }
277
+ }
278
+ getProtectedQuery(args, optionsOrCb, cb) {
279
+ const command = new GetProtectedQueryCommand_1.GetProtectedQueryCommand(args);
280
+ if (typeof optionsOrCb === "function") {
281
+ this.send(command, optionsOrCb);
282
+ }
283
+ else if (typeof cb === "function") {
284
+ if (typeof optionsOrCb !== "object")
285
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
286
+ this.send(command, optionsOrCb || {}, cb);
287
+ }
288
+ else {
289
+ return this.send(command, optionsOrCb);
290
+ }
291
+ }
292
+ getSchema(args, optionsOrCb, cb) {
293
+ const command = new GetSchemaCommand_1.GetSchemaCommand(args);
294
+ if (typeof optionsOrCb === "function") {
295
+ this.send(command, optionsOrCb);
296
+ }
297
+ else if (typeof cb === "function") {
298
+ if (typeof optionsOrCb !== "object")
299
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
300
+ this.send(command, optionsOrCb || {}, cb);
301
+ }
302
+ else {
303
+ return this.send(command, optionsOrCb);
304
+ }
305
+ }
306
+ getSchemaAnalysisRule(args, optionsOrCb, cb) {
307
+ const command = new GetSchemaAnalysisRuleCommand_1.GetSchemaAnalysisRuleCommand(args);
308
+ if (typeof optionsOrCb === "function") {
309
+ this.send(command, optionsOrCb);
310
+ }
311
+ else if (typeof cb === "function") {
312
+ if (typeof optionsOrCb !== "object")
313
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
314
+ this.send(command, optionsOrCb || {}, cb);
315
+ }
316
+ else {
317
+ return this.send(command, optionsOrCb);
318
+ }
319
+ }
320
+ listCollaborations(args, optionsOrCb, cb) {
321
+ const command = new ListCollaborationsCommand_1.ListCollaborationsCommand(args);
322
+ if (typeof optionsOrCb === "function") {
323
+ this.send(command, optionsOrCb);
324
+ }
325
+ else if (typeof cb === "function") {
326
+ if (typeof optionsOrCb !== "object")
327
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
328
+ this.send(command, optionsOrCb || {}, cb);
329
+ }
330
+ else {
331
+ return this.send(command, optionsOrCb);
332
+ }
333
+ }
334
+ listConfiguredTableAssociations(args, optionsOrCb, cb) {
335
+ const command = new ListConfiguredTableAssociationsCommand_1.ListConfiguredTableAssociationsCommand(args);
336
+ if (typeof optionsOrCb === "function") {
337
+ this.send(command, optionsOrCb);
338
+ }
339
+ else if (typeof cb === "function") {
340
+ if (typeof optionsOrCb !== "object")
341
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
342
+ this.send(command, optionsOrCb || {}, cb);
343
+ }
344
+ else {
345
+ return this.send(command, optionsOrCb);
346
+ }
347
+ }
348
+ listConfiguredTables(args, optionsOrCb, cb) {
349
+ const command = new ListConfiguredTablesCommand_1.ListConfiguredTablesCommand(args);
350
+ if (typeof optionsOrCb === "function") {
351
+ this.send(command, optionsOrCb);
352
+ }
353
+ else if (typeof cb === "function") {
354
+ if (typeof optionsOrCb !== "object")
355
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
356
+ this.send(command, optionsOrCb || {}, cb);
357
+ }
358
+ else {
359
+ return this.send(command, optionsOrCb);
360
+ }
361
+ }
362
+ listMembers(args, optionsOrCb, cb) {
363
+ const command = new ListMembersCommand_1.ListMembersCommand(args);
364
+ if (typeof optionsOrCb === "function") {
365
+ this.send(command, optionsOrCb);
366
+ }
367
+ else if (typeof cb === "function") {
368
+ if (typeof optionsOrCb !== "object")
369
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
370
+ this.send(command, optionsOrCb || {}, cb);
371
+ }
372
+ else {
373
+ return this.send(command, optionsOrCb);
374
+ }
375
+ }
376
+ listMemberships(args, optionsOrCb, cb) {
377
+ const command = new ListMembershipsCommand_1.ListMembershipsCommand(args);
378
+ if (typeof optionsOrCb === "function") {
379
+ this.send(command, optionsOrCb);
380
+ }
381
+ else if (typeof cb === "function") {
382
+ if (typeof optionsOrCb !== "object")
383
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
384
+ this.send(command, optionsOrCb || {}, cb);
385
+ }
386
+ else {
387
+ return this.send(command, optionsOrCb);
388
+ }
389
+ }
390
+ listProtectedQueries(args, optionsOrCb, cb) {
391
+ const command = new ListProtectedQueriesCommand_1.ListProtectedQueriesCommand(args);
392
+ if (typeof optionsOrCb === "function") {
393
+ this.send(command, optionsOrCb);
394
+ }
395
+ else if (typeof cb === "function") {
396
+ if (typeof optionsOrCb !== "object")
397
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
398
+ this.send(command, optionsOrCb || {}, cb);
399
+ }
400
+ else {
401
+ return this.send(command, optionsOrCb);
402
+ }
403
+ }
404
+ listSchemas(args, optionsOrCb, cb) {
405
+ const command = new ListSchemasCommand_1.ListSchemasCommand(args);
406
+ if (typeof optionsOrCb === "function") {
407
+ this.send(command, optionsOrCb);
408
+ }
409
+ else if (typeof cb === "function") {
410
+ if (typeof optionsOrCb !== "object")
411
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
412
+ this.send(command, optionsOrCb || {}, cb);
413
+ }
414
+ else {
415
+ return this.send(command, optionsOrCb);
416
+ }
417
+ }
418
+ startProtectedQuery(args, optionsOrCb, cb) {
419
+ const command = new StartProtectedQueryCommand_1.StartProtectedQueryCommand(args);
420
+ if (typeof optionsOrCb === "function") {
421
+ this.send(command, optionsOrCb);
422
+ }
423
+ else if (typeof cb === "function") {
424
+ if (typeof optionsOrCb !== "object")
425
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
+ this.send(command, optionsOrCb || {}, cb);
427
+ }
428
+ else {
429
+ return this.send(command, optionsOrCb);
430
+ }
431
+ }
432
+ updateCollaboration(args, optionsOrCb, cb) {
433
+ const command = new UpdateCollaborationCommand_1.UpdateCollaborationCommand(args);
434
+ if (typeof optionsOrCb === "function") {
435
+ this.send(command, optionsOrCb);
436
+ }
437
+ else if (typeof cb === "function") {
438
+ if (typeof optionsOrCb !== "object")
439
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
440
+ this.send(command, optionsOrCb || {}, cb);
441
+ }
442
+ else {
443
+ return this.send(command, optionsOrCb);
444
+ }
445
+ }
446
+ updateConfiguredTable(args, optionsOrCb, cb) {
447
+ const command = new UpdateConfiguredTableCommand_1.UpdateConfiguredTableCommand(args);
448
+ if (typeof optionsOrCb === "function") {
449
+ this.send(command, optionsOrCb);
450
+ }
451
+ else if (typeof cb === "function") {
452
+ if (typeof optionsOrCb !== "object")
453
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
454
+ this.send(command, optionsOrCb || {}, cb);
455
+ }
456
+ else {
457
+ return this.send(command, optionsOrCb);
458
+ }
459
+ }
460
+ updateConfiguredTableAnalysisRule(args, optionsOrCb, cb) {
461
+ const command = new UpdateConfiguredTableAnalysisRuleCommand_1.UpdateConfiguredTableAnalysisRuleCommand(args);
462
+ if (typeof optionsOrCb === "function") {
463
+ this.send(command, optionsOrCb);
464
+ }
465
+ else if (typeof cb === "function") {
466
+ if (typeof optionsOrCb !== "object")
467
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
468
+ this.send(command, optionsOrCb || {}, cb);
469
+ }
470
+ else {
471
+ return this.send(command, optionsOrCb);
472
+ }
473
+ }
474
+ updateConfiguredTableAssociation(args, optionsOrCb, cb) {
475
+ const command = new UpdateConfiguredTableAssociationCommand_1.UpdateConfiguredTableAssociationCommand(args);
476
+ if (typeof optionsOrCb === "function") {
477
+ this.send(command, optionsOrCb);
478
+ }
479
+ else if (typeof cb === "function") {
480
+ if (typeof optionsOrCb !== "object")
481
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
482
+ this.send(command, optionsOrCb || {}, cb);
483
+ }
484
+ else {
485
+ return this.send(command, optionsOrCb);
486
+ }
487
+ }
488
+ updateMembership(args, optionsOrCb, cb) {
489
+ const command = new UpdateMembershipCommand_1.UpdateMembershipCommand(args);
490
+ if (typeof optionsOrCb === "function") {
491
+ this.send(command, optionsOrCb);
492
+ }
493
+ else if (typeof cb === "function") {
494
+ if (typeof optionsOrCb !== "object")
495
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
496
+ this.send(command, optionsOrCb || {}, cb);
497
+ }
498
+ else {
499
+ return this.send(command, optionsOrCb);
500
+ }
501
+ }
502
+ updateProtectedQuery(args, optionsOrCb, cb) {
503
+ const command = new UpdateProtectedQueryCommand_1.UpdateProtectedQueryCommand(args);
504
+ if (typeof optionsOrCb === "function") {
505
+ this.send(command, optionsOrCb);
506
+ }
507
+ else if (typeof cb === "function") {
508
+ if (typeof optionsOrCb !== "object")
509
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
510
+ this.send(command, optionsOrCb || {}, cb);
511
+ }
512
+ else {
513
+ return this.send(command, optionsOrCb);
514
+ }
515
+ }
516
+ }
517
+ exports.CleanRooms = CleanRooms;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CleanRoomsClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
7
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
8
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
9
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
10
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
+ const runtimeConfig_1 = require("./runtimeConfig");
16
+ class CleanRoomsClient extends smithy_client_1.Client {
17
+ constructor(configuration) {
18
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
19
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
20
+ const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
21
+ const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
22
+ const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
23
+ const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
24
+ const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
25
+ const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
26
+ super(_config_7);
27
+ this.config = _config_7;
28
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
30
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
31
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
32
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
33
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
34
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
35
+ }
36
+ destroy() {
37
+ super.destroy();
38
+ }
39
+ }
40
+ exports.CleanRoomsClient = CleanRoomsClient;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetSchemaCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class BatchGetSchemaCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetSchemaCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CleanRoomsClient";
28
+ const commandName = "BatchGetSchemaCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.BatchGetSchemaInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.BatchGetSchemaOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1BatchGetSchemaCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1BatchGetSchemaCommand)(output, context);
44
+ }
45
+ }
46
+ exports.BatchGetSchemaCommand = BatchGetSchemaCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateCollaborationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CreateCollaborationCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCollaborationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "CleanRoomsClient";
28
+ const commandName = "CreateCollaborationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CreateCollaborationInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CreateCollaborationOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateCollaborationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateCollaborationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateCollaborationCommand = CreateCollaborationCommand;