@aws-sdk/client-amplifyuibuilder 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 (104) hide show
  1. package/dist-cjs/index.js +39 -285
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateComponentCommand.js +2 -14
  4. package/dist-es/commands/CreateFormCommand.js +2 -14
  5. package/dist-es/commands/CreateThemeCommand.js +2 -14
  6. package/dist-es/commands/DeleteComponentCommand.js +2 -14
  7. package/dist-es/commands/DeleteFormCommand.js +2 -14
  8. package/dist-es/commands/DeleteThemeCommand.js +2 -14
  9. package/dist-es/commands/ExchangeCodeForTokenCommand.js +2 -14
  10. package/dist-es/commands/ExportComponentsCommand.js +2 -14
  11. package/dist-es/commands/ExportFormsCommand.js +2 -14
  12. package/dist-es/commands/ExportThemesCommand.js +2 -14
  13. package/dist-es/commands/GetCodegenJobCommand.js +2 -14
  14. package/dist-es/commands/GetComponentCommand.js +2 -14
  15. package/dist-es/commands/GetFormCommand.js +2 -14
  16. package/dist-es/commands/GetMetadataCommand.js +2 -14
  17. package/dist-es/commands/GetThemeCommand.js +2 -14
  18. package/dist-es/commands/ListCodegenJobsCommand.js +2 -14
  19. package/dist-es/commands/ListComponentsCommand.js +2 -14
  20. package/dist-es/commands/ListFormsCommand.js +2 -14
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  22. package/dist-es/commands/ListThemesCommand.js +2 -14
  23. package/dist-es/commands/PutMetadataFlagCommand.js +2 -14
  24. package/dist-es/commands/RefreshTokenCommand.js +2 -14
  25. package/dist-es/commands/StartCodegenJobCommand.js +2 -14
  26. package/dist-es/commands/TagResourceCommand.js +2 -14
  27. package/dist-es/commands/UntagResourceCommand.js +2 -14
  28. package/dist-es/commands/UpdateComponentCommand.js +2 -14
  29. package/dist-es/commands/UpdateFormCommand.js +2 -14
  30. package/dist-es/commands/UpdateThemeCommand.js +2 -14
  31. package/dist-es/index.js +1 -0
  32. package/dist-es/runtimeConfig.browser.js +0 -2
  33. package/dist-es/runtimeConfig.js +1 -2
  34. package/dist-es/runtimeConfig.native.js +0 -2
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-types/commandBuilder.d.ts +18 -0
  37. package/dist-types/commands/CreateComponentCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateFormCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateThemeCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteFormCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteThemeCommand.d.ts +3 -8
  43. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +3 -8
  44. package/dist-types/commands/ExportComponentsCommand.d.ts +3 -8
  45. package/dist-types/commands/ExportFormsCommand.d.ts +3 -8
  46. package/dist-types/commands/ExportThemesCommand.d.ts +3 -8
  47. package/dist-types/commands/GetCodegenJobCommand.d.ts +3 -8
  48. package/dist-types/commands/GetComponentCommand.d.ts +3 -8
  49. package/dist-types/commands/GetFormCommand.d.ts +3 -8
  50. package/dist-types/commands/GetMetadataCommand.d.ts +3 -8
  51. package/dist-types/commands/GetThemeCommand.d.ts +3 -8
  52. package/dist-types/commands/ListCodegenJobsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListFormsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  56. package/dist-types/commands/ListThemesCommand.d.ts +3 -8
  57. package/dist-types/commands/PutMetadataFlagCommand.d.ts +3 -8
  58. package/dist-types/commands/RefreshTokenCommand.d.ts +3 -8
  59. package/dist-types/commands/StartCodegenJobCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateComponentCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateFormCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateThemeCommand.d.ts +3 -8
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  67. package/dist-types/runtimeConfig.d.ts +1 -1
  68. package/dist-types/runtimeConfig.native.d.ts +1 -1
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  71. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateFormCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteFormCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ExportFormsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetCodegenJobCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetFormCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetMetadataCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListCodegenJobsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListFormsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/PutMetadataFlagCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/StartCodegenJobCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateFormCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/index.d.ts +1 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  104. 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 defaultAmplifyUIBuilderHttpAuthSchemeParametersProvider = 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
 
