@aws-sdk/client-efs 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 (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAccessPointCommand.js +2 -14
  4. package/dist-es/commands/CreateFileSystemCommand.js +2 -14
  5. package/dist-es/commands/CreateMountTargetCommand.js +2 -14
  6. package/dist-es/commands/CreateReplicationConfigurationCommand.js +2 -14
  7. package/dist-es/commands/CreateTagsCommand.js +2 -14
  8. package/dist-es/commands/DeleteAccessPointCommand.js +2 -14
  9. package/dist-es/commands/DeleteFileSystemCommand.js +2 -14
  10. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +2 -14
  11. package/dist-es/commands/DeleteMountTargetCommand.js +2 -14
  12. package/dist-es/commands/DeleteReplicationConfigurationCommand.js +2 -14
  13. package/dist-es/commands/DeleteTagsCommand.js +2 -14
  14. package/dist-es/commands/DescribeAccessPointsCommand.js +2 -14
  15. package/dist-es/commands/DescribeAccountPreferencesCommand.js +2 -14
  16. package/dist-es/commands/DescribeBackupPolicyCommand.js +2 -14
  17. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +2 -14
  18. package/dist-es/commands/DescribeFileSystemsCommand.js +2 -14
  19. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +2 -14
  20. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +2 -14
  21. package/dist-es/commands/DescribeMountTargetsCommand.js +2 -14
  22. package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +2 -14
  23. package/dist-es/commands/DescribeTagsCommand.js +2 -14
  24. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  25. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +2 -14
  26. package/dist-es/commands/PutAccountPreferencesCommand.js +2 -14
  27. package/dist-es/commands/PutBackupPolicyCommand.js +2 -14
  28. package/dist-es/commands/PutFileSystemPolicyCommand.js +2 -14
  29. package/dist-es/commands/PutLifecycleConfigurationCommand.js +2 -14
  30. package/dist-es/commands/TagResourceCommand.js +2 -14
  31. package/dist-es/commands/UntagResourceCommand.js +2 -14
  32. package/dist-es/commands/UpdateFileSystemCommand.js +2 -14
  33. package/dist-es/commands/UpdateFileSystemProtectionCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/CreateAccessPointCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateFileSystemCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateMountTargetCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateTagsCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteAccessPointCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteFileSystemCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteMountTargetCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteTagsCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeAccessPointsCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeAccountPreferencesCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeBackupPolicyCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeLifecycleConfigurationCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +3 -8
  58. package/dist-types/commands/DescribeMountTargetsCommand.d.ts +3 -8
  59. package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +3 -8
  60. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +3 -8
  63. package/dist-types/commands/PutAccountPreferencesCommand.d.ts +3 -8
  64. package/dist-types/commands/PutBackupPolicyCommand.d.ts +3 -8
  65. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -8
  66. package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +3 -8
  67. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateFileSystemCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateFileSystemProtectionCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/CreateReplicationConfigurationCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateFileSystemProtectionCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. 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 defaultEFSHttpAuthSchemeParametersProvider = 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
 
@@ -1510,6 +1512,7 @@ const getRuntimeConfig$1 = (config) => {
1510
1512
  serviceTarget: "MagnolioAPIService_v20150201",
1511
1513
  },
1512
1514
  serviceId: config?.serviceId ?? "EFS",
1515
+ sha256: config?.sha256 ?? Sha256,
1513
1516
  urlParser: config?.urlParser ?? parseUrl,
1514
1517
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1515
1518
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1543,7 +1546,6 @@ const getRuntimeConfig = (config) => {
1543
1546
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1544
1547
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1545
1548
  }, config),
1546
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1547
1549
  streamCollector: config?.streamCollector ?? streamCollector,
1548
1550
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1549
1551
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1631,376 +1633,101 @@ class EFSClient extends Client {
1631
1633
  }
1632
1634
  }
1633
1635
 
