@aws-sdk/client-efs 3.35.0 → 3.38.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.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/EFS.js +0 -8
- package/dist-cjs/EFSClient.js +0 -13
- package/dist-cjs/commands/CreateAccessPointCommand.js +0 -32
- package/dist-cjs/commands/CreateFileSystemCommand.js +0 -78
- package/dist-cjs/commands/CreateMountTargetCommand.js +0 -166
- package/dist-cjs/commands/CreateTagsCommand.js +0 -36
- package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -28
- package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -39
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -28
- package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -58
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -37
- package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -28
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -26
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -26
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -47
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -32
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -40
- package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -32
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -35
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -44
- package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -28
- package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -25
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -34
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -55
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -26
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -35
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -232
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +8 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/EFS.js +0 -1
- package/dist-es/EFSClient.js +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js +0 -1
- package/dist-es/commands/CreateTagsCommand.js +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -35
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +22 -15
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/EFS.d.ts +15 -8
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +7 -3
- package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -1
- package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +4 -34
- package/dist-types/models/models_0.d.ts +34 -6
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/EFS.d.ts +28 -496
- package/dist-types/ts3.4/EFSClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -73
- package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +2 -161
- package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +4 -34
- package/dist-types/ts3.4/models/models_0.d.ts +273 -1088
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/EFS.js.map +0 -1
- package/dist-cjs/EFSClient.js.map +0 -1
- package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/EFS.js.map +0 -1
- package/dist-es/EFSClient.js.map +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-es/commands/CreateTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/EFS.ts +0 -1386
- package/src/EFSClient.ts +0 -363
- package/src/commands/CreateAccessPointCommand.ts +0 -102
- package/src/commands/CreateFileSystemCommand.ts +0 -148
- package/src/commands/CreateMountTargetCommand.ts +0 -236
- package/src/commands/CreateTagsCommand.ts +0 -106
- package/src/commands/DeleteAccessPointCommand.ts +0 -98
- package/src/commands/DeleteFileSystemCommand.ts +0 -109
- package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
- package/src/commands/DeleteMountTargetCommand.ts +0 -128
- package/src/commands/DeleteTagsCommand.ts +0 -107
- package/src/commands/DescribeAccessPointsCommand.ts +0 -98
- package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
- package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
- package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
- package/src/commands/DescribeFileSystemsCommand.ts +0 -117
- package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
- package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
- package/src/commands/DescribeMountTargetsCommand.ts +0 -102
- package/src/commands/DescribeTagsCommand.ts +0 -105
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
- package/src/commands/PutAccountPreferencesCommand.ts +0 -98
- package/src/commands/PutBackupPolicyCommand.ts +0 -95
- package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
- package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/commands/UpdateFileSystemCommand.ts +0 -96
- package/src/endpoints.ts +0 -183
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2185
- package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
- package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
- package/src/pagination/DescribeTagsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4420
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* **clients:** update clients as of 10/07/2021 ([#2879](https://github.com/aws/aws-sdk-js-v3/issues/2879)) ([1f4441e](https://github.com/aws/aws-sdk-js-v3/commit/1f4441e46b63ae6ff01067780b26d49916c267a0))
|
|
46
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
47
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
48
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
6
54
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
55
|
|
|
8
56
|
|
package/dist-cjs/EFS.js
CHANGED
|
@@ -29,13 +29,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
29
29
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
30
30
|
const UpdateFileSystemCommand_1 = require("./commands/UpdateFileSystemCommand");
|
|
31
31
|
const EFSClient_1 = require("./EFSClient");
|
|
32
|
-
/**
|
|
33
|
-
* <fullname>Amazon Elastic File System</fullname>
|
|
34
|
-
* <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
|
|
35
|
-
* with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
36
|
-
* growing and shrinking automatically as you add and remove files, so your applications have the
|
|
37
|
-
* storage they need, when they need it. For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
|
|
38
|
-
*/
|
|
39
32
|
class EFS extends EFSClient_1.EFSClient {
|
|
40
33
|
createAccessPoint(args, optionsOrCb, cb) {
|
|
41
34
|
const command = new CreateAccessPointCommand_1.CreateAccessPointCommand(args);
|
|
@@ -417,4 +410,3 @@ class EFS extends EFSClient_1.EFSClient {
|
|
|
417
410
|
}
|
|
418
411
|
}
|
|
419
412
|
exports.EFS = EFS;
|
|
420
|
-
//# sourceMappingURL=EFS.js.map
|
package/dist-cjs/EFSClient.js
CHANGED
|
@@ -10,13 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon Elastic File System</fullname>
|
|
15
|
-
* <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
|
|
16
|
-
* with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
17
|
-
* growing and shrinking automatically as you add and remove files, so your applications have the
|
|
18
|
-
* storage they need, when they need it. For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
|
|
19
|
-
*/
|
|
20
13
|
class EFSClient extends smithy_client_1.Client {
|
|
21
14
|
constructor(configuration) {
|
|
22
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -35,14 +28,8 @@ class EFSClient extends smithy_client_1.Client {
|
|
|
35
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
36
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
37
30
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
40
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
41
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
42
|
-
*/
|
|
43
31
|
destroy() {
|
|
44
32
|
super.destroy();
|
|
45
33
|
}
|
|
46
34
|
}
|
|
47
35
|
exports.EFSClient = EFSClient;
|
|
48
|
-
//# sourceMappingURL=EFSClient.js.map
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates an EFS access point. An access point is an application-specific view into an EFS
|
|
10
|
-
* file system that applies an operating system user and group, and a file system path, to any
|
|
11
|
-
* file system request made through the access point. The operating system user and group
|
|
12
|
-
* override any identity information provided by the NFS client. The file system path is exposed
|
|
13
|
-
* as the access point's root directory. Applications using the access point can only access data
|
|
14
|
-
* in its own directory and below. To learn more, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Mounting a file system using EFS access
|
|
15
|
-
* points</a>.</p>
|
|
16
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { EFSClient, CreateAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
21
|
-
* // const { EFSClient, CreateAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
22
|
-
* const client = new EFSClient(config);
|
|
23
|
-
* const command = new CreateAccessPointCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CreateAccessPointCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CreateAccessPointCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class CreateAccessPointCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class CreateAccessPointCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.CreateAccessPointCommand = CreateAccessPointCommand;
|
|
68
|
-
//# sourceMappingURL=CreateAccessPointCommand.js.map
|
|
@@ -5,88 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new, empty file system. The operation requires a creation token in the
|
|
10
|
-
* request that Amazon EFS uses to ensure idempotent creation (calling the operation with same
|
|
11
|
-
* creation token has no effect). If a file system does not currently exist that is owned by the
|
|
12
|
-
* caller's Amazon Web Services account with the specified creation token, this operation does the
|
|
13
|
-
* following:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Creates a new, empty file system. The file system will have an Amazon EFS assigned
|
|
17
|
-
* ID, and an initial lifecycle state <code>creating</code>.</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>Returns with the description of the created file system.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
23
|
-
* <p>Otherwise, this operation returns a <code>FileSystemAlreadyExists</code> error with the
|
|
24
|
-
* ID of the existing file system.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>For basic use cases, you can use a randomly generated UUID for the creation
|
|
27
|
-
* token.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* <p> The idempotent operation allows you to retry a <code>CreateFileSystem</code> call without
|
|
30
|
-
* risk of creating an extra file system. This can happen when an initial call fails in a way
|
|
31
|
-
* that leaves it uncertain whether or not a file system was actually created. An example might
|
|
32
|
-
* be that a transport level timeout occurred or your connection was reset. As long as you use
|
|
33
|
-
* the same creation token, if the initial call had succeeded in creating a file system, the
|
|
34
|
-
* client can learn of its existence from the <code>FileSystemAlreadyExists</code> error.</p>
|
|
35
|
-
* <p>For more information, see
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/efs/latest/ug/creating-using-create-fs.html#creating-using-create-fs-part1">Creating a file system</a>
|
|
37
|
-
* in the <i>Amazon EFS User Guide</i>.</p>
|
|
38
|
-
*
|
|
39
|
-
* <note>
|
|
40
|
-
* <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
|
|
41
|
-
* state is still <code>creating</code>. You can check the file system creation status by
|
|
42
|
-
* calling the <a>DescribeFileSystems</a> operation, which among other things returns the file
|
|
43
|
-
* system state.</p>
|
|
44
|
-
* </note>
|
|
45
|
-
*
|
|
46
|
-
* <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you
|
|
47
|
-
* choose for your file system. We recommend <code>generalPurpose</code> performance mode for
|
|
48
|
-
* most file systems. File systems using the <code>maxIO</code> performance mode can scale to
|
|
49
|
-
* higher levels of aggregate throughput and operations per second with a tradeoff of slightly
|
|
50
|
-
* higher latencies for most file operations. The performance mode can't be changed after
|
|
51
|
-
* the file system has been created. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html">Amazon EFS performance
|
|
52
|
-
* modes</a>.</p>
|
|
53
|
-
*
|
|
54
|
-
* <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p>
|
|
55
|
-
*
|
|
56
|
-
* <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
|
|
57
|
-
* <code>available</code>, at which point you can create one or more mount targets for the file
|
|
58
|
-
* system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
|
|
59
|
-
* your VPC by using the mount target. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">Amazon EFS: How it Works</a>. </p>
|
|
60
|
-
*
|
|
61
|
-
* <p> This operation requires permissions for the
|
|
62
|
-
* <code>elasticfilesystem:CreateFileSystem</code> action. </p>
|
|
63
|
-
* @example
|
|
64
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
65
|
-
* ```javascript
|
|
66
|
-
* import { EFSClient, CreateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
67
|
-
* // const { EFSClient, CreateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
68
|
-
* const client = new EFSClient(config);
|
|
69
|
-
* const command = new CreateFileSystemCommand(input);
|
|
70
|
-
* const response = await client.send(command);
|
|
71
|
-
* ```
|
|
72
|
-
*
|
|
73
|
-
* @see {@link CreateFileSystemCommandInput} for command's `input` shape.
|
|
74
|
-
* @see {@link CreateFileSystemCommandOutput} for command's `response` shape.
|
|
75
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
8
|
class CreateFileSystemCommand extends smithy_client_1.Command {
|
|
79
|
-
// Start section: command_properties
|
|
80
|
-
// End section: command_properties
|
|
81
9
|
constructor(input) {
|
|
82
|
-
// Start section: command_constructor
|
|
83
10
|
super();
|
|
84
11
|
this.input = input;
|
|
85
|
-
// End section: command_constructor
|
|
86
12
|
}
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
91
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
92
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -111,4 +34,3 @@ class CreateFileSystemCommand extends smithy_client_1.Command {
|
|
|
111
34
|
}
|
|
112
35
|
}
|
|
113
36
|
exports.CreateFileSystemCommand = CreateFileSystemCommand;
|
|
114
|
-
//# sourceMappingURL=CreateFileSystemCommand.js.map
|
|
@@ -5,176 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a mount target for a file system. You can then mount the file system on EC2
|
|
10
|
-
* instances by using the mount target.</p>
|
|
11
|
-
* <p>You can create one mount target in each Availability Zone in your VPC. All EC2
|
|
12
|
-
* instances in a VPC within a given Availability Zone share a single mount target for a given
|
|
13
|
-
* file system. If you have multiple subnets in an Availability Zone, you create a mount target
|
|
14
|
-
* in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target
|
|
15
|
-
* in order to access their file system.</p>
|
|
16
|
-
* <p>You can create only one mount target for an EFS file system using One Zone storage
|
|
17
|
-
* classes. You must create that mount target in the same Availability Zone in which the file
|
|
18
|
-
* system is located. Use the <code>AvailabilityZoneName</code> and
|
|
19
|
-
* <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a>
|
|
20
|
-
* response object to get this information. Use the <code>subnetId</code> associated with the
|
|
21
|
-
* file system's Availability Zone when creating the mount target.</p>
|
|
22
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">Amazon EFS: How it Works</a>. </p>
|
|
23
|
-
* <p>To create a mount target for a file system, the file system's lifecycle state must be
|
|
24
|
-
* <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
|
|
25
|
-
* <p>In the request, provide the following:</p>
|
|
26
|
-
* <ul>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>The file system ID for which you are creating the mount
|
|
29
|
-
* target.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>A subnet ID, which determines the following:</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>The VPC in which Amazon EFS creates the mount target</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>The Availability Zone in which Amazon EFS creates the mount target</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>The IP address range from which Amazon EFS selects the IP address of the mount target
|
|
42
|
-
* (if you don't specify an IP address in the request)</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
*
|
|
48
|
-
* <p>After creating the mount target, Amazon EFS returns a response that includes, a
|
|
49
|
-
* <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
|
|
50
|
-
* mounting the file system in an EC2 instance. You can also use the mount target's DNS name
|
|
51
|
-
* when mounting the file system. The EC2 instance on which you mount the file system by using
|
|
52
|
-
* the mount target can resolve the mount target's DNS name to its IP address. For more
|
|
53
|
-
* information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
|
|
54
|
-
* Implementation Overview</a>. </p>
|
|
55
|
-
* <p>Note that you can create mount targets for a file system in only one VPC, and there can
|
|
56
|
-
* be only one mount target per Availability Zone. That is, if the file system already has one or
|
|
57
|
-
* more mount targets created for it, the subnet specified in the request to add another mount
|
|
58
|
-
* target must meet the following requirements:</p>
|
|
59
|
-
* <ul>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>Must not be in the same Availability Zone as any of the subnets of the existing
|
|
65
|
-
* mount targets</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* </ul>
|
|
68
|
-
*
|
|
69
|
-
* <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
|
|
70
|
-
* <ul>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>Creates a new mount target in the specified subnet.</p>
|
|
73
|
-
* </li>
|
|
74
|
-
* <li>
|
|
75
|
-
* <p>Also creates a new network interface in the subnet as follows:</p>
|
|
76
|
-
* <ul>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that IP
|
|
79
|
-
* address to the network interface. Otherwise, Amazon EFS assigns a free address in the
|
|
80
|
-
* subnet (in the same way that the Amazon EC2 <code>CreateNetworkInterface</code> call
|
|
81
|
-
* does when a request does not specify a primary private IP address).</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>If the request provides <code>SecurityGroups</code>, this network interface is
|
|
85
|
-
* associated with those security groups. Otherwise, it belongs to the default security
|
|
86
|
-
* group for the subnet's VPC.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>Assigns the description <code>Mount target <i>fsmt-id</i> for
|
|
90
|
-
* file system <i>fs-id</i>
|
|
91
|
-
* </code> where <code>
|
|
92
|
-
* <i>fsmt-id</i>
|
|
93
|
-
* </code> is the mount target ID, and <code>
|
|
94
|
-
* <i>fs-id</i>
|
|
95
|
-
* </code> is the <code>FileSystemId</code>.</p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>Sets the <code>requesterManaged</code> property of the network interface to
|
|
99
|
-
* <code>true</code>, and the <code>requesterId</code> value to
|
|
100
|
-
* <code>EFS</code>.</p>
|
|
101
|
-
* </li>
|
|
102
|
-
* </ul>
|
|
103
|
-
* <p>Each Amazon EFS mount target has one corresponding requester-managed EC2 network
|
|
104
|
-
* interface. After the network interface is created, Amazon EFS sets the
|
|
105
|
-
* <code>NetworkInterfaceId</code> field in the mount target's description to the
|
|
106
|
-
* network interface ID, and the <code>IpAddress</code> field to its address. If network
|
|
107
|
-
* interface creation fails, the entire <code>CreateMountTarget</code> operation
|
|
108
|
-
* fails.</p>
|
|
109
|
-
* </li>
|
|
110
|
-
* </ul>
|
|
111
|
-
* <note>
|
|
112
|
-
* <p>The <code>CreateMountTarget</code> call returns only after creating the network
|
|
113
|
-
* interface, but while the mount target state is still <code>creating</code>, you can check
|
|
114
|
-
* the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
|
|
115
|
-
* target state.</p>
|
|
116
|
-
* </note>
|
|
117
|
-
* <p>We recommend that you create a mount target in each of the Availability Zones. There
|
|
118
|
-
* are cost considerations for using a file system in an Availability Zone through a mount target
|
|
119
|
-
* created in another Availability Zone. For more information, see <a href="http://aws.amazon.com/efs/">Amazon EFS</a>. In addition, by always using a mount target local to the
|
|
120
|
-
* instance's Availability Zone, you eliminate a partial failure scenario. If the
|
|
121
|
-
* Availability Zone in which your mount target is created goes down, then you can't access
|
|
122
|
-
* your file system through that mount target. </p>
|
|
123
|
-
* <p>This operation requires permissions for the following action on the file
|
|
124
|
-
* system:</p>
|
|
125
|
-
* <ul>
|
|
126
|
-
* <li>
|
|
127
|
-
* <p>
|
|
128
|
-
* <code>elasticfilesystem:CreateMountTarget</code>
|
|
129
|
-
* </p>
|
|
130
|
-
* </li>
|
|
131
|
-
* </ul>
|
|
132
|
-
* <p>This operation also requires permissions for the following Amazon EC2
|
|
133
|
-
* actions:</p>
|
|
134
|
-
* <ul>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>
|
|
137
|
-
* <code>ec2:DescribeSubnets</code>
|
|
138
|
-
* </p>
|
|
139
|
-
* </li>
|
|
140
|
-
* <li>
|
|
141
|
-
* <p>
|
|
142
|
-
* <code>ec2:DescribeNetworkInterfaces</code>
|
|
143
|
-
* </p>
|
|
144
|
-
* </li>
|
|
145
|
-
* <li>
|
|
146
|
-
* <p>
|
|
147
|
-
* <code>ec2:CreateNetworkInterface</code>
|
|
148
|
-
* </p>
|
|
149
|
-
* </li>
|
|
150
|
-
* </ul>
|
|
151
|
-
* @example
|
|
152
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
153
|
-
* ```javascript
|
|
154
|
-
* import { EFSClient, CreateMountTargetCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
155
|
-
* // const { EFSClient, CreateMountTargetCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
156
|
-
* const client = new EFSClient(config);
|
|
157
|
-
* const command = new CreateMountTargetCommand(input);
|
|
158
|
-
* const response = await client.send(command);
|
|
159
|
-
* ```
|
|
160
|
-
*
|
|
161
|
-
* @see {@link CreateMountTargetCommandInput} for command's `input` shape.
|
|
162
|
-
* @see {@link CreateMountTargetCommandOutput} for command's `response` shape.
|
|
163
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
164
|
-
*
|
|
165
|
-
*/
|
|
166
8
|
class CreateMountTargetCommand extends smithy_client_1.Command {
|
|
167
|
-
// Start section: command_properties
|
|
168
|
-
// End section: command_properties
|
|
169
9
|
constructor(input) {
|
|
170
|
-
// Start section: command_constructor
|
|
171
10
|
super();
|
|
172
11
|
this.input = input;
|
|
173
|
-
// End section: command_constructor
|
|
174
12
|
}
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
179
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
180
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -199,4 +34,3 @@ class CreateMountTargetCommand extends smithy_client_1.Command {
|
|
|
199
34
|
}
|
|
200
35
|
}
|
|
201
36
|
exports.CreateMountTargetCommand = CreateMountTargetCommand;
|
|
202
|
-
//# sourceMappingURL=CreateMountTargetCommand.js.map
|
|
@@ -5,46 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated
|
|
10
|
-
*
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>DEPRECATED - CreateTags is deprecated and not maintained. Please use the
|
|
13
|
-
* API action to create tags for EFS resources.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If
|
|
16
|
-
* a tag key specified in the request already exists on the file system, this operation
|
|
17
|
-
* overwrites its value with the value provided in the request. If you add the <code>Name</code>
|
|
18
|
-
* tag to your file system, Amazon EFS returns it in the response to the <a>DescribeFileSystems</a> operation. </p>
|
|
19
|
-
* <p>This operation requires permission for the <code>elasticfilesystem:CreateTags</code>
|
|
20
|
-
* action.</p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { EFSClient, CreateTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
25
|
-
* // const { EFSClient, CreateTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
26
|
-
* const client = new EFSClient(config);
|
|
27
|
-
* const command = new CreateTagsCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link CreateTagsCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link CreateTagsCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
8
|
class CreateTagsCommand extends smithy_client_1.Command {
|
|
37
|
-
// Start section: command_properties
|
|
38
|
-
// End section: command_properties
|
|
39
9
|
constructor(input) {
|
|
40
|
-
// Start section: command_constructor
|
|
41
10
|
super();
|
|
42
11
|
this.input = input;
|
|
43
|
-
// End section: command_constructor
|
|
44
12
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
49
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -69,4 +34,3 @@ class CreateTagsCommand extends smithy_client_1.Command {
|
|
|
69
34
|
}
|
|
70
35
|
}
|
|
71
36
|
exports.CreateTagsCommand = CreateTagsCommand;
|
|
72
|
-
//# sourceMappingURL=CreateTagsCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the specified access point. After deletion is complete, new clients can no
|
|
10
|
-
* longer connect to the access points. Clients connected to the access point at the time of
|
|
11
|
-
* deletion will continue to function until they terminate their connection.</p>
|
|
12
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DeleteAccessPoint</code> action.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EFSClient, DeleteAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
17
|
-
* // const { EFSClient, DeleteAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
18
|
-
* const client = new EFSClient(config);
|
|
19
|
-
* const command = new DeleteAccessPointCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteAccessPointCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteAccessPointCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DeleteAccessPointCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class DeleteAccessPointCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.DeleteAccessPointCommand = DeleteAccessPointCommand;
|
|
64
|
-
//# sourceMappingURL=DeleteAccessPointCommand.js.map
|
|
@@ -5,49 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a file system, permanently severing access to its contents. Upon return, the
|
|
10
|
-
* file system no longer exists and you can't access any contents of the deleted file
|
|
11
|
-
* system.</p>
|
|
12
|
-
* <p> You can't delete a file system that is in use. That is, if the file system has
|
|
13
|
-
* any mount targets, you must first delete them. For more information, see <a>DescribeMountTargets</a> and <a>DeleteMountTarget</a>. </p>
|
|
14
|
-
*
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>The <code>DeleteFileSystem</code> call returns while the file system state is still
|
|
17
|
-
* <code>deleting</code>. You can check the file system deletion status by calling the <a>DescribeFileSystems</a> operation, which returns a list of file systems in your
|
|
18
|
-
* account. If you pass file system ID or creation token for the deleted file system, the <a>DescribeFileSystems</a> returns a <code>404 FileSystemNotFound</code>
|
|
19
|
-
* error.</p>
|
|
20
|
-
* </note>
|
|
21
|
-
*
|
|
22
|
-
* <p>This operation requires permissions for the
|
|
23
|
-
* <code>elasticfilesystem:DeleteFileSystem</code> action.</p>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { EFSClient, DeleteFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
28
|
-
* // const { EFSClient, DeleteFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
29
|
-
* const client = new EFSClient(config);
|
|
30
|
-
* const command = new DeleteFileSystemCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link DeleteFileSystemCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link DeleteFileSystemCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
8
|
class DeleteFileSystemCommand extends smithy_client_1.Command {
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
9
|
constructor(input) {
|
|
43
|
-
// Start section: command_constructor
|
|
44
10
|
super();
|
|
45
11
|
this.input = input;
|
|
46
|
-
// End section: command_constructor
|
|
47
12
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
52
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
53
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -72,4 +34,3 @@ class DeleteFileSystemCommand extends smithy_client_1.Command {
|
|
|
72
34
|
}
|
|
73
35
|
}
|
|
74
36
|
exports.DeleteFileSystemCommand = DeleteFileSystemCommand;
|
|
75
|
-
//# sourceMappingURL=DeleteFileSystemCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the <code>FileSystemPolicy</code> for the specified file system.
|
|
10
|
-
* The default <code>FileSystemPolicy</code> goes into effect once the existing policy is deleted.
|
|
11
|
-
* For more information about the default file system policy, see <a href="https://docs.aws.amazon.com/efs/latest/ug/res-based-policies-efs.html">Using Resource-based Policies with EFS</a>.</p>
|
|
12
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DeleteFileSystemPolicy</code> action.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EFSClient, DeleteFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
17
|
-
* // const { EFSClient, DeleteFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
18
|
-
* const client = new EFSClient(config);
|
|
19
|
-
* const command = new DeleteFileSystemPolicyCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteFileSystemPolicyCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteFileSystemPolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DeleteFileSystemPolicyCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class DeleteFileSystemPolicyCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.DeleteFileSystemPolicyCommand = DeleteFileSystemPolicyCommand;
|
|
64
|
-
//# sourceMappingURL=DeleteFileSystemPolicyCommand.js.map
|