@aws-sdk/client-databrew 3.478.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 (181) 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-es/commands/BatchDeleteRecipeVersionCommand.js +18 -41
  47. package/dist-es/commands/CreateDatasetCommand.js +18 -41
  48. package/dist-es/commands/CreateProfileJobCommand.js +18 -41
  49. package/dist-es/commands/CreateProjectCommand.js +18 -41
  50. package/dist-es/commands/CreateRecipeCommand.js +18 -41
  51. package/dist-es/commands/CreateRecipeJobCommand.js +18 -41
  52. package/dist-es/commands/CreateRulesetCommand.js +18 -41
  53. package/dist-es/commands/CreateScheduleCommand.js +18 -41
  54. package/dist-es/commands/DeleteDatasetCommand.js +18 -41
  55. package/dist-es/commands/DeleteJobCommand.js +18 -41
  56. package/dist-es/commands/DeleteProjectCommand.js +18 -41
  57. package/dist-es/commands/DeleteRecipeVersionCommand.js +18 -41
  58. package/dist-es/commands/DeleteRulesetCommand.js +18 -41
  59. package/dist-es/commands/DeleteScheduleCommand.js +18 -41
  60. package/dist-es/commands/DescribeDatasetCommand.js +18 -41
  61. package/dist-es/commands/DescribeJobCommand.js +18 -41
  62. package/dist-es/commands/DescribeJobRunCommand.js +18 -41
  63. package/dist-es/commands/DescribeProjectCommand.js +18 -41
  64. package/dist-es/commands/DescribeRecipeCommand.js +18 -41
  65. package/dist-es/commands/DescribeRulesetCommand.js +18 -41
  66. package/dist-es/commands/DescribeScheduleCommand.js +18 -41
  67. package/dist-es/commands/ListDatasetsCommand.js +18 -41
  68. package/dist-es/commands/ListJobRunsCommand.js +18 -41
  69. package/dist-es/commands/ListJobsCommand.js +18 -41
  70. package/dist-es/commands/ListProjectsCommand.js +18 -41
  71. package/dist-es/commands/ListRecipeVersionsCommand.js +18 -41
  72. package/dist-es/commands/ListRecipesCommand.js +18 -41
  73. package/dist-es/commands/ListRulesetsCommand.js +18 -41
  74. package/dist-es/commands/ListSchedulesCommand.js +18 -41
  75. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  76. package/dist-es/commands/PublishRecipeCommand.js +18 -41
  77. package/dist-es/commands/SendProjectSessionActionCommand.js +18 -41
  78. package/dist-es/commands/StartJobRunCommand.js +18 -41
  79. package/dist-es/commands/StartProjectSessionCommand.js +18 -41
  80. package/dist-es/commands/StopJobRunCommand.js +18 -41
  81. package/dist-es/commands/TagResourceCommand.js +18 -41
  82. package/dist-es/commands/UntagResourceCommand.js +18 -41
  83. package/dist-es/commands/UpdateDatasetCommand.js +18 -41
  84. package/dist-es/commands/UpdateProfileJobCommand.js +18 -41
  85. package/dist-es/commands/UpdateProjectCommand.js +18 -41
  86. package/dist-es/commands/UpdateRecipeCommand.js +18 -41
  87. package/dist-es/commands/UpdateRecipeJobCommand.js +18 -41
  88. package/dist-es/commands/UpdateRulesetCommand.js +18 -41
  89. package/dist-es/commands/UpdateScheduleCommand.js +18 -41
  90. package/dist-es/endpoint/EndpointParameters.js +6 -0
  91. package/dist-types/commands/BatchDeleteRecipeVersionCommand.d.ts +6 -21
  92. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
  93. package/dist-types/commands/CreateProfileJobCommand.d.ts +6 -21
  94. package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
  95. package/dist-types/commands/CreateRecipeCommand.d.ts +6 -21
  96. package/dist-types/commands/CreateRecipeJobCommand.d.ts +6 -21
  97. package/dist-types/commands/CreateRulesetCommand.d.ts +6 -21
  98. package/dist-types/commands/CreateScheduleCommand.d.ts +6 -21
  99. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
  100. package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
  101. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
  102. package/dist-types/commands/DeleteRecipeVersionCommand.d.ts +6 -21
  103. package/dist-types/commands/DeleteRulesetCommand.d.ts +6 -21
  104. package/dist-types/commands/DeleteScheduleCommand.d.ts +6 -21
  105. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
  106. package/dist-types/commands/DescribeJobCommand.d.ts +6 -21
  107. package/dist-types/commands/DescribeJobRunCommand.d.ts +6 -21
  108. package/dist-types/commands/DescribeProjectCommand.d.ts +6 -21
  109. package/dist-types/commands/DescribeRecipeCommand.d.ts +6 -21
  110. package/dist-types/commands/DescribeRulesetCommand.d.ts +6 -21
  111. package/dist-types/commands/DescribeScheduleCommand.d.ts +6 -21
  112. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
  113. package/dist-types/commands/ListJobRunsCommand.d.ts +6 -21
  114. package/dist-types/commands/ListJobsCommand.d.ts +6 -21
  115. package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
  116. package/dist-types/commands/ListRecipeVersionsCommand.d.ts +6 -21
  117. package/dist-types/commands/ListRecipesCommand.d.ts +6 -21
  118. package/dist-types/commands/ListRulesetsCommand.d.ts +6 -21
  119. package/dist-types/commands/ListSchedulesCommand.d.ts +6 -21
  120. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  121. package/dist-types/commands/PublishRecipeCommand.d.ts +6 -21
  122. package/dist-types/commands/SendProjectSessionActionCommand.d.ts +6 -21
  123. package/dist-types/commands/StartJobRunCommand.d.ts +6 -21
  124. package/dist-types/commands/StartProjectSessionCommand.d.ts +6 -21
  125. package/dist-types/commands/StopJobRunCommand.d.ts +6 -21
  126. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  127. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  128. package/dist-types/commands/UpdateDatasetCommand.d.ts +6 -21
  129. package/dist-types/commands/UpdateProfileJobCommand.d.ts +6 -21
  130. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
  131. package/dist-types/commands/UpdateRecipeCommand.d.ts +6 -21
  132. package/dist-types/commands/UpdateRecipeJobCommand.d.ts +6 -21
  133. package/dist-types/commands/UpdateRulesetCommand.d.ts +6 -21
  134. package/dist-types/commands/UpdateScheduleCommand.d.ts +6 -21
  135. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  136. package/dist-types/ts3.4/commands/BatchDeleteRecipeVersionCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
  138. package/dist-types/ts3.4/commands/CreateProfileJobCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/CreateRecipeCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/CreateRecipeJobCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/CreateRulesetCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/DeleteRecipeVersionCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/DeleteRulesetCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/DescribeRulesetCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/DescribeScheduleCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/ListRecipeVersionsCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/ListRulesetsCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/PublishRecipeCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/SendProjectSessionActionCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/StartProjectSessionCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/StopJobRunCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/UpdateProfileJobCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/UpdateRecipeCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/UpdateRecipeJobCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/UpdateRulesetCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  181. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDatasetCommand, se_UpdateDatasetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDatasetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDatasetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateDatasetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateDataset",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDatasetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDatasetCommand(output, context);
