@aws-sdk/client-databrew 3.1076.0 → 3.1078.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 (152) hide show
  1. package/dist-cjs/index.js +55 -445
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchDeleteRecipeVersionCommand.js +2 -14
  4. package/dist-es/commands/CreateDatasetCommand.js +2 -14
  5. package/dist-es/commands/CreateProfileJobCommand.js +2 -14
  6. package/dist-es/commands/CreateProjectCommand.js +2 -14
  7. package/dist-es/commands/CreateRecipeCommand.js +2 -14
  8. package/dist-es/commands/CreateRecipeJobCommand.js +2 -14
  9. package/dist-es/commands/CreateRulesetCommand.js +2 -14
  10. package/dist-es/commands/CreateScheduleCommand.js +2 -14
  11. package/dist-es/commands/DeleteDatasetCommand.js +2 -14
  12. package/dist-es/commands/DeleteJobCommand.js +2 -14
  13. package/dist-es/commands/DeleteProjectCommand.js +2 -14
  14. package/dist-es/commands/DeleteRecipeVersionCommand.js +2 -14
  15. package/dist-es/commands/DeleteRulesetCommand.js +2 -14
  16. package/dist-es/commands/DeleteScheduleCommand.js +2 -14
  17. package/dist-es/commands/DescribeDatasetCommand.js +2 -14
  18. package/dist-es/commands/DescribeJobCommand.js +2 -14
  19. package/dist-es/commands/DescribeJobRunCommand.js +2 -14
  20. package/dist-es/commands/DescribeProjectCommand.js +2 -14
  21. package/dist-es/commands/DescribeRecipeCommand.js +2 -14
  22. package/dist-es/commands/DescribeRulesetCommand.js +2 -14
  23. package/dist-es/commands/DescribeScheduleCommand.js +2 -14
  24. package/dist-es/commands/ListDatasetsCommand.js +2 -14
  25. package/dist-es/commands/ListJobRunsCommand.js +2 -14
  26. package/dist-es/commands/ListJobsCommand.js +2 -14
  27. package/dist-es/commands/ListProjectsCommand.js +2 -14
  28. package/dist-es/commands/ListRecipeVersionsCommand.js +2 -14
  29. package/dist-es/commands/ListRecipesCommand.js +2 -14
  30. package/dist-es/commands/ListRulesetsCommand.js +2 -14
  31. package/dist-es/commands/ListSchedulesCommand.js +2 -14
  32. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  33. package/dist-es/commands/PublishRecipeCommand.js +2 -14
  34. package/dist-es/commands/SendProjectSessionActionCommand.js +2 -14
  35. package/dist-es/commands/StartJobRunCommand.js +2 -14
  36. package/dist-es/commands/StartProjectSessionCommand.js +2 -14
  37. package/dist-es/commands/StopJobRunCommand.js +2 -14
  38. package/dist-es/commands/TagResourceCommand.js +2 -14
  39. package/dist-es/commands/UntagResourceCommand.js +2 -14
  40. package/dist-es/commands/UpdateDatasetCommand.js +2 -14
  41. package/dist-es/commands/UpdateProfileJobCommand.js +2 -14
  42. package/dist-es/commands/UpdateProjectCommand.js +2 -14
  43. package/dist-es/commands/UpdateRecipeCommand.js +2 -14
  44. package/dist-es/commands/UpdateRecipeJobCommand.js +2 -14
  45. package/dist-es/commands/UpdateRulesetCommand.js +2 -14
  46. package/dist-es/commands/UpdateScheduleCommand.js +2 -14
  47. package/dist-es/index.js +1 -0
  48. package/dist-es/runtimeConfig.browser.js +0 -2
  49. package/dist-es/runtimeConfig.js +1 -2
  50. package/dist-es/runtimeConfig.native.js +0 -2
  51. package/dist-es/runtimeConfig.shared.js +2 -0
  52. package/dist-types/commandBuilder.d.ts +18 -0
  53. package/dist-types/commands/BatchDeleteRecipeVersionCommand.d.ts +3 -8
  54. package/dist-types/commands/CreateDatasetCommand.d.ts +3 -8
  55. package/dist-types/commands/CreateProfileJobCommand.d.ts +3 -8
  56. package/dist-types/commands/CreateProjectCommand.d.ts +3 -8
  57. package/dist-types/commands/CreateRecipeCommand.d.ts +3 -8
  58. package/dist-types/commands/CreateRecipeJobCommand.d.ts +3 -8
  59. package/dist-types/commands/CreateRulesetCommand.d.ts +3 -8
  60. package/dist-types/commands/CreateScheduleCommand.d.ts +3 -8
  61. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -8
  62. package/dist-types/commands/DeleteJobCommand.d.ts +3 -8
  63. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteRecipeVersionCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteRulesetCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteScheduleCommand.d.ts +3 -8
  67. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -8
  68. package/dist-types/commands/DescribeJobCommand.d.ts +3 -8
  69. package/dist-types/commands/DescribeJobRunCommand.d.ts +3 -8
  70. package/dist-types/commands/DescribeProjectCommand.d.ts +3 -8
  71. package/dist-types/commands/DescribeRecipeCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeRulesetCommand.d.ts +3 -8
  73. package/dist-types/commands/DescribeScheduleCommand.d.ts +3 -8
  74. package/dist-types/commands/ListDatasetsCommand.d.ts +3 -8
  75. package/dist-types/commands/ListJobRunsCommand.d.ts +3 -8
  76. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  77. package/dist-types/commands/ListProjectsCommand.d.ts +3 -8
  78. package/dist-types/commands/ListRecipeVersionsCommand.d.ts +3 -8
  79. package/dist-types/commands/ListRecipesCommand.d.ts +3 -8
  80. package/dist-types/commands/ListRulesetsCommand.d.ts +3 -8
  81. package/dist-types/commands/ListSchedulesCommand.d.ts +3 -8
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  83. package/dist-types/commands/PublishRecipeCommand.d.ts +3 -8
  84. package/dist-types/commands/SendProjectSessionActionCommand.d.ts +3 -8
  85. package/dist-types/commands/StartJobRunCommand.d.ts +3 -8
  86. package/dist-types/commands/StartProjectSessionCommand.d.ts +3 -8
  87. package/dist-types/commands/StopJobRunCommand.d.ts +3 -8
  88. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  89. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  90. package/dist-types/commands/UpdateDatasetCommand.d.ts +3 -8
  91. package/dist-types/commands/UpdateProfileJobCommand.d.ts +3 -8
  92. package/dist-types/commands/UpdateProjectCommand.d.ts +3 -8
  93. package/dist-types/commands/UpdateRecipeCommand.d.ts +3 -8
  94. package/dist-types/commands/UpdateRecipeJobCommand.d.ts +3 -8
  95. package/dist-types/commands/UpdateRulesetCommand.d.ts +3 -8
  96. package/dist-types/commands/UpdateScheduleCommand.d.ts +3 -8
  97. package/dist-types/index.d.ts +1 -0
  98. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  99. package/dist-types/runtimeConfig.d.ts +1 -1
  100. package/dist-types/runtimeConfig.native.d.ts +1 -1
  101. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  102. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  103. package/dist-types/ts3.4/commands/BatchDeleteRecipeVersionCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/CreateProfileJobCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/CreateRecipeCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/CreateRecipeJobCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/CreateRulesetCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/DeleteRecipeVersionCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/DeleteRulesetCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DescribeRulesetCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DescribeScheduleCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/ListRecipeVersionsCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/ListRulesetsCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/PublishRecipeCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/SendProjectSessionActionCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/StartProjectSessionCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/StopJobRunCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/UpdateProfileJobCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/UpdateRecipeCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/UpdateRecipeJobCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/UpdateRulesetCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/index.d.ts +1 -0
  148. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  149. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  150. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  151. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  152. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultDataBrewHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1518,6 +1520,7 @@ const getRuntimeConfig$1 = (config) => {
1518
1520
  serviceTarget: "AWSGlueDataBrew",
1519
1521
  },
