@aws-sdk/client-efs 3.1077.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 (101) hide show
  1. package/dist-cjs/index.js +39 -313
  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-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/CreateAccessPointCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateFileSystemCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateMountTargetCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateTagsCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteAccessPointCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteFileSystemCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteMountTargetCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteTagsCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeAccessPointsCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeAccountPreferencesCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeBackupPolicyCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeLifecycleConfigurationCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeMountTargetsCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  58. package/dist-types/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +3 -8
  59. package/dist-types/commands/PutAccountPreferencesCommand.d.ts +3 -8
  60. package/dist-types/commands/PutBackupPolicyCommand.d.ts +3 -8
  61. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -8
  62. package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +3 -8
  63. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateFileSystemCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateFileSystemProtectionCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateReplicationConfigurationCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UpdateFileSystemProtectionCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/index.d.ts +1 -0
  101. package/package.json +8 -8
@@ -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 { DescribeAccessPoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAccessPointsCommand 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", "DescribeAccessPoints", {})
13
- .n("EFSClient", "DescribeAccessPointsCommand")
14
- .sc(DescribeAccessPoints$)
15
- .build() {
3
+ export class DescribeAccessPointsCommand extends command(_ep0, _mw0, "DescribeAccessPoints", DescribeAccessPoints$) {
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 { DescribeAccountPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAccountPreferencesCommand 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", "DescribeAccountPreferences", {})
13
- .n("EFSClient", "DescribeAccountPreferencesCommand")
14
- .sc(DescribeAccountPreferences$)
15
- .build() {
3
+ export class DescribeAccountPreferencesCommand extends command(_ep0, _mw0, "DescribeAccountPreferences", DescribeAccountPreferences$) {
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 { DescribeBackupPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBackupPolicyCommand 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", "DescribeBackupPolicy", {})
13
- .n("EFSClient", "DescribeBackupPolicyCommand")
14
- .sc(DescribeBackupPolicy$)
15
- .build() {
3
+ export class DescribeBackupPolicyCommand extends command(_ep0, _mw0, "DescribeBackupPolicy", DescribeBackupPolicy$) {
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 { DescribeFileSystemPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFileSystemPolicyCommand 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", "DescribeFileSystemPolicy", {})
13
- .n("EFSClient", "DescribeFileSystemPolicyCommand")
14
- .sc(DescribeFileSystemPolicy$)
15
- .build() {
3
+ export class DescribeFileSystemPolicyCommand extends command(_ep0, _mw0, "DescribeFileSystemPolicy", DescribeFileSystemPolicy$) {
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 { DescribeFileSystems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFileSystemsCommand 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", "DescribeFileSystems", {})
13
- .n("EFSClient", "DescribeFileSystemsCommand")
14
- .sc(DescribeFileSystems$)
15
- .build() {
3
+ export class DescribeFileSystemsCommand extends command(_ep0, _mw0, "DescribeFileSystems", DescribeFileSystems$) {
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 { DescribeLifecycleConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeLifecycleConfigurationCommand 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", "DescribeLifecycleConfiguration", {})
13
- .n("EFSClient", "DescribeLifecycleConfigurationCommand")
14
- .sc(DescribeLifecycleConfiguration$)
15
- .build() {
3
+ export class DescribeLifecycleConfigurationCommand extends command(_ep0, _mw0, "DescribeLifecycleConfiguration", DescribeLifecycleConfiguration$) {
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 { DescribeMountTargetSecurityGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeMountTargetSecurityGroupsCommand 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", "DescribeMountTargetSecurityGroups", {})
13
- .n("EFSClient", "DescribeMountTargetSecurityGroupsCommand")
14
- .sc(DescribeMountTargetSecurityGroups$)
15
- .build() {
3
+ export class DescribeMountTargetSecurityGroupsCommand extends command(_ep0, _mw0, "DescribeMountTargetSecurityGroups", DescribeMountTargetSecurityGroups$) {
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 { DescribeMountTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeMountTargetsCommand 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", "DescribeMountTargets", {})
13
- .n("EFSClient", "DescribeMountTargetsCommand")
14
- .sc(DescribeMountTargets$)
15
- .build() {
3
+ export class DescribeMountTargetsCommand extends command(_ep0, _mw0, "DescribeMountTargets", DescribeMountTargets$) {
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 { DescribeReplicationConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeReplicationConfigurationsCommand 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", "DescribeReplicationConfigurations", {})
13
- .n("EFSClient", "DescribeReplicationConfigurationsCommand")
14
- .sc(DescribeReplicationConfigurations$)
15
- .build() {
3
+ export class DescribeReplicationConfigurationsCommand extends command(_ep0, _mw0, "DescribeReplicationConfigurations", DescribeReplicationConfigurations$) {
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 { DescribeTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTagsCommand 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", "DescribeTags", {})
13
- .n("EFSClient", "DescribeTagsCommand")
14
- .sc(DescribeTags$)
15
- .build() {
3
+ export class DescribeTagsCommand extends command(_ep0, _mw0, "DescribeTags", DescribeTags$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
13
- .n("EFSClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { ModifyMountTargetSecurityGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ModifyMountTargetSecurityGroupsCommand 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", "ModifyMountTargetSecurityGroups", {})
13
- .n("EFSClient", "ModifyMountTargetSecurityGroupsCommand")
14
- .sc(ModifyMountTargetSecurityGroups$)
15
- .build() {
3
+ export class ModifyMountTargetSecurityGroupsCommand extends command(_ep0, _mw0, "ModifyMountTargetSecurityGroups", ModifyMountTargetSecurityGroups$) {
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 { PutAccountPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutAccountPreferencesCommand 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", "PutAccountPreferences", {})
13
- .n("EFSClient", "PutAccountPreferencesCommand")
14
- .sc(PutAccountPreferences$)
15
- .build() {
3
+ export class PutAccountPreferencesCommand extends command(_ep0, _mw0, "PutAccountPreferences", PutAccountPreferences$) {
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 { PutBackupPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutBackupPolicyCommand 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", "PutBackupPolicy", {})
13
- .n("EFSClient", "PutBackupPolicyCommand")
14
- .sc(PutBackupPolicy$)
15
- .build() {
3
+ export class PutBackupPolicyCommand extends command(_ep0, _mw0, "PutBackupPolicy", PutBackupPolicy$) {
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 { PutFileSystemPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutFileSystemPolicyCommand 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", "PutFileSystemPolicy", {})
13
- .n("EFSClient", "PutFileSystemPolicyCommand")
14
- .sc(PutFileSystemPolicy$)
15
- .build() {
3
+ export class PutFileSystemPolicyCommand extends command(_ep0, _mw0, "PutFileSystemPolicy", PutFileSystemPolicy$) {
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 { PutLifecycleConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutLifecycleConfigurationCommand 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", "PutLifecycleConfiguration", {})
13
- .n("EFSClient", "PutLifecycleConfigurationCommand")
14
- .sc(PutLifecycleConfiguration$)
15
- .build() {
3
+ export class PutLifecycleConfigurationCommand extends command(_ep0, _mw0, "PutLifecycleConfiguration", PutLifecycleConfiguration$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand 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", "TagResource", {})
13
- .n("EFSClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand 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", "UntagResource", {})
13
- .n("EFSClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateFileSystem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateFileSystemCommand 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", "UpdateFileSystem", {})
13
- .n("EFSClient", "UpdateFileSystemCommand")
14
- .sc(UpdateFileSystem$)
15
- .build() {
3
+ export class UpdateFileSystemCommand extends command(_ep0, _mw0, "UpdateFileSystem", UpdateFileSystem$) {
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 { UpdateFileSystemProtection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateFileSystemProtectionCommand 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", "UpdateFileSystemProtection", {})
13
- .n("EFSClient", "UpdateFileSystemProtectionCommand")
14
- .sc(UpdateFileSystemProtection$)
15
- .build() {
3
+ export class UpdateFileSystemProtectionCommand extends command(_ep0, _mw0, "UpdateFileSystemProtection", UpdateFileSystemProtection$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./EFSClient";
2
2
  export * from "./EFS";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./EFSClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
4
2
  import type { AccessPointDescription, CreateAccessPointRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateAccessPointCommandInput extends CreateAccessPointRequest
22
19
  export interface CreateAccessPointCommandOutput extends AccessPointDescription, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAccessPointCommand_base: {
25
- new (input: CreateAccessPointCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPointCommandInput, CreateAccessPointCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAccessPointCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPointCommandInput, CreateAccessPointCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateAccessPointCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPointCommandInput, CreateAccessPointCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAccessPointCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessPointCommandInput, CreateAccessPointCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an EFS access point. An access point is an application-specific view
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
4
2
  import type { CreateFileSystemRequest, FileSystemDescription } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateFileSystemCommandInput extends CreateFileSystemRequest {
22
19
  export interface CreateFileSystemCommandOutput extends FileSystemDescription, __MetadataBearer {
23
20
  }
24
21
  declare const CreateFileSystemCommand_base: {
25
- new (input: CreateFileSystemCommandInput): import("@smithy/core/client").CommandImpl<CreateFileSystemCommandInput, CreateFileSystemCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateFileSystemCommandInput]): import("@smithy/core/client").CommandImpl<CreateFileSystemCommandInput, CreateFileSystemCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateFileSystemCommandInput): import("@smithy/core/client").CommandImpl<CreateFileSystemCommandInput, CreateFileSystemCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateFileSystemCommandInput]): import("@smithy/core/client").CommandImpl<CreateFileSystemCommandInput, CreateFileSystemCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new, empty file system. The operation requires a creation token in the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
4
2
  import type { CreateMountTargetRequest, MountTargetDescription } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateMountTargetCommandInput extends CreateMountTargetRequest
22
19
  export interface CreateMountTargetCommandOutput extends MountTargetDescription, __MetadataBearer {
23
20
  }
24
21
  declare const CreateMountTargetCommand_base: {
25
- new (input: CreateMountTargetCommandInput): import("@smithy/core/client").CommandImpl<CreateMountTargetCommandInput, CreateMountTargetCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateMountTargetCommandInput): import("@smithy/core/client").CommandImpl<CreateMountTargetCommandInput, CreateMountTargetCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateMountTargetCommandInput): import("@smithy/core/client").CommandImpl<CreateMountTargetCommandInput, CreateMountTargetCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateMountTargetCommandInput): import("@smithy/core/client").CommandImpl<CreateMountTargetCommandInput, CreateMountTargetCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a mount target for a file system. You can then mount the file system on EC2
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
4
2
  import type { CreateReplicationConfigurationRequest, ReplicationConfigurationDescription } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateReplicationConfigurationCommandInput extends CreateReplic
22
19
  export interface CreateReplicationConfigurationCommandOutput extends ReplicationConfigurationDescription, __MetadataBearer {
23
20
  }
24
21
  declare const CreateReplicationConfigurationCommand_base: {
25
- new (input: CreateReplicationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateReplicationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateReplicationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateReplicationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a replication configuration to either a new or existing EFS file system.
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
4
2
  import type { CreateTagsRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateTagsCommandInput extends CreateTagsRequest {
22
19
  export interface CreateTagsCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const CreateTagsCommand_base: {
25
- new (input: CreateTagsCommandInput): import("@smithy/core/client").CommandImpl<CreateTagsCommandInput, CreateTagsCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateTagsCommandInput): import("@smithy/core/client").CommandImpl<CreateTagsCommandInput, CreateTagsCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateTagsCommandInput): import("@smithy/core/client").CommandImpl<CreateTagsCommandInput, CreateTagsCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTagsCommandInput): import("@smithy/core/client").CommandImpl<CreateTagsCommandInput, CreateTagsCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
4
2
  import type { DeleteAccessPointRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteAccessPointCommandInput extends DeleteAccessPointRequest
22
19
  export interface DeleteAccessPointCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteAccessPointCommand_base: {
25
- new (input: DeleteAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput, EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput, import("..").EFSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified access point. After deletion is complete, new clients can no