1634
- class CreateAccessPointCommand extends Command
1635
- .classBuilder()
1636
- .ep(commonParams)
1637
- .m(function (Command, cs, config, o) {
1638
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1639
- })
1640
- .s("MagnolioAPIService_v20150201", "CreateAccessPoint", {})
1641
- .n("EFSClient", "CreateAccessPointCommand")
1642
- .sc(CreateAccessPoint$)
1643
- .build() {
1636
+ const command = makeBuilder(commonParams, "MagnolioAPIService_v20150201", "EFSClient", getEndpointPlugin);
1637
+ const _ep0 = {};
1638
+ const _mw0 = (Command, cs, config, o) => [];
1639
+
1640
+ class CreateAccessPointCommand extends command(_ep0, _mw0, "CreateAccessPoint", CreateAccessPoint$) {
1644
1641
  }
1645
1642
 
1646
- class CreateFileSystemCommand extends Command
1647
- .classBuilder()
1648
- .ep(commonParams)
1649
- .m(function (Command, cs, config, o) {
1650
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1651
- })
1652
- .s("MagnolioAPIService_v20150201", "CreateFileSystem", {})
1653
- .n("EFSClient", "CreateFileSystemCommand")
1654
- .sc(CreateFileSystem$)
1655
- .build() {
1643
+ class CreateFileSystemCommand extends command(_ep0, _mw0, "CreateFileSystem", CreateFileSystem$) {
1656
1644
  }
1657
1645
 
1658
- class CreateMountTargetCommand extends Command
1659
- .classBuilder()
1660
- .ep(commonParams)
1661
- .m(function (Command, cs, config, o) {
1662
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
- })
1664
- .s("MagnolioAPIService_v20150201", "CreateMountTarget", {})
1665
- .n("EFSClient", "CreateMountTargetCommand")
1666
- .sc(CreateMountTarget$)
1667
- .build() {
1646
+ class CreateMountTargetCommand extends command(_ep0, _mw0, "CreateMountTarget", CreateMountTarget$) {
1668
1647
  }
1669
1648
 
1670
- class CreateReplicationConfigurationCommand extends Command
1671
- .classBuilder()
1672
- .ep(commonParams)
1673
- .m(function (Command, cs, config, o) {
1674
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1675
- })
1676
- .s("MagnolioAPIService_v20150201", "CreateReplicationConfiguration", {})
1677
- .n("EFSClient", "CreateReplicationConfigurationCommand")
1678
- .sc(CreateReplicationConfiguration$)
1679
- .build() {
1649
+ class CreateReplicationConfigurationCommand extends command(_ep0, _mw0, "CreateReplicationConfiguration", CreateReplicationConfiguration$) {
1680
1650
  }
1681
1651
 
1682
- class CreateTagsCommand extends Command
1683
- .classBuilder()
1684
- .ep(commonParams)
1685
- .m(function (Command, cs, config, o) {
1686
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1687
- })
1688
- .s("MagnolioAPIService_v20150201", "CreateTags", {})
1689
- .n("EFSClient", "CreateTagsCommand")
1690
- .sc(CreateTags$)
1691
- .build() {
1652
+ class CreateTagsCommand extends command(_ep0, _mw0, "CreateTags", CreateTags$) {
1692
1653
  }
1693
1654
 
1694
- class DeleteAccessPointCommand extends Command
1695
- .classBuilder()
1696
- .ep(commonParams)
1697
- .m(function (Command, cs, config, o) {
1698
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1699
- })
1700
- .s("MagnolioAPIService_v20150201", "DeleteAccessPoint", {})
1701
- .n("EFSClient", "DeleteAccessPointCommand")
1702
- .sc(DeleteAccessPoint$)
1703
- .build() {
1655
+ class DeleteAccessPointCommand extends command(_ep0, _mw0, "DeleteAccessPoint", DeleteAccessPoint$) {
1704
1656
  }
1705
1657
 
1706
- class DeleteFileSystemCommand extends Command
1707
- .classBuilder()
1708
- .ep(commonParams)
1709
- .m(function (Command, cs, config, o) {
1710
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1711
- })
1712
- .s("MagnolioAPIService_v20150201", "DeleteFileSystem", {})
1713
- .n("EFSClient", "DeleteFileSystemCommand")
1714
- .sc(DeleteFileSystem$)
1715
- .build() {
1658
+ class DeleteFileSystemCommand extends command(_ep0, _mw0, "DeleteFileSystem", DeleteFileSystem$) {
1716
1659
  }
1717
1660
 
1718
- class DeleteFileSystemPolicyCommand extends Command
1719
- .classBuilder()
1720
- .ep(commonParams)
1721
- .m(function (Command, cs, config, o) {
1722
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1723
- })
1724
- .s("MagnolioAPIService_v20150201", "DeleteFileSystemPolicy", {})
1725
- .n("EFSClient", "DeleteFileSystemPolicyCommand")
1726
- .sc(DeleteFileSystemPolicy$)
1727
- .build() {
1661
+ class DeleteFileSystemPolicyCommand extends command(_ep0, _mw0, "DeleteFileSystemPolicy", DeleteFileSystemPolicy$) {
1728
1662
  }
1729
1663
 
1730
- class DeleteMountTargetCommand extends Command
1731
- .classBuilder()
1732
- .ep(commonParams)
1733
- .m(function (Command, cs, config, o) {
1734
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1735
- })
1736
- .s("MagnolioAPIService_v20150201", "DeleteMountTarget", {})
1737
- .n("EFSClient", "DeleteMountTargetCommand")
1738
- .sc(DeleteMountTarget$)
1739
- .build() {
1664
+ class DeleteMountTargetCommand extends command(_ep0, _mw0, "DeleteMountTarget", DeleteMountTarget$) {
1740
1665
  }
1741
1666
 
1742
- class DeleteReplicationConfigurationCommand extends Command
1743
- .classBuilder()
1744
- .ep(commonParams)
1745
- .m(function (Command, cs, config, o) {
1746
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1747
- })
1748
- .s("MagnolioAPIService_v20150201", "DeleteReplicationConfiguration", {})
1749
- .n("EFSClient", "DeleteReplicationConfigurationCommand")
1750
- .sc(DeleteReplicationConfiguration$)
1751
- .build() {
1667
+ class DeleteReplicationConfigurationCommand extends command(_ep0, _mw0, "DeleteReplicationConfiguration", DeleteReplicationConfiguration$) {
1752
1668
  }
1753
1669
 
1754
- class DeleteTagsCommand extends Command
1755
- .classBuilder()
1756
- .ep(commonParams)
1757
- .m(function (Command, cs, config, o) {
1758
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1759
- })
1760
- .s("MagnolioAPIService_v20150201", "DeleteTags", {})
1761
- .n("EFSClient", "DeleteTagsCommand")
1762
- .sc(DeleteTags$)
1763
- .build() {
1670
+ class DeleteTagsCommand extends command(_ep0, _mw0, "DeleteTags", DeleteTags$) {
1764
1671
  }
1765
1672
 
1766
- class DescribeAccessPointsCommand extends Command
1767
- .classBuilder()
1768
- .ep(commonParams)
1769
- .m(function (Command, cs, config, o) {
1770
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1771
- })
1772
- .s("MagnolioAPIService_v20150201", "DescribeAccessPoints", {})
1773
- .n("EFSClient", "DescribeAccessPointsCommand")
1774
- .sc(DescribeAccessPoints$)
1775
- .build() {
1673
+ class DescribeAccessPointsCommand extends command(_ep0, _mw0, "DescribeAccessPoints", DescribeAccessPoints$) {
1776
1674
  }
1777
1675
 
1778
- class DescribeAccountPreferencesCommand extends Command
1779
- .classBuilder()
1780
- .ep(commonParams)
1781
- .m(function (Command, cs, config, o) {
1782
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1783
- })
1784
- .s("MagnolioAPIService_v20150201", "DescribeAccountPreferences", {})
1785
- .n("EFSClient", "DescribeAccountPreferencesCommand")
1786
- .sc(DescribeAccountPreferences$)
1787
- .build() {
1676
+ class DescribeAccountPreferencesCommand extends command(_ep0, _mw0, "DescribeAccountPreferences", DescribeAccountPreferences$) {
1788
1677
  }
1789
1678
 
1790
- class DescribeBackupPolicyCommand extends Command
1791
- .classBuilder()
1792
- .ep(commonParams)
1793
- .m(function (Command, cs, config, o) {
1794
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1795
- })
1796
- .s("MagnolioAPIService_v20150201", "DescribeBackupPolicy", {})
1797
- .n("EFSClient", "DescribeBackupPolicyCommand")
1798
- .sc(DescribeBackupPolicy$)
1799
- .build() {
1679
+ class DescribeBackupPolicyCommand extends command(_ep0, _mw0, "DescribeBackupPolicy", DescribeBackupPolicy$) {
1800
1680
  }
1801
1681
 
1802
- class DescribeFileSystemPolicyCommand extends Command
1803
- .classBuilder()
1804
- .ep(commonParams)
1805
- .m(function (Command, cs, config, o) {
1806
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1807
- })
1808
- .s("MagnolioAPIService_v20150201", "DescribeFileSystemPolicy", {})
1809
- .n("EFSClient", "DescribeFileSystemPolicyCommand")
1810
- .sc(DescribeFileSystemPolicy$)
1811
- .build() {
1682
+ class DescribeFileSystemPolicyCommand extends command(_ep0, _mw0, "DescribeFileSystemPolicy", DescribeFileSystemPolicy$) {
1812
1683
  }
1813
1684
 
1814
- class DescribeFileSystemsCommand extends Command
1815
- .classBuilder()
1816
- .ep(commonParams)
1817
- .m(function (Command, cs, config, o) {
1818
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1819
- })
1820
- .s("MagnolioAPIService_v20150201", "DescribeFileSystems", {})
1821
- .n("EFSClient", "DescribeFileSystemsCommand")
1822
- .sc(DescribeFileSystems$)
1823
- .build() {
1685
+ class DescribeFileSystemsCommand extends command(_ep0, _mw0, "DescribeFileSystems", DescribeFileSystems$) {
1824
1686
  }
1825
1687
 
1826
- class DescribeLifecycleConfigurationCommand extends Command
1827
- .classBuilder()
1828
- .ep(commonParams)
1829
- .m(function (Command, cs, config, o) {
1830
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1831
- })
1832
- .s("MagnolioAPIService_v20150201", "DescribeLifecycleConfiguration", {})
1833
- .n("EFSClient", "DescribeLifecycleConfigurationCommand")
1834
- .sc(DescribeLifecycleConfiguration$)
1835
- .build() {
1688
+ class DescribeLifecycleConfigurationCommand extends command(_ep0, _mw0, "DescribeLifecycleConfiguration", DescribeLifecycleConfiguration$) {
1836
1689
  }
1837
1690
 
1838
- class DescribeMountTargetsCommand extends Command
1839
- .classBuilder()
1840
- .ep(commonParams)
1841
- .m(function (Command, cs, config, o) {
1842
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1843
- })
1844
- .s("MagnolioAPIService_v20150201", "DescribeMountTargets", {})
1845
- .n("EFSClient", "DescribeMountTargetsCommand")
1846
- .sc(DescribeMountTargets$)
1847
- .build() {
1691
+ class DescribeMountTargetsCommand extends command(_ep0, _mw0, "DescribeMountTargets", DescribeMountTargets$) {
1848
1692
  }
1849
1693
 
1850
- class DescribeMountTargetSecurityGroupsCommand extends Command
1851
- .classBuilder()
1852
- .ep(commonParams)
1853
- .m(function (Command, cs, config, o) {
1854
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1855
- })
1856
- .s("MagnolioAPIService_v20150201", "DescribeMountTargetSecurityGroups", {})
1857
- .n("EFSClient", "DescribeMountTargetSecurityGroupsCommand")
1858
- .sc(DescribeMountTargetSecurityGroups$)
1859
- .build() {
1694
+ class DescribeMountTargetSecurityGroupsCommand extends command(_ep0, _mw0, "DescribeMountTargetSecurityGroups", DescribeMountTargetSecurityGroups$) {
1860
1695
  }
1861
1696
 
1862
- class DescribeReplicationConfigurationsCommand extends Command
1863
- .classBuilder()
1864
- .ep(commonParams)
1865
- .m(function (Command, cs, config, o) {
1866
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1867
- })
1868
- .s("MagnolioAPIService_v20150201", "DescribeReplicationConfigurations", {})
1869
- .n("EFSClient", "DescribeReplicationConfigurationsCommand")
1870
- .sc(DescribeReplicationConfigurations$)
1871
- .build() {
1697
+ class DescribeReplicationConfigurationsCommand extends command(_ep0, _mw0, "DescribeReplicationConfigurations", DescribeReplicationConfigurations$) {
1872
1698
  }
1873
1699
 
1874
- class DescribeTagsCommand extends Command
1875
- .classBuilder()
1876
- .ep(commonParams)
1877
- .m(function (Command, cs, config, o) {
1878
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1879
- })
1880
- .s("MagnolioAPIService_v20150201", "DescribeTags", {})
1881
- .n("EFSClient", "DescribeTagsCommand")
1882
- .sc(DescribeTags$)
1883
- .build() {
1700
+ class DescribeTagsCommand extends command(_ep0, _mw0, "DescribeTags", DescribeTags$) {
1884
1701
  }
1885
1702
 
1886
- class ListTagsForResourceCommand extends Command
1887
- .classBuilder()
1888
- .ep(commonParams)
1889
- .m(function (Command, cs, config, o) {
1890
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1891
- })
1892
- .s("MagnolioAPIService_v20150201", "ListTagsForResource", {})
1893
- .n("EFSClient", "ListTagsForResourceCommand")
1894
- .sc(ListTagsForResource$)
1895
- .build() {
1703
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1896
1704
  }
1897
1705
 
1898
- class ModifyMountTargetSecurityGroupsCommand extends Command
1899
- .classBuilder()
1900
- .ep(commonParams)
1901
- .m(function (Command, cs, config, o) {
1902
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1903
- })
1904
- .s("MagnolioAPIService_v20150201", "ModifyMountTargetSecurityGroups", {})
1905
- .n("EFSClient", "ModifyMountTargetSecurityGroupsCommand")
1906
- .sc(ModifyMountTargetSecurityGroups$)
1907
- .build() {
1706
+ class ModifyMountTargetSecurityGroupsCommand extends command(_ep0, _mw0, "ModifyMountTargetSecurityGroups", ModifyMountTargetSecurityGroups$) {
1908
1707
  }
1909
1708
 
1910
- class PutAccountPreferencesCommand extends Command
1911
- .classBuilder()
1912
- .ep(commonParams)
1913
- .m(function (Command, cs, config, o) {
1914
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1915
- })
1916
- .s("MagnolioAPIService_v20150201", "PutAccountPreferences", {})
1917
- .n("EFSClient", "PutAccountPreferencesCommand")
1918
- .sc(PutAccountPreferences$)
1919
- .build() {
1709
+ class PutAccountPreferencesCommand extends command(_ep0, _mw0, "PutAccountPreferences", PutAccountPreferences$) {
1920
1710
  }
1921
1711
 
1922
- class PutBackupPolicyCommand extends Command
1923
- .classBuilder()
1924
- .ep(commonParams)
1925
- .m(function (Command, cs, config, o) {
1926
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1927
- })
1928
- .s("MagnolioAPIService_v20150201", "PutBackupPolicy", {})
1929
- .n("EFSClient", "PutBackupPolicyCommand")
1930
- .sc(PutBackupPolicy$)
1931
- .build() {
1712
+ class PutBackupPolicyCommand extends command(_ep0, _mw0, "PutBackupPolicy", PutBackupPolicy$) {
1932
1713
  }
1933
1714
 
1934
- class PutFileSystemPolicyCommand extends Command
1935
- .classBuilder()
1936
- .ep(commonParams)
1937
- .m(function (Command, cs, config, o) {
1938
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1939
- })
1940
- .s("MagnolioAPIService_v20150201", "PutFileSystemPolicy", {})
1941
- .n("EFSClient", "PutFileSystemPolicyCommand")
1942
- .sc(PutFileSystemPolicy$)
1943
- .build() {
1715
+ class PutFileSystemPolicyCommand extends command(_ep0, _mw0, "PutFileSystemPolicy", PutFileSystemPolicy$) {
1944
1716
  }
1945
1717
 
1946
- class PutLifecycleConfigurationCommand extends Command
1947
- .classBuilder()
1948
- .ep(commonParams)
1949
- .m(function (Command, cs, config, o) {
1950
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1951
- })
1952
- .s("MagnolioAPIService_v20150201", "PutLifecycleConfiguration", {})
1953
- .n("EFSClient", "PutLifecycleConfigurationCommand")
1954
- .sc(PutLifecycleConfiguration$)
1955
- .build() {
1718
+ class PutLifecycleConfigurationCommand extends command(_ep0, _mw0, "PutLifecycleConfiguration", PutLifecycleConfiguration$) {
1956
1719
  }
1957
1720
 
1958
- class TagResourceCommand extends Command
1959
- .classBuilder()
1960
- .ep(commonParams)
1961
- .m(function (Command, cs, config, o) {
1962
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1963
- })
1964
- .s("MagnolioAPIService_v20150201", "TagResource", {})
1965
- .n("EFSClient", "TagResourceCommand")
1966
- .sc(TagResource$)
1967
- .build() {
1721
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1968
1722
  }
1969
1723
 
1970
- class UntagResourceCommand extends Command
1971
- .classBuilder()
1972
- .ep(commonParams)
1973
- .m(function (Command, cs, config, o) {
1974
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1975
- })
1976
- .s("MagnolioAPIService_v20150201", "UntagResource", {})
1977
- .n("EFSClient", "UntagResourceCommand")
1978
- .sc(UntagResource$)
1979
- .build() {
1724
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1980
1725
  }
1981
1726
 
1982
- class UpdateFileSystemCommand extends Command
1983
- .classBuilder()
1984
- .ep(commonParams)
1985
- .m(function (Command, cs, config, o) {
1986
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1987
- })
1988
- .s("MagnolioAPIService_v20150201", "UpdateFileSystem", {})
1989
- .n("EFSClient", "UpdateFileSystemCommand")
1990
- .sc(UpdateFileSystem$)
1991
- .build() {
1727
+ class UpdateFileSystemCommand extends command(_ep0, _mw0, "UpdateFileSystem", UpdateFileSystem$) {
1992
1728
  }
1993
1729
 
1994
- class UpdateFileSystemProtectionCommand extends Command
1995
- .classBuilder()
1996
- .ep(commonParams)
1997
- .m(function (Command, cs, config, o) {
1998
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1999
- })
2000
- .s("MagnolioAPIService_v20150201", "UpdateFileSystemProtection", {})
2001
- .n("EFSClient", "UpdateFileSystemProtectionCommand")
2002
- .sc(UpdateFileSystemProtection$)
2003
- .build() {
1730
+ class UpdateFileSystemProtectionCommand extends command(_ep0, _mw0, "UpdateFileSystemProtection", UpdateFileSystemProtection$) {
2004
1731
  }
2005
1732
 
2006
1733
  const paginateDescribeAccessPoints = createPaginator(EFSClient, DescribeAccessPointsCommand, "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, "MagnolioAPIService_v20150201", "EFSClient", 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 { CreateAccessPoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccessPointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "CreateAccessPoint", {})
13
- .n("EFSClient", "CreateAccessPointCommand")
14
- .sc(CreateAccessPoint$)
15
- .build() {
3
+ export class CreateAccessPointCommand extends command(_ep0, _mw0, "CreateAccessPoint", CreateAccessPoint$) {
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 { CreateFileSystem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateFileSystemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "CreateFileSystem", {})
13
- .n("EFSClient", "CreateFileSystemCommand")
14
- .sc(CreateFileSystem$)
15
- .build() {
3
+ export class CreateFileSystemCommand extends command(_ep0, _mw0, "CreateFileSystem", CreateFileSystem$) {
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 { CreateMountTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMountTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "CreateMountTarget", {})
13
- .n("EFSClient", "CreateMountTargetCommand")
14
- .sc(CreateMountTarget$)
15
- .build() {
3
+ export class CreateMountTargetCommand extends command(_ep0, _mw0, "CreateMountTarget", CreateMountTarget$) {
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 { CreateReplicationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateReplicationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "CreateReplicationConfiguration", {})
13
- .n("EFSClient", "CreateReplicationConfigurationCommand")
14
- .sc(CreateReplicationConfiguration$)
15
- .build() {
3
+ export class CreateReplicationConfigurationCommand extends command(_ep0, _mw0, "CreateReplicationConfiguration", CreateReplicationConfiguration$) {
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 { CreateTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "CreateTags", {})
13
- .n("EFSClient", "CreateTagsCommand")
14
- .sc(CreateTags$)
15
- .build() {
3
+ export class CreateTagsCommand extends command(_ep0, _mw0, "CreateTags", CreateTags$) {
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 { DeleteAccessPoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAccessPointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "DeleteAccessPoint", {})
13
- .n("EFSClient", "DeleteAccessPointCommand")
14
- .sc(DeleteAccessPoint$)
15
- .build() {
3
+ export class DeleteAccessPointCommand extends command(_ep0, _mw0, "DeleteAccessPoint", DeleteAccessPoint$) {
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 { DeleteFileSystem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFileSystemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "DeleteFileSystem", {})
13
- .n("EFSClient", "DeleteFileSystemCommand")
14
- .sc(DeleteFileSystem$)
15
- .build() {
3
+ export class DeleteFileSystemCommand extends command(_ep0, _mw0, "DeleteFileSystem", DeleteFileSystem$) {
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 { DeleteFileSystemPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFileSystemPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "DeleteFileSystemPolicy", {})
13
- .n("EFSClient", "DeleteFileSystemPolicyCommand")
14
- .sc(DeleteFileSystemPolicy$)
15
- .build() {
3
+ export class DeleteFileSystemPolicyCommand extends command(_ep0, _mw0, "DeleteFileSystemPolicy", DeleteFileSystemPolicy$) {
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 { DeleteMountTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMountTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MagnolioAPIService_v20150201", "DeleteMountTarget", {})
13
- .n("EFSClient", "DeleteMountTargetCommand")
14
- .sc(DeleteMountTarget$)
15
- .build() {
3
+ export class DeleteMountTargetCommand extends command(_ep0, _mw0, "DeleteMountTarget", DeleteMountTarget$) {
16
4
  }