46
- }
7
+ export class UpdateDatasetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateDataset", {})
19
+ .n("DataBrewClient", "UpdateDatasetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDatasetCommand)
22
+ .de(de_UpdateDatasetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateProfileJobCommand, se_UpdateProfileJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateProfileJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProfileJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateProfileJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateProfileJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateProfileJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateProfileJobCommand(output, context);
46
- }
7
+ export class UpdateProfileJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateProfileJob", {})
19
+ .n("DataBrewClient", "UpdateProfileJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateProfileJobCommand)
22
+ .de(de_UpdateProfileJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateProjectCommand, se_UpdateProjectCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateProjectCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProjectCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateProjectCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateProject",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateProjectCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateProjectCommand(output, context);
46
- }
7
+ export class UpdateProjectCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateProject", {})
19
+ .n("DataBrewClient", "UpdateProjectCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateProjectCommand)
22
+ .de(de_UpdateProjectCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRecipeCommand, se_UpdateRecipeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRecipeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRecipeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateRecipeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateRecipe",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRecipeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRecipeCommand(output, context);
46
- }
7
+ export class UpdateRecipeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateRecipe", {})
19
+ .n("DataBrewClient", "UpdateRecipeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRecipeCommand)
22
+ .de(de_UpdateRecipeCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRecipeJobCommand, se_UpdateRecipeJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRecipeJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRecipeJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateRecipeJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateRecipeJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRecipeJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRecipeJobCommand(output, context);
46
- }
7
+ export class UpdateRecipeJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateRecipeJob", {})
19
+ .n("DataBrewClient", "UpdateRecipeJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRecipeJobCommand)
22
+ .de(de_UpdateRecipeJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRulesetCommand, se_UpdateRulesetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRulesetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRulesetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateRulesetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateRuleset",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRulesetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRulesetCommand(output, context);
46
- }
7
+ export class UpdateRulesetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateRuleset", {})
19
+ .n("DataBrewClient", "UpdateRulesetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRulesetCommand)
22
+ .de(de_UpdateRulesetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateScheduleCommand, se_UpdateScheduleCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateScheduleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateScheduleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataBrewClient";
26
- const commandName = "UpdateScheduleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGlueDataBrew",
35
- operation: "UpdateSchedule",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateScheduleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateScheduleCommand(output, context);
46
- }
7
+ export class UpdateScheduleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGlueDataBrew", "UpdateSchedule", {})
19
+ .n("DataBrewClient", "UpdateScheduleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateScheduleCommand)
22
+ .de(de_UpdateScheduleCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "databrew",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
5
4
  import { BatchDeleteRecipeVersionRequest, BatchDeleteRecipeVersionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchDeleteRecipeVersionCommandInput extends BatchDeleteRecipeV
21
20
  */
22
21
  export interface BatchDeleteRecipeVersionCommandOutput extends BatchDeleteRecipeVersionResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchDeleteRecipeVersionCommand_base: {
24
+ new (input: BatchDeleteRecipeVersionCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteRecipeVersionCommandInput, BatchDeleteRecipeVersionCommandOutput, DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes one or more versions of a recipe at a time.</p>
@@ -108,23 +111,5 @@ export interface BatchDeleteRecipeVersionCommandOutput extends BatchDeleteRecipe
108
111
  * <p>Base exception class for all service exceptions from DataBrew service.</p>
109
112
  *
110
113
  */
111
- export declare class BatchDeleteRecipeVersionCommand extends $Command<BatchDeleteRecipeVersionCommandInput, BatchDeleteRecipeVersionCommandOutput, DataBrewClientResolvedConfig> {
112
- readonly input: BatchDeleteRecipeVersionCommandInput;
113
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
114
- /**
115
- * @public
116
- */
117
- constructor(input: BatchDeleteRecipeVersionCommandInput);
118
- /**
119
- * @internal
120
- */
121
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteRecipeVersionCommandInput, BatchDeleteRecipeVersionCommandOutput>;
122
- /**
123
- * @internal
124
- */
125
- private serialize;
126
- /**
127
- * @internal
128
- */
129
- private deserialize;
114
+ export declare class BatchDeleteRecipeVersionCommand extends BatchDeleteRecipeVersionCommand_base {
130
115
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
5
4
  import { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDatasetCommandInput extends CreateDatasetRequest {
21
20
  */
22
21
  export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateDatasetCommand_base: {
24
+ new (input: CreateDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new DataBrew dataset.</p>
@@ -146,23 +149,5 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met
146
149
  * <p>Base exception class for all service exceptions from DataBrew service.</p>
147
150
  *
148
151
  */
149
- export declare class CreateDatasetCommand extends $Command<CreateDatasetCommandInput, CreateDatasetCommandOutput, DataBrewClientResolvedConfig> {
150
- readonly input: CreateDatasetCommandInput;
151
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
152
- /**
153
- * @public
154
- */
155
- constructor(input: CreateDatasetCommandInput);
156
- /**
157
- * @internal
158
- */
159
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDatasetCommandInput, CreateDatasetCommandOutput>;
160
- /**
161
- * @internal
162
- */
163
- private serialize;
164
- /**
165
- * @internal
166
- */
167
- private deserialize;
152
+ export declare class CreateDatasetCommand extends CreateDatasetCommand_base {
168
153
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
5
4
  import { CreateProfileJobRequest, CreateProfileJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateProfileJobCommandInput extends CreateProfileJobRequest {
21
20
  */
22
21
  export interface CreateProfileJobCommandOutput extends CreateProfileJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateProfileJobCommand_base: {
24
+ new (input: CreateProfileJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProfileJobCommandInput, CreateProfileJobCommandOutput, DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new job to analyze a dataset and create its data profile.</p>
@@ -148,23 +151,5 @@ export interface CreateProfileJobCommandOutput extends CreateProfileJobResponse,
148
151
  * <p>Base exception class for all service exceptions from DataBrew service.</p>
149
152
  *
150
153
  */
151
- export declare class CreateProfileJobCommand extends $Command<CreateProfileJobCommandInput, CreateProfileJobCommandOutput, DataBrewClientResolvedConfig> {
152
- readonly input: CreateProfileJobCommandInput;
153
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
154
- /**
155
- * @public
156
- */
157
- constructor(input: CreateProfileJobCommandInput);
158
- /**
159
- * @internal
160
- */
161
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProfileJobCommandInput, CreateProfileJobCommandOutput>;
162
- /**
163
- * @internal
164
- */
165
- private serialize;
166
- /**
167
- * @internal
168
- */
169
- private deserialize;
154
+ export declare class CreateProfileJobCommand extends CreateProfileJobCommand_base {
170
155
  }