@aws-sdk/client-cleanroomsml 3.477.0 → 3.481.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 (125) hide show
  1. package/dist-cjs/commands/CreateAudienceModelCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfiguredAudienceModelCommand.js +18 -41
  3. package/dist-cjs/commands/CreateTrainingDatasetCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteAudienceGenerationJobCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteAudienceModelCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteConfiguredAudienceModelCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteConfiguredAudienceModelPolicyCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteTrainingDatasetCommand.js +18 -41
  9. package/dist-cjs/commands/GetAudienceGenerationJobCommand.js +18 -41
  10. package/dist-cjs/commands/GetAudienceModelCommand.js +18 -41
  11. package/dist-cjs/commands/GetConfiguredAudienceModelCommand.js +18 -41
  12. package/dist-cjs/commands/GetConfiguredAudienceModelPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/GetTrainingDatasetCommand.js +18 -41
  14. package/dist-cjs/commands/ListAudienceExportJobsCommand.js +18 -41
  15. package/dist-cjs/commands/ListAudienceGenerationJobsCommand.js +18 -41
  16. package/dist-cjs/commands/ListAudienceModelsCommand.js +18 -41
  17. package/dist-cjs/commands/ListConfiguredAudienceModelsCommand.js +18 -41
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  19. package/dist-cjs/commands/ListTrainingDatasetsCommand.js +18 -41
  20. package/dist-cjs/commands/PutConfiguredAudienceModelPolicyCommand.js +18 -41
  21. package/dist-cjs/commands/StartAudienceExportJobCommand.js +18 -41
  22. package/dist-cjs/commands/StartAudienceGenerationJobCommand.js +18 -41
  23. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  24. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateConfiguredAudienceModelCommand.js +18 -41
  26. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  27. package/dist-cjs/pagination/ListAudienceExportJobsPaginator.js +2 -24
  28. package/dist-cjs/pagination/ListAudienceGenerationJobsPaginator.js +2 -24
  29. package/dist-cjs/pagination/ListAudienceModelsPaginator.js +2 -24
  30. package/dist-cjs/pagination/ListConfiguredAudienceModelsPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListTrainingDatasetsPaginator.js +2 -24
  32. package/dist-es/commands/CreateAudienceModelCommand.js +18 -41
  33. package/dist-es/commands/CreateConfiguredAudienceModelCommand.js +18 -41
  34. package/dist-es/commands/CreateTrainingDatasetCommand.js +18 -41
  35. package/dist-es/commands/DeleteAudienceGenerationJobCommand.js +18 -41
  36. package/dist-es/commands/DeleteAudienceModelCommand.js +18 -41
  37. package/dist-es/commands/DeleteConfiguredAudienceModelCommand.js +18 -41
  38. package/dist-es/commands/DeleteConfiguredAudienceModelPolicyCommand.js +18 -41
  39. package/dist-es/commands/DeleteTrainingDatasetCommand.js +18 -41
  40. package/dist-es/commands/GetAudienceGenerationJobCommand.js +18 -41
  41. package/dist-es/commands/GetAudienceModelCommand.js +18 -41
  42. package/dist-es/commands/GetConfiguredAudienceModelCommand.js +18 -41
  43. package/dist-es/commands/GetConfiguredAudienceModelPolicyCommand.js +18 -41
  44. package/dist-es/commands/GetTrainingDatasetCommand.js +18 -41
  45. package/dist-es/commands/ListAudienceExportJobsCommand.js +18 -41
  46. package/dist-es/commands/ListAudienceGenerationJobsCommand.js +18 -41
  47. package/dist-es/commands/ListAudienceModelsCommand.js +18 -41
  48. package/dist-es/commands/ListConfiguredAudienceModelsCommand.js +18 -41
  49. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  50. package/dist-es/commands/ListTrainingDatasetsCommand.js +18 -41
  51. package/dist-es/commands/PutConfiguredAudienceModelPolicyCommand.js +18 -41
  52. package/dist-es/commands/StartAudienceExportJobCommand.js +18 -41
  53. package/dist-es/commands/StartAudienceGenerationJobCommand.js +18 -41
  54. package/dist-es/commands/TagResourceCommand.js +18 -41
  55. package/dist-es/commands/UntagResourceCommand.js +18 -41
  56. package/dist-es/commands/UpdateConfiguredAudienceModelCommand.js +18 -41
  57. package/dist-es/endpoint/EndpointParameters.js +6 -0
  58. package/dist-es/pagination/ListAudienceExportJobsPaginator.js +2 -23
  59. package/dist-es/pagination/ListAudienceGenerationJobsPaginator.js +2 -23
  60. package/dist-es/pagination/ListAudienceModelsPaginator.js +2 -23
  61. package/dist-es/pagination/ListConfiguredAudienceModelsPaginator.js +2 -23
  62. package/dist-es/pagination/ListTrainingDatasetsPaginator.js +2 -23
  63. package/dist-types/commands/CreateAudienceModelCommand.d.ts +6 -21
  64. package/dist-types/commands/CreateConfiguredAudienceModelCommand.d.ts +6 -21
  65. package/dist-types/commands/CreateTrainingDatasetCommand.d.ts +6 -21
  66. package/dist-types/commands/DeleteAudienceGenerationJobCommand.d.ts +6 -21
  67. package/dist-types/commands/DeleteAudienceModelCommand.d.ts +6 -21
  68. package/dist-types/commands/DeleteConfiguredAudienceModelCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteTrainingDatasetCommand.d.ts +6 -21
  71. package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +6 -21
  72. package/dist-types/commands/GetAudienceModelCommand.d.ts +6 -21
  73. package/dist-types/commands/GetConfiguredAudienceModelCommand.d.ts +6 -21
  74. package/dist-types/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +6 -21
  75. package/dist-types/commands/GetTrainingDatasetCommand.d.ts +6 -21
  76. package/dist-types/commands/ListAudienceExportJobsCommand.d.ts +6 -21
  77. package/dist-types/commands/ListAudienceGenerationJobsCommand.d.ts +6 -21
  78. package/dist-types/commands/ListAudienceModelsCommand.d.ts +6 -21
  79. package/dist-types/commands/ListConfiguredAudienceModelsCommand.d.ts +6 -21
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  81. package/dist-types/commands/ListTrainingDatasetsCommand.d.ts +6 -21
  82. package/dist-types/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +6 -21
  83. package/dist-types/commands/StartAudienceExportJobCommand.d.ts +6 -21
  84. package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +6 -21
  85. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  86. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  87. package/dist-types/commands/UpdateConfiguredAudienceModelCommand.d.ts +6 -21
  88. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  89. package/dist-types/pagination/ListAudienceExportJobsPaginator.d.ts +1 -1
  90. package/dist-types/pagination/ListAudienceGenerationJobsPaginator.d.ts +1 -1
  91. package/dist-types/pagination/ListAudienceModelsPaginator.d.ts +1 -1
  92. package/dist-types/pagination/ListConfiguredAudienceModelsPaginator.d.ts +1 -1
  93. package/dist-types/pagination/ListTrainingDatasetsPaginator.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/CreateAudienceModelCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/CreateTrainingDatasetCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/DeleteAudienceGenerationJobCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/DeleteAudienceModelCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DeleteTrainingDatasetCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/GetAudienceGenerationJobCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/GetAudienceModelCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelCommand.d.ts +12 -24
  105. package/dist-types/ts3.4/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +12 -24
  106. package/dist-types/ts3.4/commands/GetTrainingDatasetCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/ListAudienceExportJobsCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/ListAudienceGenerationJobsCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/ListAudienceModelsCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/ListConfiguredAudienceModelsCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/ListTrainingDatasetsCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +12 -24
  114. package/dist-types/ts3.4/commands/StartAudienceExportJobCommand.d.ts +12 -24
  115. package/dist-types/ts3.4/commands/StartAudienceGenerationJobCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  120. package/dist-types/ts3.4/pagination/ListAudienceExportJobsPaginator.d.ts +3 -3
  121. package/dist-types/ts3.4/pagination/ListAudienceGenerationJobsPaginator.d.ts +3 -3
  122. package/dist-types/ts3.4/pagination/ListAudienceModelsPaginator.d.ts +3 -3
  123. package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelsPaginator.d.ts +3 -3
  124. package/dist-types/ts3.4/pagination/ListTrainingDatasetsPaginator.d.ts +3 -3
  125. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTrainingDatasetsCommand 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, ListTrainingDatasetsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "ListTrainingDatasetsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "ListTrainingDatasets",
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_ListTrainingDatasetsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListTrainingDatasetsCommand)(output, context);
49
- }
10
+ class ListTrainingDatasetsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "ListTrainingDatasets", {})
22
+ .n("CleanRoomsMLClient", "ListTrainingDatasetsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListTrainingDatasetsCommand)
25
+ .de(Aws_restJson1_1.de_ListTrainingDatasetsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListTrainingDatasetsCommand = ListTrainingDatasetsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class PutConfiguredAudienceModelPolicyCommand 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, PutConfiguredAudienceModelPolicyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "PutConfiguredAudienceModelPolicyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "PutConfiguredAudienceModelPolicy",
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_PutConfiguredAudienceModelPolicyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_PutConfiguredAudienceModelPolicyCommand)(output, context);
49
- }
10
+ class PutConfiguredAudienceModelPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "PutConfiguredAudienceModelPolicy", {})
22
+ .n("CleanRoomsMLClient", "PutConfiguredAudienceModelPolicyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_PutConfiguredAudienceModelPolicyCommand)
25
+ .de(Aws_restJson1_1.de_PutConfiguredAudienceModelPolicyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutConfiguredAudienceModelPolicyCommand = PutConfiguredAudienceModelPolicyCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class StartAudienceExportJobCommand 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, StartAudienceExportJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "StartAudienceExportJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "StartAudienceExportJob",
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_StartAudienceExportJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_StartAudienceExportJobCommand)(output, context);
49
- }
10
+ class StartAudienceExportJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "StartAudienceExportJob", {})
22
+ .n("CleanRoomsMLClient", "StartAudienceExportJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_StartAudienceExportJobCommand)
25
+ .de(Aws_restJson1_1.de_StartAudienceExportJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartAudienceExportJobCommand = StartAudienceExportJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class StartAudienceGenerationJobCommand 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, StartAudienceGenerationJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "StartAudienceGenerationJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "StartAudienceGenerationJob",
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_StartAudienceGenerationJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_StartAudienceGenerationJobCommand)(output, context);
49
- }
10
+ class StartAudienceGenerationJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "StartAudienceGenerationJob", {})
22
+ .n("CleanRoomsMLClient", "StartAudienceGenerationJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_StartAudienceGenerationJobCommand)
25
+ .de(Aws_restJson1_1.de_StartAudienceGenerationJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartAudienceGenerationJobCommand = StartAudienceGenerationJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "TagResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "TagResource",
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_TagResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
49
- }
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "TagResource", {})
22
+ .n("CleanRoomsMLClient", "TagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_TagResourceCommand)
25
+ .de(Aws_restJson1_1.de_TagResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.TagResourceCommand = TagResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "UntagResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "UntagResource",
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_UntagResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
49
- }
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "UntagResource", {})
22
+ .n("CleanRoomsMLClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UntagResourceCommand)
25
+ .de(Aws_restJson1_1.de_UntagResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateConfiguredAudienceModelCommand 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, UpdateConfiguredAudienceModelCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CleanRoomsMLClient";
29
- const commandName = "UpdateConfiguredAudienceModelCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSStarkControlService",
38
- operation: "UpdateConfiguredAudienceModel",
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_UpdateConfiguredAudienceModelCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateConfiguredAudienceModelCommand)(output, context);
49
- }
10
+ class UpdateConfiguredAudienceModelCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSStarkControlService", "UpdateConfiguredAudienceModel", {})
22
+ .n("CleanRoomsMLClient", "UpdateConfiguredAudienceModelCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateConfiguredAudienceModelCommand)
25
+ .de(Aws_restJson1_1.de_UpdateConfiguredAudienceModelCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateConfiguredAudienceModelCommand = UpdateConfiguredAudienceModelCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAudienceExportJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CleanRoomsMLClient_1 = require("../CleanRoomsMLClient");
5
6
  const ListAudienceExportJobsCommand_1 = require("../commands/ListAudienceExportJobsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAudienceExportJobsCommand_1.ListAudienceExportJobsCommand(input), ...args);
8
- };
9
- async function* paginateListAudienceExportJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CleanRoomsMLClient_1.CleanRoomsMLClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CleanRoomsML | CleanRoomsMLClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAudienceExportJobs = paginateListAudienceExportJobs;
7
+ exports.paginateListAudienceExportJobs = (0, core_1.createPaginator)(CleanRoomsMLClient_1.CleanRoomsMLClient, ListAudienceExportJobsCommand_1.ListAudienceExportJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAudienceGenerationJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CleanRoomsMLClient_1 = require("../CleanRoomsMLClient");
5
6
  const ListAudienceGenerationJobsCommand_1 = require("../commands/ListAudienceGenerationJobsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAudienceGenerationJobsCommand_1.ListAudienceGenerationJobsCommand(input), ...args);
8
- };
9
- async function* paginateListAudienceGenerationJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CleanRoomsMLClient_1.CleanRoomsMLClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CleanRoomsML | CleanRoomsMLClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAudienceGenerationJobs = paginateListAudienceGenerationJobs;
7
+ exports.paginateListAudienceGenerationJobs = (0, core_1.createPaginator)(CleanRoomsMLClient_1.CleanRoomsMLClient, ListAudienceGenerationJobsCommand_1.ListAudienceGenerationJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAudienceModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CleanRoomsMLClient_1 = require("../CleanRoomsMLClient");
5
6
  const ListAudienceModelsCommand_1 = require("../commands/ListAudienceModelsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAudienceModelsCommand_1.ListAudienceModelsCommand(input), ...args);
8
- };
9
- async function* paginateListAudienceModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CleanRoomsMLClient_1.CleanRoomsMLClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CleanRoomsML | CleanRoomsMLClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAudienceModels = paginateListAudienceModels;
7
+ exports.paginateListAudienceModels = (0, core_1.createPaginator)(CleanRoomsMLClient_1.CleanRoomsMLClient, ListAudienceModelsCommand_1.ListAudienceModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListConfiguredAudienceModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CleanRoomsMLClient_1 = require("../CleanRoomsMLClient");
5
6
  const ListConfiguredAudienceModelsCommand_1 = require("../commands/ListConfiguredAudienceModelsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListConfiguredAudienceModelsCommand_1.ListConfiguredAudienceModelsCommand(input), ...args);
8
- };
9
- async function* paginateListConfiguredAudienceModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof CleanRoomsMLClient_1.CleanRoomsMLClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CleanRoomsML | CleanRoomsMLClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListConfiguredAudienceModels = paginateListConfiguredAudienceModels;
7
+ exports.paginateListConfiguredAudienceModels = (0, core_1.createPaginator)(CleanRoomsMLClient_1.CleanRoomsMLClient, ListConfiguredAudienceModelsCommand_1.ListConfiguredAudienceModelsCommand, "nextToken", "nextToken", "maxResults");