@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
@@ -1,235 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { CreateMountTargetRequest, MountTargetDescription } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateMountTargetCommand,
5
- serializeAws_restJson1CreateMountTargetCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateMountTargetCommandInput extends CreateMountTargetRequest {}
21
- export interface CreateMountTargetCommandOutput extends MountTargetDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a mount target for a file system. You can then mount the file system on EC2
25
- * instances by using the mount target.</p>
26
- * <p>You can create one mount target in each Availability Zone in your VPC. All EC2
27
- * instances in a VPC within a given Availability Zone share a single mount target for a given
28
- * file system. If you have multiple subnets in an Availability Zone, you create a mount target
29
- * in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target
30
- * in order to access their file system.</p>
31
- * <p>You can create only one mount target for an EFS file system using One Zone storage
32
- * classes. You must create that mount target in the same Availability Zone in which the file
33
- * system is located. Use the <code>AvailabilityZoneName</code> and
34
- * <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a>
35
- * response object to get this information. Use the <code>subnetId</code> associated with the
36
- * file system's Availability Zone when creating the mount target.</p>
37
- * <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>
38
- * <p>To create a mount target for a file system, the file system's lifecycle state must be
39
- * <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
40
- * <p>In the request, provide the following:</p>
41
- * <ul>
42
- * <li>
43
- * <p>The file system ID for which you are creating the mount
44
- * target.</p>
45
- * </li>
46
- * <li>
47
- * <p>A subnet ID, which determines the following:</p>
48
- * <ul>
49
- * <li>
50
- * <p>The VPC in which Amazon EFS creates the mount target</p>
51
- * </li>
52
- * <li>
53
- * <p>The Availability Zone in which Amazon EFS creates the mount target</p>
54
- * </li>
55
- * <li>
56
- * <p>The IP address range from which Amazon EFS selects the IP address of the mount target
57
- * (if you don't specify an IP address in the request)</p>
58
- * </li>
59
- * </ul>
60
- * </li>
61
- * </ul>
62
- *
63
- * <p>After creating the mount target, Amazon EFS returns a response that includes, a
64
- * <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
65
- * mounting the file system in an EC2 instance. You can also use the mount target's DNS name
66
- * when mounting the file system. The EC2 instance on which you mount the file system by using
67
- * the mount target can resolve the mount target's DNS name to its IP address. For more
68
- * information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
69
- * Implementation Overview</a>. </p>
70
- * <p>Note that you can create mount targets for a file system in only one VPC, and there can
71
- * be only one mount target per Availability Zone. That is, if the file system already has one or
72
- * more mount targets created for it, the subnet specified in the request to add another mount
73
- * target must meet the following requirements:</p>
74
- * <ul>
75
- * <li>
76
- * <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
77
- * </li>
78
- * <li>
79
- * <p>Must not be in the same Availability Zone as any of the subnets of the existing
80
- * mount targets</p>
81
- * </li>
82
- * </ul>
83
- *
84
- * <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
85
- * <ul>
86
- * <li>
87
- * <p>Creates a new mount target in the specified subnet.</p>
88
- * </li>
89
- * <li>
90
- * <p>Also creates a new network interface in the subnet as follows:</p>
91
- * <ul>
92
- * <li>
93
- * <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that IP
94
- * address to the network interface. Otherwise, Amazon EFS assigns a free address in the
95
- * subnet (in the same way that the Amazon EC2 <code>CreateNetworkInterface</code> call
96
- * does when a request does not specify a primary private IP address).</p>
97
- * </li>
98
- * <li>
99
- * <p>If the request provides <code>SecurityGroups</code>, this network interface is
100
- * associated with those security groups. Otherwise, it belongs to the default security
101
- * group for the subnet's VPC.</p>
102
- * </li>
103
- * <li>
104
- * <p>Assigns the description <code>Mount target <i>fsmt-id</i> for
105
- * file system <i>fs-id</i>
106
- * </code> where <code>
107
- * <i>fsmt-id</i>
108
- * </code> is the mount target ID, and <code>
109
- * <i>fs-id</i>
110
- * </code> is the <code>FileSystemId</code>.</p>
111
- * </li>
112
- * <li>
113
- * <p>Sets the <code>requesterManaged</code> property of the network interface to
114
- * <code>true</code>, and the <code>requesterId</code> value to
115
- * <code>EFS</code>.</p>
116
- * </li>
117
- * </ul>
118
- * <p>Each Amazon EFS mount target has one corresponding requester-managed EC2 network
119
- * interface. After the network interface is created, Amazon EFS sets the
120
- * <code>NetworkInterfaceId</code> field in the mount target's description to the
121
- * network interface ID, and the <code>IpAddress</code> field to its address. If network
122
- * interface creation fails, the entire <code>CreateMountTarget</code> operation
123
- * fails.</p>
124
- * </li>
125
- * </ul>
126
- * <note>
127
- * <p>The <code>CreateMountTarget</code> call returns only after creating the network
128
- * interface, but while the mount target state is still <code>creating</code>, you can check
129
- * the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
130
- * target state.</p>
131
- * </note>
132
- * <p>We recommend that you create a mount target in each of the Availability Zones. There
133
- * are cost considerations for using a file system in an Availability Zone through a mount target
134
- * 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
135
- * instance's Availability Zone, you eliminate a partial failure scenario. If the
136
- * Availability Zone in which your mount target is created goes down, then you can't access
137
- * your file system through that mount target. </p>
138
- * <p>This operation requires permissions for the following action on the file
139
- * system:</p>
140
- * <ul>
141
- * <li>
142
- * <p>
143
- * <code>elasticfilesystem:CreateMountTarget</code>
144
- * </p>
145
- * </li>
146
- * </ul>
147
- * <p>This operation also requires permissions for the following Amazon EC2
148
- * actions:</p>
149
- * <ul>
150
- * <li>
151
- * <p>
152
- * <code>ec2:DescribeSubnets</code>
153
- * </p>
154
- * </li>
155
- * <li>
156
- * <p>
157
- * <code>ec2:DescribeNetworkInterfaces</code>
158
- * </p>
159
- * </li>
160
- * <li>
161
- * <p>
162
- * <code>ec2:CreateNetworkInterface</code>
163
- * </p>
164
- * </li>
165
- * </ul>
166
- * @example
167
- * Use a bare-bones client and the command you need to make an API call.
168
- * ```javascript
169
- * import { EFSClient, CreateMountTargetCommand } from "@aws-sdk/client-efs"; // ES Modules import
170
- * // const { EFSClient, CreateMountTargetCommand } = require("@aws-sdk/client-efs"); // CommonJS import
171
- * const client = new EFSClient(config);
172
- * const command = new CreateMountTargetCommand(input);
173
- * const response = await client.send(command);
174
- * ```
175
- *
176
- * @see {@link CreateMountTargetCommandInput} for command's `input` shape.
177
- * @see {@link CreateMountTargetCommandOutput} for command's `response` shape.
178
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
179
- *
180
- */
181
- export class CreateMountTargetCommand extends $Command<
182
- CreateMountTargetCommandInput,
183
- CreateMountTargetCommandOutput,
184
- EFSClientResolvedConfig
185
- > {
186
- // Start section: command_properties
187
- // End section: command_properties
188
-
189
- constructor(readonly input: CreateMountTargetCommandInput) {
190
- // Start section: command_constructor
191
- super();
192
- // End section: command_constructor
193
- }
194
-
195
- /**
196
- * @internal
197
- */
198
- resolveMiddleware(
199
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
200
- configuration: EFSClientResolvedConfig,
201
- options?: __HttpHandlerOptions
202
- ): Handler<CreateMountTargetCommandInput, CreateMountTargetCommandOutput> {
203
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
204
-
205
- const stack = clientStack.concat(this.middlewareStack);
206
-
207
- const { logger } = configuration;
208
- const clientName = "EFSClient";
209
- const commandName = "CreateMountTargetCommand";
210
- const handlerExecutionContext: HandlerExecutionContext = {
211
- logger,
212
- clientName,
213
- commandName,
214
- inputFilterSensitiveLog: CreateMountTargetRequest.filterSensitiveLog,
215
- outputFilterSensitiveLog: MountTargetDescription.filterSensitiveLog,
216
- };
217
- const { requestHandler } = configuration;
218
- return stack.resolve(
219
- (request: FinalizeHandlerArguments<any>) =>
220
- requestHandler.handle(request.request as __HttpRequest, options || {}),
221
- handlerExecutionContext
222
- );
223
- }
224
-
225
- private serialize(input: CreateMountTargetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
226
- return serializeAws_restJson1CreateMountTargetCommand(input, context);
227
- }
228
-
229
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateMountTargetCommandOutput> {
230
- return deserializeAws_restJson1CreateMountTargetCommand(output, context);
231
- }
232
-
233
- // Start section: command_body_extra
234
- // End section: command_body_extra
235
- }
@@ -1,105 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { CreateTagsRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateTagsCommand,
5
- serializeAws_restJson1CreateTagsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateTagsCommandInput extends CreateTagsRequest {}
21
- export interface CreateTagsCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * @deprecated
25
- *
26
- * <note>
27
- * <p>DEPRECATED - CreateTags is deprecated and not maintained. Please use the
28
- * API action to create tags for EFS resources.</p>
29
- * </note>
30
- * <p>Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If
31
- * a tag key specified in the request already exists on the file system, this operation
32
- * overwrites its value with the value provided in the request. If you add the <code>Name</code>
33
- * tag to your file system, Amazon EFS returns it in the response to the <a>DescribeFileSystems</a> operation. </p>
34
- * <p>This operation requires permission for the <code>elasticfilesystem:CreateTags</code>
35
- * action.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { EFSClient, CreateTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
40
- * // const { EFSClient, CreateTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
41
- * const client = new EFSClient(config);
42
- * const command = new CreateTagsCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link CreateTagsCommandInput} for command's `input` shape.
47
- * @see {@link CreateTagsCommandOutput} for command's `response` shape.
48
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class CreateTagsCommand extends $Command<
52
- CreateTagsCommandInput,
53
- CreateTagsCommandOutput,
54
- EFSClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: CreateTagsCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: EFSClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<CreateTagsCommandInput, CreateTagsCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "EFSClient";
79
- const commandName = "CreateTagsCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: CreateTagsRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: (output: any) => output,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: CreateTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_restJson1CreateTagsCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateTagsCommandOutput> {
100
- return deserializeAws_restJson1CreateTagsCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,97 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DeleteAccessPointRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteAccessPointCommand,
5
- serializeAws_restJson1DeleteAccessPointCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteAccessPointCommandInput extends DeleteAccessPointRequest {}
21
- export interface DeleteAccessPointCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified access point. After deletion is complete, new clients can no
25
- * longer connect to the access points. Clients connected to the access point at the time of
26
- * deletion will continue to function until they terminate their connection.</p>
27
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteAccessPoint</code> action.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { EFSClient, DeleteAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
32
- * // const { EFSClient, DeleteAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
33
- * const client = new EFSClient(config);
34
- * const command = new DeleteAccessPointCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteAccessPointCommandInput} for command's `input` shape.
39
- * @see {@link DeleteAccessPointCommandOutput} for command's `response` shape.
40
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteAccessPointCommand extends $Command<
44
- DeleteAccessPointCommandInput,
45
- DeleteAccessPointCommandOutput,
46
- EFSClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteAccessPointCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: EFSClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "EFSClient";
71
- const commandName = "DeleteAccessPointCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteAccessPointRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: (output: any) => output,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteAccessPointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteAccessPointCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAccessPointCommandOutput> {
92
- return deserializeAws_restJson1DeleteAccessPointCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,108 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DeleteFileSystemRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteFileSystemCommand,
5
- serializeAws_restJson1DeleteFileSystemCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteFileSystemCommandInput extends DeleteFileSystemRequest {}
21
- export interface DeleteFileSystemCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a file system, permanently severing access to its contents. Upon return, the
25
- * file system no longer exists and you can't access any contents of the deleted file
26
- * system.</p>
27
- * <p> You can't delete a file system that is in use. That is, if the file system has
28
- * any mount targets, you must first delete them. For more information, see <a>DescribeMountTargets</a> and <a>DeleteMountTarget</a>. </p>
29
- *
30
- * <note>
31
- * <p>The <code>DeleteFileSystem</code> call returns while the file system state is still
32
- * <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
33
- * 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>
34
- * error.</p>
35
- * </note>
36
- *
37
- * <p>This operation requires permissions for the
38
- * <code>elasticfilesystem:DeleteFileSystem</code> action.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { EFSClient, DeleteFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
43
- * // const { EFSClient, DeleteFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
44
- * const client = new EFSClient(config);
45
- * const command = new DeleteFileSystemCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link DeleteFileSystemCommandInput} for command's `input` shape.
50
- * @see {@link DeleteFileSystemCommandOutput} for command's `response` shape.
51
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class DeleteFileSystemCommand extends $Command<
55
- DeleteFileSystemCommandInput,
56
- DeleteFileSystemCommandOutput,
57
- EFSClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: DeleteFileSystemCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: EFSClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "EFSClient";
82
- const commandName = "DeleteFileSystemCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: DeleteFileSystemRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: (output: any) => output,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: DeleteFileSystemCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_restJson1DeleteFileSystemCommand(input, context);
100
- }
101
-
102
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFileSystemCommandOutput> {
103
- return deserializeAws_restJson1DeleteFileSystemCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,97 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DeleteFileSystemPolicyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteFileSystemPolicyCommand,
5
- serializeAws_restJson1DeleteFileSystemPolicyCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteFileSystemPolicyCommandInput extends DeleteFileSystemPolicyRequest {}
21
- export interface DeleteFileSystemPolicyCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the <code>FileSystemPolicy</code> for the specified file system.
25
- * The default <code>FileSystemPolicy</code> goes into effect once the existing policy is deleted.
26
- * 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>
27
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteFileSystemPolicy</code> action.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { EFSClient, DeleteFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
32
- * // const { EFSClient, DeleteFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
33
- * const client = new EFSClient(config);
34
- * const command = new DeleteFileSystemPolicyCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteFileSystemPolicyCommandInput} for command's `input` shape.
39
- * @see {@link DeleteFileSystemPolicyCommandOutput} for command's `response` shape.
40
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteFileSystemPolicyCommand extends $Command<
44
- DeleteFileSystemPolicyCommandInput,
45
- DeleteFileSystemPolicyCommandOutput,
46
- EFSClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteFileSystemPolicyCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: EFSClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteFileSystemPolicyCommandInput, DeleteFileSystemPolicyCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "EFSClient";
71
- const commandName = "DeleteFileSystemPolicyCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteFileSystemPolicyRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: (output: any) => output,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteFileSystemPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteFileSystemPolicyCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFileSystemPolicyCommandOutput> {
92
- return deserializeAws_restJson1DeleteFileSystemPolicyCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }