@aws-sdk/client-efs 3.32.0 → 3.36.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 (318) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/{dist/cjs → dist-cjs}/EFS.js +2 -3
  3. package/{dist/cjs → dist-cjs}/EFSClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateAccessPointCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateFileSystemCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateMountTargetCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateTagsCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeleteAccessPointCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteFileSystemCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteFileSystemPolicyCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteMountTargetCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteTagsCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DescribeAccessPointsCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DescribeAccountPreferencesCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DescribeBackupPolicyCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DescribeFileSystemPolicyCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DescribeFileSystemsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeLifecycleConfigurationCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DescribeMountTargetSecurityGroupsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/DescribeMountTargetsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ModifyMountTargetSecurityGroupsCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/PutAccountPreferencesCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/PutBackupPolicyCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/PutFileSystemPolicyCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/PutLifecycleConfigurationCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/UpdateFileSystemCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  32. package/{dist/cjs → dist-cjs}/index.js +0 -1
  33. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  35. package/{dist/cjs → dist-cjs}/pagination/DescribeAccessPointsPaginator.js +1 -2
  36. package/{dist/cjs → dist-cjs}/pagination/DescribeFileSystemsPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/DescribeTagsPaginator.js +1 -2
  38. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  39. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +16 -9
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  45. package/{dist/es → dist-es}/EFS.js +3 -11
  46. package/{dist/es → dist-es}/EFSClient.js +2 -15
  47. package/{dist/es → dist-es}/commands/CreateAccessPointCommand.js +4 -37
  48. package/dist-es/commands/CreateFileSystemCommand.js +39 -0
  49. package/dist-es/commands/CreateMountTargetCommand.js +39 -0
  50. package/{dist/es → dist-es}/commands/CreateTagsCommand.js +4 -41
  51. package/{dist/es → dist-es}/commands/DeleteAccessPointCommand.js +4 -33
  52. package/dist-es/commands/DeleteFileSystemCommand.js +39 -0
  53. package/{dist/es → dist-es}/commands/DeleteFileSystemPolicyCommand.js +4 -33
  54. package/dist-es/commands/DeleteMountTargetCommand.js +39 -0
  55. package/dist-es/commands/DeleteTagsCommand.js +39 -0
  56. package/{dist/es → dist-es}/commands/DescribeAccessPointsCommand.js +4 -33
  57. package/{dist/es → dist-es}/commands/DescribeAccountPreferencesCommand.js +4 -31
  58. package/{dist/es → dist-es}/commands/DescribeBackupPolicyCommand.js +4 -30
  59. package/{dist/es → dist-es}/commands/DescribeFileSystemPolicyCommand.js +4 -31
  60. package/dist-es/commands/DescribeFileSystemsCommand.js +39 -0
  61. package/{dist/es → dist-es}/commands/DescribeLifecycleConfigurationCommand.js +4 -37
  62. package/{dist/es → dist-es}/commands/DescribeMountTargetSecurityGroupsCommand.js +4 -45
  63. package/{dist/es → dist-es}/commands/DescribeMountTargetsCommand.js +4 -37
  64. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +4 -40
  65. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
  66. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +39 -0
  67. package/{dist/es → dist-es}/commands/PutAccountPreferencesCommand.js +4 -33
  68. package/{dist/es → dist-es}/commands/PutBackupPolicyCommand.js +4 -30
  69. package/dist-es/commands/PutFileSystemPolicyCommand.js +39 -0
  70. package/dist-es/commands/PutLifecycleConfigurationCommand.js +39 -0
  71. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  72. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/UpdateFileSystemCommand.js +4 -31
  74. package/{dist/es → dist-es}/endpoints.js +1 -2
  75. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  76. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  77. package/{dist/es → dist-es}/models/models_0.js +0 -232
  78. package/{dist/es → dist-es}/pagination/DescribeAccessPointsPaginator.js +17 -30
  79. package/{dist/es → dist-es}/pagination/DescribeFileSystemsPaginator.js +17 -30
  80. package/{dist/es → dist-es}/pagination/DescribeTagsPaginator.js +17 -30
  81. package/dist-es/pagination/Interfaces.js +1 -0
  82. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
  83. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +750 -748
  84. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  85. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  86. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  87. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  88. package/{dist/types → dist-types}/EFS.d.ts +3 -3
  89. package/{dist/types → dist-types}/EFSClient.d.ts +9 -9
  90. package/{dist/types → dist-types}/commands/CreateAccessPointCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/CreateFileSystemCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/CreateMountTargetCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/CreateTagsCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/DeleteAccessPointCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/DeleteFileSystemCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/DeleteFileSystemPolicyCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteMountTargetCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteTagsCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DescribeAccessPointsCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DescribeAccountPreferencesCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/DescribeBackupPolicyCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/DescribeFileSystemPolicyCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/DescribeFileSystemsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DescribeMountTargetsCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/PutAccountPreferencesCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/PutBackupPolicyCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/PutFileSystemPolicyCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/PutLifecycleConfigurationCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/UpdateFileSystemCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  118. package/{index.ts → dist-types/index.d.ts} +0 -0
  119. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  120. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  121. package/{dist/types → dist-types}/pagination/DescribeAccessPointsPaginator.d.ts +1 -1
  122. package/{dist/types → dist-types}/pagination/DescribeFileSystemsPaginator.d.ts +1 -1
  123. package/{dist/types → dist-types}/pagination/DescribeTagsPaginator.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  126. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  127. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  128. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  129. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  130. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  131. package/{dist/types → dist-types}/ts3.4/EFS.d.ts +3 -3
  132. package/{dist/types → dist-types}/ts3.4/EFSClient.d.ts +9 -9
  133. package/{dist/types → dist-types}/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/ts3.4/commands/CreateMountTargetCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/ts3.4/commands/CreateTagsCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/DeleteMountTargetCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/DeleteTagsCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/DescribeAccessPointsCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/DescribeMountTargetsCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/ts3.4/commands/PutAccountPreferencesCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/PutBackupPolicyCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  161. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  162. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  163. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  164. package/{dist/types → dist-types}/ts3.4/pagination/DescribeAccessPointsPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/ts3.4/pagination/DescribeFileSystemsPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/ts3.4/pagination/DescribeTagsPaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  168. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  170. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  171. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  172. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  173. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  174. package/package.json +52 -49
  175. package/EFS.ts +0 -1385
  176. package/EFSClient.ts +0 -362
  177. package/commands/CreateAccessPointCommand.ts +0 -101
  178. package/commands/CreateFileSystemCommand.ts +0 -147
  179. package/commands/CreateMountTargetCommand.ts +0 -235
  180. package/commands/CreateTagsCommand.ts +0 -105
  181. package/commands/DeleteAccessPointCommand.ts +0 -97
  182. package/commands/DeleteFileSystemCommand.ts +0 -108
  183. package/commands/DeleteFileSystemPolicyCommand.ts +0 -97
  184. package/commands/DeleteMountTargetCommand.ts +0 -127
  185. package/commands/DeleteTagsCommand.ts +0 -106
  186. package/commands/DescribeAccessPointsCommand.ts +0 -97
  187. package/commands/DescribeAccountPreferencesCommand.ts +0 -98
  188. package/commands/DescribeBackupPolicyCommand.ts +0 -94
  189. package/commands/DescribeFileSystemPolicyCommand.ts +0 -95
  190. package/commands/DescribeFileSystemsCommand.ts +0 -116
  191. package/commands/DescribeLifecycleConfigurationCommand.ts +0 -109
  192. package/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -120
  193. package/commands/DescribeMountTargetsCommand.ts +0 -101
  194. package/commands/DescribeTagsCommand.ts +0 -104
  195. package/commands/ListTagsForResourceCommand.ts +0 -95
  196. package/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -119
  197. package/commands/PutAccountPreferencesCommand.ts +0 -97
  198. package/commands/PutBackupPolicyCommand.ts +0 -94
  199. package/commands/PutFileSystemPolicyCommand.ts +0 -103
  200. package/commands/PutLifecycleConfigurationCommand.ts +0 -127
  201. package/commands/TagResourceCommand.ts +0 -95
  202. package/commands/UntagResourceCommand.ts +0 -95
  203. package/commands/UpdateFileSystemCommand.ts +0 -95
  204. package/dist/cjs/EFS.js.map +0 -1
  205. package/dist/cjs/EFSClient.js.map +0 -1
  206. package/dist/cjs/commands/CreateAccessPointCommand.js.map +0 -1
  207. package/dist/cjs/commands/CreateFileSystemCommand.js.map +0 -1
  208. package/dist/cjs/commands/CreateMountTargetCommand.js.map +0 -1
  209. package/dist/cjs/commands/CreateTagsCommand.js.map +0 -1
  210. package/dist/cjs/commands/DeleteAccessPointCommand.js.map +0 -1
  211. package/dist/cjs/commands/DeleteFileSystemCommand.js.map +0 -1
  212. package/dist/cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  213. package/dist/cjs/commands/DeleteMountTargetCommand.js.map +0 -1
  214. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  215. package/dist/cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
  216. package/dist/cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  217. package/dist/cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
  218. package/dist/cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  219. package/dist/cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
  220. package/dist/cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  221. package/dist/cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  222. package/dist/cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
  223. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  224. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  225. package/dist/cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  226. package/dist/cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
  227. package/dist/cjs/commands/PutBackupPolicyCommand.js.map +0 -1
  228. package/dist/cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
  229. package/dist/cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  230. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  231. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  232. package/dist/cjs/commands/UpdateFileSystemCommand.js.map +0 -1
  233. package/dist/cjs/endpoints.js.map +0 -1
  234. package/dist/cjs/index.js.map +0 -1
  235. package/dist/cjs/models/index.js.map +0 -1
  236. package/dist/cjs/models/models_0.js.map +0 -1
  237. package/dist/cjs/package.json +0 -93
  238. package/dist/cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  239. package/dist/cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  240. package/dist/cjs/pagination/DescribeTagsPaginator.js.map +0 -1
  241. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  242. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  243. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  244. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  245. package/dist/cjs/runtimeConfig.js.map +0 -1
  246. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  247. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  248. package/dist/es/EFS.js.map +0 -1
  249. package/dist/es/EFSClient.js.map +0 -1
  250. package/dist/es/commands/CreateAccessPointCommand.js.map +0 -1
  251. package/dist/es/commands/CreateFileSystemCommand.js +0 -118
  252. package/dist/es/commands/CreateFileSystemCommand.js.map +0 -1
  253. package/dist/es/commands/CreateMountTargetCommand.js +0 -206
  254. package/dist/es/commands/CreateMountTargetCommand.js.map +0 -1
  255. package/dist/es/commands/CreateTagsCommand.js.map +0 -1
  256. package/dist/es/commands/DeleteAccessPointCommand.js.map +0 -1
  257. package/dist/es/commands/DeleteFileSystemCommand.js +0 -79
  258. package/dist/es/commands/DeleteFileSystemCommand.js.map +0 -1
  259. package/dist/es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  260. package/dist/es/commands/DeleteMountTargetCommand.js +0 -98
  261. package/dist/es/commands/DeleteMountTargetCommand.js.map +0 -1
  262. package/dist/es/commands/DeleteTagsCommand.js +0 -77
  263. package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
  264. package/dist/es/commands/DescribeAccessPointsCommand.js.map +0 -1
  265. package/dist/es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  266. package/dist/es/commands/DescribeBackupPolicyCommand.js.map +0 -1
  267. package/dist/es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  268. package/dist/es/commands/DescribeFileSystemsCommand.js +0 -87
  269. package/dist/es/commands/DescribeFileSystemsCommand.js.map +0 -1
  270. package/dist/es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  271. package/dist/es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  272. package/dist/es/commands/DescribeMountTargetsCommand.js.map +0 -1
  273. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  274. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  275. package/dist/es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -84
  276. package/dist/es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  277. package/dist/es/commands/PutAccountPreferencesCommand.js.map +0 -1
  278. package/dist/es/commands/PutBackupPolicyCommand.js.map +0 -1
  279. package/dist/es/commands/PutFileSystemPolicyCommand.js +0 -74
  280. package/dist/es/commands/PutFileSystemPolicyCommand.js.map +0 -1
  281. package/dist/es/commands/PutLifecycleConfigurationCommand.js +0 -95
  282. package/dist/es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  283. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  284. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  285. package/dist/es/commands/UpdateFileSystemCommand.js.map +0 -1
  286. package/dist/es/endpoints.js.map +0 -1
  287. package/dist/es/index.js +0 -36
  288. package/dist/es/index.js.map +0 -1
  289. package/dist/es/models/index.js +0 -2
  290. package/dist/es/models/index.js.map +0 -1
  291. package/dist/es/models/models_0.js.map +0 -1
  292. package/dist/es/package.json +0 -93
  293. package/dist/es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  294. package/dist/es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  295. package/dist/es/pagination/DescribeTagsPaginator.js.map +0 -1
  296. package/dist/es/pagination/Interfaces.js +0 -2
  297. package/dist/es/pagination/Interfaces.js.map +0 -1
  298. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  299. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  300. package/dist/es/runtimeConfig.browser.js.map +0 -1
  301. package/dist/es/runtimeConfig.js.map +0 -1
  302. package/dist/es/runtimeConfig.native.js.map +0 -1
  303. package/dist/es/runtimeConfig.shared.js.map +0 -1
  304. package/endpoints.ts +0 -183
  305. package/jest.config.js +0 -4
  306. package/models/models_0.ts +0 -2185
  307. package/pagination/DescribeAccessPointsPaginator.ts +0 -58
  308. package/pagination/DescribeFileSystemsPaginator.ts +0 -58
  309. package/pagination/DescribeTagsPaginator.ts +0 -58
  310. package/pagination/Interfaces.ts +0 -7
  311. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  312. package/protocols/Aws_restJson1.ts +0 -4417
  313. package/runtimeConfig.browser.ts +0 -40
  314. package/runtimeConfig.native.ts +0 -16
  315. package/runtimeConfig.shared.ts +0 -16
  316. package/runtimeConfig.ts +0 -45
  317. package/tsconfig.es.json +0 -12
  318. package/tsconfig.json +0 -32
