@aws-sdk/client-databrew 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 (213) hide show
  1. package/dist-cjs/commands/BatchDeleteRecipeVersionCommand.js +18 -41
  2. package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
  3. package/dist-cjs/commands/CreateProfileJobCommand.js +18 -41
  4. package/dist-cjs/commands/CreateProjectCommand.js +18 -41
  5. package/dist-cjs/commands/CreateRecipeCommand.js +18 -41
  6. package/dist-cjs/commands/CreateRecipeJobCommand.js +18 -41
  7. package/dist-cjs/commands/CreateRulesetCommand.js +18 -41
  8. package/dist-cjs/commands/CreateScheduleCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteJobCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteProjectCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteRecipeVersionCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteRulesetCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteScheduleCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeJobCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeJobRunCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeProjectCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeRecipeCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeRulesetCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeScheduleCommand.js +18 -41
  22. package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
  23. package/dist-cjs/commands/ListJobRunsCommand.js +18 -41
  24. package/dist-cjs/commands/ListJobsCommand.js +18 -41
  25. package/dist-cjs/commands/ListProjectsCommand.js +18 -41
  26. package/dist-cjs/commands/ListRecipeVersionsCommand.js +18 -41
  27. package/dist-cjs/commands/ListRecipesCommand.js +18 -41
  28. package/dist-cjs/commands/ListRulesetsCommand.js +18 -41
  29. package/dist-cjs/commands/ListSchedulesCommand.js +18 -41
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-cjs/commands/PublishRecipeCommand.js +18 -41
  32. package/dist-cjs/commands/SendProjectSessionActionCommand.js +18 -41
  33. package/dist-cjs/commands/StartJobRunCommand.js +18 -41
  34. package/dist-cjs/commands/StartProjectSessionCommand.js +18 -41
  35. package/dist-cjs/commands/StopJobRunCommand.js +18 -41
  36. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  37. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  38. package/dist-cjs/commands/UpdateDatasetCommand.js +18 -41
  39. package/dist-cjs/commands/UpdateProfileJobCommand.js +18 -41
  40. package/dist-cjs/commands/UpdateProjectCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateRecipeCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateRecipeJobCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateRulesetCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateScheduleCommand.js +18 -41
  45. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  46. package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -24
  47. package/dist-cjs/pagination/ListJobRunsPaginator.js +2 -24
  48. package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
  49. package/dist-cjs/pagination/ListProjectsPaginator.js +2 -24
  50. package/dist-cjs/pagination/ListRecipeVersionsPaginator.js +2 -24
  51. package/dist-cjs/pagination/ListRecipesPaginator.js +2 -24
  52. package/dist-cjs/pagination/ListRulesetsPaginator.js +2 -24
  53. package/dist-cjs/pagination/ListSchedulesPaginator.js +2 -24
  54. package/dist-es/commands/BatchDeleteRecipeVersionCommand.js +18 -41
  55. package/dist-es/commands/CreateDatasetCommand.js +18 -41
  56. package/dist-es/commands/CreateProfileJobCommand.js +18 -41
  57. package/dist-es/commands/CreateProjectCommand.js +18 -41
  58. package/dist-es/commands/CreateRecipeCommand.js +18 -41
  59. package/dist-es/commands/CreateRecipeJobCommand.js +18 -41
  60. package/dist-es/commands/CreateRulesetCommand.js +18 -41
  61. package/dist-es/commands/CreateScheduleCommand.js +18 -41
  62. package/dist-es/commands/DeleteDatasetCommand.js +18 -41
  63. package/dist-es/commands/DeleteJobCommand.js +18 -41
  64. package/dist-es/commands/DeleteProjectCommand.js +18 -41
  65. package/dist-es/commands/DeleteRecipeVersionCommand.js +18 -41
  66. package/dist-es/commands/DeleteRulesetCommand.js +18 -41
  67. package/dist-es/commands/DeleteScheduleCommand.js +18 -41
  68. package/dist-es/commands/DescribeDatasetCommand.js +18 -41
  69. package/dist-es/commands/DescribeJobCommand.js +18 -41
  70. package/dist-es/commands/DescribeJobRunCommand.js +18 -41
  71. package/dist-es/commands/DescribeProjectCommand.js +18 -41
  72. package/dist-es/commands/DescribeRecipeCommand.js +18 -41
  73. package/dist-es/commands/DescribeRulesetCommand.js +18 -41
  74. package/dist-es/commands/DescribeScheduleCommand.js +18 -41
  75. package/dist-es/commands/ListDatasetsCommand.js +18 -41
  76. package/dist-es/commands/ListJobRunsCommand.js +18 -41
  77. package/dist-es/commands/ListJobsCommand.js +18 -41
  78. package/dist-es/commands/ListProjectsCommand.js +18 -41
  79. package/dist-es/commands/ListRecipeVersionsCommand.js +18 -41
  80. package/dist-es/commands/ListRecipesCommand.js +18 -41
  81. package/dist-es/commands/ListRulesetsCommand.js +18 -41
  82. package/dist-es/commands/ListSchedulesCommand.js +18 -41
  83. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  84. package/dist-es/commands/PublishRecipeCommand.js +18 -41
  85. package/dist-es/commands/SendProjectSessionActionCommand.js +18 -41
  86. package/dist-es/commands/StartJobRunCommand.js +18 -41
  87. package/dist-es/commands/StartProjectSessionCommand.js +18 -41
  88. package/dist-es/commands/StopJobRunCommand.js +18 -41
  89. package/dist-es/commands/TagResourceCommand.js +18 -41
  90. package/dist-es/commands/UntagResourceCommand.js +18 -41
  91. package/dist-es/commands/UpdateDatasetCommand.js +18 -41
  92. package/dist-es/commands/UpdateProfileJobCommand.js +18 -41
  93. package/dist-es/commands/UpdateProjectCommand.js +18 -41
  94. package/dist-es/commands/UpdateRecipeCommand.js +18 -41
  95. package/dist-es/commands/UpdateRecipeJobCommand.js +18 -41
  96. package/dist-es/commands/UpdateRulesetCommand.js +18 -41
  97. package/dist-es/commands/UpdateScheduleCommand.js +18 -41
  98. package/dist-es/endpoint/EndpointParameters.js +6 -0
  99. package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
  100. package/dist-es/pagination/ListJobRunsPaginator.js +2 -23
  101. package/dist-es/pagination/ListJobsPaginator.js +2 -23
  102. package/dist-es/pagination/ListProjectsPaginator.js +2 -23
  103. package/dist-es/pagination/ListRecipeVersionsPaginator.js +2 -23
  104. package/dist-es/pagination/ListRecipesPaginator.js +2 -23
  105. package/dist-es/pagination/ListRulesetsPaginator.js +2 -23
  106. package/dist-es/pagination/ListSchedulesPaginator.js +2 -23
  107. package/dist-types/commands/BatchDeleteRecipeVersionCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
  109. package/dist-types/commands/CreateProfileJobCommand.d.ts +6 -21
  110. package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
  111. package/dist-types/commands/CreateRecipeCommand.d.ts +6 -21
  112. package/dist-types/commands/CreateRecipeJobCommand.d.ts +6 -21
  113. package/dist-types/commands/CreateRulesetCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateScheduleCommand.d.ts +6 -21
  115. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
  116. package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
  117. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteRecipeVersionCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteRulesetCommand.d.ts +6 -21
  120. package/dist-types/commands/DeleteScheduleCommand.d.ts +6 -21
  121. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
  122. package/dist-types/commands/DescribeJobCommand.d.ts +6 -21
  123. package/dist-types/commands/DescribeJobRunCommand.d.ts +6 -21
  124. package/dist-types/commands/DescribeProjectCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeRecipeCommand.d.ts +6 -21
  126. package/dist-types/commands/DescribeRulesetCommand.d.ts +6 -21
  127. package/dist-types/commands/DescribeScheduleCommand.d.ts +6 -21
  128. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
  129. package/dist-types/commands/ListJobRunsCommand.d.ts +6 -21
  130. package/dist-types/commands/ListJobsCommand.d.ts +6 -21
  131. package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
  132. package/dist-types/commands/ListRecipeVersionsCommand.d.ts +6 -21
  133. package/dist-types/commands/ListRecipesCommand.d.ts +6 -21
  134. package/dist-types/commands/ListRulesetsCommand.d.ts +6 -21
  135. package/dist-types/commands/ListSchedulesCommand.d.ts +6 -21
  136. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  137. package/dist-types/commands/PublishRecipeCommand.d.ts +6 -21
  138. package/dist-types/commands/SendProjectSessionActionCommand.d.ts +6 -21
  139. package/dist-types/commands/StartJobRunCommand.d.ts +6 -21
  140. package/dist-types/commands/StartProjectSessionCommand.d.ts +6 -21
  141. package/dist-types/commands/StopJobRunCommand.d.ts +6 -21
  142. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  143. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  144. package/dist-types/commands/UpdateDatasetCommand.d.ts +6 -21
  145. package/dist-types/commands/UpdateProfileJobCommand.d.ts +6 -21
  146. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
  147. package/dist-types/commands/UpdateRecipeCommand.d.ts +6 -21
  148. package/dist-types/commands/UpdateRecipeJobCommand.d.ts +6 -21
  149. package/dist-types/commands/UpdateRulesetCommand.d.ts +6 -21
  150. package/dist-types/commands/UpdateScheduleCommand.d.ts +6 -21
  151. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  152. package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListJobRunsPaginator.d.ts +1 -1
  154. package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
  155. package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListRecipeVersionsPaginator.d.ts +1 -1
  157. package/dist-types/pagination/ListRecipesPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListRulesetsPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListSchedulesPaginator.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/BatchDeleteRecipeVersionCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/CreateProfileJobCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/CreateRecipeCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/CreateRecipeJobCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/CreateRulesetCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/DeleteRecipeVersionCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/DeleteRulesetCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/DescribeRulesetCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/DescribeScheduleCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/ListRecipeVersionsCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/ListRulesetsCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/PublishRecipeCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/SendProjectSessionActionCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/StartProjectSessionCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/StopJobRunCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/UpdateProfileJobCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/UpdateRecipeCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/UpdateRecipeJobCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/UpdateRulesetCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  205. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
  206. package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +3 -3
  207. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
  208. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
  209. package/dist-types/ts3.4/pagination/ListRecipeVersionsPaginator.d.ts +3 -3
  210. package/dist-types/ts3.4/pagination/ListRecipesPaginator.d.ts +3 -3
  211. package/dist-types/ts3.4/pagination/ListRulesetsPaginator.d.ts +3 -3
  212. package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +3 -3
  213. 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 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 = "DataBrewClient";
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: "AWSGlueDataBrew",
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("AWSGlueDataBrew", "UntagResource", {})
22
+ .n("DataBrewClient", "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 UpdateDatasetCommand 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, UpdateDatasetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateDatasetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateDataset",
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_UpdateDatasetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateDatasetCommand)(output, context);
49
- }
10
+ class UpdateDatasetCommand 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("AWSGlueDataBrew", "UpdateDataset", {})
22
+ .n("DataBrewClient", "UpdateDatasetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateDatasetCommand)
25
+ .de(Aws_restJson1_1.de_UpdateDatasetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateDatasetCommand = UpdateDatasetCommand;
@@ -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 UpdateProfileJobCommand 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, UpdateProfileJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateProfileJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateProfileJob",
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_UpdateProfileJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateProfileJobCommand)(output, context);
49
- }
10
+ class UpdateProfileJobCommand 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("AWSGlueDataBrew", "UpdateProfileJob", {})
22
+ .n("DataBrewClient", "UpdateProfileJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateProfileJobCommand)
25
+ .de(Aws_restJson1_1.de_UpdateProfileJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateProfileJobCommand = UpdateProfileJobCommand;
@@ -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 UpdateProjectCommand 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, UpdateProjectCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateProjectCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateProject",
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_UpdateProjectCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateProjectCommand)(output, context);
49
- }
10
+ class UpdateProjectCommand 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("AWSGlueDataBrew", "UpdateProject", {})
22
+ .n("DataBrewClient", "UpdateProjectCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateProjectCommand)
25
+ .de(Aws_restJson1_1.de_UpdateProjectCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateProjectCommand = UpdateProjectCommand;
@@ -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 UpdateRecipeCommand 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, UpdateRecipeCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateRecipeCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateRecipe",
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_UpdateRecipeCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateRecipeCommand)(output, context);
49
- }
10
+ class UpdateRecipeCommand 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("AWSGlueDataBrew", "UpdateRecipe", {})
22
+ .n("DataBrewClient", "UpdateRecipeCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateRecipeCommand)
25
+ .de(Aws_restJson1_1.de_UpdateRecipeCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateRecipeCommand = UpdateRecipeCommand;
@@ -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 UpdateRecipeJobCommand 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, UpdateRecipeJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateRecipeJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateRecipeJob",
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_UpdateRecipeJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateRecipeJobCommand)(output, context);
49
- }
10
+ class UpdateRecipeJobCommand 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("AWSGlueDataBrew", "UpdateRecipeJob", {})
22
+ .n("DataBrewClient", "UpdateRecipeJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateRecipeJobCommand)
25
+ .de(Aws_restJson1_1.de_UpdateRecipeJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateRecipeJobCommand = UpdateRecipeJobCommand;
@@ -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 UpdateRulesetCommand 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, UpdateRulesetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateRulesetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateRuleset",
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_UpdateRulesetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateRulesetCommand)(output, context);
49
- }
10
+ class UpdateRulesetCommand 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("AWSGlueDataBrew", "UpdateRuleset", {})
22
+ .n("DataBrewClient", "UpdateRulesetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateRulesetCommand)
25
+ .de(Aws_restJson1_1.de_UpdateRulesetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateRulesetCommand = UpdateRulesetCommand;
@@ -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 UpdateScheduleCommand 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, UpdateScheduleCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataBrewClient";
29
- const commandName = "UpdateScheduleCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGlueDataBrew",
38
- operation: "UpdateSchedule",
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_UpdateScheduleCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateScheduleCommand)(output, context);
49
- }
10
+ class UpdateScheduleCommand 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("AWSGlueDataBrew", "UpdateSchedule", {})
22
+ .n("DataBrewClient", "UpdateScheduleCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateScheduleCommand)
25
+ .de(Aws_restJson1_1.de_UpdateScheduleCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateScheduleCommand = UpdateScheduleCommand;
@@ -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.paginateListDatasets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDatasetsCommand_1 = require("../commands/ListDatasetsCommand");
5
6
  const DataBrewClient_1 = require("../DataBrewClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDatasetsCommand_1.ListDatasetsCommand(input), ...args);
8
- };
9
- async function* paginateListDatasets(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 DataBrewClient_1.DataBrewClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataBrew | DataBrewClient");
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.paginateListDatasets = paginateListDatasets;
7
+ exports.paginateListDatasets = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListDatasetsCommand_1.ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListJobRuns = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListJobRunsCommand_1 = require("../commands/ListJobRunsCommand");
5
6
  const DataBrewClient_1 = require("../DataBrewClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListJobRunsCommand_1.ListJobRunsCommand(input), ...args);
8
- };
9
- async function* paginateListJobRuns(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 DataBrewClient_1.DataBrewClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataBrew | DataBrewClient");
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.paginateListJobRuns = paginateListJobRuns;
7
+ exports.paginateListJobRuns = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListJobRunsCommand_1.ListJobRunsCommand, "NextToken", "NextToken", "MaxResults");