1520
1522
  serviceId: config?.serviceId ?? "DataBrew",
1523
+ sha256: config?.sha256 ?? Sha256,
1521
1524
  urlParser: config?.urlParser ?? parseUrl,
1522
1525
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1523
1526
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1551,7 +1554,6 @@ const getRuntimeConfig = (config) => {
1551
1554
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1552
1555
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1553
1556
  }, config),
1554
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1555
1557
  streamCollector: config?.streamCollector ?? streamCollector,
1556
1558
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1557
1559
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1640,532 +1642,140 @@ class DataBrewClient extends Client {
1640
1642
  }
1641
1643
  }
1642
1644
 
1643
- class BatchDeleteRecipeVersionCommand extends Command
1644
- .classBuilder()
1645
- .ep(commonParams)
1646
- .m(function (Command, cs, config, o) {
1647
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1648
- })
1649
- .s("AWSGlueDataBrew", "BatchDeleteRecipeVersion", {})
1650
- .n("DataBrewClient", "BatchDeleteRecipeVersionCommand")
1651
- .sc(BatchDeleteRecipeVersion$)
1652
- .build() {
1645
+ const command = makeBuilder(commonParams, "AWSGlueDataBrew", "DataBrewClient", getEndpointPlugin);
1646
+ const _ep0 = {};
1647
+ const _mw0 = (Command, cs, config, o) => [];
1648
+
1649
+ class BatchDeleteRecipeVersionCommand extends command(_ep0, _mw0, "BatchDeleteRecipeVersion", BatchDeleteRecipeVersion$) {
1653
1650
  }
1654
1651
 
1655
- class CreateDatasetCommand extends Command
1656
- .classBuilder()
1657
- .ep(commonParams)
1658
- .m(function (Command, cs, config, o) {
1659
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1660
- })
1661
- .s("AWSGlueDataBrew", "CreateDataset", {})
1662
- .n("DataBrewClient", "CreateDatasetCommand")
1663
- .sc(CreateDataset$)
1664
- .build() {
1652
+ class CreateDatasetCommand extends command(_ep0, _mw0, "CreateDataset", CreateDataset$) {
1665
1653
  }
1666
1654
 
1667
- class CreateProfileJobCommand extends Command
1668
- .classBuilder()
1669
- .ep(commonParams)
1670
- .m(function (Command, cs, config, o) {
1671
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1672
- })
1673
- .s("AWSGlueDataBrew", "CreateProfileJob", {})
1674
- .n("DataBrewClient", "CreateProfileJobCommand")
1675
- .sc(CreateProfileJob$)
1676
- .build() {
1655
+ class CreateProfileJobCommand extends command(_ep0, _mw0, "CreateProfileJob", CreateProfileJob$) {
1677
1656
  }
1678
1657
 
1679
- class CreateProjectCommand extends Command
1680
- .classBuilder()
1681
- .ep(commonParams)
1682
- .m(function (Command, cs, config, o) {
1683
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1684
- })
1685
- .s("AWSGlueDataBrew", "CreateProject", {})
1686
- .n("DataBrewClient", "CreateProjectCommand")
1687
- .sc(CreateProject$)
1688
- .build() {
1658
+ class CreateProjectCommand extends command(_ep0, _mw0, "CreateProject", CreateProject$) {
1689
1659
  }
1690
1660
 
1691
- class CreateRecipeCommand extends Command
1692
- .classBuilder()
1693
- .ep(commonParams)
1694
- .m(function (Command, cs, config, o) {
1695
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1696
- })
1697
- .s("AWSGlueDataBrew", "CreateRecipe", {})
1698
- .n("DataBrewClient", "CreateRecipeCommand")
1699
- .sc(CreateRecipe$)
1700
- .build() {
1661
+ class CreateRecipeCommand extends command(_ep0, _mw0, "CreateRecipe", CreateRecipe$) {
1701
1662
  }
1702
1663
 
1703
- class CreateRecipeJobCommand extends Command
1704
- .classBuilder()
1705
- .ep(commonParams)
1706
- .m(function (Command, cs, config, o) {
1707
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1708
- })
1709
- .s("AWSGlueDataBrew", "CreateRecipeJob", {})
1710
- .n("DataBrewClient", "CreateRecipeJobCommand")
1711
- .sc(CreateRecipeJob$)
1712
- .build() {
1664
+ class CreateRecipeJobCommand extends command(_ep0, _mw0, "CreateRecipeJob", CreateRecipeJob$) {
1713
1665
  }
1714
1666
 
1715
- class CreateRulesetCommand extends Command
1716
- .classBuilder()
1717
- .ep(commonParams)
1718
- .m(function (Command, cs, config, o) {
1719
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1720
- })
1721
- .s("AWSGlueDataBrew", "CreateRuleset", {})
1722
- .n("DataBrewClient", "CreateRulesetCommand")
1723
- .sc(CreateRuleset$)
1724
- .build() {
1667
+ class CreateRulesetCommand extends command(_ep0, _mw0, "CreateRuleset", CreateRuleset$) {
1725
1668
  }
1726
1669
 
1727
- class CreateScheduleCommand extends Command
1728
- .classBuilder()
1729
- .ep(commonParams)
1730
- .m(function (Command, cs, config, o) {
1731
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1732
- })
1733
- .s("AWSGlueDataBrew", "CreateSchedule", {})
1734
- .n("DataBrewClient", "CreateScheduleCommand")
1735
- .sc(CreateSchedule$)
1736
- .build() {
1670
+ class CreateScheduleCommand extends command(_ep0, _mw0, "CreateSchedule", CreateSchedule$) {
1737
1671
  }
1738
1672
 
1739
- class DeleteDatasetCommand extends Command
1740
- .classBuilder()
1741
- .ep(commonParams)
1742
- .m(function (Command, cs, config, o) {
1743
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1744
- })
1745
- .s("AWSGlueDataBrew", "DeleteDataset", {})
1746
- .n("DataBrewClient", "DeleteDatasetCommand")
1747
- .sc(DeleteDataset$)
1748
- .build() {
1673
+ class DeleteDatasetCommand extends command(_ep0, _mw0, "DeleteDataset", DeleteDataset$) {
1749
1674
  }
1750
1675
 
1751
- class DeleteJobCommand extends Command
1752
- .classBuilder()
1753
- .ep(commonParams)
1754
- .m(function (Command, cs, config, o) {
1755
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1756
- })
1757
- .s("AWSGlueDataBrew", "DeleteJob", {})
1758
- .n("DataBrewClient", "DeleteJobCommand")
1759
- .sc(DeleteJob$)
1760
- .build() {
1676
+ class DeleteJobCommand extends command(_ep0, _mw0, "DeleteJob", DeleteJob$) {
1761
1677
  }
1762
1678
 
1763
- class DeleteProjectCommand extends Command
1764
- .classBuilder()
1765
- .ep(commonParams)
1766
- .m(function (Command, cs, config, o) {
1767
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1768
- })
1769
- .s("AWSGlueDataBrew", "DeleteProject", {})
1770
- .n("DataBrewClient", "DeleteProjectCommand")
1771
- .sc(DeleteProject$)
1772
- .build() {
1679
+ class DeleteProjectCommand extends command(_ep0, _mw0, "DeleteProject", DeleteProject$) {
1773
1680
  }
1774
1681
 
1775
- class DeleteRecipeVersionCommand extends Command
1776
- .classBuilder()
1777
- .ep(commonParams)
1778
- .m(function (Command, cs, config, o) {
1779
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1780
- })
1781
- .s("AWSGlueDataBrew", "DeleteRecipeVersion", {})
1782
- .n("DataBrewClient", "DeleteRecipeVersionCommand")
1783
- .sc(DeleteRecipeVersion$)
1784
- .build() {
1682
+ class DeleteRecipeVersionCommand extends command(_ep0, _mw0, "DeleteRecipeVersion", DeleteRecipeVersion$) {
1785
1683
  }
1786
1684
 
1787
- class DeleteRulesetCommand extends Command
1788
- .classBuilder()
1789
- .ep(commonParams)
1790
- .m(function (Command, cs, config, o) {
1791
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1792
- })
1793
- .s("AWSGlueDataBrew", "DeleteRuleset", {})
1794
- .n("DataBrewClient", "DeleteRulesetCommand")
1795
- .sc(DeleteRuleset$)
1796
- .build() {
1685
+ class DeleteRulesetCommand extends command(_ep0, _mw0, "DeleteRuleset", DeleteRuleset$) {
1797
1686
  }
1798
1687
 
1799
- class DeleteScheduleCommand extends Command
1800
- .classBuilder()
1801
- .ep(commonParams)
1802
- .m(function (Command, cs, config, o) {
1803
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1804
- })
1805
- .s("AWSGlueDataBrew", "DeleteSchedule", {})
1806
- .n("DataBrewClient", "DeleteScheduleCommand")
1807
- .sc(DeleteSchedule$)
1808
- .build() {
1688
+ class DeleteScheduleCommand extends command(_ep0, _mw0, "DeleteSchedule", DeleteSchedule$) {
1809
1689
  }
1810
1690
 
1811
- class DescribeDatasetCommand extends Command
1812
- .classBuilder()
1813
- .ep(commonParams)
1814
- .m(function (Command, cs, config, o) {
1815
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1816
- })
1817
- .s("AWSGlueDataBrew", "DescribeDataset", {})
1818
- .n("DataBrewClient", "DescribeDatasetCommand")
1819
- .sc(DescribeDataset$)
1820
- .build() {
1691
+ class DescribeDatasetCommand extends command(_ep0, _mw0, "DescribeDataset", DescribeDataset$) {
1821
1692
  }
1822
1693
 
1823
- class DescribeJobCommand extends Command
1824
- .classBuilder()
1825
- .ep(commonParams)
1826
- .m(function (Command, cs, config, o) {
1827
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1828
- })
1829
- .s("AWSGlueDataBrew", "DescribeJob", {})
1830
- .n("DataBrewClient", "DescribeJobCommand")
1831
- .sc(DescribeJob$)
1832
- .build() {
1694
+ class DescribeJobCommand extends command(_ep0, _mw0, "DescribeJob", DescribeJob$) {
1833
1695
  }
1834
1696
 
1835
- class DescribeJobRunCommand extends Command
1836
- .classBuilder()
1837
- .ep(commonParams)
1838
- .m(function (Command, cs, config, o) {
1839
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1840
- })
1841
- .s("AWSGlueDataBrew", "DescribeJobRun", {})
1842
- .n("DataBrewClient", "DescribeJobRunCommand")
1843
- .sc(DescribeJobRun$)
1844
- .build() {
1697
+ class DescribeJobRunCommand extends command(_ep0, _mw0, "DescribeJobRun", DescribeJobRun$) {
1845
1698
  }
1846
1699
 
1847
- class DescribeProjectCommand extends Command
1848
- .classBuilder()
1849
- .ep(commonParams)
1850
- .m(function (Command, cs, config, o) {
1851
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1852
- })
1853
- .s("AWSGlueDataBrew", "DescribeProject", {})
1854
- .n("DataBrewClient", "DescribeProjectCommand")
1855
- .sc(DescribeProject$)
1856
- .build() {
1700
+ class DescribeProjectCommand extends command(_ep0, _mw0, "DescribeProject", DescribeProject$) {
1857
1701
  }
1858
1702
 
1859
- class DescribeRecipeCommand extends Command
1860
- .classBuilder()
1861
- .ep(commonParams)
1862
- .m(function (Command, cs, config, o) {
1863
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1864
- })
1865
- .s("AWSGlueDataBrew", "DescribeRecipe", {})
1866
- .n("DataBrewClient", "DescribeRecipeCommand")
1867
- .sc(DescribeRecipe$)
1868
- .build() {
1703
+ class DescribeRecipeCommand extends command(_ep0, _mw0, "DescribeRecipe", DescribeRecipe$) {
1869
1704
  }
1870
1705
 
1871
- class DescribeRulesetCommand extends Command
1872
- .classBuilder()
1873
- .ep(commonParams)
1874
- .m(function (Command, cs, config, o) {
1875
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1876
- })
1877
- .s("AWSGlueDataBrew", "DescribeRuleset", {})
1878
- .n("DataBrewClient", "DescribeRulesetCommand")
1879
- .sc(DescribeRuleset$)
1880
- .build() {
1706
+ class DescribeRulesetCommand extends command(_ep0, _mw0, "DescribeRuleset", DescribeRuleset$) {
1881
1707
  }
1882
1708
 
1883
- class DescribeScheduleCommand extends Command
1884
- .classBuilder()
1885
- .ep(commonParams)
1886
- .m(function (Command, cs, config, o) {
1887
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1888
- })
1889
- .s("AWSGlueDataBrew", "DescribeSchedule", {})
1890
- .n("DataBrewClient", "DescribeScheduleCommand")
1891
- .sc(DescribeSchedule$)
1892
- .build() {
1709
+ class DescribeScheduleCommand extends command(_ep0, _mw0, "DescribeSchedule", DescribeSchedule$) {
1893
1710
  }
1894
1711
 
1895
- class ListDatasetsCommand extends Command
1896
- .classBuilder()
1897
- .ep(commonParams)
1898
- .m(function (Command, cs, config, o) {
1899
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1900
- })
1901
- .s("AWSGlueDataBrew", "ListDatasets", {})
1902
- .n("DataBrewClient", "ListDatasetsCommand")
1903
- .sc(ListDatasets$)
1904
- .build() {
1712
+ class ListDatasetsCommand extends command(_ep0, _mw0, "ListDatasets", ListDatasets$) {
1905
1713
  }
1906
1714
 
1907
- class ListJobRunsCommand extends Command
1908
- .classBuilder()
1909
- .ep(commonParams)
1910
- .m(function (Command, cs, config, o) {
1911
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1912
- })
1913
- .s("AWSGlueDataBrew", "ListJobRuns", {})
1914
- .n("DataBrewClient", "ListJobRunsCommand")
1915
- .sc(ListJobRuns$)
1916
- .build() {
1715
+ class ListJobRunsCommand extends command(_ep0, _mw0, "ListJobRuns", ListJobRuns$) {
1917
1716
  }
1918
1717
 
1919
- class ListJobsCommand extends Command
1920
- .classBuilder()
1921
- .ep(commonParams)
1922
- .m(function (Command, cs, config, o) {
1923
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1924
- })
1925
- .s("AWSGlueDataBrew", "ListJobs", {})
1926
- .n("DataBrewClient", "ListJobsCommand")
1927
- .sc(ListJobs$)
1928
- .build() {
1718
+ class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
1929
1719
  }
1930
1720
 
1931
- class ListProjectsCommand extends Command
1932
- .classBuilder()
1933
- .ep(commonParams)
1934
- .m(function (Command, cs, config, o) {
1935
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1936
- })
1937
- .s("AWSGlueDataBrew", "ListProjects", {})
1938
- .n("DataBrewClient", "ListProjectsCommand")
1939
- .sc(ListProjects$)
1940
- .build() {
1721
+ class ListProjectsCommand extends command(_ep0, _mw0, "ListProjects", ListProjects$) {
1941
1722
  }
1942
1723
 
1943
- class ListRecipesCommand extends Command
1944
- .classBuilder()
1945
- .ep(commonParams)
1946
- .m(function (Command, cs, config, o) {
1947
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1948
- })
1949
- .s("AWSGlueDataBrew", "ListRecipes", {})
1950
- .n("DataBrewClient", "ListRecipesCommand")
1951
- .sc(ListRecipes$)
1952
- .build() {
1724
+ class ListRecipesCommand extends command(_ep0, _mw0, "ListRecipes", ListRecipes$) {
1953
1725
  }
1954
1726
 
1955
- class ListRecipeVersionsCommand extends Command
1956
- .classBuilder()
1957
- .ep(commonParams)
1958
- .m(function (Command, cs, config, o) {
1959
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1960
- })
1961
- .s("AWSGlueDataBrew", "ListRecipeVersions", {})
1962
- .n("DataBrewClient", "ListRecipeVersionsCommand")
1963
- .sc(ListRecipeVersions$)
1964
- .build() {
1727
+ class ListRecipeVersionsCommand extends command(_ep0, _mw0, "ListRecipeVersions", ListRecipeVersions$) {
1965
1728
  }
1966
1729
 
1967
- class ListRulesetsCommand extends Command
1968
- .classBuilder()
1969
- .ep(commonParams)
1970
- .m(function (Command, cs, config, o) {
1971
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1972
- })
1973
- .s("AWSGlueDataBrew", "ListRulesets", {})
1974
- .n("DataBrewClient", "ListRulesetsCommand")
1975
- .sc(ListRulesets$)
1976
- .build() {
1730
+ class ListRulesetsCommand extends command(_ep0, _mw0, "ListRulesets", ListRulesets$) {
1977
1731
  }
1978
1732
 
1979
- class ListSchedulesCommand extends Command
1980
- .classBuilder()
1981
- .ep(commonParams)
1982
- .m(function (Command, cs, config, o) {
1983
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1984
- })
1985
- .s("AWSGlueDataBrew", "ListSchedules", {})
1986
- .n("DataBrewClient", "ListSchedulesCommand")
1987
- .sc(ListSchedules$)
1988
- .build() {
1733
+ class ListSchedulesCommand extends command(_ep0, _mw0, "ListSchedules", ListSchedules$) {
1989
1734
  }
1990
1735
 
1991
- class ListTagsForResourceCommand extends Command
1992
- .classBuilder()
1993
- .ep(commonParams)
1994
- .m(function (Command, cs, config, o) {
1995
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1996
- })
1997
- .s("AWSGlueDataBrew", "ListTagsForResource", {})
1998
- .n("DataBrewClient", "ListTagsForResourceCommand")
1999
- .sc(ListTagsForResource$)
2000
- .build() {
1736
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2001
1737
  }
2002
1738
 
2003
- class PublishRecipeCommand extends Command
2004
- .classBuilder()
2005
- .ep(commonParams)
2006
- .m(function (Command, cs, config, o) {
2007
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2008
- })
2009
- .s("AWSGlueDataBrew", "PublishRecipe", {})
2010
- .n("DataBrewClient", "PublishRecipeCommand")
2011
- .sc(PublishRecipe$)
2012
- .build() {
1739
+ class PublishRecipeCommand extends command(_ep0, _mw0, "PublishRecipe", PublishRecipe$) {
2013
1740
  }
2014
1741
 
2015
- class SendProjectSessionActionCommand extends Command
2016
- .classBuilder()
2017
- .ep(commonParams)
2018
- .m(function (Command, cs, config, o) {
2019
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2020
- })
2021
- .s("AWSGlueDataBrew", "SendProjectSessionAction", {})
2022
- .n("DataBrewClient", "SendProjectSessionActionCommand")
2023
- .sc(SendProjectSessionAction$)
2024
- .build() {
1742
+ class SendProjectSessionActionCommand extends command(_ep0, _mw0, "SendProjectSessionAction", SendProjectSessionAction$) {
2025
1743
  }
2026
1744
 
2027
- class StartJobRunCommand extends Command
2028
- .classBuilder()
2029
- .ep(commonParams)
2030
- .m(function (Command, cs, config, o) {
2031
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2032
- })
2033
- .s("AWSGlueDataBrew", "StartJobRun", {})
2034
- .n("DataBrewClient", "StartJobRunCommand")
2035
- .sc(StartJobRun$)
2036
- .build() {
1745
+ class StartJobRunCommand extends command(_ep0, _mw0, "StartJobRun", StartJobRun$) {
2037
1746
  }
2038
1747
 
2039
- class StartProjectSessionCommand extends Command
2040
- .classBuilder()
2041
- .ep(commonParams)
2042
- .m(function (Command, cs, config, o) {
2043
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2044
- })
2045
- .s("AWSGlueDataBrew", "StartProjectSession", {})
2046
- .n("DataBrewClient", "StartProjectSessionCommand")
2047
- .sc(StartProjectSession$)
2048
- .build() {
1748
+ class StartProjectSessionCommand extends command(_ep0, _mw0, "StartProjectSession", StartProjectSession$) {
2049
1749
  }
2050
1750
 
2051
- class StopJobRunCommand extends Command
2052
- .classBuilder()
2053
- .ep(commonParams)
2054
- .m(function (Command, cs, config, o) {
2055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2056
- })
2057
- .s("AWSGlueDataBrew", "StopJobRun", {})
2058
- .n("DataBrewClient", "StopJobRunCommand")
2059
- .sc(StopJobRun$)
2060
- .build() {
1751
+ class StopJobRunCommand extends command(_ep0, _mw0, "StopJobRun", StopJobRun$) {
2061
1752
  }
2062
1753
 
2063
- class TagResourceCommand extends Command
2064
- .classBuilder()
2065
- .ep(commonParams)
2066
- .m(function (Command, cs, config, o) {
2067
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2068
- })
2069
- .s("AWSGlueDataBrew", "TagResource", {})
2070
- .n("DataBrewClient", "TagResourceCommand")
2071
- .sc(TagResource$)
2072
- .build() {
1754
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2073
1755
  }
2074
1756
 
2075
- class UntagResourceCommand extends Command
2076
- .classBuilder()
2077
- .ep(commonParams)
2078
- .m(function (Command, cs, config, o) {
2079
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2080
- })
2081
- .s("AWSGlueDataBrew", "UntagResource", {})
2082
- .n("DataBrewClient", "UntagResourceCommand")
2083
- .sc(UntagResource$)
2084
- .build() {
1757
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2085
1758
  }
2086
1759
 
2087
- class UpdateDatasetCommand extends Command
2088
- .classBuilder()
2089
- .ep(commonParams)
2090
- .m(function (Command, cs, config, o) {
2091
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2092
- })
2093
- .s("AWSGlueDataBrew", "UpdateDataset", {})
2094
- .n("DataBrewClient", "UpdateDatasetCommand")
2095
- .sc(UpdateDataset$)
2096
- .build() {
1760
+ class UpdateDatasetCommand extends command(_ep0, _mw0, "UpdateDataset", UpdateDataset$) {
2097
1761
  }
2098
1762
 
2099
- class UpdateProfileJobCommand extends Command
2100
- .classBuilder()
2101
- .ep(commonParams)
2102
- .m(function (Command, cs, config, o) {
2103
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2104
- })
2105
- .s("AWSGlueDataBrew", "UpdateProfileJob", {})
2106
- .n("DataBrewClient", "UpdateProfileJobCommand")
2107
- .sc(UpdateProfileJob$)
2108
- .build() {
1763
+ class UpdateProfileJobCommand extends command(_ep0, _mw0, "UpdateProfileJob", UpdateProfileJob$) {
2109
1764
  }
2110
1765
 
2111
- class UpdateProjectCommand extends Command
2112
- .classBuilder()
2113
- .ep(commonParams)
2114
- .m(function (Command, cs, config, o) {
2115
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2116
- })
2117
- .s("AWSGlueDataBrew", "UpdateProject", {})
2118
- .n("DataBrewClient", "UpdateProjectCommand")
2119
- .sc(UpdateProject$)
2120
- .build() {
1766
+ class UpdateProjectCommand extends command(_ep0, _mw0, "UpdateProject", UpdateProject$) {
2121
1767
  }
2122
1768
 
2123
- class UpdateRecipeCommand extends Command
2124
- .classBuilder()
2125
- .ep(commonParams)
2126
- .m(function (Command, cs, config, o) {
2127
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2128
- })
2129
- .s("AWSGlueDataBrew", "UpdateRecipe", {})
2130
- .n("DataBrewClient", "UpdateRecipeCommand")
2131
- .sc(UpdateRecipe$)
2132
- .build() {
1769
+ class UpdateRecipeCommand extends command(_ep0, _mw0, "UpdateRecipe", UpdateRecipe$) {
2133
1770
  }
2134
1771
 
2135
- class UpdateRecipeJobCommand extends Command
2136
- .classBuilder()
2137
- .ep(commonParams)
2138
- .m(function (Command, cs, config, o) {
2139
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2140
- })
2141
- .s("AWSGlueDataBrew", "UpdateRecipeJob", {})
2142
- .n("DataBrewClient", "UpdateRecipeJobCommand")
2143
- .sc(UpdateRecipeJob$)
2144
- .build() {
1772
+ class UpdateRecipeJobCommand extends command(_ep0, _mw0, "UpdateRecipeJob", UpdateRecipeJob$) {
2145
1773
  }
2146
1774
 
2147
- class UpdateRulesetCommand extends Command
2148
- .classBuilder()
2149
- .ep(commonParams)
2150
- .m(function (Command, cs, config, o) {
2151
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2152
- })
2153
- .s("AWSGlueDataBrew", "UpdateRuleset", {})
2154
- .n("DataBrewClient", "UpdateRulesetCommand")
2155
- .sc(UpdateRuleset$)
2156
- .build() {
1775
+ class UpdateRulesetCommand extends command(_ep0, _mw0, "UpdateRuleset", UpdateRuleset$) {
2157
1776
  }
2158
1777
 
2159
- class UpdateScheduleCommand extends Command
2160
- .classBuilder()
2161
- .ep(commonParams)
2162
- .m(function (Command, cs, config, o) {
2163
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2164
- })
2165
- .s("AWSGlueDataBrew", "UpdateSchedule", {})
2166
- .n("DataBrewClient", "UpdateScheduleCommand")
2167
- .sc(UpdateSchedule$)
2168
- .build() {
1778
+ class UpdateScheduleCommand extends command(_ep0, _mw0, "UpdateSchedule", UpdateSchedule$) {
2169
1779
  }
2170
1780
 
2171
1781
  const paginateListDatasets = createPaginator(DataBrewClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSGlueDataBrew", "DataBrewClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchDeleteRecipeVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDeleteRecipeVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSGlueDataBrew", "BatchDeleteRecipeVersion", {})
13
- .n("DataBrewClient", "BatchDeleteRecipeVersionCommand")
14
- .sc(BatchDeleteRecipeVersion$)
15
- .build() {
3
+ export class BatchDeleteRecipeVersionCommand extends command(_ep0, _mw0, "BatchDeleteRecipeVersion", BatchDeleteRecipeVersion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateDataset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDatasetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSGlueDataBrew", "CreateDataset", {})
13
- .n("DataBrewClient", "CreateDatasetCommand")
14
- .sc(CreateDataset$)
15
- .build() {
3
+ export class CreateDatasetCommand extends command(_ep0, _mw0, "CreateDataset", CreateDataset$) {
16
4
  }