package/EFS.ts DELETED
@@ -1,1385 +0,0 @@
1
- import { EFSClient } from "./EFSClient";
2
- import {
3
- CreateAccessPointCommand,
4
- CreateAccessPointCommandInput,
5
- CreateAccessPointCommandOutput,
6
- } from "./commands/CreateAccessPointCommand";
7
- import {
8
- CreateFileSystemCommand,
9
- CreateFileSystemCommandInput,
10
- CreateFileSystemCommandOutput,
11
- } from "./commands/CreateFileSystemCommand";
12
- import {
13
- CreateMountTargetCommand,
14
- CreateMountTargetCommandInput,
15
- CreateMountTargetCommandOutput,
16
- } from "./commands/CreateMountTargetCommand";
17
- import { CreateTagsCommand, CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
18
- import {
19
- DeleteAccessPointCommand,
20
- DeleteAccessPointCommandInput,
21
- DeleteAccessPointCommandOutput,
22
- } from "./commands/DeleteAccessPointCommand";
23
- import {
24
- DeleteFileSystemCommand,
25
- DeleteFileSystemCommandInput,
26
- DeleteFileSystemCommandOutput,
27
- } from "./commands/DeleteFileSystemCommand";
28
- import {
29
- DeleteFileSystemPolicyCommand,
30
- DeleteFileSystemPolicyCommandInput,
31
- DeleteFileSystemPolicyCommandOutput,
32
- } from "./commands/DeleteFileSystemPolicyCommand";
33
- import {
34
- DeleteMountTargetCommand,
35
- DeleteMountTargetCommandInput,
36
- DeleteMountTargetCommandOutput,
37
- } from "./commands/DeleteMountTargetCommand";
38
- import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
39
- import {
40
- DescribeAccessPointsCommand,
41
- DescribeAccessPointsCommandInput,
42
- DescribeAccessPointsCommandOutput,
43
- } from "./commands/DescribeAccessPointsCommand";
44
- import {
45
- DescribeAccountPreferencesCommand,
46
- DescribeAccountPreferencesCommandInput,
47
- DescribeAccountPreferencesCommandOutput,
48
- } from "./commands/DescribeAccountPreferencesCommand";
49
- import {
50
- DescribeBackupPolicyCommand,
51
- DescribeBackupPolicyCommandInput,
52
- DescribeBackupPolicyCommandOutput,
53
- } from "./commands/DescribeBackupPolicyCommand";
54
- import {
55
- DescribeFileSystemPolicyCommand,
56
- DescribeFileSystemPolicyCommandInput,
57
- DescribeFileSystemPolicyCommandOutput,
58
- } from "./commands/DescribeFileSystemPolicyCommand";
59
- import {
60
- DescribeFileSystemsCommand,
61
- DescribeFileSystemsCommandInput,
62
- DescribeFileSystemsCommandOutput,
63
- } from "./commands/DescribeFileSystemsCommand";
64
- import {
65
- DescribeLifecycleConfigurationCommand,
66
- DescribeLifecycleConfigurationCommandInput,
67
- DescribeLifecycleConfigurationCommandOutput,
68
- } from "./commands/DescribeLifecycleConfigurationCommand";
69
- import {
70
- DescribeMountTargetSecurityGroupsCommand,
71
- DescribeMountTargetSecurityGroupsCommandInput,
72
- DescribeMountTargetSecurityGroupsCommandOutput,
73
- } from "./commands/DescribeMountTargetSecurityGroupsCommand";
74
- import {
75
- DescribeMountTargetsCommand,
76
- DescribeMountTargetsCommandInput,
77
- DescribeMountTargetsCommandOutput,
78
- } from "./commands/DescribeMountTargetsCommand";
79
- import {
80
- DescribeTagsCommand,
81
- DescribeTagsCommandInput,
82
- DescribeTagsCommandOutput,
83
- } from "./commands/DescribeTagsCommand";
84
- import {
85
- ListTagsForResourceCommand,
86
- ListTagsForResourceCommandInput,
87
- ListTagsForResourceCommandOutput,
88
- } from "./commands/ListTagsForResourceCommand";
89
- import {
90
- ModifyMountTargetSecurityGroupsCommand,
91
- ModifyMountTargetSecurityGroupsCommandInput,
92
- ModifyMountTargetSecurityGroupsCommandOutput,
93
- } from "./commands/ModifyMountTargetSecurityGroupsCommand";
94
- import {
95
- PutAccountPreferencesCommand,
96
- PutAccountPreferencesCommandInput,
97
- PutAccountPreferencesCommandOutput,
98
- } from "./commands/PutAccountPreferencesCommand";
99
- import {
100
- PutBackupPolicyCommand,
101
- PutBackupPolicyCommandInput,
102
- PutBackupPolicyCommandOutput,
103
- } from "./commands/PutBackupPolicyCommand";
104
- import {
105
- PutFileSystemPolicyCommand,
106
- PutFileSystemPolicyCommandInput,
107
- PutFileSystemPolicyCommandOutput,
108
- } from "./commands/PutFileSystemPolicyCommand";
109
- import {
110
- PutLifecycleConfigurationCommand,
111
- PutLifecycleConfigurationCommandInput,
112
- PutLifecycleConfigurationCommandOutput,
113
- } from "./commands/PutLifecycleConfigurationCommand";
114
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
115
- import {
116
- UntagResourceCommand,
117
- UntagResourceCommandInput,
118
- UntagResourceCommandOutput,
119
- } from "./commands/UntagResourceCommand";
120
- import {
121
- UpdateFileSystemCommand,
122
- UpdateFileSystemCommandInput,
123
- UpdateFileSystemCommandOutput,
124
- } from "./commands/UpdateFileSystemCommand";
125
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
126
-
127
- /**
128
- * <fullname>Amazon Elastic File System</fullname>
129
- * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
130
- * with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
131
- * growing and shrinking automatically as you add and remove files, so your applications have the
132
- * 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>
133
- */
134
- export class EFS extends EFSClient {
135
- /**
136
- * <p>Creates an EFS access point. An access point is an application-specific view into an EFS
137
- * file system that applies an operating system user and group, and a file system path, to any
138
- * file system request made through the access point. The operating system user and group
139
- * override any identity information provided by the NFS client. The file system path is exposed
140
- * as the access point's root directory. Applications using the access point can only access data
141
- * 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
142
- * points</a>.</p>
143
- * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
144
- */
145
- public createAccessPoint(
146
- args: CreateAccessPointCommandInput,
147
- options?: __HttpHandlerOptions
148
- ): Promise<CreateAccessPointCommandOutput>;
149
- public createAccessPoint(
150
- args: CreateAccessPointCommandInput,
151
- cb: (err: any, data?: CreateAccessPointCommandOutput) => void
152
- ): void;
153
- public createAccessPoint(
154
- args: CreateAccessPointCommandInput,
155
- options: __HttpHandlerOptions,
156
- cb: (err: any, data?: CreateAccessPointCommandOutput) => void
157
- ): void;
158
- public createAccessPoint(
159
- args: CreateAccessPointCommandInput,
160
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAccessPointCommandOutput) => void),
161
- cb?: (err: any, data?: CreateAccessPointCommandOutput) => void
162
- ): Promise<CreateAccessPointCommandOutput> | void {
163
- const command = new CreateAccessPointCommand(args);
164
- if (typeof optionsOrCb === "function") {
165
- this.send(command, optionsOrCb);
166
- } else if (typeof cb === "function") {
167
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
168
- this.send(command, optionsOrCb || {}, cb);
169
- } else {
170
- return this.send(command, optionsOrCb);
171
- }
172
- }
173
-
174
- /**
175
- * <p>Creates a new, empty file system. The operation requires a creation token in the
176
- * request that Amazon EFS uses to ensure idempotent creation (calling the operation with same
177
- * creation token has no effect). If a file system does not currently exist that is owned by the
178
- * caller's Amazon Web Services account with the specified creation token, this operation does the
179
- * following:</p>
180
- * <ul>
181
- * <li>
182
- * <p>Creates a new, empty file system. The file system will have an Amazon EFS assigned
183
- * ID, and an initial lifecycle state <code>creating</code>.</p>
184
- * </li>
185
- * <li>
186
- * <p>Returns with the description of the created file system.</p>
187
- * </li>
188
- * </ul>
189
- * <p>Otherwise, this operation returns a <code>FileSystemAlreadyExists</code> error with the
190
- * ID of the existing file system.</p>
191
- * <note>
192
- * <p>For basic use cases, you can use a randomly generated UUID for the creation
193
- * token.</p>
194
- * </note>
195
- * <p> The idempotent operation allows you to retry a <code>CreateFileSystem</code> call without
196
- * risk of creating an extra file system. This can happen when an initial call fails in a way
197
- * that leaves it uncertain whether or not a file system was actually created. An example might
198
- * be that a transport level timeout occurred or your connection was reset. As long as you use
199
- * the same creation token, if the initial call had succeeded in creating a file system, the
200
- * client can learn of its existence from the <code>FileSystemAlreadyExists</code> error.</p>
201
- * <p>For more information, see
202
- * <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>
203
- * in the <i>Amazon EFS User Guide</i>.</p>
204
- *
205
- * <note>
206
- * <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
207
- * state is still <code>creating</code>. You can check the file system creation status by
208
- * calling the <a>DescribeFileSystems</a> operation, which among other things returns the file
209
- * system state.</p>
210
- * </note>
211
- *
212
- * <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you
213
- * choose for your file system. We recommend <code>generalPurpose</code> performance mode for
214
- * most file systems. File systems using the <code>maxIO</code> performance mode can scale to
215
- * higher levels of aggregate throughput and operations per second with a tradeoff of slightly
216
- * higher latencies for most file operations. The performance mode can't be changed after
217
- * 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
218
- * modes</a>.</p>
219
- *
220
- * <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p>
221
- *
222
- * <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
223
- * <code>available</code>, at which point you can create one or more mount targets for the file
224
- * system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
225
- * 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>
226
- *
227
- * <p> This operation requires permissions for the
228
- * <code>elasticfilesystem:CreateFileSystem</code> action. </p>
229
- */
230
- public createFileSystem(
231
- args: CreateFileSystemCommandInput,
232
- options?: __HttpHandlerOptions
233
- ): Promise<CreateFileSystemCommandOutput>;
234
- public createFileSystem(
235
- args: CreateFileSystemCommandInput,
236
- cb: (err: any, data?: CreateFileSystemCommandOutput) => void
237
- ): void;
238
- public createFileSystem(
239
- args: CreateFileSystemCommandInput,
240
- options: __HttpHandlerOptions,
241
- cb: (err: any, data?: CreateFileSystemCommandOutput) => void
242
- ): void;
243
- public createFileSystem(
244
- args: CreateFileSystemCommandInput,
245
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFileSystemCommandOutput) => void),
246
- cb?: (err: any, data?: CreateFileSystemCommandOutput) => void
247
- ): Promise<CreateFileSystemCommandOutput> | void {
248
- const command = new CreateFileSystemCommand(args);
249
- if (typeof optionsOrCb === "function") {
250
- this.send(command, optionsOrCb);
251
- } else if (typeof cb === "function") {
252
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
253
- this.send(command, optionsOrCb || {}, cb);
254
- } else {
255
- return this.send(command, optionsOrCb);
256
- }
257
- }
258
-
259
- /**
260
- * <p>Creates a mount target for a file system. You can then mount the file system on EC2
261
- * instances by using the mount target.</p>
262
- * <p>You can create one mount target in each Availability Zone in your VPC. All EC2
263
- * instances in a VPC within a given Availability Zone share a single mount target for a given
264
- * file system. If you have multiple subnets in an Availability Zone, you create a mount target
265
- * in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target
266
- * in order to access their file system.</p>
267
- * <p>You can create only one mount target for an EFS file system using One Zone storage
268
- * classes. You must create that mount target in the same Availability Zone in which the file
269
- * system is located. Use the <code>AvailabilityZoneName</code> and
270
- * <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a>
271
- * response object to get this information. Use the <code>subnetId</code> associated with the
272
- * file system's Availability Zone when creating the mount target.</p>
273
- * <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>
274
- * <p>To create a mount target for a file system, the file system's lifecycle state must be
275
- * <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
276
- * <p>In the request, provide the following:</p>
277
- * <ul>
278
- * <li>
279
- * <p>The file system ID for which you are creating the mount
280
- * target.</p>
281
- * </li>
282
- * <li>
283
- * <p>A subnet ID, which determines the following:</p>
284
- * <ul>
285
- * <li>
286
- * <p>The VPC in which Amazon EFS creates the mount target</p>
287
- * </li>
288
- * <li>
289
- * <p>The Availability Zone in which Amazon EFS creates the mount target</p>
290
- * </li>
291
- * <li>
292
- * <p>The IP address range from which Amazon EFS selects the IP address of the mount target
293
- * (if you don't specify an IP address in the request)</p>
294
- * </li>
295
- * </ul>
296
- * </li>
297
- * </ul>
298
- *
299
- * <p>After creating the mount target, Amazon EFS returns a response that includes, a
300
- * <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
301
- * mounting the file system in an EC2 instance. You can also use the mount target's DNS name
302
- * when mounting the file system. The EC2 instance on which you mount the file system by using
303
- * the mount target can resolve the mount target's DNS name to its IP address. For more
304
- * information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
305
- * Implementation Overview</a>. </p>
306
- * <p>Note that you can create mount targets for a file system in only one VPC, and there can
307
- * be only one mount target per Availability Zone. That is, if the file system already has one or
308
- * more mount targets created for it, the subnet specified in the request to add another mount
309
- * target must meet the following requirements:</p>
310
- * <ul>
311
- * <li>
312
- * <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
313
- * </li>
314
- * <li>
315
- * <p>Must not be in the same Availability Zone as any of the subnets of the existing
316
- * mount targets</p>
317
- * </li>
318
- * </ul>
319
- *
320
- * <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
321
- * <ul>
322
- * <li>
323
- * <p>Creates a new mount target in the specified subnet.</p>
324
- * </li>
325
- * <li>
326
- * <p>Also creates a new network interface in the subnet as follows:</p>
327
- * <ul>
328
- * <li>
329
- * <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that IP
330
- * address to the network interface. Otherwise, Amazon EFS assigns a free address in the
331
- * subnet (in the same way that the Amazon EC2 <code>CreateNetworkInterface</code> call
332
- * does when a request does not specify a primary private IP address).</p>
333
- * </li>
334
- * <li>
335
- * <p>If the request provides <code>SecurityGroups</code>, this network interface is
336
- * associated with those security groups. Otherwise, it belongs to the default security
337
- * group for the subnet's VPC.</p>
338
- * </li>
339
- * <li>
340
- * <p>Assigns the description <code>Mount target <i>fsmt-id</i> for
341
- * file system <i>fs-id</i>
342
- * </code> where <code>
343
- * <i>fsmt-id</i>
344
- * </code> is the mount target ID, and <code>
345
- * <i>fs-id</i>
346
- * </code> is the <code>FileSystemId</code>.</p>
347
- * </li>
348
- * <li>
349
- * <p>Sets the <code>requesterManaged</code> property of the network interface to
350
- * <code>true</code>, and the <code>requesterId</code> value to
351
- * <code>EFS</code>.</p>
352
- * </li>
353
- * </ul>
354
- * <p>Each Amazon EFS mount target has one corresponding requester-managed EC2 network
355
- * interface. After the network interface is created, Amazon EFS sets the
356
- * <code>NetworkInterfaceId</code> field in the mount target's description to the
357
- * network interface ID, and the <code>IpAddress</code> field to its address. If network
358
- * interface creation fails, the entire <code>CreateMountTarget</code> operation
359
- * fails.</p>
360
- * </li>
361
- * </ul>
362
- * <note>
363
- * <p>The <code>CreateMountTarget</code> call returns only after creating the network
364
- * interface, but while the mount target state is still <code>creating</code>, you can check
365
- * the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
366
- * target state.</p>
367
- * </note>
368
- * <p>We recommend that you create a mount target in each of the Availability Zones. There
369
- * are cost considerations for using a file system in an Availability Zone through a mount target
370
- * 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
371
- * instance's Availability Zone, you eliminate a partial failure scenario. If the
372
- * Availability Zone in which your mount target is created goes down, then you can't access
373
- * your file system through that mount target. </p>
374
- * <p>This operation requires permissions for the following action on the file
375
- * system:</p>
376
- * <ul>
377
- * <li>
378
- * <p>
379
- * <code>elasticfilesystem:CreateMountTarget</code>
380
- * </p>
381
- * </li>
382
- * </ul>
383
- * <p>This operation also requires permissions for the following Amazon EC2
384
- * actions:</p>
385
- * <ul>
386
- * <li>
387
- * <p>
388
- * <code>ec2:DescribeSubnets</code>
389
- * </p>
390
- * </li>
391
- * <li>
392
- * <p>
393
- * <code>ec2:DescribeNetworkInterfaces</code>
394
- * </p>
395
- * </li>
396
- * <li>
397
- * <p>
398
- * <code>ec2:CreateNetworkInterface</code>
399
- * </p>
400
- * </li>
401
- * </ul>
402
- */
403
- public createMountTarget(
404
- args: CreateMountTargetCommandInput,
405
- options?: __HttpHandlerOptions
406
- ): Promise<CreateMountTargetCommandOutput>;
407
- public createMountTarget(
408
- args: CreateMountTargetCommandInput,
409
- cb: (err: any, data?: CreateMountTargetCommandOutput) => void
410
- ): void;
411
- public createMountTarget(
412
- args: CreateMountTargetCommandInput,
413
- options: __HttpHandlerOptions,
414
- cb: (err: any, data?: CreateMountTargetCommandOutput) => void
415
- ): void;
416
- public createMountTarget(
417
- args: CreateMountTargetCommandInput,
418
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMountTargetCommandOutput) => void),
419
- cb?: (err: any, data?: CreateMountTargetCommandOutput) => void
420
- ): Promise<CreateMountTargetCommandOutput> | void {
421
- const command = new CreateMountTargetCommand(args);
422
- if (typeof optionsOrCb === "function") {
423
- this.send(command, optionsOrCb);
424
- } else if (typeof cb === "function") {
425
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
- this.send(command, optionsOrCb || {}, cb);
427
- } else {
428
- return this.send(command, optionsOrCb);
429
- }
430
- }
431
-
432
- /**
433
- * @deprecated
434
- *
435
- * <note>
436
- * <p>DEPRECATED - CreateTags is deprecated and not maintained. Please use the
437
- * API action to create tags for EFS resources.</p>
438
- * </note>
439
- * <p>Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If
440
- * a tag key specified in the request already exists on the file system, this operation
441
- * overwrites its value with the value provided in the request. If you add the <code>Name</code>
442
- * tag to your file system, Amazon EFS returns it in the response to the <a>DescribeFileSystems</a> operation. </p>
443
- * <p>This operation requires permission for the <code>elasticfilesystem:CreateTags</code>
444
- * action.</p>
445
- */
446
- public createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
447
- public createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
448
- public createTags(
449
- args: CreateTagsCommandInput,
450
- options: __HttpHandlerOptions,
451
- cb: (err: any, data?: CreateTagsCommandOutput) => void
452
- ): void;
453
- public createTags(
454
- args: CreateTagsCommandInput,
455
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTagsCommandOutput) => void),
456
- cb?: (err: any, data?: CreateTagsCommandOutput) => void
457
- ): Promise<CreateTagsCommandOutput> | void {
458
- const command = new CreateTagsCommand(args);
459
- if (typeof optionsOrCb === "function") {
460
- this.send(command, optionsOrCb);
461
- } else if (typeof cb === "function") {
462
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
463
- this.send(command, optionsOrCb || {}, cb);
464
- } else {
465
- return this.send(command, optionsOrCb);
466
- }
467
- }
468
-
469
- /**
470
- * <p>Deletes the specified access point. After deletion is complete, new clients can no
471
- * longer connect to the access points. Clients connected to the access point at the time of
472
- * deletion will continue to function until they terminate their connection.</p>
473
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteAccessPoint</code> action.</p>
474
- */
475
- public deleteAccessPoint(
476
- args: DeleteAccessPointCommandInput,
477
- options?: __HttpHandlerOptions
478
- ): Promise<DeleteAccessPointCommandOutput>;
479
- public deleteAccessPoint(
480
- args: DeleteAccessPointCommandInput,
481
- cb: (err: any, data?: DeleteAccessPointCommandOutput) => void
482
- ): void;
483
- public deleteAccessPoint(
484
- args: DeleteAccessPointCommandInput,
485
- options: __HttpHandlerOptions,
486
- cb: (err: any, data?: DeleteAccessPointCommandOutput) => void
487
- ): void;
488
- public deleteAccessPoint(
489
- args: DeleteAccessPointCommandInput,
490
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAccessPointCommandOutput) => void),
491
- cb?: (err: any, data?: DeleteAccessPointCommandOutput) => void
492
- ): Promise<DeleteAccessPointCommandOutput> | void {
493
- const command = new DeleteAccessPointCommand(args);
494
- if (typeof optionsOrCb === "function") {
495
- this.send(command, optionsOrCb);
496
- } else if (typeof cb === "function") {
497
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
498
- this.send(command, optionsOrCb || {}, cb);
499
- } else {
500
- return this.send(command, optionsOrCb);
501
- }
502
- }
503
-
504
- /**
505
- * <p>Deletes a file system, permanently severing access to its contents. Upon return, the
506
- * file system no longer exists and you can't access any contents of the deleted file
507
- * system.</p>
508
- * <p> You can't delete a file system that is in use. That is, if the file system has
509
- * any mount targets, you must first delete them. For more information, see <a>DescribeMountTargets</a> and <a>DeleteMountTarget</a>. </p>
510
- *
511
- * <note>
512
- * <p>The <code>DeleteFileSystem</code> call returns while the file system state is still
513
- * <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
514
- * 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>
515
- * error.</p>
516
- * </note>
517
- *
518
- * <p>This operation requires permissions for the
519
- * <code>elasticfilesystem:DeleteFileSystem</code> action.</p>
520
- */
521
- public deleteFileSystem(
522
- args: DeleteFileSystemCommandInput,
523
- options?: __HttpHandlerOptions
524
- ): Promise<DeleteFileSystemCommandOutput>;
525
- public deleteFileSystem(
526
- args: DeleteFileSystemCommandInput,
527
- cb: (err: any, data?: DeleteFileSystemCommandOutput) => void
528
- ): void;
529
- public deleteFileSystem(
530
- args: DeleteFileSystemCommandInput,
531
- options: __HttpHandlerOptions,
532
- cb: (err: any, data?: DeleteFileSystemCommandOutput) => void
533
- ): void;
534
- public deleteFileSystem(
535
- args: DeleteFileSystemCommandInput,
536
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFileSystemCommandOutput) => void),
537
- cb?: (err: any, data?: DeleteFileSystemCommandOutput) => void
538
- ): Promise<DeleteFileSystemCommandOutput> | void {
539
- const command = new DeleteFileSystemCommand(args);
540
- if (typeof optionsOrCb === "function") {
541
- this.send(command, optionsOrCb);
542
- } else if (typeof cb === "function") {
543
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
544
- this.send(command, optionsOrCb || {}, cb);
545
- } else {
546
- return this.send(command, optionsOrCb);
547
- }
548
- }
549
-
550
- /**
551
- * <p>Deletes the <code>FileSystemPolicy</code> for the specified file system.
552
- * The default <code>FileSystemPolicy</code> goes into effect once the existing policy is deleted.
553
- * 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>
554
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteFileSystemPolicy</code> action.</p>
555
- */
556
- public deleteFileSystemPolicy(
557
- args: DeleteFileSystemPolicyCommandInput,
558
- options?: __HttpHandlerOptions
559
- ): Promise<DeleteFileSystemPolicyCommandOutput>;
560
- public deleteFileSystemPolicy(
561
- args: DeleteFileSystemPolicyCommandInput,
562
- cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void
563
- ): void;
564
- public deleteFileSystemPolicy(
565
- args: DeleteFileSystemPolicyCommandInput,
566
- options: __HttpHandlerOptions,
567
- cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void
568
- ): void;
569
- public deleteFileSystemPolicy(
570
- args: DeleteFileSystemPolicyCommandInput,
571
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFileSystemPolicyCommandOutput) => void),
572
- cb?: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void
573
- ): Promise<DeleteFileSystemPolicyCommandOutput> | void {
574
- const command = new DeleteFileSystemPolicyCommand(args);
575
- if (typeof optionsOrCb === "function") {
576
- this.send(command, optionsOrCb);
577
- } else if (typeof cb === "function") {
578
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
- this.send(command, optionsOrCb || {}, cb);
580
- } else {
581
- return this.send(command, optionsOrCb);
582
- }
583
- }
584
-
585
- /**
586
- * <p>Deletes the specified mount target.</p>
587
- *
588
- * <p>This operation forcibly breaks any mounts of the file system by using the mount target
589
- * that is being deleted, which might disrupt instances or applications using those mounts. To
590
- * avoid applications getting cut off abruptly, you might consider unmounting any mounts of the
591
- * mount target, if feasible. The operation also deletes the associated network interface.
592
- * Uncommitted writes might be lost, but breaking a mount target using this operation does not
593
- * corrupt the file system itself. The file system you created remains. You can mount an EC2
594
- * instance in your VPC by using another mount target.</p>
595
- * <p>This operation requires permissions for the following action on the file
596
- * system:</p>
597
- * <ul>
598
- * <li>
599
- * <p>
600
- * <code>elasticfilesystem:DeleteMountTarget</code>
601
- * </p>
602
- * </li>
603
- * </ul>
604
- *
605
- * <note>
606
- * <p>The <code>DeleteMountTarget</code> call returns while the mount target state is still
607
- * <code>deleting</code>. You can check the mount target deletion by calling the <a>DescribeMountTargets</a> operation, which returns a list of mount target
608
- * descriptions for the given file system. </p>
609
- * </note>
610
- *
611
- * <p>The operation also requires permissions for the following Amazon EC2 action on the
612
- * mount target's network interface:</p>
613
- * <ul>
614
- * <li>
615
- * <p>
616
- * <code>ec2:DeleteNetworkInterface</code>
617
- * </p>
618
- * </li>
619
- * </ul>
620
- */
621
- public deleteMountTarget(
622
- args: DeleteMountTargetCommandInput,
623
- options?: __HttpHandlerOptions
624
- ): Promise<DeleteMountTargetCommandOutput>;
625
- public deleteMountTarget(
626
- args: DeleteMountTargetCommandInput,
627
- cb: (err: any, data?: DeleteMountTargetCommandOutput) => void
628
- ): void;
629
- public deleteMountTarget(
630
- args: DeleteMountTargetCommandInput,
631
- options: __HttpHandlerOptions,
632
- cb: (err: any, data?: DeleteMountTargetCommandOutput) => void
633
- ): void;
634
- public deleteMountTarget(
635
- args: DeleteMountTargetCommandInput,
636
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMountTargetCommandOutput) => void),
637
- cb?: (err: any, data?: DeleteMountTargetCommandOutput) => void
638
- ): Promise<DeleteMountTargetCommandOutput> | void {
639
- const command = new DeleteMountTargetCommand(args);
640
- if (typeof optionsOrCb === "function") {
641
- this.send(command, optionsOrCb);
642
- } else if (typeof cb === "function") {
643
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
644
- this.send(command, optionsOrCb || {}, cb);
645
- } else {
646
- return this.send(command, optionsOrCb);
647
- }
648
- }
649
-
650
- /**
651
- * @deprecated
652
- *
653
- * <note>
654
- * <p>DEPRECATED - DeleteTags is deprecated and not maintained. Please use the
655
- * API action to remove tags from EFS resources.</p>
656
- * </note>
657
- * <p>Deletes the specified tags from a file system. If the <code>DeleteTags</code> request
658
- * includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an
659
- * 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
660
- * <i>Billing and Cost Management User Guide</i>.</p>
661
- *
662
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteTags</code>
663
- * action.</p>
664
- */
665
- public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
666
- public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
667
- public deleteTags(
668
- args: DeleteTagsCommandInput,
669
- options: __HttpHandlerOptions,
670
- cb: (err: any, data?: DeleteTagsCommandOutput) => void
671
- ): void;
672
- public deleteTags(
673
- args: DeleteTagsCommandInput,
674
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
675
- cb?: (err: any, data?: DeleteTagsCommandOutput) => void
676
- ): Promise<DeleteTagsCommandOutput> | void {
677
- const command = new DeleteTagsCommand(args);
678
- if (typeof optionsOrCb === "function") {
679
- this.send(command, optionsOrCb);
680
- } else if (typeof cb === "function") {
681
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
682
- this.send(command, optionsOrCb || {}, cb);
683
- } else {
684
- return this.send(command, optionsOrCb);
685
- }
686
- }
687
-
688
- /**
689
- * <p>Returns the description of a specific Amazon EFS access point if the <code>AccessPointId</code> is provided.
690
- * If you provide an EFS <code>FileSystemId</code>, it returns descriptions of all access points for that file system.
691
- * You can provide either an <code>AccessPointId</code> or a <code>FileSystemId</code> in the request, but not both. </p>
692
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
693
- */
694
- public describeAccessPoints(
695
- args: DescribeAccessPointsCommandInput,
696
- options?: __HttpHandlerOptions
697
- ): Promise<DescribeAccessPointsCommandOutput>;
698
- public describeAccessPoints(
699
- args: DescribeAccessPointsCommandInput,
700
- cb: (err: any, data?: DescribeAccessPointsCommandOutput) => void
701
- ): void;
702
- public describeAccessPoints(
703
- args: DescribeAccessPointsCommandInput,
704
- options: __HttpHandlerOptions,
705
- cb: (err: any, data?: DescribeAccessPointsCommandOutput) => void
706
- ): void;
707
- public describeAccessPoints(
708
- args: DescribeAccessPointsCommandInput,
709
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccessPointsCommandOutput) => void),
710
- cb?: (err: any, data?: DescribeAccessPointsCommandOutput) => void
711
- ): Promise<DescribeAccessPointsCommandOutput> | void {
712
- const command = new DescribeAccessPointsCommand(args);
713
- if (typeof optionsOrCb === "function") {
714
- this.send(command, optionsOrCb);
715
- } else if (typeof cb === "function") {
716
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
717
- this.send(command, optionsOrCb || {}, cb);
718
- } else {
719
- return this.send(command, optionsOrCb);
720
- }
721
- }
722
-
723
- /**
724
- * <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.
725
- * For more information, see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
726
- */
727
- public describeAccountPreferences(
728
- args: DescribeAccountPreferencesCommandInput,
729
- options?: __HttpHandlerOptions
730
- ): Promise<DescribeAccountPreferencesCommandOutput>;
731
- public describeAccountPreferences(
732
- args: DescribeAccountPreferencesCommandInput,
733
- cb: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void
734
- ): void;
735
- public describeAccountPreferences(
736
- args: DescribeAccountPreferencesCommandInput,
737
- options: __HttpHandlerOptions,
738
- cb: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void
739
- ): void;
740
- public describeAccountPreferences(
741
- args: DescribeAccountPreferencesCommandInput,
742
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountPreferencesCommandOutput) => void),
743
- cb?: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void
744
- ): Promise<DescribeAccountPreferencesCommandOutput> | void {
745
- const command = new DescribeAccountPreferencesCommand(args);
746
- if (typeof optionsOrCb === "function") {
747
- this.send(command, optionsOrCb);
748
- } else if (typeof cb === "function") {
749
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
750
- this.send(command, optionsOrCb || {}, cb);
751
- } else {
752
- return this.send(command, optionsOrCb);
753
- }
754
- }
755
-
756
- /**
757
- * <p>Returns the backup policy for the specified EFS file system.</p>
758
- */
759
- public describeBackupPolicy(
760
- args: DescribeBackupPolicyCommandInput,
761
- options?: __HttpHandlerOptions
762
- ): Promise<DescribeBackupPolicyCommandOutput>;
763
- public describeBackupPolicy(
764
- args: DescribeBackupPolicyCommandInput,
765
- cb: (err: any, data?: DescribeBackupPolicyCommandOutput) => void
766
- ): void;
767
- public describeBackupPolicy(
768
- args: DescribeBackupPolicyCommandInput,
769
- options: __HttpHandlerOptions,
770
- cb: (err: any, data?: DescribeBackupPolicyCommandOutput) => void
771
- ): void;
772
- public describeBackupPolicy(
773
- args: DescribeBackupPolicyCommandInput,
774
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBackupPolicyCommandOutput) => void),
775
- cb?: (err: any, data?: DescribeBackupPolicyCommandOutput) => void
776
- ): Promise<DescribeBackupPolicyCommandOutput> | void {
777
- const command = new DescribeBackupPolicyCommand(args);
778
- if (typeof optionsOrCb === "function") {
779
- this.send(command, optionsOrCb);
780
- } else if (typeof cb === "function") {
781
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
782
- this.send(command, optionsOrCb || {}, cb);
783
- } else {
784
- return this.send(command, optionsOrCb);
785
- }
786
- }
787
-
788
- /**
789
- * <p>Returns the <code>FileSystemPolicy</code> for the specified EFS file system.</p>
790
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeFileSystemPolicy</code> action.</p>
791
- */
792
- public describeFileSystemPolicy(
793
- args: DescribeFileSystemPolicyCommandInput,
794
- options?: __HttpHandlerOptions
795
- ): Promise<DescribeFileSystemPolicyCommandOutput>;
796
- public describeFileSystemPolicy(
797
- args: DescribeFileSystemPolicyCommandInput,
798
- cb: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void
799
- ): void;
800
- public describeFileSystemPolicy(
801
- args: DescribeFileSystemPolicyCommandInput,
802
- options: __HttpHandlerOptions,
803
- cb: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void
804
- ): void;
805
- public describeFileSystemPolicy(
806
- args: DescribeFileSystemPolicyCommandInput,
807
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemPolicyCommandOutput) => void),
808
- cb?: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void
809
- ): Promise<DescribeFileSystemPolicyCommandOutput> | void {
810
- const command = new DescribeFileSystemPolicyCommand(args);
811
- if (typeof optionsOrCb === "function") {
812
- this.send(command, optionsOrCb);
813
- } else if (typeof cb === "function") {
814
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
815
- this.send(command, optionsOrCb || {}, cb);
816
- } else {
817
- return this.send(command, optionsOrCb);
818
- }
819
- }
820
-
821
- /**
822
- * <p>Returns the description of a specific Amazon EFS file system if either the file system
823
- * <code>CreationToken</code> or the <code>FileSystemId</code> is provided. Otherwise, it
824
- * returns descriptions of all file systems owned by the caller's Amazon Web Services account in the
825
- * Amazon Web Services Region of the endpoint that you're calling.</p>
826
- *
827
- * <p>When retrieving all file system descriptions, you can optionally specify the
828
- * <code>MaxItems</code> parameter to limit the number of descriptions in a response.
829
- * Currently, this number is automatically set to 10. If more file system descriptions remain,
830
- * Amazon EFS returns a <code>NextMarker</code>, an opaque token, in the response. In this case,
831
- * you should send a subsequent request with the <code>Marker</code> request parameter set to the
832
- * value of <code>NextMarker</code>. </p>
833
- *
834
- * <p>To retrieve a list of your file system descriptions, this operation is used in an
835
- * iterative process, where <code>DescribeFileSystems</code> is called first without the
836
- * <code>Marker</code> and then the operation continues to call it with the <code>Marker</code>
837
- * parameter set to the value of the <code>NextMarker</code> from the previous response until the
838
- * response has no <code>NextMarker</code>. </p>
839
- *
840
- * <p> The order of file systems returned in the response of one
841
- * <code>DescribeFileSystems</code> call and the order of file systems returned across the
842
- * responses of a multi-call iteration is unspecified. </p>
843
- * <p> This operation requires permissions for the
844
- * <code>elasticfilesystem:DescribeFileSystems</code> action. </p>
845
- */
846
- public describeFileSystems(
847
- args: DescribeFileSystemsCommandInput,
848
- options?: __HttpHandlerOptions
849
- ): Promise<DescribeFileSystemsCommandOutput>;
850
- public describeFileSystems(
851
- args: DescribeFileSystemsCommandInput,
852
- cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void
853
- ): void;
854
- public describeFileSystems(
855
- args: DescribeFileSystemsCommandInput,
856
- options: __HttpHandlerOptions,
857
- cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void
858
- ): void;
859
- public describeFileSystems(
860
- args: DescribeFileSystemsCommandInput,
861
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemsCommandOutput) => void),
862
- cb?: (err: any, data?: DescribeFileSystemsCommandOutput) => void
863
- ): Promise<DescribeFileSystemsCommandOutput> | void {
864
- const command = new DescribeFileSystemsCommand(args);
865
- if (typeof optionsOrCb === "function") {
866
- this.send(command, optionsOrCb);
867
- } else if (typeof cb === "function") {
868
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
869
- this.send(command, optionsOrCb || {}, cb);
870
- } else {
871
- return this.send(command, optionsOrCb);
872
- }
873
- }
874
-
875
- /**
876
- * <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon
877
- * EFS file system. EFS lifecycle management uses the <code>LifecycleConfiguration</code> object
878
- * to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system
879
- * without a <code>LifecycleConfiguration</code> object, the call returns an empty array in the
880
- * response.</p>
881
- * <p>When EFS Intelligent Tiering is enabled, <code>TransitionToPrimaryStorageClass</code> has a value of <code>AFTER_1_ACCESS</code>.</p>
882
- * <p>This operation requires permissions for the
883
- * <code>elasticfilesystem:DescribeLifecycleConfiguration</code> operation.</p>
884
- */
885
- public describeLifecycleConfiguration(
886
- args: DescribeLifecycleConfigurationCommandInput,
887
- options?: __HttpHandlerOptions
888
- ): Promise<DescribeLifecycleConfigurationCommandOutput>;
889
- public describeLifecycleConfiguration(
890
- args: DescribeLifecycleConfigurationCommandInput,
891
- cb: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void
892
- ): void;
893
- public describeLifecycleConfiguration(
894
- args: DescribeLifecycleConfigurationCommandInput,
895
- options: __HttpHandlerOptions,
896
- cb: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void
897
- ): void;
898
- public describeLifecycleConfiguration(
899
- args: DescribeLifecycleConfigurationCommandInput,
900
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void),
901
- cb?: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void
902
- ): Promise<DescribeLifecycleConfigurationCommandOutput> | void {
903
- const command = new DescribeLifecycleConfigurationCommand(args);
904
- if (typeof optionsOrCb === "function") {
905
- this.send(command, optionsOrCb);
906
- } else if (typeof cb === "function") {
907
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
908
- this.send(command, optionsOrCb || {}, cb);
909
- } else {
910
- return this.send(command, optionsOrCb);
911
- }
912
- }
913
-
914
- /**
915
- * <p>Returns the descriptions of all the current mount targets, or a specific mount target,
916
- * for a file system. When requesting all of the current mount targets, the order of mount
917
- * targets returned in the response is unspecified.</p>
918
- *
919
- * <p>This operation requires permissions for the
920
- * <code>elasticfilesystem:DescribeMountTargets</code> action, on either the file system ID
921
- * that you specify in <code>FileSystemId</code>, or on the file system of the mount target that
922
- * you specify in <code>MountTargetId</code>.</p>
923
- */
924
- public describeMountTargets(
925
- args: DescribeMountTargetsCommandInput,
926
- options?: __HttpHandlerOptions
927
- ): Promise<DescribeMountTargetsCommandOutput>;
928
- public describeMountTargets(
929
- args: DescribeMountTargetsCommandInput,
930
- cb: (err: any, data?: DescribeMountTargetsCommandOutput) => void
931
- ): void;
932
- public describeMountTargets(
933
- args: DescribeMountTargetsCommandInput,
934
- options: __HttpHandlerOptions,
935
- cb: (err: any, data?: DescribeMountTargetsCommandOutput) => void
936
- ): void;
937
- public describeMountTargets(
938
- args: DescribeMountTargetsCommandInput,
939
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMountTargetsCommandOutput) => void),
940
- cb?: (err: any, data?: DescribeMountTargetsCommandOutput) => void
941
- ): Promise<DescribeMountTargetsCommandOutput> | void {
942
- const command = new DescribeMountTargetsCommand(args);
943
- if (typeof optionsOrCb === "function") {
944
- this.send(command, optionsOrCb);
945
- } else if (typeof cb === "function") {
946
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
947
- this.send(command, optionsOrCb || {}, cb);
948
- } else {
949
- return this.send(command, optionsOrCb);
950
- }
951
- }
952
-
953
- /**
954
- * <p>Returns the security groups currently in effect for a mount target. This operation
955
- * requires that the network interface of the mount target has been created and the lifecycle
956
- * state of the mount target is not <code>deleted</code>.</p>
957
- * <p>This operation requires permissions for the following actions:</p>
958
- * <ul>
959
- * <li>
960
- * <p>
961
- * <code>elasticfilesystem:DescribeMountTargetSecurityGroups</code> action on the mount
962
- * target's file system. </p>
963
- * </li>
964
- * <li>
965
- * <p>
966
- * <code>ec2:DescribeNetworkInterfaceAttribute</code> action on the mount target's
967
- * network interface. </p>
968
- * </li>
969
- * </ul>
970
- */
971
- public describeMountTargetSecurityGroups(
972
- args: DescribeMountTargetSecurityGroupsCommandInput,
973
- options?: __HttpHandlerOptions
974
- ): Promise<DescribeMountTargetSecurityGroupsCommandOutput>;
975
- public describeMountTargetSecurityGroups(
976
- args: DescribeMountTargetSecurityGroupsCommandInput,
977
- cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void
978
- ): void;
979
- public describeMountTargetSecurityGroups(
980
- args: DescribeMountTargetSecurityGroupsCommandInput,
981
- options: __HttpHandlerOptions,
982
- cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void
983
- ): void;
984
- public describeMountTargetSecurityGroups(
985
- args: DescribeMountTargetSecurityGroupsCommandInput,
986
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void),
987
- cb?: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void
988
- ): Promise<DescribeMountTargetSecurityGroupsCommandOutput> | void {
989
- const command = new DescribeMountTargetSecurityGroupsCommand(args);
990
- if (typeof optionsOrCb === "function") {
991
- this.send(command, optionsOrCb);
992
- } else if (typeof cb === "function") {
993
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
994
- this.send(command, optionsOrCb || {}, cb);
995
- } else {
996
- return this.send(command, optionsOrCb);
997
- }
998
- }
999
-
1000
- /**
1001
- * @deprecated
1002
- *
1003
- * <note>
1004
- * <p>DEPRECATED - The DeleteTags action is deprecated and not maintained. Please use the
1005
- * API action to remove tags from EFS resources.</p>
1006
- * </note>
1007
- * <p>Returns the tags associated with a file system. The order of tags returned in the
1008
- * response of one <code>DescribeTags</code> call and the order of tags returned across the
1009
- * responses of a multiple-call iteration (when using pagination) is unspecified. </p>
1010
- * <p> This operation requires permissions for the
1011
- * <code>elasticfilesystem:DescribeTags</code> action. </p>
1012
- */
1013
- public describeTags(
1014
- args: DescribeTagsCommandInput,
1015
- options?: __HttpHandlerOptions
1016
- ): Promise<DescribeTagsCommandOutput>;
1017
- public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
1018
- public describeTags(
1019
- args: DescribeTagsCommandInput,
1020
- options: __HttpHandlerOptions,
1021
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
1022
- ): void;
1023
- public describeTags(
1024
- args: DescribeTagsCommandInput,
1025
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
1026
- cb?: (err: any, data?: DescribeTagsCommandOutput) => void
1027
- ): Promise<DescribeTagsCommandOutput> | void {
1028
- const command = new DescribeTagsCommand(args);
1029
- if (typeof optionsOrCb === "function") {
1030
- this.send(command, optionsOrCb);
1031
- } else if (typeof cb === "function") {
1032
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1033
- this.send(command, optionsOrCb || {}, cb);
1034
- } else {
1035
- return this.send(command, optionsOrCb);
1036
- }
1037
- }
1038
-
1039
- /**
1040
- * <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>
1041
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
1042
- */
1043
- public listTagsForResource(
1044
- args: ListTagsForResourceCommandInput,
1045
- options?: __HttpHandlerOptions
1046
- ): Promise<ListTagsForResourceCommandOutput>;
1047
- public listTagsForResource(
1048
- args: ListTagsForResourceCommandInput,
1049
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1050
- ): void;
1051
- public listTagsForResource(
1052
- args: ListTagsForResourceCommandInput,
1053
- options: __HttpHandlerOptions,
1054
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1055
- ): void;
1056
- public listTagsForResource(
1057
- args: ListTagsForResourceCommandInput,
1058
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1059
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1060
- ): Promise<ListTagsForResourceCommandOutput> | void {
1061
- const command = new ListTagsForResourceCommand(args);
1062
- if (typeof optionsOrCb === "function") {
1063
- this.send(command, optionsOrCb);
1064
- } else if (typeof cb === "function") {
1065
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1066
- this.send(command, optionsOrCb || {}, cb);
1067
- } else {
1068
- return this.send(command, optionsOrCb);
1069
- }
1070
- }
1071
-
1072
- /**
1073
- * <p>Modifies the set of security groups in effect for a mount target.</p>
1074
- * <p>When you create a mount target, Amazon EFS also creates a new network interface. For
1075
- * more information, see <a>CreateMountTarget</a>. This operation replaces the security groups in effect for the
1076
- * network interface associated with a mount target, with the <code>SecurityGroups</code>
1077
- * provided in the request. This operation requires that the network interface of the mount
1078
- * target has been created and the lifecycle state of the mount target is not
1079
- * <code>deleted</code>. </p>
1080
- * <p>The operation requires permissions for the following actions:</p>
1081
- * <ul>
1082
- * <li>
1083
- * <p>
1084
- * <code>elasticfilesystem:ModifyMountTargetSecurityGroups</code> action on the mount
1085
- * target's file system. </p>
1086
- * </li>
1087
- * <li>
1088
- * <p>
1089
- * <code>ec2:ModifyNetworkInterfaceAttribute</code> action on the mount target's network
1090
- * interface. </p>
1091
- * </li>
1092
- * </ul>
1093
- */
1094
- public modifyMountTargetSecurityGroups(
1095
- args: ModifyMountTargetSecurityGroupsCommandInput,
1096
- options?: __HttpHandlerOptions
1097
- ): Promise<ModifyMountTargetSecurityGroupsCommandOutput>;
1098
- public modifyMountTargetSecurityGroups(
1099
- args: ModifyMountTargetSecurityGroupsCommandInput,
1100
- cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void
1101
- ): void;
1102
- public modifyMountTargetSecurityGroups(
1103
- args: ModifyMountTargetSecurityGroupsCommandInput,
1104
- options: __HttpHandlerOptions,
1105
- cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void
1106
- ): void;
1107
- public modifyMountTargetSecurityGroups(
1108
- args: ModifyMountTargetSecurityGroupsCommandInput,
1109
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void),
1110
- cb?: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void
1111
- ): Promise<ModifyMountTargetSecurityGroupsCommandOutput> | void {
1112
- const command = new ModifyMountTargetSecurityGroupsCommand(args);
1113
- if (typeof optionsOrCb === "function") {
1114
- this.send(command, optionsOrCb);
1115
- } else if (typeof cb === "function") {
1116
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1117
- this.send(command, optionsOrCb || {}, cb);
1118
- } else {
1119
- return this.send(command, optionsOrCb);
1120
- }
1121
- }
1122
-
1123
- /**
1124
- * <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
1125
- * 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
1126
- * opt-in period as EFS transitions to long resource IDs. For more information,
1127
- * see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
1128
- */
1129
- public putAccountPreferences(
1130
- args: PutAccountPreferencesCommandInput,
1131
- options?: __HttpHandlerOptions
1132
- ): Promise<PutAccountPreferencesCommandOutput>;
1133
- public putAccountPreferences(
1134
- args: PutAccountPreferencesCommandInput,
1135
- cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void
1136
- ): void;
1137
- public putAccountPreferences(
1138
- args: PutAccountPreferencesCommandInput,
1139
- options: __HttpHandlerOptions,
1140
- cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void
1141
- ): void;
1142
- public putAccountPreferences(
1143
- args: PutAccountPreferencesCommandInput,
1144
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutAccountPreferencesCommandOutput) => void),
1145
- cb?: (err: any, data?: PutAccountPreferencesCommandOutput) => void
1146
- ): Promise<PutAccountPreferencesCommandOutput> | void {
1147
- const command = new PutAccountPreferencesCommand(args);
1148
- if (typeof optionsOrCb === "function") {
1149
- this.send(command, optionsOrCb);
1150
- } else if (typeof cb === "function") {
1151
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1152
- this.send(command, optionsOrCb || {}, cb);
1153
- } else {
1154
- return this.send(command, optionsOrCb);
1155
- }
1156
- }
1157
-
1158
- /**
1159
- * <p>Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system. </p>
1160
- */
1161
- public putBackupPolicy(
1162
- args: PutBackupPolicyCommandInput,
1163
- options?: __HttpHandlerOptions
1164
- ): Promise<PutBackupPolicyCommandOutput>;
1165
- public putBackupPolicy(
1166
- args: PutBackupPolicyCommandInput,
1167
- cb: (err: any, data?: PutBackupPolicyCommandOutput) => void
1168
- ): void;
1169
- public putBackupPolicy(
1170
- args: PutBackupPolicyCommandInput,
1171
- options: __HttpHandlerOptions,
1172
- cb: (err: any, data?: PutBackupPolicyCommandOutput) => void
1173
- ): void;
1174
- public putBackupPolicy(
1175
- args: PutBackupPolicyCommandInput,
1176
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutBackupPolicyCommandOutput) => void),
1177
- cb?: (err: any, data?: PutBackupPolicyCommandOutput) => void
1178
- ): Promise<PutBackupPolicyCommandOutput> | void {
1179
- const command = new PutBackupPolicyCommand(args);
1180
- if (typeof optionsOrCb === "function") {
1181
- this.send(command, optionsOrCb);
1182
- } else if (typeof cb === "function") {
1183
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1184
- this.send(command, optionsOrCb || {}, cb);
1185
- } else {
1186
- return this.send(command, optionsOrCb);
1187
- }
1188
- }
1189
-
1190
- /**
1191
- * <p>Applies an Amazon EFS <code>FileSystemPolicy</code> to an Amazon EFS file system.
1192
- * A file system policy is an IAM resource-based policy and can contain multiple policy statements.
1193
- * A file system always has exactly one file system policy, which can be the default policy or
1194
- * an explicit policy set or updated using this API operation.
1195
- * EFS file system policies have a 20,000 character limit.
1196
- * When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
1197
- * <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
1198
- * </p>
1199
- * <p>EFS file system policies have a 20,000 character limit.</p>
1200
- * <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
1201
- */
1202
- public putFileSystemPolicy(
1203
- args: PutFileSystemPolicyCommandInput,
1204
- options?: __HttpHandlerOptions
1205
- ): Promise<PutFileSystemPolicyCommandOutput>;
1206
- public putFileSystemPolicy(
1207
- args: PutFileSystemPolicyCommandInput,
1208
- cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void
1209
- ): void;
1210
- public putFileSystemPolicy(
1211
- args: PutFileSystemPolicyCommandInput,
1212
- options: __HttpHandlerOptions,
1213
- cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void
1214
- ): void;
1215
- public putFileSystemPolicy(
1216
- args: PutFileSystemPolicyCommandInput,
1217
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutFileSystemPolicyCommandOutput) => void),
1218
- cb?: (err: any, data?: PutFileSystemPolicyCommandOutput) => void
1219
- ): Promise<PutFileSystemPolicyCommandOutput> | void {
1220
- const command = new PutFileSystemPolicyCommand(args);
1221
- if (typeof optionsOrCb === "function") {
1222
- this.send(command, optionsOrCb);
1223
- } else if (typeof cb === "function") {
1224
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1225
- this.send(command, optionsOrCb || {}, cb);
1226
- } else {
1227
- return this.send(command, optionsOrCb);
1228
- }
1229
- }
1230
-
1231
- /**
1232
- * <p>Enables lifecycle management by creating a new <code>LifecycleConfiguration</code>
1233
- * object. A <code>LifecycleConfiguration</code> object defines when files in an Amazon EFS file
1234
- * system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
1235
- * To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
1236
- * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
1237
- * <p>A <code>LifecycleConfiguration</code> applies to all files in a file system.</p>
1238
- * <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
1239
- * <code>LifecycleConfiguration</code> object already exists for the specified file system, a
1240
- * <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
1241
- * <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
1242
- * array in the request body deletes any existing <code>LifecycleConfiguration</code> and
1243
- * disables lifecycle management.</p>
1244
- *
1245
- *
1246
- * <p>In the request, specify the following: </p>
1247
- * <ul>
1248
- * <li>
1249
- * <p>The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.</p>
1250
- * </li>
1251
- * <li>
1252
- * <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
1253
- * define when files are moved to the IA storage class. The array can contain only one
1254
- * <code>LifecyclePolicy</code> item.</p>
1255
- * </li>
1256
- * </ul>
1257
- *
1258
- * <p>This operation requires permissions for the
1259
- * <code>elasticfilesystem:PutLifecycleConfiguration</code> operation.</p>
1260
- * <p>To apply a <code>LifecycleConfiguration</code> object to an encrypted file system, you
1261
- * need the same Key Management Service permissions as when you created the encrypted
1262
- * file system. </p>
1263
- */
1264
- public putLifecycleConfiguration(
1265
- args: PutLifecycleConfigurationCommandInput,
1266
- options?: __HttpHandlerOptions
1267
- ): Promise<PutLifecycleConfigurationCommandOutput>;
1268
- public putLifecycleConfiguration(
1269
- args: PutLifecycleConfigurationCommandInput,
1270
- cb: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void
1271
- ): void;
1272
- public putLifecycleConfiguration(
1273
- args: PutLifecycleConfigurationCommandInput,
1274
- options: __HttpHandlerOptions,
1275
- cb: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void
1276
- ): void;
1277
- public putLifecycleConfiguration(
1278
- args: PutLifecycleConfigurationCommandInput,
1279
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecycleConfigurationCommandOutput) => void),
1280
- cb?: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void
1281
- ): Promise<PutLifecycleConfigurationCommandOutput> | void {
1282
- const command = new PutLifecycleConfigurationCommand(args);
1283
- if (typeof optionsOrCb === "function") {
1284
- this.send(command, optionsOrCb);
1285
- } else if (typeof cb === "function") {
1286
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1287
- this.send(command, optionsOrCb || {}, cb);
1288
- } else {
1289
- return this.send(command, optionsOrCb);
1290
- }
1291
- }
1292
-
1293
- /**
1294
- * <p>Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.</p>
1295
- * <p>This operation requires permissions for the <code>elasticfilesystem:TagResource</code> action.</p>
1296
- */
1297
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1298
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1299
- public tagResource(
1300
- args: TagResourceCommandInput,
1301
- options: __HttpHandlerOptions,
1302
- cb: (err: any, data?: TagResourceCommandOutput) => void
1303
- ): void;
1304
- public tagResource(
1305
- args: TagResourceCommandInput,
1306
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1307
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1308
- ): Promise<TagResourceCommandOutput> | void {
1309
- const command = new TagResourceCommand(args);
1310
- if (typeof optionsOrCb === "function") {
1311
- this.send(command, optionsOrCb);
1312
- } else if (typeof cb === "function") {
1313
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1314
- this.send(command, optionsOrCb || {}, cb);
1315
- } else {
1316
- return this.send(command, optionsOrCb);
1317
- }
1318
- }
1319
-
1320
- /**
1321
- * <p>Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation.</p>
1322
- * <p>This operation requires permissions for the <code>elasticfilesystem:UntagResource</code> action.</p>
1323
- */
1324
- public untagResource(
1325
- args: UntagResourceCommandInput,
1326
- options?: __HttpHandlerOptions
1327
- ): Promise<UntagResourceCommandOutput>;
1328
- public untagResource(
1329
- args: UntagResourceCommandInput,
1330
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1331
- ): void;
1332
- public untagResource(
1333
- args: UntagResourceCommandInput,
1334
- options: __HttpHandlerOptions,
1335
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1336
- ): void;
1337
- public untagResource(
1338
- args: UntagResourceCommandInput,
1339
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1340
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1341
- ): Promise<UntagResourceCommandOutput> | void {
1342
- const command = new UntagResourceCommand(args);
1343
- if (typeof optionsOrCb === "function") {
1344
- this.send(command, optionsOrCb);
1345
- } else if (typeof cb === "function") {
1346
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1347
- this.send(command, optionsOrCb || {}, cb);
1348
- } else {
1349
- return this.send(command, optionsOrCb);
1350
- }
1351
- }
1352
-
1353
- /**
1354
- * <p>Updates the throughput mode or the amount of provisioned throughput of an existing file
1355
- * system.</p>
1356
- */
1357
- public updateFileSystem(
1358
- args: UpdateFileSystemCommandInput,
1359
- options?: __HttpHandlerOptions
1360
- ): Promise<UpdateFileSystemCommandOutput>;
1361
- public updateFileSystem(
1362
- args: UpdateFileSystemCommandInput,
1363
- cb: (err: any, data?: UpdateFileSystemCommandOutput) => void
1364
- ): void;
1365
- public updateFileSystem(
1366
- args: UpdateFileSystemCommandInput,
1367
- options: __HttpHandlerOptions,
1368
- cb: (err: any, data?: UpdateFileSystemCommandOutput) => void
1369
- ): void;
1370
- public updateFileSystem(
1371
- args: UpdateFileSystemCommandInput,
1372
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFileSystemCommandOutput) => void),
1373
- cb?: (err: any, data?: UpdateFileSystemCommandOutput) => void
1374
- ): Promise<UpdateFileSystemCommandOutput> | void {
1375
- const command = new UpdateFileSystemCommand(args);
1376
- if (typeof optionsOrCb === "function") {
1377
- this.send(command, optionsOrCb);
1378
- } else if (typeof cb === "function") {
1379
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1380
- this.send(command, optionsOrCb || {}, cb);
1381
- } else {
1382
- return this.send(command, optionsOrCb);
1383
- }
1384
- }
1385
- }