@aws-sdk/client-cleanroomsml 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 (199) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +405 -0
  3. package/dist-cjs/CleanRoomsML.js +61 -0
  4. package/dist-cjs/CleanRoomsMLClient.js +43 -0
  5. package/dist-cjs/commands/CreateAudienceModelCommand.js +51 -0
  6. package/dist-cjs/commands/CreateConfiguredAudienceModelCommand.js +51 -0
  7. package/dist-cjs/commands/CreateTrainingDatasetCommand.js +51 -0
  8. package/dist-cjs/commands/DeleteAudienceGenerationJobCommand.js +51 -0
  9. package/dist-cjs/commands/DeleteAudienceModelCommand.js +51 -0
  10. package/dist-cjs/commands/DeleteConfiguredAudienceModelCommand.js +51 -0
  11. package/dist-cjs/commands/DeleteConfiguredAudienceModelPolicyCommand.js +51 -0
  12. package/dist-cjs/commands/DeleteTrainingDatasetCommand.js +51 -0
  13. package/dist-cjs/commands/GetAudienceGenerationJobCommand.js +51 -0
  14. package/dist-cjs/commands/GetAudienceModelCommand.js +51 -0
  15. package/dist-cjs/commands/GetConfiguredAudienceModelCommand.js +51 -0
  16. package/dist-cjs/commands/GetConfiguredAudienceModelPolicyCommand.js +51 -0
  17. package/dist-cjs/commands/GetTrainingDatasetCommand.js +51 -0
  18. package/dist-cjs/commands/ListAudienceExportJobsCommand.js +51 -0
  19. package/dist-cjs/commands/ListAudienceGenerationJobsCommand.js +51 -0
  20. package/dist-cjs/commands/ListAudienceModelsCommand.js +51 -0
  21. package/dist-cjs/commands/ListConfiguredAudienceModelsCommand.js +51 -0
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  23. package/dist-cjs/commands/ListTrainingDatasetsCommand.js +51 -0
  24. package/dist-cjs/commands/PutConfiguredAudienceModelPolicyCommand.js +51 -0
  25. package/dist-cjs/commands/StartAudienceExportJobCommand.js +51 -0
  26. package/dist-cjs/commands/StartAudienceGenerationJobCommand.js +51 -0
  27. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  29. package/dist-cjs/commands/UpdateConfiguredAudienceModelCommand.js +51 -0
  30. package/dist-cjs/commands/index.js +28 -0
  31. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  32. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  33. package/dist-cjs/endpoint/ruleset.js +7 -0
  34. package/dist-cjs/extensionConfiguration.js +2 -0
  35. package/dist-cjs/index.js +12 -0
  36. package/dist-cjs/models/CleanRoomsMLServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +131 -0
  39. package/dist-cjs/pagination/Interfaces.js +2 -0
  40. package/dist-cjs/pagination/ListAudienceExportJobsPaginator.js +29 -0
  41. package/dist-cjs/pagination/ListAudienceGenerationJobsPaginator.js +29 -0
  42. package/dist-cjs/pagination/ListAudienceModelsPaginator.js +29 -0
  43. package/dist-cjs/pagination/ListConfiguredAudienceModelsPaginator.js +29 -0
  44. package/dist-cjs/pagination/ListTrainingDatasetsPaginator.js +29 -0
  45. package/dist-cjs/pagination/index.js +9 -0
  46. package/dist-cjs/protocols/Aws_restJson1.js +1835 -0
  47. package/dist-cjs/runtimeConfig.browser.js +39 -0
  48. package/dist-cjs/runtimeConfig.js +50 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +24 -0
  51. package/dist-cjs/runtimeExtensions.js +22 -0
  52. package/dist-es/CleanRoomsML.js +57 -0
  53. package/dist-es/CleanRoomsMLClient.js +39 -0
  54. package/dist-es/commands/CreateAudienceModelCommand.js +47 -0
  55. package/dist-es/commands/CreateConfiguredAudienceModelCommand.js +47 -0
  56. package/dist-es/commands/CreateTrainingDatasetCommand.js +47 -0
  57. package/dist-es/commands/DeleteAudienceGenerationJobCommand.js +47 -0
  58. package/dist-es/commands/DeleteAudienceModelCommand.js +47 -0
  59. package/dist-es/commands/DeleteConfiguredAudienceModelCommand.js +47 -0
  60. package/dist-es/commands/DeleteConfiguredAudienceModelPolicyCommand.js +47 -0
  61. package/dist-es/commands/DeleteTrainingDatasetCommand.js +47 -0
  62. package/dist-es/commands/GetAudienceGenerationJobCommand.js +47 -0
  63. package/dist-es/commands/GetAudienceModelCommand.js +47 -0
  64. package/dist-es/commands/GetConfiguredAudienceModelCommand.js +47 -0
  65. package/dist-es/commands/GetConfiguredAudienceModelPolicyCommand.js +47 -0
  66. package/dist-es/commands/GetTrainingDatasetCommand.js +47 -0
  67. package/dist-es/commands/ListAudienceExportJobsCommand.js +47 -0
  68. package/dist-es/commands/ListAudienceGenerationJobsCommand.js +47 -0
  69. package/dist-es/commands/ListAudienceModelsCommand.js +47 -0
  70. package/dist-es/commands/ListConfiguredAudienceModelsCommand.js +47 -0
  71. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  72. package/dist-es/commands/ListTrainingDatasetsCommand.js +47 -0
  73. package/dist-es/commands/PutConfiguredAudienceModelPolicyCommand.js +47 -0
  74. package/dist-es/commands/StartAudienceExportJobCommand.js +47 -0
  75. package/dist-es/commands/StartAudienceGenerationJobCommand.js +47 -0
  76. package/dist-es/commands/TagResourceCommand.js +47 -0
  77. package/dist-es/commands/UntagResourceCommand.js +47 -0
  78. package/dist-es/commands/UpdateConfiguredAudienceModelCommand.js +47 -0
  79. package/dist-es/commands/index.js +25 -0
  80. package/dist-es/endpoint/EndpointParameters.js +8 -0
  81. package/dist-es/endpoint/endpointResolver.js +8 -0
  82. package/dist-es/endpoint/ruleset.js +4 -0
  83. package/dist-es/extensionConfiguration.js +1 -0
  84. package/dist-es/index.js +7 -0
  85. package/dist-es/models/CleanRoomsMLServiceException.js +8 -0
  86. package/dist-es/models/index.js +1 -0
  87. package/dist-es/models/models_0.js +123 -0
  88. package/dist-es/pagination/Interfaces.js +1 -0
  89. package/dist-es/pagination/ListAudienceExportJobsPaginator.js +25 -0
  90. package/dist-es/pagination/ListAudienceGenerationJobsPaginator.js +25 -0
  91. package/dist-es/pagination/ListAudienceModelsPaginator.js +25 -0
  92. package/dist-es/pagination/ListConfiguredAudienceModelsPaginator.js +25 -0
  93. package/dist-es/pagination/ListTrainingDatasetsPaginator.js +25 -0
  94. package/dist-es/pagination/index.js +6 -0
  95. package/dist-es/protocols/Aws_restJson1.js +1782 -0
  96. package/dist-es/runtimeConfig.browser.js +34 -0
  97. package/dist-es/runtimeConfig.js +45 -0
  98. package/dist-es/runtimeConfig.native.js +11 -0
  99. package/dist-es/runtimeConfig.shared.js +20 -0
  100. package/dist-es/runtimeExtensions.js +18 -0
  101. package/dist-types/CleanRoomsML.d.ts +185 -0
  102. package/dist-types/CleanRoomsMLClient.d.ts +194 -0
  103. package/dist-types/commands/CreateAudienceModelCommand.d.ts +96 -0
  104. package/dist-types/commands/CreateConfiguredAudienceModelCommand.d.ts +112 -0
  105. package/dist-types/commands/CreateTrainingDatasetCommand.d.ts +109 -0
  106. package/dist-types/commands/DeleteAudienceGenerationJobCommand.d.ts +83 -0
  107. package/dist-types/commands/DeleteAudienceModelCommand.d.ts +83 -0
  108. package/dist-types/commands/DeleteConfiguredAudienceModelCommand.d.ts +83 -0
  109. package/dist-types/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +80 -0
  110. package/dist-types/commands/DeleteTrainingDatasetCommand.d.ts +83 -0
  111. package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +115 -0
  112. package/dist-types/commands/GetAudienceModelCommand.d.ts +105 -0
  113. package/dist-types/commands/GetConfiguredAudienceModelCommand.d.ts +110 -0
  114. package/dist-types/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +84 -0
  115. package/dist-types/commands/GetTrainingDatasetCommand.d.ts +113 -0
  116. package/dist-types/commands/ListAudienceExportJobsCommand.d.ts +100 -0
  117. package/dist-types/commands/ListAudienceGenerationJobsCommand.d.ts +95 -0
  118. package/dist-types/commands/ListAudienceModelsCommand.d.ts +91 -0
  119. package/dist-types/commands/ListConfiguredAudienceModelsCommand.d.ts +99 -0
  120. package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
  121. package/dist-types/commands/ListTrainingDatasetsCommand.d.ts +90 -0
  122. package/dist-types/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +86 -0
  123. package/dist-types/commands/StartAudienceExportJobCommand.d.ts +92 -0
  124. package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +101 -0
  125. package/dist-types/commands/TagResourceCommand.d.ts +83 -0
  126. package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
  127. package/dist-types/commands/UpdateConfiguredAudienceModelCommand.d.ts +105 -0
  128. package/dist-types/commands/index.d.ts +25 -0
  129. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  130. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  131. package/dist-types/endpoint/ruleset.d.ts +2 -0
  132. package/dist-types/extensionConfiguration.d.ts +8 -0
  133. package/dist-types/index.d.ts +15 -0
  134. package/dist-types/models/CleanRoomsMLServiceException.d.ts +13 -0
  135. package/dist-types/models/index.d.ts +1 -0
  136. package/dist-types/models/models_0.d.ts +1729 -0
  137. package/dist-types/pagination/Interfaces.d.ts +8 -0
  138. package/dist-types/pagination/ListAudienceExportJobsPaginator.d.ts +7 -0
  139. package/dist-types/pagination/ListAudienceGenerationJobsPaginator.d.ts +7 -0
  140. package/dist-types/pagination/ListAudienceModelsPaginator.d.ts +7 -0
  141. package/dist-types/pagination/ListConfiguredAudienceModelsPaginator.d.ts +7 -0
  142. package/dist-types/pagination/ListTrainingDatasetsPaginator.d.ts +7 -0
  143. package/dist-types/pagination/index.d.ts +6 -0
  144. package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
  145. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  146. package/dist-types/runtimeConfig.d.ts +46 -0
  147. package/dist-types/runtimeConfig.native.d.ts +45 -0
  148. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  149. package/dist-types/runtimeExtensions.d.ts +17 -0
  150. package/dist-types/ts3.4/CleanRoomsML.d.ts +438 -0
  151. package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +269 -0
  152. package/dist-types/ts3.4/commands/CreateAudienceModelCommand.d.ts +39 -0
  153. package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelCommand.d.ts +42 -0
  154. package/dist-types/ts3.4/commands/CreateTrainingDatasetCommand.d.ts +42 -0
  155. package/dist-types/ts3.4/commands/DeleteAudienceGenerationJobCommand.d.ts +38 -0
  156. package/dist-types/ts3.4/commands/DeleteAudienceModelCommand.d.ts +34 -0
  157. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelCommand.d.ts +38 -0
  158. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +38 -0
  159. package/dist-types/ts3.4/commands/DeleteTrainingDatasetCommand.d.ts +37 -0
  160. package/dist-types/ts3.4/commands/GetAudienceGenerationJobCommand.d.ts +42 -0
  161. package/dist-types/ts3.4/commands/GetAudienceModelCommand.d.ts +38 -0
  162. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelCommand.d.ts +42 -0
  163. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +42 -0
  164. package/dist-types/ts3.4/commands/GetTrainingDatasetCommand.d.ts +39 -0
  165. package/dist-types/ts3.4/commands/ListAudienceExportJobsCommand.d.ts +42 -0
  166. package/dist-types/ts3.4/commands/ListAudienceGenerationJobsCommand.d.ts +42 -0
  167. package/dist-types/ts3.4/commands/ListAudienceModelsCommand.d.ts +39 -0
  168. package/dist-types/ts3.4/commands/ListConfiguredAudienceModelsCommand.d.ts +42 -0
  169. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  170. package/dist-types/ts3.4/commands/ListTrainingDatasetsCommand.d.ts +42 -0
  171. package/dist-types/ts3.4/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +42 -0
  172. package/dist-types/ts3.4/commands/StartAudienceExportJobCommand.d.ts +37 -0
  173. package/dist-types/ts3.4/commands/StartAudienceGenerationJobCommand.d.ts +42 -0
  174. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  175. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  176. package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelCommand.d.ts +42 -0
  177. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  178. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  179. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  180. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  181. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  182. package/dist-types/ts3.4/index.d.ts +10 -0
  183. package/dist-types/ts3.4/models/CleanRoomsMLServiceException.d.ts +8 -0
  184. package/dist-types/ts3.4/models/index.d.ts +1 -0
  185. package/dist-types/ts3.4/models/models_0.d.ts +453 -0
  186. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  187. package/dist-types/ts3.4/pagination/ListAudienceExportJobsPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/ListAudienceGenerationJobsPaginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/ListAudienceModelsPaginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelsPaginator.d.ts +11 -0
  191. package/dist-types/ts3.4/pagination/ListTrainingDatasetsPaginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  193. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
  194. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  195. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  196. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  197. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  198. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  199. package/package.json +102 -0
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CleanRoomsML = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const CleanRoomsMLClient_1 = require("./CleanRoomsMLClient");
6
+ const CreateAudienceModelCommand_1 = require("./commands/CreateAudienceModelCommand");
7
+ const CreateConfiguredAudienceModelCommand_1 = require("./commands/CreateConfiguredAudienceModelCommand");
8
+ const CreateTrainingDatasetCommand_1 = require("./commands/CreateTrainingDatasetCommand");
9
+ const DeleteAudienceGenerationJobCommand_1 = require("./commands/DeleteAudienceGenerationJobCommand");
10
+ const DeleteAudienceModelCommand_1 = require("./commands/DeleteAudienceModelCommand");
11
+ const DeleteConfiguredAudienceModelCommand_1 = require("./commands/DeleteConfiguredAudienceModelCommand");
12
+ const DeleteConfiguredAudienceModelPolicyCommand_1 = require("./commands/DeleteConfiguredAudienceModelPolicyCommand");
13
+ const DeleteTrainingDatasetCommand_1 = require("./commands/DeleteTrainingDatasetCommand");
14
+ const GetAudienceGenerationJobCommand_1 = require("./commands/GetAudienceGenerationJobCommand");
15
+ const GetAudienceModelCommand_1 = require("./commands/GetAudienceModelCommand");
16
+ const GetConfiguredAudienceModelCommand_1 = require("./commands/GetConfiguredAudienceModelCommand");
17
+ const GetConfiguredAudienceModelPolicyCommand_1 = require("./commands/GetConfiguredAudienceModelPolicyCommand");
18
+ const GetTrainingDatasetCommand_1 = require("./commands/GetTrainingDatasetCommand");
19
+ const ListAudienceExportJobsCommand_1 = require("./commands/ListAudienceExportJobsCommand");
20
+ const ListAudienceGenerationJobsCommand_1 = require("./commands/ListAudienceGenerationJobsCommand");
21
+ const ListAudienceModelsCommand_1 = require("./commands/ListAudienceModelsCommand");
22
+ const ListConfiguredAudienceModelsCommand_1 = require("./commands/ListConfiguredAudienceModelsCommand");
23
+ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
24
+ const ListTrainingDatasetsCommand_1 = require("./commands/ListTrainingDatasetsCommand");
25
+ const PutConfiguredAudienceModelPolicyCommand_1 = require("./commands/PutConfiguredAudienceModelPolicyCommand");
26
+ const StartAudienceExportJobCommand_1 = require("./commands/StartAudienceExportJobCommand");
27
+ const StartAudienceGenerationJobCommand_1 = require("./commands/StartAudienceGenerationJobCommand");
28
+ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
29
+ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
30
+ const UpdateConfiguredAudienceModelCommand_1 = require("./commands/UpdateConfiguredAudienceModelCommand");
31
+ const commands = {
32
+ CreateAudienceModelCommand: CreateAudienceModelCommand_1.CreateAudienceModelCommand,
33
+ CreateConfiguredAudienceModelCommand: CreateConfiguredAudienceModelCommand_1.CreateConfiguredAudienceModelCommand,
34
+ CreateTrainingDatasetCommand: CreateTrainingDatasetCommand_1.CreateTrainingDatasetCommand,
35
+ DeleteAudienceGenerationJobCommand: DeleteAudienceGenerationJobCommand_1.DeleteAudienceGenerationJobCommand,
36
+ DeleteAudienceModelCommand: DeleteAudienceModelCommand_1.DeleteAudienceModelCommand,
37
+ DeleteConfiguredAudienceModelCommand: DeleteConfiguredAudienceModelCommand_1.DeleteConfiguredAudienceModelCommand,
38
+ DeleteConfiguredAudienceModelPolicyCommand: DeleteConfiguredAudienceModelPolicyCommand_1.DeleteConfiguredAudienceModelPolicyCommand,
39
+ DeleteTrainingDatasetCommand: DeleteTrainingDatasetCommand_1.DeleteTrainingDatasetCommand,
40
+ GetAudienceGenerationJobCommand: GetAudienceGenerationJobCommand_1.GetAudienceGenerationJobCommand,
41
+ GetAudienceModelCommand: GetAudienceModelCommand_1.GetAudienceModelCommand,
42
+ GetConfiguredAudienceModelCommand: GetConfiguredAudienceModelCommand_1.GetConfiguredAudienceModelCommand,
43
+ GetConfiguredAudienceModelPolicyCommand: GetConfiguredAudienceModelPolicyCommand_1.GetConfiguredAudienceModelPolicyCommand,
44
+ GetTrainingDatasetCommand: GetTrainingDatasetCommand_1.GetTrainingDatasetCommand,
45
+ ListAudienceExportJobsCommand: ListAudienceExportJobsCommand_1.ListAudienceExportJobsCommand,
46
+ ListAudienceGenerationJobsCommand: ListAudienceGenerationJobsCommand_1.ListAudienceGenerationJobsCommand,
47
+ ListAudienceModelsCommand: ListAudienceModelsCommand_1.ListAudienceModelsCommand,
48
+ ListConfiguredAudienceModelsCommand: ListConfiguredAudienceModelsCommand_1.ListConfiguredAudienceModelsCommand,
49
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
50
+ ListTrainingDatasetsCommand: ListTrainingDatasetsCommand_1.ListTrainingDatasetsCommand,
51
+ PutConfiguredAudienceModelPolicyCommand: PutConfiguredAudienceModelPolicyCommand_1.PutConfiguredAudienceModelPolicyCommand,
52
+ StartAudienceExportJobCommand: StartAudienceExportJobCommand_1.StartAudienceExportJobCommand,
53
+ StartAudienceGenerationJobCommand: StartAudienceGenerationJobCommand_1.StartAudienceGenerationJobCommand,
54
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
55
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
56
+ UpdateConfiguredAudienceModelCommand: UpdateConfiguredAudienceModelCommand_1.UpdateConfiguredAudienceModelCommand,
57
+ };
58
+ class CleanRoomsML extends CleanRoomsMLClient_1.CleanRoomsMLClient {
59
+ }
60
+ exports.CleanRoomsML = CleanRoomsML;
61
+ (0, smithy_client_1.createAggregatedClient)(commands, CleanRoomsML);
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CleanRoomsMLClient = exports.__Client = void 0;
4
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
8
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
+ const middleware_retry_1 = require("@smithy/middleware-retry");
13
+ const smithy_client_1 = require("@smithy/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
+ const runtimeConfig_1 = require("./runtimeConfig");
17
+ const runtimeExtensions_1 = require("./runtimeExtensions");
18
+ class CleanRoomsMLClient extends smithy_client_1.Client {
19
+ constructor(...[configuration]) {
20
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
21
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
22
+ const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
23
+ const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
24
+ const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
25
+ const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
26
+ const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
27
+ const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
28
+ const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
29
+ super(_config_8);
30
+ this.config = _config_8;
31
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
32
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
33
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
34
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
35
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
36
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
37
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
38
+ }
39
+ destroy() {
40
+ super.destroy();
41
+ }
42
+ }
43
+ exports.CleanRoomsMLClient = CleanRoomsMLClient;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateAudienceModelCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateAudienceModelCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAudienceModelCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "CreateAudienceModelCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "CreateAudienceModel",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_CreateAudienceModelCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_CreateAudienceModelCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateAudienceModelCommand = CreateAudienceModelCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateConfiguredAudienceModelCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateConfiguredAudienceModelCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateConfiguredAudienceModelCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "CreateConfiguredAudienceModelCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "CreateConfiguredAudienceModel",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_CreateConfiguredAudienceModelCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_CreateConfiguredAudienceModelCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateConfiguredAudienceModelCommand = CreateConfiguredAudienceModelCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTrainingDatasetCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateTrainingDatasetCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateTrainingDatasetCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "CreateTrainingDatasetCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "CreateTrainingDataset",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_CreateTrainingDatasetCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_CreateTrainingDatasetCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateTrainingDatasetCommand = CreateTrainingDatasetCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAudienceGenerationJobCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteAudienceGenerationJobCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAudienceGenerationJobCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "DeleteAudienceGenerationJobCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "DeleteAudienceGenerationJob",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteAudienceGenerationJobCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteAudienceGenerationJobCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteAudienceGenerationJobCommand = DeleteAudienceGenerationJobCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAudienceModelCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteAudienceModelCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAudienceModelCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "DeleteAudienceModelCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "DeleteAudienceModel",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteAudienceModelCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteAudienceModelCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteAudienceModelCommand = DeleteAudienceModelCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteConfiguredAudienceModelCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteConfiguredAudienceModelCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteConfiguredAudienceModelCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "DeleteConfiguredAudienceModelCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "DeleteConfiguredAudienceModel",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteConfiguredAudienceModelCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteConfiguredAudienceModelCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteConfiguredAudienceModelCommand = DeleteConfiguredAudienceModelCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteConfiguredAudienceModelPolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteConfiguredAudienceModelPolicyCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteConfiguredAudienceModelPolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "DeleteConfiguredAudienceModelPolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "DeleteConfiguredAudienceModelPolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteConfiguredAudienceModelPolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteConfiguredAudienceModelPolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteConfiguredAudienceModelPolicyCommand = DeleteConfiguredAudienceModelPolicyCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteTrainingDatasetCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteTrainingDatasetCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteTrainingDatasetCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "DeleteTrainingDatasetCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "DeleteTrainingDataset",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteTrainingDatasetCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteTrainingDatasetCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteTrainingDatasetCommand = DeleteTrainingDatasetCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAudienceGenerationJobCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetAudienceGenerationJobCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAudienceGenerationJobCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "GetAudienceGenerationJobCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "GetAudienceGenerationJob",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetAudienceGenerationJobCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetAudienceGenerationJobCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetAudienceGenerationJobCommand = GetAudienceGenerationJobCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAudienceModelCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetAudienceModelCommand extends smithy_client_1.Command {
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
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAudienceModelCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CleanRoomsMLClient";
29
+ const commandName = "GetAudienceModelCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSStarkControlService",
38
+ operation: "GetAudienceModel",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetAudienceModelCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetAudienceModelCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetAudienceModelCommand = GetAudienceModelCommand;