@@ -1440,6 +1442,7 @@ const getRuntimeConfig$1 = (config) => {
1440
1442
  serviceTarget: "AmplifyUIBuilder",
1441
1443
  },
1442
1444
  serviceId: config?.serviceId ?? "AmplifyUIBuilder",
1445
+ sha256: config?.sha256 ?? Sha256,
1443
1446
  urlParser: config?.urlParser ?? parseUrl,
1444
1447
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1445
1448
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1473,7 +1476,6 @@ const getRuntimeConfig = (config) => {
1473
1476
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1474
1477
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1475
1478
  }, config),
1476
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1477
1479
  streamCollector: config?.streamCollector ?? streamCollector,
1478
1480
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1479
1481
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1561,340 +1563,92 @@ class AmplifyUIBuilderClient extends Client {
1561
1563
  }
1562
1564
  }
1563
1565
 
1564
- class CreateComponentCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("AmplifyUIBuilder", "CreateComponent", {})
1571
- .n("AmplifyUIBuilderClient", "CreateComponentCommand")
1572
- .sc(CreateComponent$)
1573
- .build() {
1566
+ const command = makeBuilder(commonParams, "AmplifyUIBuilder", "AmplifyUIBuilderClient", getEndpointPlugin);
1567
+ const _ep0 = {};
1568
+ const _mw0 = (Command, cs, config, o) => [];
1569
+
1570
+ class CreateComponentCommand extends command(_ep0, _mw0, "CreateComponent", CreateComponent$) {
1574
1571
  }
1575
1572
 
1576
- class CreateFormCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("AmplifyUIBuilder", "CreateForm", {})
1583
- .n("AmplifyUIBuilderClient", "CreateFormCommand")
1584
- .sc(CreateForm$)
1585
- .build() {
1573
+ class CreateFormCommand extends command(_ep0, _mw0, "CreateForm", CreateForm$) {
1586
1574
  }
1587
1575
 
1588
- class CreateThemeCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("AmplifyUIBuilder", "CreateTheme", {})
1595
- .n("AmplifyUIBuilderClient", "CreateThemeCommand")
1596
- .sc(CreateTheme$)
1597
- .build() {
1576
+ class CreateThemeCommand extends command(_ep0, _mw0, "CreateTheme", CreateTheme$) {
1598
1577
  }
1599
1578
 
1600
- class DeleteComponentCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("AmplifyUIBuilder", "DeleteComponent", {})
1607
- .n("AmplifyUIBuilderClient", "DeleteComponentCommand")
1608
- .sc(DeleteComponent$)
1609
- .build() {
1579
+ class DeleteComponentCommand extends command(_ep0, _mw0, "DeleteComponent", DeleteComponent$) {
1610
1580
  }
1611
1581
 
1612
- class DeleteFormCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("AmplifyUIBuilder", "DeleteForm", {})
1619
- .n("AmplifyUIBuilderClient", "DeleteFormCommand")
1620
- .sc(DeleteForm$)
1621
- .build() {
1582
+ class DeleteFormCommand extends command(_ep0, _mw0, "DeleteForm", DeleteForm$) {
1622
1583
  }
1623
1584
 
1624
- class DeleteThemeCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("AmplifyUIBuilder", "DeleteTheme", {})
1631
- .n("AmplifyUIBuilderClient", "DeleteThemeCommand")
1632
- .sc(DeleteTheme$)
1633
- .build() {
1585
+ class DeleteThemeCommand extends command(_ep0, _mw0, "DeleteTheme", DeleteTheme$) {
1634
1586
  }
1635
1587
 
1636
- class ExchangeCodeForTokenCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("AmplifyUIBuilder", "ExchangeCodeForToken", {})
1643
- .n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand")
1644
- .sc(ExchangeCodeForToken$)
1645
- .build() {
1588
+ class ExchangeCodeForTokenCommand extends command(_ep0, _mw0, "ExchangeCodeForToken", ExchangeCodeForToken$) {
1646
1589
  }
1647
1590
 
1648
- class ExportComponentsCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("AmplifyUIBuilder", "ExportComponents", {})
1655
- .n("AmplifyUIBuilderClient", "ExportComponentsCommand")
1656
- .sc(ExportComponents$)
1657
- .build() {
1591
+ class ExportComponentsCommand extends command(_ep0, _mw0, "ExportComponents", ExportComponents$) {
1658
1592
  }
1659
1593
 
1660
- class ExportFormsCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("AmplifyUIBuilder", "ExportForms", {})
1667
- .n("AmplifyUIBuilderClient", "ExportFormsCommand")
1668
- .sc(ExportForms$)
1669
- .build() {
1594
+ class ExportFormsCommand extends command(_ep0, _mw0, "ExportForms", ExportForms$) {
1670
1595
  }
1671
1596
 
1672
- class ExportThemesCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("AmplifyUIBuilder", "ExportThemes", {})
1679
- .n("AmplifyUIBuilderClient", "ExportThemesCommand")
1680
- .sc(ExportThemes$)
1681
- .build() {
1597
+ class ExportThemesCommand extends command(_ep0, _mw0, "ExportThemes", ExportThemes$) {
1682
1598
  }
1683
1599
 
1684
- class GetCodegenJobCommand extends Command
1685
- .classBuilder()
1686
- .ep(commonParams)
1687
- .m(function (Command, cs, config, o) {
1688
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1689
- })
1690
- .s("AmplifyUIBuilder", "GetCodegenJob", {})
1691
- .n("AmplifyUIBuilderClient", "GetCodegenJobCommand")
1692
- .sc(GetCodegenJob$)
1693
- .build() {
1600
+ class GetCodegenJobCommand extends command(_ep0, _mw0, "GetCodegenJob", GetCodegenJob$) {
1694
1601
  }
1695
1602
 
1696
- class GetComponentCommand extends Command
1697
- .classBuilder()
1698
- .ep(commonParams)
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("AmplifyUIBuilder", "GetComponent", {})
1703
- .n("AmplifyUIBuilderClient", "GetComponentCommand")
1704
- .sc(GetComponent$)
1705
- .build() {
1603
+ class GetComponentCommand extends command(_ep0, _mw0, "GetComponent", GetComponent$) {
1706
1604
  }
1707
1605
 
1708
- class GetFormCommand extends Command
1709
- .classBuilder()
1710
- .ep(commonParams)
1711
- .m(function (Command, cs, config, o) {
1712
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
- })
1714
- .s("AmplifyUIBuilder", "GetForm", {})
1715
- .n("AmplifyUIBuilderClient", "GetFormCommand")
1716
- .sc(GetForm$)
1717
- .build() {
1606
+ class GetFormCommand extends command(_ep0, _mw0, "GetForm", GetForm$) {
1718
1607
  }
1719
1608
 
1720
- class GetMetadataCommand extends Command
1721
- .classBuilder()
1722
- .ep(commonParams)
1723
- .m(function (Command, cs, config, o) {
1724
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
- })
1726
- .s("AmplifyUIBuilder", "GetMetadata", {})
1727
- .n("AmplifyUIBuilderClient", "GetMetadataCommand")
1728
- .sc(GetMetadata$)
1729
- .build() {
1609
+ class GetMetadataCommand extends command(_ep0, _mw0, "GetMetadata", GetMetadata$) {
1730
1610
  }
1731
1611
 
1732
- class GetThemeCommand extends Command
1733
- .classBuilder()
1734
- .ep(commonParams)
1735
- .m(function (Command, cs, config, o) {
1736
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1737
- })
1738
- .s("AmplifyUIBuilder", "GetTheme", {})
1739
- .n("AmplifyUIBuilderClient", "GetThemeCommand")
1740
- .sc(GetTheme$)
1741
- .build() {
1612
+ class GetThemeCommand extends command(_ep0, _mw0, "GetTheme", GetTheme$) {
1742
1613
  }
1743
1614
 
1744
- class ListCodegenJobsCommand extends Command
1745
- .classBuilder()
1746
- .ep(commonParams)
1747
- .m(function (Command, cs, config, o) {
1748
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1749
- })
1750
- .s("AmplifyUIBuilder", "ListCodegenJobs", {})
1751
- .n("AmplifyUIBuilderClient", "ListCodegenJobsCommand")
1752
- .sc(ListCodegenJobs$)
1753
- .build() {
1615
+ class ListCodegenJobsCommand extends command(_ep0, _mw0, "ListCodegenJobs", ListCodegenJobs$) {
1754
1616
  }
1755
1617
 
1756
- class ListComponentsCommand extends Command
1757
- .classBuilder()
1758
- .ep(commonParams)
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("AmplifyUIBuilder", "ListComponents", {})
1763
- .n("AmplifyUIBuilderClient", "ListComponentsCommand")
1764
- .sc(ListComponents$)
1765
- .build() {
1618
+ class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
1766
1619
  }
1767
1620
 
1768
- class ListFormsCommand extends Command
1769
- .classBuilder()
1770
- .ep(commonParams)
1771
- .m(function (Command, cs, config, o) {
1772
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1773
- })
1774
- .s("AmplifyUIBuilder", "ListForms", {})
1775
- .n("AmplifyUIBuilderClient", "ListFormsCommand")
1776
- .sc(ListForms$)
1777
- .build() {
1621
+ class ListFormsCommand extends command(_ep0, _mw0, "ListForms", ListForms$) {
1778
1622
  }
1779
1623
 
1780
- class ListTagsForResourceCommand extends Command
1781
- .classBuilder()
1782
- .ep(commonParams)
1783
- .m(function (Command, cs, config, o) {
1784
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1785
- })
1786
- .s("AmplifyUIBuilder", "ListTagsForResource", {})
1787
- .n("AmplifyUIBuilderClient", "ListTagsForResourceCommand")
1788
- .sc(ListTagsForResource$)
1789
- .build() {
1624
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1790
1625
  }
1791
1626
 
1792
- class ListThemesCommand extends Command
1793
- .classBuilder()
1794
- .ep(commonParams)
1795
- .m(function (Command, cs, config, o) {
1796
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
- })
1798
- .s("AmplifyUIBuilder", "ListThemes", {})
1799
- .n("AmplifyUIBuilderClient", "ListThemesCommand")
1800
- .sc(ListThemes$)
1801
- .build() {
1627
+ class ListThemesCommand extends command(_ep0, _mw0, "ListThemes", ListThemes$) {
1802
1628
  }
1803
1629
 
1804
- class PutMetadataFlagCommand extends Command
1805
- .classBuilder()
1806
- .ep(commonParams)
1807
- .m(function (Command, cs, config, o) {
1808
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1809
- })
1810
- .s("AmplifyUIBuilder", "PutMetadataFlag", {})
1811
- .n("AmplifyUIBuilderClient", "PutMetadataFlagCommand")
1812
- .sc(PutMetadataFlag$)
1813
- .build() {
1630
+ class PutMetadataFlagCommand extends command(_ep0, _mw0, "PutMetadataFlag", PutMetadataFlag$) {
1814
1631
  }
1815
1632
 
1816
- class RefreshTokenCommand extends Command
1817
- .classBuilder()
1818
- .ep(commonParams)
1819
- .m(function (Command, cs, config, o) {
1820
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
- })
1822
- .s("AmplifyUIBuilder", "RefreshToken", {})
1823
- .n("AmplifyUIBuilderClient", "RefreshTokenCommand")
1824
- .sc(RefreshToken$)
1825
- .build() {
1633
+ class RefreshTokenCommand extends command(_ep0, _mw0, "RefreshToken", RefreshToken$) {
1826
1634
  }
1827
1635
 
1828
- class StartCodegenJobCommand extends Command
1829
- .classBuilder()
1830
- .ep(commonParams)
1831
- .m(function (Command, cs, config, o) {
1832
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1833
- })
1834
- .s("AmplifyUIBuilder", "StartCodegenJob", {})
1835
- .n("AmplifyUIBuilderClient", "StartCodegenJobCommand")
1836
- .sc(StartCodegenJob$)
1837
- .build() {
1636
+ class StartCodegenJobCommand extends command(_ep0, _mw0, "StartCodegenJob", StartCodegenJob$) {
1838
1637
  }
1839
1638
 
1840
- class TagResourceCommand extends Command
1841
- .classBuilder()
1842
- .ep(commonParams)
1843
- .m(function (Command, cs, config, o) {
1844
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
- })
1846
- .s("AmplifyUIBuilder", "TagResource", {})
1847
- .n("AmplifyUIBuilderClient", "TagResourceCommand")
1848
- .sc(TagResource$)
1849
- .build() {
1639
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1850
1640
  }
1851
1641
 
1852
- class UntagResourceCommand extends Command
1853
- .classBuilder()
1854
- .ep(commonParams)
1855
- .m(function (Command, cs, config, o) {
1856
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1857
- })
1858
- .s("AmplifyUIBuilder", "UntagResource", {})
1859
- .n("AmplifyUIBuilderClient", "UntagResourceCommand")
1860
- .sc(UntagResource$)
1861
- .build() {
1642
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1862
1643
  }
1863
1644
 
1864
- class UpdateComponentCommand extends Command
1865
- .classBuilder()
1866
- .ep(commonParams)
1867
- .m(function (Command, cs, config, o) {
1868
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1869
- })
1870
- .s("AmplifyUIBuilder", "UpdateComponent", {})
1871
- .n("AmplifyUIBuilderClient", "UpdateComponentCommand")
1872
- .sc(UpdateComponent$)
1873
- .build() {
1645
+ class UpdateComponentCommand extends command(_ep0, _mw0, "UpdateComponent", UpdateComponent$) {
1874
1646
  }
1875
1647
 
1876
- class UpdateFormCommand extends Command
1877
- .classBuilder()
1878
- .ep(commonParams)
1879
- .m(function (Command, cs, config, o) {
1880
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1881
- })
1882
- .s("AmplifyUIBuilder", "UpdateForm", {})
1883
- .n("AmplifyUIBuilderClient", "UpdateFormCommand")
1884
- .sc(UpdateForm$)
1885
- .build() {
1648
+ class UpdateFormCommand extends command(_ep0, _mw0, "UpdateForm", UpdateForm$) {
1886
1649
  }
1887
1650
 
1888
- class UpdateThemeCommand extends Command
1889
- .classBuilder()
1890
- .ep(commonParams)
1891
- .m(function (Command, cs, config, o) {
1892
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1893
- })
1894
- .s("AmplifyUIBuilder", "UpdateTheme", {})
1895
- .n("AmplifyUIBuilderClient", "UpdateThemeCommand")
1896
- .sc(UpdateTheme$)
1897
- .build() {
1651
+ class UpdateThemeCommand extends command(_ep0, _mw0, "UpdateTheme", UpdateTheme$) {
1898
1652
  }
1899
1653
 
1900
1654
  const paginateExportComponents = createPaginator(AmplifyUIBuilderClient, ExportComponentsCommand, "nextToken", "nextToken", "");
@@ -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, "AmplifyUIBuilder", "AmplifyUIBuilderClient", 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 { CreateComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "CreateComponent", {})
13
- .n("AmplifyUIBuilderClient", "CreateComponentCommand")
14
- .sc(CreateComponent$)
15
- .build() {
3
+ export class CreateComponentCommand extends command(_ep0, _mw0, "CreateComponent", CreateComponent$) {
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 { CreateForm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateFormCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "CreateForm", {})
13
- .n("AmplifyUIBuilderClient", "CreateFormCommand")
14
- .sc(CreateForm$)
15
- .build() {
3
+ export class CreateFormCommand extends command(_ep0, _mw0, "CreateForm", CreateForm$) {
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 { CreateTheme$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateThemeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "CreateTheme", {})
13
- .n("AmplifyUIBuilderClient", "CreateThemeCommand")
14
- .sc(CreateTheme$)
15
- .build() {
3
+ export class CreateThemeCommand extends command(_ep0, _mw0, "CreateTheme", CreateTheme$) {
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 { DeleteComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "DeleteComponent", {})
13
- .n("AmplifyUIBuilderClient", "DeleteComponentCommand")
14
- .sc(DeleteComponent$)
15
- .build() {
3
+ export class DeleteComponentCommand extends command(_ep0, _mw0, "DeleteComponent", DeleteComponent$) {
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 { DeleteForm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFormCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "DeleteForm", {})
13
- .n("AmplifyUIBuilderClient", "DeleteFormCommand")
14
- .sc(DeleteForm$)
15
- .build() {
3
+ export class DeleteFormCommand extends command(_ep0, _mw0, "DeleteForm", DeleteForm$) {
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 { DeleteTheme$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteThemeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "DeleteTheme", {})
13
- .n("AmplifyUIBuilderClient", "DeleteThemeCommand")
14
- .sc(DeleteTheme$)
15
- .build() {
3
+ export class DeleteThemeCommand extends command(_ep0, _mw0, "DeleteTheme", DeleteTheme$) {
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 { ExchangeCodeForToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExchangeCodeForTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "ExchangeCodeForToken", {})
13
- .n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand")
14
- .sc(ExchangeCodeForToken$)
15
- .build() {
3
+ export class ExchangeCodeForTokenCommand extends command(_ep0, _mw0, "ExchangeCodeForToken", ExchangeCodeForToken$) {
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 { ExportComponents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportComponentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "ExportComponents", {})
13
- .n("AmplifyUIBuilderClient", "ExportComponentsCommand")
14
- .sc(ExportComponents$)
15
- .build() {
3
+ export class ExportComponentsCommand extends command(_ep0, _mw0, "ExportComponents", ExportComponents$) {
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 { ExportForms$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportFormsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "ExportForms", {})
13
- .n("AmplifyUIBuilderClient", "ExportFormsCommand")
14
- .sc(ExportForms$)
15
- .build() {
3
+ export class ExportFormsCommand extends command(_ep0, _mw0, "ExportForms", ExportForms$) {
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 { ExportThemes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportThemesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "ExportThemes", {})
13
- .n("AmplifyUIBuilderClient", "ExportThemesCommand")
14
- .sc(ExportThemes$)
15
- .build() {
3
+ export class ExportThemesCommand extends command(_ep0, _mw0, "ExportThemes", ExportThemes$) {
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 { GetCodegenJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCodegenJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyUIBuilder", "GetCodegenJob", {})
13
- .n("AmplifyUIBuilderClient", "GetCodegenJobCommand")
14
- .sc(GetCodegenJob$)
15
- .build() {
3
+ export class GetCodegenJobCommand extends command(_ep0, _mw0, "GetCodegenJob", GetCodegenJob$) {
16
4
  }