@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/EFSClient.ts DELETED
@@ -1,362 +0,0 @@
1
- import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
2
- import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
3
- import { CreateMountTargetCommandInput, CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
4
- import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
5
- import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
6
- import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
7
- import {
8
- DeleteFileSystemPolicyCommandInput,
9
- DeleteFileSystemPolicyCommandOutput,
10
- } from "./commands/DeleteFileSystemPolicyCommand";
11
- import { DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput } from "./commands/DeleteMountTargetCommand";
12
- import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
13
- import {
14
- DescribeAccessPointsCommandInput,
15
- DescribeAccessPointsCommandOutput,
16
- } from "./commands/DescribeAccessPointsCommand";
17
- import {
18
- DescribeAccountPreferencesCommandInput,
19
- DescribeAccountPreferencesCommandOutput,
20
- } from "./commands/DescribeAccountPreferencesCommand";
21
- import {
22
- DescribeBackupPolicyCommandInput,
23
- DescribeBackupPolicyCommandOutput,
24
- } from "./commands/DescribeBackupPolicyCommand";
25
- import {
26
- DescribeFileSystemPolicyCommandInput,
27
- DescribeFileSystemPolicyCommandOutput,
28
- } from "./commands/DescribeFileSystemPolicyCommand";
29
- import {
30
- DescribeFileSystemsCommandInput,
31
- DescribeFileSystemsCommandOutput,
32
- } from "./commands/DescribeFileSystemsCommand";
33
- import {
34
- DescribeLifecycleConfigurationCommandInput,
35
- DescribeLifecycleConfigurationCommandOutput,
36
- } from "./commands/DescribeLifecycleConfigurationCommand";
37
- import {
38
- DescribeMountTargetSecurityGroupsCommandInput,
39
- DescribeMountTargetSecurityGroupsCommandOutput,
40
- } from "./commands/DescribeMountTargetSecurityGroupsCommand";
41
- import {
42
- DescribeMountTargetsCommandInput,
43
- DescribeMountTargetsCommandOutput,
44
- } from "./commands/DescribeMountTargetsCommand";
45
- import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
46
- import {
47
- ListTagsForResourceCommandInput,
48
- ListTagsForResourceCommandOutput,
49
- } from "./commands/ListTagsForResourceCommand";
50
- import {
51
- ModifyMountTargetSecurityGroupsCommandInput,
52
- ModifyMountTargetSecurityGroupsCommandOutput,
53
- } from "./commands/ModifyMountTargetSecurityGroupsCommand";
54
- import {
55
- PutAccountPreferencesCommandInput,
56
- PutAccountPreferencesCommandOutput,
57
- } from "./commands/PutAccountPreferencesCommand";
58
- import { PutBackupPolicyCommandInput, PutBackupPolicyCommandOutput } from "./commands/PutBackupPolicyCommand";
59
- import {
60
- PutFileSystemPolicyCommandInput,
61
- PutFileSystemPolicyCommandOutput,
62
- } from "./commands/PutFileSystemPolicyCommand";
63
- import {
64
- PutLifecycleConfigurationCommandInput,
65
- PutLifecycleConfigurationCommandOutput,
66
- } from "./commands/PutLifecycleConfigurationCommand";
67
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
68
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
69
- import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
70
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
71
- import {
72
- EndpointsInputConfig,
73
- EndpointsResolvedConfig,
74
- RegionInputConfig,
75
- RegionResolvedConfig,
76
- resolveEndpointsConfig,
77
- resolveRegionConfig,
78
- } from "@aws-sdk/config-resolver";
79
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
80
- import {
81
- HostHeaderInputConfig,
82
- HostHeaderResolvedConfig,
83
- getHostHeaderPlugin,
84
- resolveHostHeaderConfig,
85
- } from "@aws-sdk/middleware-host-header";
86
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
87
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
88
- import {
89
- AwsAuthInputConfig,
90
- AwsAuthResolvedConfig,
91
- getAwsAuthPlugin,
92
- resolveAwsAuthConfig,
93
- } from "@aws-sdk/middleware-signing";
94
- import {
95
- UserAgentInputConfig,
96
- UserAgentResolvedConfig,
97
- getUserAgentPlugin,
98
- resolveUserAgentConfig,
99
- } from "@aws-sdk/middleware-user-agent";
100
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
101
- import {
102
- Client as __Client,
103
- SmithyConfiguration as __SmithyConfiguration,
104
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
105
- } from "@aws-sdk/smithy-client";
106
- import {
107
- Provider,
108
- RegionInfoProvider,
109
- Credentials as __Credentials,
110
- Decoder as __Decoder,
111
- Encoder as __Encoder,
112
- Hash as __Hash,
113
- HashConstructor as __HashConstructor,
114
- HttpHandlerOptions as __HttpHandlerOptions,
115
- Logger as __Logger,
116
- Provider as __Provider,
117
- StreamCollector as __StreamCollector,
118
- UrlParser as __UrlParser,
119
- UserAgent as __UserAgent,
120
- } from "@aws-sdk/types";
121
-
122
- export type ServiceInputTypes =
123
- | CreateAccessPointCommandInput
124
- | CreateFileSystemCommandInput
125
- | CreateMountTargetCommandInput
126
- | CreateTagsCommandInput
127
- | DeleteAccessPointCommandInput
128
- | DeleteFileSystemCommandInput
129
- | DeleteFileSystemPolicyCommandInput
130
- | DeleteMountTargetCommandInput
131
- | DeleteTagsCommandInput
132
- | DescribeAccessPointsCommandInput
133
- | DescribeAccountPreferencesCommandInput
134
- | DescribeBackupPolicyCommandInput
135
- | DescribeFileSystemPolicyCommandInput
136
- | DescribeFileSystemsCommandInput
137
- | DescribeLifecycleConfigurationCommandInput
138
- | DescribeMountTargetSecurityGroupsCommandInput
139
- | DescribeMountTargetsCommandInput
140
- | DescribeTagsCommandInput
141
- | ListTagsForResourceCommandInput
142
- | ModifyMountTargetSecurityGroupsCommandInput
143
- | PutAccountPreferencesCommandInput
144
- | PutBackupPolicyCommandInput
145
- | PutFileSystemPolicyCommandInput
146
- | PutLifecycleConfigurationCommandInput
147
- | TagResourceCommandInput
148
- | UntagResourceCommandInput
149
- | UpdateFileSystemCommandInput;
150
-
151
- export type ServiceOutputTypes =
152
- | CreateAccessPointCommandOutput
153
- | CreateFileSystemCommandOutput
154
- | CreateMountTargetCommandOutput
155
- | CreateTagsCommandOutput
156
- | DeleteAccessPointCommandOutput
157
- | DeleteFileSystemCommandOutput
158
- | DeleteFileSystemPolicyCommandOutput
159
- | DeleteMountTargetCommandOutput
160
- | DeleteTagsCommandOutput
161
- | DescribeAccessPointsCommandOutput
162
- | DescribeAccountPreferencesCommandOutput
163
- | DescribeBackupPolicyCommandOutput
164
- | DescribeFileSystemPolicyCommandOutput
165
- | DescribeFileSystemsCommandOutput
166
- | DescribeLifecycleConfigurationCommandOutput
167
- | DescribeMountTargetSecurityGroupsCommandOutput
168
- | DescribeMountTargetsCommandOutput
169
- | DescribeTagsCommandOutput
170
- | ListTagsForResourceCommandOutput
171
- | ModifyMountTargetSecurityGroupsCommandOutput
172
- | PutAccountPreferencesCommandOutput
173
- | PutBackupPolicyCommandOutput
174
- | PutFileSystemPolicyCommandOutput
175
- | PutLifecycleConfigurationCommandOutput
176
- | TagResourceCommandOutput
177
- | UntagResourceCommandOutput
178
- | UpdateFileSystemCommandOutput;
179
-
180
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
181
- /**
182
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
183
- */
184
- requestHandler?: __HttpHandler;
185
-
186
- /**
187
- * A constructor for a class implementing the {@link __Hash} interface
188
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
189
- * @internal
190
- */
191
- sha256?: __HashConstructor;
192
-
193
- /**
194
- * The function that will be used to convert strings into HTTP endpoints.
195
- * @internal
196
- */
197
- urlParser?: __UrlParser;
198
-
199
- /**
200
- * A function that can calculate the length of a request body.
201
- * @internal
202
- */
203
- bodyLengthChecker?: (body: any) => number | undefined;
204
-
205
- /**
206
- * A function that converts a stream into an array of bytes.
207
- * @internal
208
- */
209
- streamCollector?: __StreamCollector;
210
-
211
- /**
212
- * The function that will be used to convert a base64-encoded string to a byte array.
213
- * @internal
214
- */
215
- base64Decoder?: __Decoder;
216
-
217
- /**
218
- * The function that will be used to convert binary data to a base64-encoded string.
219
- * @internal
220
- */
221
- base64Encoder?: __Encoder;
222
-
223
- /**
224
- * The function that will be used to convert a UTF8-encoded string to a byte array.
225
- * @internal
226
- */
227
- utf8Decoder?: __Decoder;
228
-
229
- /**
230
- * The function that will be used to convert binary data to a UTF-8 encoded string.
231
- * @internal
232
- */
233
- utf8Encoder?: __Encoder;
234
-
235
- /**
236
- * The runtime environment.
237
- * @internal
238
- */
239
- runtime?: string;
240
-
241
- /**
242
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
243
- * trait of an operation.
244
- */
245
- disableHostPrefix?: boolean;
246
-
247
- /**
248
- * Value for how many times a request will be made at most in case of retry.
249
- */
250
- maxAttempts?: number | __Provider<number>;
251
-
252
- /**
253
- * Specifies which retry algorithm to use.
254
- */
255
- retryMode?: string | __Provider<string>;
256
-
257
- /**
258
- * Optional logger for logging debug/info/warn/error.
259
- */
260
- logger?: __Logger;
261
-
262
- /**
263
- * Unique service identifier.
264
- * @internal
265
- */
266
- serviceId?: string;
267
-
268
- /**
269
- * The AWS region to which this client will send requests
270
- */
271
- region?: string | __Provider<string>;
272
-
273
- /**
274
- * Default credentials provider; Not available in browser runtime.
275
- * @internal
276
- */
277
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
278
-
279
- /**
280
- * Fetch related hostname, signing name or signing region with given region.
281
- * @internal
282
- */
283
- regionInfoProvider?: RegionInfoProvider;
284
-
285
- /**
286
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
287
- * @internal
288
- */
289
- defaultUserAgentProvider?: Provider<__UserAgent>;
290
- }
291
-
292
- type EFSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
293
- ClientDefaults &
294
- RegionInputConfig &
295
- EndpointsInputConfig &
296
- RetryInputConfig &
297
- HostHeaderInputConfig &
298
- AwsAuthInputConfig &
299
- UserAgentInputConfig;
300
- /**
301
- * The configuration interface of EFSClient class constructor that set the region, credentials and other options.
302
- */
303
- export interface EFSClientConfig extends EFSClientConfigType {}
304
-
305
- type EFSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
306
- Required<ClientDefaults> &
307
- RegionResolvedConfig &
308
- EndpointsResolvedConfig &
309
- RetryResolvedConfig &
310
- HostHeaderResolvedConfig &
311
- AwsAuthResolvedConfig &
312
- UserAgentResolvedConfig;
313
- /**
314
- * The resolved configuration interface of EFSClient class. This is resolved and normalized from the {@link EFSClientConfig | constructor configuration interface}.
315
- */
316
- export interface EFSClientResolvedConfig extends EFSClientResolvedConfigType {}
317
-
318
- /**
319
- * <fullname>Amazon Elastic File System</fullname>
320
- * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
321
- * with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
322
- * growing and shrinking automatically as you add and remove files, so your applications have the
323
- * 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>
324
- */
325
- export class EFSClient extends __Client<
326
- __HttpHandlerOptions,
327
- ServiceInputTypes,
328
- ServiceOutputTypes,
329
- EFSClientResolvedConfig
330
- > {
331
- /**
332
- * The resolved configuration of EFSClient class. This is resolved and normalized from the {@link EFSClientConfig | constructor configuration interface}.
333
- */
334
- readonly config: EFSClientResolvedConfig;
335
-
336
- constructor(configuration: EFSClientConfig) {
337
- let _config_0 = __getRuntimeConfig(configuration);
338
- let _config_1 = resolveRegionConfig(_config_0);
339
- let _config_2 = resolveEndpointsConfig(_config_1);
340
- let _config_3 = resolveRetryConfig(_config_2);
341
- let _config_4 = resolveHostHeaderConfig(_config_3);
342
- let _config_5 = resolveAwsAuthConfig(_config_4);
343
- let _config_6 = resolveUserAgentConfig(_config_5);
344
- super(_config_6);
345
- this.config = _config_6;
346
- this.middlewareStack.use(getRetryPlugin(this.config));
347
- this.middlewareStack.use(getContentLengthPlugin(this.config));
348
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
349
- this.middlewareStack.use(getLoggerPlugin(this.config));
350
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
351
- this.middlewareStack.use(getUserAgentPlugin(this.config));
352
- }
353
-
354
- /**
355
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
356
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
357
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
358
- */
359
- destroy(): void {
360
- super.destroy();
361
- }
362
- }
@@ -1,101 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { AccessPointDescription, CreateAccessPointRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateAccessPointCommand,
5
- serializeAws_restJson1CreateAccessPointCommand,
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 CreateAccessPointCommandInput extends CreateAccessPointRequest {}
21
- export interface CreateAccessPointCommandOutput extends AccessPointDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates an EFS access point. An access point is an application-specific view into an EFS
25
- * file system that applies an operating system user and group, and a file system path, to any
26
- * file system request made through the access point. The operating system user and group
27
- * override any identity information provided by the NFS client. The file system path is exposed
28
- * as the access point's root directory. Applications using the access point can only access data
29
- * 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
30
- * points</a>.</p>
31
- * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { EFSClient, CreateAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
36
- * // const { EFSClient, CreateAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
37
- * const client = new EFSClient(config);
38
- * const command = new CreateAccessPointCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateAccessPointCommandInput} for command's `input` shape.
43
- * @see {@link CreateAccessPointCommandOutput} for command's `response` shape.
44
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class CreateAccessPointCommand extends $Command<
48
- CreateAccessPointCommandInput,
49
- CreateAccessPointCommandOutput,
50
- EFSClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: CreateAccessPointCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: EFSClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<CreateAccessPointCommandInput, CreateAccessPointCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "EFSClient";
75
- const commandName = "CreateAccessPointCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: CreateAccessPointRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: AccessPointDescription.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: CreateAccessPointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1CreateAccessPointCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAccessPointCommandOutput> {
96
- return deserializeAws_restJson1CreateAccessPointCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,147 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { CreateFileSystemRequest, FileSystemDescription } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateFileSystemCommand,
5
- serializeAws_restJson1CreateFileSystemCommand,
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 CreateFileSystemCommandInput extends CreateFileSystemRequest {}
21
- export interface CreateFileSystemCommandOutput extends FileSystemDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new, empty file system. The operation requires a creation token in the
25
- * request that Amazon EFS uses to ensure idempotent creation (calling the operation with same
26
- * creation token has no effect). If a file system does not currently exist that is owned by the
27
- * caller's Amazon Web Services account with the specified creation token, this operation does the
28
- * following:</p>
29
- * <ul>
30
- * <li>
31
- * <p>Creates a new, empty file system. The file system will have an Amazon EFS assigned
32
- * ID, and an initial lifecycle state <code>creating</code>.</p>
33
- * </li>
34
- * <li>
35
- * <p>Returns with the description of the created file system.</p>
36
- * </li>
37
- * </ul>
38
- * <p>Otherwise, this operation returns a <code>FileSystemAlreadyExists</code> error with the
39
- * ID of the existing file system.</p>
40
- * <note>
41
- * <p>For basic use cases, you can use a randomly generated UUID for the creation
42
- * token.</p>
43
- * </note>
44
- * <p> The idempotent operation allows you to retry a <code>CreateFileSystem</code> call without
45
- * risk of creating an extra file system. This can happen when an initial call fails in a way
46
- * that leaves it uncertain whether or not a file system was actually created. An example might
47
- * be that a transport level timeout occurred or your connection was reset. As long as you use
48
- * the same creation token, if the initial call had succeeded in creating a file system, the
49
- * client can learn of its existence from the <code>FileSystemAlreadyExists</code> error.</p>
50
- * <p>For more information, see
51
- * <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>
52
- * in the <i>Amazon EFS User Guide</i>.</p>
53
- *
54
- * <note>
55
- * <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
56
- * state is still <code>creating</code>. You can check the file system creation status by
57
- * calling the <a>DescribeFileSystems</a> operation, which among other things returns the file
58
- * system state.</p>
59
- * </note>
60
- *
61
- * <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you
62
- * choose for your file system. We recommend <code>generalPurpose</code> performance mode for
63
- * most file systems. File systems using the <code>maxIO</code> performance mode can scale to
64
- * higher levels of aggregate throughput and operations per second with a tradeoff of slightly
65
- * higher latencies for most file operations. The performance mode can't be changed after
66
- * 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
67
- * modes</a>.</p>
68
- *
69
- * <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p>
70
- *
71
- * <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
72
- * <code>available</code>, at which point you can create one or more mount targets for the file
73
- * system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
74
- * 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>
75
- *
76
- * <p> This operation requires permissions for the
77
- * <code>elasticfilesystem:CreateFileSystem</code> action. </p>
78
- * @example
79
- * Use a bare-bones client and the command you need to make an API call.
80
- * ```javascript
81
- * import { EFSClient, CreateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
82
- * // const { EFSClient, CreateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
83
- * const client = new EFSClient(config);
84
- * const command = new CreateFileSystemCommand(input);
85
- * const response = await client.send(command);
86
- * ```
87
- *
88
- * @see {@link CreateFileSystemCommandInput} for command's `input` shape.
89
- * @see {@link CreateFileSystemCommandOutput} for command's `response` shape.
90
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
91
- *
92
- */
93
- export class CreateFileSystemCommand extends $Command<
94
- CreateFileSystemCommandInput,
95
- CreateFileSystemCommandOutput,
96
- EFSClientResolvedConfig
97
- > {
98
- // Start section: command_properties
99
- // End section: command_properties
100
-
101
- constructor(readonly input: CreateFileSystemCommandInput) {
102
- // Start section: command_constructor
103
- super();
104
- // End section: command_constructor
105
- }
106
-
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(
111
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
112
- configuration: EFSClientResolvedConfig,
113
- options?: __HttpHandlerOptions
114
- ): Handler<CreateFileSystemCommandInput, CreateFileSystemCommandOutput> {
115
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
116
-
117
- const stack = clientStack.concat(this.middlewareStack);
118
-
119
- const { logger } = configuration;
120
- const clientName = "EFSClient";
121
- const commandName = "CreateFileSystemCommand";
122
- const handlerExecutionContext: HandlerExecutionContext = {
123
- logger,
124
- clientName,
125
- commandName,
126
- inputFilterSensitiveLog: CreateFileSystemRequest.filterSensitiveLog,
127
- outputFilterSensitiveLog: FileSystemDescription.filterSensitiveLog,
128
- };
129
- const { requestHandler } = configuration;
130
- return stack.resolve(
131
- (request: FinalizeHandlerArguments<any>) =>
132
- requestHandler.handle(request.request as __HttpRequest, options || {}),
133
- handlerExecutionContext
134
- );
135
- }
136
-
137
- private serialize(input: CreateFileSystemCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
138
- return serializeAws_restJson1CreateFileSystemCommand(input, context);
139
- }
140
-
141
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFileSystemCommandOutput> {
142
- return deserializeAws_restJson1CreateFileSystemCommand(output, context);
143
- }
144
-
145
- // Start section: command_body_extra
146
- // End section: command_body_extra
147
- }