@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.
Files changed (270) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/EFS.js +0 -8
  3. package/dist-cjs/EFSClient.js +0 -13
  4. package/dist-cjs/commands/CreateAccessPointCommand.js +0 -32
  5. package/dist-cjs/commands/CreateFileSystemCommand.js +0 -78
  6. package/dist-cjs/commands/CreateMountTargetCommand.js +0 -166
  7. package/dist-cjs/commands/CreateTagsCommand.js +0 -36
  8. package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -28
  9. package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -39
  10. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -28
  11. package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -58
  12. package/dist-cjs/commands/DeleteTagsCommand.js +0 -37
  13. package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -28
  14. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -26
  15. package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -25
  16. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -26
  17. package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -47
  18. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -32
  19. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -40
  20. package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -32
  21. package/dist-cjs/commands/DescribeTagsCommand.js +0 -35
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  23. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -44
  24. package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -28
  25. package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -25
  26. package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -34
  27. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -55
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  30. package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -26
  31. package/dist-cjs/commands/index.js +30 -0
  32. package/dist-cjs/endpoints.js +1 -2
  33. package/dist-cjs/index.js +4 -35
  34. package/dist-cjs/models/index.js +0 -1
  35. package/dist-cjs/models/models_0.js +0 -232
  36. package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -11
  37. package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -11
  38. package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -11
  39. package/dist-cjs/pagination/Interfaces.js +0 -1
  40. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
  41. package/dist-cjs/pagination/index.js +8 -0
  42. package/dist-cjs/protocols/Aws_restJson1.js +8 -6
  43. package/dist-cjs/runtimeConfig.browser.js +1 -6
  44. package/dist-cjs/runtimeConfig.js +2 -7
  45. package/dist-cjs/runtimeConfig.native.js +0 -4
  46. package/dist-cjs/runtimeConfig.shared.js +0 -4
  47. package/dist-es/EFS.js +0 -1
  48. package/dist-es/EFSClient.js +0 -1
  49. package/dist-es/commands/CreateAccessPointCommand.js +0 -1
  50. package/dist-es/commands/CreateFileSystemCommand.js +0 -1
  51. package/dist-es/commands/CreateMountTargetCommand.js +0 -1
  52. package/dist-es/commands/CreateTagsCommand.js +0 -1
  53. package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
  54. package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
  55. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
  56. package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
  57. package/dist-es/commands/DeleteTagsCommand.js +0 -1
  58. package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
  59. package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
  60. package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
  61. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
  62. package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
  63. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
  64. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
  65. package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
  66. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  67. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  68. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
  69. package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
  70. package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
  71. package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
  72. package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
  73. package/dist-es/commands/TagResourceCommand.js +0 -1
  74. package/dist-es/commands/UntagResourceCommand.js +0 -1
  75. package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
  76. package/dist-es/commands/index.js +27 -0
  77. package/dist-es/endpoints.js +1 -2
  78. package/dist-es/index.js +4 -35
  79. package/dist-es/models/index.js +0 -1
  80. package/dist-es/models/models_0.js +0 -1
  81. package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
  82. package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
  83. package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
  84. package/dist-es/pagination/Interfaces.js +0 -1
  85. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  86. package/dist-es/pagination/index.js +5 -0
  87. package/dist-es/protocols/Aws_restJson1.js +22 -15
  88. package/dist-es/runtimeConfig.browser.js +1 -2
  89. package/dist-es/runtimeConfig.js +2 -3
  90. package/dist-es/runtimeConfig.native.js +0 -1
  91. package/dist-es/runtimeConfig.shared.js +0 -1
  92. package/dist-types/EFS.d.ts +15 -8
  93. package/dist-types/commands/PutAccountPreferencesCommand.d.ts +7 -3
  94. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -1
  95. package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +5 -4
  96. package/dist-types/commands/index.d.ts +27 -0
  97. package/dist-types/index.d.ts +4 -34
  98. package/dist-types/models/models_0.d.ts +34 -6
  99. package/dist-types/pagination/index.d.ts +5 -0
  100. package/dist-types/ts3.4/EFS.d.ts +28 -496
  101. package/dist-types/ts3.4/EFSClient.d.ts +24 -93
  102. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -27
  103. package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -73
  104. package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +2 -161
  105. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -31
  106. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -34
  108. package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +2 -53
  110. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -32
  111. package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +2 -21
  115. package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -42
  116. package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -27
  117. package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -35
  118. package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +2 -27
  119. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -30
  120. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  121. package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -39
  122. package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +2 -23
  123. package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +2 -29
  125. package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +2 -50
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -21
  129. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  130. package/dist-types/ts3.4/index.d.ts +4 -34
  131. package/dist-types/ts3.4/models/models_0.d.ts +273 -1088
  132. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  137. package/package.json +33 -30
  138. package/dist-cjs/EFS.js.map +0 -1
  139. package/dist-cjs/EFSClient.js.map +0 -1
  140. package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
  141. package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
  142. package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
  143. package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
  144. package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
  145. package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
  146. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  147. package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
  148. package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
  149. package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
  150. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  151. package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
  152. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  153. package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
  154. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  155. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  156. package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
  157. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  158. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  159. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  160. package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
  161. package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
  162. package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
  163. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  164. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  165. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  166. package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
  167. package/dist-cjs/endpoints.js.map +0 -1
  168. package/dist-cjs/index.js.map +0 -1
  169. package/dist-cjs/models/index.js.map +0 -1
  170. package/dist-cjs/models/models_0.js.map +0 -1
  171. package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  172. package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  173. package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
  174. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  175. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  176. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  177. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  178. package/dist-cjs/runtimeConfig.js.map +0 -1
  179. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  180. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  181. package/dist-es/EFS.js.map +0 -1
  182. package/dist-es/EFSClient.js.map +0 -1
  183. package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
  184. package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
  185. package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
  186. package/dist-es/commands/CreateTagsCommand.js.map +0 -1
  187. package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
  188. package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
  189. package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  190. package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
  191. package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
  192. package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
  193. package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  194. package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
  195. package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  196. package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
  197. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  198. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  199. package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
  200. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  201. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  202. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  203. package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
  204. package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
  205. package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
  206. package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  207. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  208. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  209. package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
  210. package/dist-es/endpoints.js.map +0 -1
  211. package/dist-es/index.js.map +0 -1
  212. package/dist-es/models/index.js.map +0 -1
  213. package/dist-es/models/models_0.js.map +0 -1
  214. package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  215. package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  216. package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
  217. package/dist-es/pagination/Interfaces.js.map +0 -1
  218. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  219. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  220. package/dist-es/runtimeConfig.browser.js.map +0 -1
  221. package/dist-es/runtimeConfig.js.map +0 -1
  222. package/dist-es/runtimeConfig.native.js.map +0 -1
  223. package/dist-es/runtimeConfig.shared.js.map +0 -1
  224. package/jest.config.js +0 -4
  225. package/src/EFS.ts +0 -1386
  226. package/src/EFSClient.ts +0 -363
  227. package/src/commands/CreateAccessPointCommand.ts +0 -102
  228. package/src/commands/CreateFileSystemCommand.ts +0 -148
  229. package/src/commands/CreateMountTargetCommand.ts +0 -236
  230. package/src/commands/CreateTagsCommand.ts +0 -106
  231. package/src/commands/DeleteAccessPointCommand.ts +0 -98
  232. package/src/commands/DeleteFileSystemCommand.ts +0 -109
  233. package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
  234. package/src/commands/DeleteMountTargetCommand.ts +0 -128
  235. package/src/commands/DeleteTagsCommand.ts +0 -107
  236. package/src/commands/DescribeAccessPointsCommand.ts +0 -98
  237. package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
  238. package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
  239. package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
  240. package/src/commands/DescribeFileSystemsCommand.ts +0 -117
  241. package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
  242. package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
  243. package/src/commands/DescribeMountTargetsCommand.ts +0 -102
  244. package/src/commands/DescribeTagsCommand.ts +0 -105
  245. package/src/commands/ListTagsForResourceCommand.ts +0 -96
  246. package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
  247. package/src/commands/PutAccountPreferencesCommand.ts +0 -98
  248. package/src/commands/PutBackupPolicyCommand.ts +0 -95
  249. package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
  250. package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
  251. package/src/commands/TagResourceCommand.ts +0 -96
  252. package/src/commands/UntagResourceCommand.ts +0 -96
  253. package/src/commands/UpdateFileSystemCommand.ts +0 -96
  254. package/src/endpoints.ts +0 -183
  255. package/src/index.ts +0 -35
  256. package/src/models/index.ts +0 -1
  257. package/src/models/models_0.ts +0 -2185
  258. package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
  259. package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
  260. package/src/pagination/DescribeTagsPaginator.ts +0 -59
  261. package/src/pagination/Interfaces.ts +0 -8
  262. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  263. package/src/protocols/Aws_restJson1.ts +0 -4420
  264. package/src/runtimeConfig.browser.ts +0 -41
  265. package/src/runtimeConfig.native.ts +0 -17
  266. package/src/runtimeConfig.shared.ts +0 -17
  267. package/src/runtimeConfig.ts +0 -46
  268. package/tsconfig.es.json +0 -10
  269. package/tsconfig.json +0 -33
  270. package/tsconfig.types.json +0 -9
@@ -27,581 +27,113 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
27
27
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
28
28
  import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
29
29
  import { EFSClient } from "./EFSClient";
30
- /**
31
- * <fullname>Amazon Elastic File System</fullname>
32
- * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
33
- * with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
34
- * growing and shrinking automatically as you add and remove files, so your applications have the
35
- * 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>
36
- */
30
+
37
31
  export declare class EFS extends EFSClient {
38
- /**
39
- * <p>Creates an EFS access point. An access point is an application-specific view into an EFS
40
- * file system that applies an operating system user and group, and a file system path, to any
41
- * file system request made through the access point. The operating system user and group
42
- * override any identity information provided by the NFS client. The file system path is exposed
43
- * as the access point's root directory. Applications using the access point can only access data
44
- * 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
45
- * points</a>.</p>
46
- * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
47
- */
32
+
48
33
  createAccessPoint(args: CreateAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPointCommandOutput>;
49
34
  createAccessPoint(args: CreateAccessPointCommandInput, cb: (err: any, data?: CreateAccessPointCommandOutput) => void): void;
50
35
  createAccessPoint(args: CreateAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPointCommandOutput) => void): void;
51
- /**
52
- * <p>Creates a new, empty file system. The operation requires a creation token in the
53
- * request that Amazon EFS uses to ensure idempotent creation (calling the operation with same
54
- * creation token has no effect). If a file system does not currently exist that is owned by the
55
- * caller's Amazon Web Services account with the specified creation token, this operation does the
56
- * following:</p>
57
- * <ul>
58
- * <li>
59
- * <p>Creates a new, empty file system. The file system will have an Amazon EFS assigned
60
- * ID, and an initial lifecycle state <code>creating</code>.</p>
61
- * </li>
62
- * <li>
63
- * <p>Returns with the description of the created file system.</p>
64
- * </li>
65
- * </ul>
66
- * <p>Otherwise, this operation returns a <code>FileSystemAlreadyExists</code> error with the
67
- * ID of the existing file system.</p>
68
- * <note>
69
- * <p>For basic use cases, you can use a randomly generated UUID for the creation
70
- * token.</p>
71
- * </note>
72
- * <p> The idempotent operation allows you to retry a <code>CreateFileSystem</code> call without
73
- * risk of creating an extra file system. This can happen when an initial call fails in a way
74
- * that leaves it uncertain whether or not a file system was actually created. An example might
75
- * be that a transport level timeout occurred or your connection was reset. As long as you use
76
- * the same creation token, if the initial call had succeeded in creating a file system, the
77
- * client can learn of its existence from the <code>FileSystemAlreadyExists</code> error.</p>
78
- * <p>For more information, see
79
- * <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>
80
- * in the <i>Amazon EFS User Guide</i>.</p>
81
- *
82
- * <note>
83
- * <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
84
- * state is still <code>creating</code>. You can check the file system creation status by
85
- * calling the <a>DescribeFileSystems</a> operation, which among other things returns the file
86
- * system state.</p>
87
- * </note>
88
- *
89
- * <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you
90
- * choose for your file system. We recommend <code>generalPurpose</code> performance mode for
91
- * most file systems. File systems using the <code>maxIO</code> performance mode can scale to
92
- * higher levels of aggregate throughput and operations per second with a tradeoff of slightly
93
- * higher latencies for most file operations. The performance mode can't be changed after
94
- * 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
95
- * modes</a>.</p>
96
- *
97
- * <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p>
98
- *
99
- * <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
100
- * <code>available</code>, at which point you can create one or more mount targets for the file
101
- * system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
102
- * 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>
103
- *
104
- * <p> This operation requires permissions for the
105
- * <code>elasticfilesystem:CreateFileSystem</code> action. </p>
106
- */
36
+
107
37
  createFileSystem(args: CreateFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<CreateFileSystemCommandOutput>;
108
38
  createFileSystem(args: CreateFileSystemCommandInput, cb: (err: any, data?: CreateFileSystemCommandOutput) => void): void;
109
39
  createFileSystem(args: CreateFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFileSystemCommandOutput) => void): void;
110
- /**
111
- * <p>Creates a mount target for a file system. You can then mount the file system on EC2
112
- * instances by using the mount target.</p>
113
- * <p>You can create one mount target in each Availability Zone in your VPC. All EC2
114
- * instances in a VPC within a given Availability Zone share a single mount target for a given
115
- * file system. If you have multiple subnets in an Availability Zone, you create a mount target
116
- * in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target
117
- * in order to access their file system.</p>
118
- * <p>You can create only one mount target for an EFS file system using One Zone storage
119
- * classes. You must create that mount target in the same Availability Zone in which the file
120
- * system is located. Use the <code>AvailabilityZoneName</code> and
121
- * <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a>
122
- * response object to get this information. Use the <code>subnetId</code> associated with the
123
- * file system's Availability Zone when creating the mount target.</p>
124
- * <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>
125
- * <p>To create a mount target for a file system, the file system's lifecycle state must be
126
- * <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
127
- * <p>In the request, provide the following:</p>
128
- * <ul>
129
- * <li>
130
- * <p>The file system ID for which you are creating the mount
131
- * target.</p>
132
- * </li>
133
- * <li>
134
- * <p>A subnet ID, which determines the following:</p>
135
- * <ul>
136
- * <li>
137
- * <p>The VPC in which Amazon EFS creates the mount target</p>
138
- * </li>
139
- * <li>
140
- * <p>The Availability Zone in which Amazon EFS creates the mount target</p>
141
- * </li>
142
- * <li>
143
- * <p>The IP address range from which Amazon EFS selects the IP address of the mount target
144
- * (if you don't specify an IP address in the request)</p>
145
- * </li>
146
- * </ul>
147
- * </li>
148
- * </ul>
149
- *
150
- * <p>After creating the mount target, Amazon EFS returns a response that includes, a
151
- * <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
152
- * mounting the file system in an EC2 instance. You can also use the mount target's DNS name
153
- * when mounting the file system. The EC2 instance on which you mount the file system by using
154
- * the mount target can resolve the mount target's DNS name to its IP address. For more
155
- * information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
156
- * Implementation Overview</a>. </p>
157
- * <p>Note that you can create mount targets for a file system in only one VPC, and there can
158
- * be only one mount target per Availability Zone. That is, if the file system already has one or
159
- * more mount targets created for it, the subnet specified in the request to add another mount
160
- * target must meet the following requirements:</p>
161
- * <ul>
162
- * <li>
163
- * <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
164
- * </li>
165
- * <li>
166
- * <p>Must not be in the same Availability Zone as any of the subnets of the existing
167
- * mount targets</p>
168
- * </li>
169
- * </ul>
170
- *
171
- * <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
172
- * <ul>
173
- * <li>
174
- * <p>Creates a new mount target in the specified subnet.</p>
175
- * </li>
176
- * <li>
177
- * <p>Also creates a new network interface in the subnet as follows:</p>
178
- * <ul>
179
- * <li>
180
- * <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that IP
181
- * address to the network interface. Otherwise, Amazon EFS assigns a free address in the
182
- * subnet (in the same way that the Amazon EC2 <code>CreateNetworkInterface</code> call
183
- * does when a request does not specify a primary private IP address).</p>
184
- * </li>
185
- * <li>
186
- * <p>If the request provides <code>SecurityGroups</code>, this network interface is
187
- * associated with those security groups. Otherwise, it belongs to the default security
188
- * group for the subnet's VPC.</p>
189
- * </li>
190
- * <li>
191
- * <p>Assigns the description <code>Mount target <i>fsmt-id</i> for
192
- * file system <i>fs-id</i>
193
- * </code> where <code>
194
- * <i>fsmt-id</i>
195
- * </code> is the mount target ID, and <code>
196
- * <i>fs-id</i>
197
- * </code> is the <code>FileSystemId</code>.</p>
198
- * </li>
199
- * <li>
200
- * <p>Sets the <code>requesterManaged</code> property of the network interface to
201
- * <code>true</code>, and the <code>requesterId</code> value to
202
- * <code>EFS</code>.</p>
203
- * </li>
204
- * </ul>
205
- * <p>Each Amazon EFS mount target has one corresponding requester-managed EC2 network
206
- * interface. After the network interface is created, Amazon EFS sets the
207
- * <code>NetworkInterfaceId</code> field in the mount target's description to the
208
- * network interface ID, and the <code>IpAddress</code> field to its address. If network
209
- * interface creation fails, the entire <code>CreateMountTarget</code> operation
210
- * fails.</p>
211
- * </li>
212
- * </ul>
213
- * <note>
214
- * <p>The <code>CreateMountTarget</code> call returns only after creating the network
215
- * interface, but while the mount target state is still <code>creating</code>, you can check
216
- * the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
217
- * target state.</p>
218
- * </note>
219
- * <p>We recommend that you create a mount target in each of the Availability Zones. There
220
- * are cost considerations for using a file system in an Availability Zone through a mount target
221
- * 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
222
- * instance's Availability Zone, you eliminate a partial failure scenario. If the
223
- * Availability Zone in which your mount target is created goes down, then you can't access
224
- * your file system through that mount target. </p>
225
- * <p>This operation requires permissions for the following action on the file
226
- * system:</p>
227
- * <ul>
228
- * <li>
229
- * <p>
230
- * <code>elasticfilesystem:CreateMountTarget</code>
231
- * </p>
232
- * </li>
233
- * </ul>
234
- * <p>This operation also requires permissions for the following Amazon EC2
235
- * actions:</p>
236
- * <ul>
237
- * <li>
238
- * <p>
239
- * <code>ec2:DescribeSubnets</code>
240
- * </p>
241
- * </li>
242
- * <li>
243
- * <p>
244
- * <code>ec2:DescribeNetworkInterfaces</code>
245
- * </p>
246
- * </li>
247
- * <li>
248
- * <p>
249
- * <code>ec2:CreateNetworkInterface</code>
250
- * </p>
251
- * </li>
252
- * </ul>
253
- */
40
+
254
41
  createMountTarget(args: CreateMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateMountTargetCommandOutput>;
255
42
  createMountTarget(args: CreateMountTargetCommandInput, cb: (err: any, data?: CreateMountTargetCommandOutput) => void): void;
256
43
  createMountTarget(args: CreateMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMountTargetCommandOutput) => void): void;
257
- /**
258
- * @deprecated
259
- *
260
- * <note>
261
- * <p>DEPRECATED - CreateTags is deprecated and not maintained. Please use the
262
- * API action to create tags for EFS resources.</p>
263
- * </note>
264
- * <p>Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If
265
- * a tag key specified in the request already exists on the file system, this operation
266
- * overwrites its value with the value provided in the request. If you add the <code>Name</code>
267
- * tag to your file system, Amazon EFS returns it in the response to the <a>DescribeFileSystems</a> operation. </p>
268
- * <p>This operation requires permission for the <code>elasticfilesystem:CreateTags</code>
269
- * action.</p>
270
- */
44
+
271
45
  createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
272
46
  createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
273
47
  createTags(args: CreateTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
274
- /**
275
- * <p>Deletes the specified access point. After deletion is complete, new clients can no
276
- * longer connect to the access points. Clients connected to the access point at the time of
277
- * deletion will continue to function until they terminate their connection.</p>
278
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteAccessPoint</code> action.</p>
279
- */
48
+
280
49
  deleteAccessPoint(args: DeleteAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessPointCommandOutput>;
281
50
  deleteAccessPoint(args: DeleteAccessPointCommandInput, cb: (err: any, data?: DeleteAccessPointCommandOutput) => void): void;
282
51
  deleteAccessPoint(args: DeleteAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessPointCommandOutput) => void): void;
283
- /**
284
- * <p>Deletes a file system, permanently severing access to its contents. Upon return, the
285
- * file system no longer exists and you can't access any contents of the deleted file
286
- * system.</p>
287
- * <p> You can't delete a file system that is in use. That is, if the file system has
288
- * any mount targets, you must first delete them. For more information, see <a>DescribeMountTargets</a> and <a>DeleteMountTarget</a>. </p>
289
- *
290
- * <note>
291
- * <p>The <code>DeleteFileSystem</code> call returns while the file system state is still
292
- * <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
293
- * 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>
294
- * error.</p>
295
- * </note>
296
- *
297
- * <p>This operation requires permissions for the
298
- * <code>elasticfilesystem:DeleteFileSystem</code> action.</p>
299
- */
52
+
300
53
  deleteFileSystem(args: DeleteFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileSystemCommandOutput>;
301
54
  deleteFileSystem(args: DeleteFileSystemCommandInput, cb: (err: any, data?: DeleteFileSystemCommandOutput) => void): void;
302
55
  deleteFileSystem(args: DeleteFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileSystemCommandOutput) => void): void;
303
- /**
304
- * <p>Deletes the <code>FileSystemPolicy</code> for the specified file system.
305
- * The default <code>FileSystemPolicy</code> goes into effect once the existing policy is deleted.
306
- * 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>
307
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteFileSystemPolicy</code> action.</p>
308
- */
56
+
309
57
  deleteFileSystemPolicy(args: DeleteFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileSystemPolicyCommandOutput>;
310
58
  deleteFileSystemPolicy(args: DeleteFileSystemPolicyCommandInput, cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void): void;
311
59
  deleteFileSystemPolicy(args: DeleteFileSystemPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void): void;
312
- /**
313
- * <p>Deletes the specified mount target.</p>
314
- *
315
- * <p>This operation forcibly breaks any mounts of the file system by using the mount target
316
- * that is being deleted, which might disrupt instances or applications using those mounts. To
317
- * avoid applications getting cut off abruptly, you might consider unmounting any mounts of the
318
- * mount target, if feasible. The operation also deletes the associated network interface.
319
- * Uncommitted writes might be lost, but breaking a mount target using this operation does not
320
- * corrupt the file system itself. The file system you created remains. You can mount an EC2
321
- * instance in your VPC by using another mount target.</p>
322
- * <p>This operation requires permissions for the following action on the file
323
- * system:</p>
324
- * <ul>
325
- * <li>
326
- * <p>
327
- * <code>elasticfilesystem:DeleteMountTarget</code>
328
- * </p>
329
- * </li>
330
- * </ul>
331
- *
332
- * <note>
333
- * <p>The <code>DeleteMountTarget</code> call returns while the mount target state is still
334
- * <code>deleting</code>. You can check the mount target deletion by calling the <a>DescribeMountTargets</a> operation, which returns a list of mount target
335
- * descriptions for the given file system. </p>
336
- * </note>
337
- *
338
- * <p>The operation also requires permissions for the following Amazon EC2 action on the
339
- * mount target's network interface:</p>
340
- * <ul>
341
- * <li>
342
- * <p>
343
- * <code>ec2:DeleteNetworkInterface</code>
344
- * </p>
345
- * </li>
346
- * </ul>
347
- */
60
+
348
61
  deleteMountTarget(args: DeleteMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMountTargetCommandOutput>;
349
62
  deleteMountTarget(args: DeleteMountTargetCommandInput, cb: (err: any, data?: DeleteMountTargetCommandOutput) => void): void;
350
63
  deleteMountTarget(args: DeleteMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMountTargetCommandOutput) => void): void;
351
- /**
352
- * @deprecated
353
- *
354
- * <note>
355
- * <p>DEPRECATED - DeleteTags is deprecated and not maintained. Please use the
356
- * API action to remove tags from EFS resources.</p>
357
- * </note>
358
- * <p>Deletes the specified tags from a file system. If the <code>DeleteTags</code> request
359
- * includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an
360
- * error. For more information about tags and related restrictions, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Tag restrictions</a> in the
361
- * <i>Billing and Cost Management User Guide</i>.</p>
362
- *
363
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteTags</code>
364
- * action.</p>
365
- */
64
+
366
65
  deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
367
66
  deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
368
67
  deleteTags(args: DeleteTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
369
- /**
370
- * <p>Returns the description of a specific Amazon EFS access point if the <code>AccessPointId</code> is provided.
371
- * If you provide an EFS <code>FileSystemId</code>, it returns descriptions of all access points for that file system.
372
- * You can provide either an <code>AccessPointId</code> or a <code>FileSystemId</code> in the request, but not both. </p>
373
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
374
- */
68
+
375
69
  describeAccessPoints(args: DescribeAccessPointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccessPointsCommandOutput>;
376
70
  describeAccessPoints(args: DescribeAccessPointsCommandInput, cb: (err: any, data?: DescribeAccessPointsCommandOutput) => void): void;
377
71
  describeAccessPoints(args: DescribeAccessPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccessPointsCommandOutput) => void): void;
378
- /**
379
- * <p>Returns the account preferences settings for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region.
380
- * For more information, see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
381
- */
72
+
382
73
  describeAccountPreferences(args: DescribeAccountPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountPreferencesCommandOutput>;
383
74
  describeAccountPreferences(args: DescribeAccountPreferencesCommandInput, cb: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void): void;
384
75
  describeAccountPreferences(args: DescribeAccountPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void): void;
385
- /**
386
- * <p>Returns the backup policy for the specified EFS file system.</p>
387
- */
76
+
388
77
  describeBackupPolicy(args: DescribeBackupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBackupPolicyCommandOutput>;
389
78
  describeBackupPolicy(args: DescribeBackupPolicyCommandInput, cb: (err: any, data?: DescribeBackupPolicyCommandOutput) => void): void;
390
79
  describeBackupPolicy(args: DescribeBackupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBackupPolicyCommandOutput) => void): void;
391
- /**
392
- * <p>Returns the <code>FileSystemPolicy</code> for the specified EFS file system.</p>
393
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeFileSystemPolicy</code> action.</p>
394
- */
80
+
395
81
  describeFileSystemPolicy(args: DescribeFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFileSystemPolicyCommandOutput>;
396
82
  describeFileSystemPolicy(args: DescribeFileSystemPolicyCommandInput, cb: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void): void;
397
83
  describeFileSystemPolicy(args: DescribeFileSystemPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void): void;
398
- /**
399
- * <p>Returns the description of a specific Amazon EFS file system if either the file system
400
- * <code>CreationToken</code> or the <code>FileSystemId</code> is provided. Otherwise, it
401
- * returns descriptions of all file systems owned by the caller's Amazon Web Services account in the
402
- * Amazon Web Services Region of the endpoint that you're calling.</p>
403
- *
404
- * <p>When retrieving all file system descriptions, you can optionally specify the
405
- * <code>MaxItems</code> parameter to limit the number of descriptions in a response.
406
- * Currently, this number is automatically set to 10. If more file system descriptions remain,
407
- * Amazon EFS returns a <code>NextMarker</code>, an opaque token, in the response. In this case,
408
- * you should send a subsequent request with the <code>Marker</code> request parameter set to the
409
- * value of <code>NextMarker</code>. </p>
410
- *
411
- * <p>To retrieve a list of your file system descriptions, this operation is used in an
412
- * iterative process, where <code>DescribeFileSystems</code> is called first without the
413
- * <code>Marker</code> and then the operation continues to call it with the <code>Marker</code>
414
- * parameter set to the value of the <code>NextMarker</code> from the previous response until the
415
- * response has no <code>NextMarker</code>. </p>
416
- *
417
- * <p> The order of file systems returned in the response of one
418
- * <code>DescribeFileSystems</code> call and the order of file systems returned across the
419
- * responses of a multi-call iteration is unspecified. </p>
420
- * <p> This operation requires permissions for the
421
- * <code>elasticfilesystem:DescribeFileSystems</code> action. </p>
422
- */
84
+
423
85
  describeFileSystems(args: DescribeFileSystemsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFileSystemsCommandOutput>;
424
86
  describeFileSystems(args: DescribeFileSystemsCommandInput, cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void): void;
425
87
  describeFileSystems(args: DescribeFileSystemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void): void;
426
- /**
427
- * <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon
428
- * EFS file system. EFS lifecycle management uses the <code>LifecycleConfiguration</code> object
429
- * to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system
430
- * without a <code>LifecycleConfiguration</code> object, the call returns an empty array in the
431
- * response.</p>
432
- * <p>When EFS Intelligent Tiering is enabled, <code>TransitionToPrimaryStorageClass</code> has a value of <code>AFTER_1_ACCESS</code>.</p>
433
- * <p>This operation requires permissions for the
434
- * <code>elasticfilesystem:DescribeLifecycleConfiguration</code> operation.</p>
435
- */
88
+
436
89
  describeLifecycleConfiguration(args: DescribeLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLifecycleConfigurationCommandOutput>;
437
90
  describeLifecycleConfiguration(args: DescribeLifecycleConfigurationCommandInput, cb: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void): void;
438
91
  describeLifecycleConfiguration(args: DescribeLifecycleConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void): void;
439
- /**
440
- * <p>Returns the descriptions of all the current mount targets, or a specific mount target,
441
- * for a file system. When requesting all of the current mount targets, the order of mount
442
- * targets returned in the response is unspecified.</p>
443
- *
444
- * <p>This operation requires permissions for the
445
- * <code>elasticfilesystem:DescribeMountTargets</code> action, on either the file system ID
446
- * that you specify in <code>FileSystemId</code>, or on the file system of the mount target that
447
- * you specify in <code>MountTargetId</code>.</p>
448
- */
92
+
449
93
  describeMountTargets(args: DescribeMountTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMountTargetsCommandOutput>;
450
94
  describeMountTargets(args: DescribeMountTargetsCommandInput, cb: (err: any, data?: DescribeMountTargetsCommandOutput) => void): void;
451
95
  describeMountTargets(args: DescribeMountTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMountTargetsCommandOutput) => void): void;
452
- /**
453
- * <p>Returns the security groups currently in effect for a mount target. This operation
454
- * requires that the network interface of the mount target has been created and the lifecycle
455
- * state of the mount target is not <code>deleted</code>.</p>
456
- * <p>This operation requires permissions for the following actions:</p>
457
- * <ul>
458
- * <li>
459
- * <p>
460
- * <code>elasticfilesystem:DescribeMountTargetSecurityGroups</code> action on the mount
461
- * target's file system. </p>
462
- * </li>
463
- * <li>
464
- * <p>
465
- * <code>ec2:DescribeNetworkInterfaceAttribute</code> action on the mount target's
466
- * network interface. </p>
467
- * </li>
468
- * </ul>
469
- */
96
+
470
97
  describeMountTargetSecurityGroups(args: DescribeMountTargetSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMountTargetSecurityGroupsCommandOutput>;
471
98
  describeMountTargetSecurityGroups(args: DescribeMountTargetSecurityGroupsCommandInput, cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void): void;
472
99
  describeMountTargetSecurityGroups(args: DescribeMountTargetSecurityGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void): void;
473
- /**
474
- * @deprecated
475
- *
476
- * <note>
477
- * <p>DEPRECATED - The DeleteTags action is deprecated and not maintained. Please use the
478
- * API action to remove tags from EFS resources.</p>
479
- * </note>
480
- * <p>Returns the tags associated with a file system. The order of tags returned in the
481
- * response of one <code>DescribeTags</code> call and the order of tags returned across the
482
- * responses of a multiple-call iteration (when using pagination) is unspecified. </p>
483
- * <p> This operation requires permissions for the
484
- * <code>elasticfilesystem:DescribeTags</code> action. </p>
485
- */
100
+
486
101
  describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
487
102
  describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
488
103
  describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
489
- /**
490
- * <p>Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for.</p>
491
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
492
- */
104
+
493
105
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
494
106
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
495
107
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
496
- /**
497
- * <p>Modifies the set of security groups in effect for a mount target.</p>
498
- * <p>When you create a mount target, Amazon EFS also creates a new network interface. For
499
- * more information, see <a>CreateMountTarget</a>. This operation replaces the security groups in effect for the
500
- * network interface associated with a mount target, with the <code>SecurityGroups</code>
501
- * provided in the request. This operation requires that the network interface of the mount
502
- * target has been created and the lifecycle state of the mount target is not
503
- * <code>deleted</code>. </p>
504
- * <p>The operation requires permissions for the following actions:</p>
505
- * <ul>
506
- * <li>
507
- * <p>
508
- * <code>elasticfilesystem:ModifyMountTargetSecurityGroups</code> action on the mount
509
- * target's file system. </p>
510
- * </li>
511
- * <li>
512
- * <p>
513
- * <code>ec2:ModifyNetworkInterfaceAttribute</code> action on the mount target's network
514
- * interface. </p>
515
- * </li>
516
- * </ul>
517
- */
108
+
518
109
  modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ModifyMountTargetSecurityGroupsCommandOutput>;
519
110
  modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void): void;
520
111
  modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void): void;
521
- /**
522
- * <p>Use this operation to set the account preference in the current Amazon Web Services Region to use either long 17 character (63 bit) or short 8 character (32 bit) IDs for
523
- * new EFS file systems and mount targets created. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the
524
- * opt-in period as EFS transitions to long resource IDs. For more information,
525
- * see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
526
- */
112
+
527
113
  putAccountPreferences(args: PutAccountPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountPreferencesCommandOutput>;
528
114
  putAccountPreferences(args: PutAccountPreferencesCommandInput, cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void): void;
529
115
  putAccountPreferences(args: PutAccountPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void): void;
530
- /**
531
- * <p>Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system. </p>
532
- */
116
+
533
117
  putBackupPolicy(args: PutBackupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutBackupPolicyCommandOutput>;
534
118
  putBackupPolicy(args: PutBackupPolicyCommandInput, cb: (err: any, data?: PutBackupPolicyCommandOutput) => void): void;
535
119
  putBackupPolicy(args: PutBackupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBackupPolicyCommandOutput) => void): void;
536
- /**
537
- * <p>Applies an Amazon EFS <code>FileSystemPolicy</code> to an Amazon EFS file system.
538
- * A file system policy is an IAM resource-based policy and can contain multiple policy statements.
539
- * A file system always has exactly one file system policy, which can be the default policy or
540
- * an explicit policy set or updated using this API operation.
541
- * EFS file system policies have a 20,000 character limit.
542
- * When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
543
- * <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
544
- * </p>
545
- * <p>EFS file system policies have a 20,000 character limit.</p>
546
- * <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
547
- */
120
+
548
121
  putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutFileSystemPolicyCommandOutput>;
549
122
  putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void): void;
550
123
  putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void): void;
551
- /**
552
- * <p>Enables lifecycle management by creating a new <code>LifecycleConfiguration</code>
553
- * object. A <code>LifecycleConfiguration</code> object defines when files in an Amazon EFS file
554
- * system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
555
- * To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
556
- * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
557
- * <p>A <code>LifecycleConfiguration</code> applies to all files in a file system.</p>
558
- * <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
559
- * <code>LifecycleConfiguration</code> object already exists for the specified file system, a
560
- * <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
561
- * <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
562
- * array in the request body deletes any existing <code>LifecycleConfiguration</code> and
563
- * disables lifecycle management.</p>
564
- *
565
- *
566
- * <p>In the request, specify the following: </p>
567
- * <ul>
568
- * <li>
569
- * <p>The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.</p>
570
- * </li>
571
- * <li>
572
- * <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
573
- * define when files are moved to the IA storage class. The array can contain only one
574
- * <code>LifecyclePolicy</code> item.</p>
575
- * </li>
576
- * </ul>
577
- *
578
- * <p>This operation requires permissions for the
579
- * <code>elasticfilesystem:PutLifecycleConfiguration</code> operation.</p>
580
- * <p>To apply a <code>LifecycleConfiguration</code> object to an encrypted file system, you
581
- * need the same Key Management Service permissions as when you created the encrypted
582
- * file system. </p>
583
- */
124
+
584
125
  putLifecycleConfiguration(args: PutLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutLifecycleConfigurationCommandOutput>;
585
126
  putLifecycleConfiguration(args: PutLifecycleConfigurationCommandInput, cb: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void): void;
586
127
  putLifecycleConfiguration(args: PutLifecycleConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void): void;
587
- /**
588
- * <p>Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.</p>
589
- * <p>This operation requires permissions for the <code>elasticfilesystem:TagResource</code> action.</p>
590
- */
128
+
591
129
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
592
130
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
593
131
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
594
- /**
595
- * <p>Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation.</p>
596
- * <p>This operation requires permissions for the <code>elasticfilesystem:UntagResource</code> action.</p>
597
- */
132
+
598
133
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
599
134
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
600
135
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
601
- /**
602
- * <p>Updates the throughput mode or the amount of provisioned throughput of an existing file
603
- * system.</p>
604
- */
136
+
605
137
  updateFileSystem(args: UpdateFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFileSystemCommandOutput>;
606
138
  updateFileSystem(args: UpdateFileSystemCommandInput, cb: (err: any, data?: UpdateFileSystemCommandOutput) => void): void;
607
139
  updateFileSystem(args: UpdateFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFileSystemCommandOutput) => void): void;