@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,127 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DeleteMountTargetRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteMountTargetCommand,
5
- serializeAws_restJson1DeleteMountTargetCommand,
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 DeleteMountTargetCommandInput extends DeleteMountTargetRequest {}
21
- export interface DeleteMountTargetCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified mount target.</p>
25
- *
26
- * <p>This operation forcibly breaks any mounts of the file system by using the mount target
27
- * that is being deleted, which might disrupt instances or applications using those mounts. To
28
- * avoid applications getting cut off abruptly, you might consider unmounting any mounts of the
29
- * mount target, if feasible. The operation also deletes the associated network interface.
30
- * Uncommitted writes might be lost, but breaking a mount target using this operation does not
31
- * corrupt the file system itself. The file system you created remains. You can mount an EC2
32
- * instance in your VPC by using another mount target.</p>
33
- * <p>This operation requires permissions for the following action on the file
34
- * system:</p>
35
- * <ul>
36
- * <li>
37
- * <p>
38
- * <code>elasticfilesystem:DeleteMountTarget</code>
39
- * </p>
40
- * </li>
41
- * </ul>
42
- *
43
- * <note>
44
- * <p>The <code>DeleteMountTarget</code> call returns while the mount target state is still
45
- * <code>deleting</code>. You can check the mount target deletion by calling the <a>DescribeMountTargets</a> operation, which returns a list of mount target
46
- * descriptions for the given file system. </p>
47
- * </note>
48
- *
49
- * <p>The operation also requires permissions for the following Amazon EC2 action on the
50
- * mount target's network interface:</p>
51
- * <ul>
52
- * <li>
53
- * <p>
54
- * <code>ec2:DeleteNetworkInterface</code>
55
- * </p>
56
- * </li>
57
- * </ul>
58
- * @example
59
- * Use a bare-bones client and the command you need to make an API call.
60
- * ```javascript
61
- * import { EFSClient, DeleteMountTargetCommand } from "@aws-sdk/client-efs"; // ES Modules import
62
- * // const { EFSClient, DeleteMountTargetCommand } = require("@aws-sdk/client-efs"); // CommonJS import
63
- * const client = new EFSClient(config);
64
- * const command = new DeleteMountTargetCommand(input);
65
- * const response = await client.send(command);
66
- * ```
67
- *
68
- * @see {@link DeleteMountTargetCommandInput} for command's `input` shape.
69
- * @see {@link DeleteMountTargetCommandOutput} for command's `response` shape.
70
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
71
- *
72
- */
73
- export class DeleteMountTargetCommand extends $Command<
74
- DeleteMountTargetCommandInput,
75
- DeleteMountTargetCommandOutput,
76
- EFSClientResolvedConfig
77
- > {
78
- // Start section: command_properties
79
- // End section: command_properties
80
-
81
- constructor(readonly input: DeleteMountTargetCommandInput) {
82
- // Start section: command_constructor
83
- super();
84
- // End section: command_constructor
85
- }
86
-
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(
91
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
92
- configuration: EFSClientResolvedConfig,
93
- options?: __HttpHandlerOptions
94
- ): Handler<DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput> {
95
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
96
-
97
- const stack = clientStack.concat(this.middlewareStack);
98
-
99
- const { logger } = configuration;
100
- const clientName = "EFSClient";
101
- const commandName = "DeleteMountTargetCommand";
102
- const handlerExecutionContext: HandlerExecutionContext = {
103
- logger,
104
- clientName,
105
- commandName,
106
- inputFilterSensitiveLog: DeleteMountTargetRequest.filterSensitiveLog,
107
- outputFilterSensitiveLog: (output: any) => output,
108
- };
109
- const { requestHandler } = configuration;
110
- return stack.resolve(
111
- (request: FinalizeHandlerArguments<any>) =>
112
- requestHandler.handle(request.request as __HttpRequest, options || {}),
113
- handlerExecutionContext
114
- );
115
- }
116
-
117
- private serialize(input: DeleteMountTargetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
118
- return serializeAws_restJson1DeleteMountTargetCommand(input, context);
119
- }
120
-
121
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteMountTargetCommandOutput> {
122
- return deserializeAws_restJson1DeleteMountTargetCommand(output, context);
123
- }
124
-
125
- // Start section: command_body_extra
126
- // End section: command_body_extra
127
- }
@@ -1,106 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DeleteTagsRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteTagsCommand,
5
- serializeAws_restJson1DeleteTagsCommand,
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 DeleteTagsCommandInput extends DeleteTagsRequest {}
21
- export interface DeleteTagsCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * @deprecated
25
- *
26
- * <note>
27
- * <p>DEPRECATED - DeleteTags is deprecated and not maintained. Please use the
28
- * API action to remove tags from EFS resources.</p>
29
- * </note>
30
- * <p>Deletes the specified tags from a file system. If the <code>DeleteTags</code> request
31
- * includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an
32
- * error. For more information about tags and related restrictions, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Tag restrictions</a> in the
33
- * <i>Billing and Cost Management User Guide</i>.</p>
34
- *
35
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteTags</code>
36
- * action.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { EFSClient, DeleteTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
41
- * // const { EFSClient, DeleteTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
42
- * const client = new EFSClient(config);
43
- * const command = new DeleteTagsCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link DeleteTagsCommandInput} for command's `input` shape.
48
- * @see {@link DeleteTagsCommandOutput} for command's `response` shape.
49
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class DeleteTagsCommand extends $Command<
53
- DeleteTagsCommandInput,
54
- DeleteTagsCommandOutput,
55
- EFSClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: DeleteTagsCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: EFSClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<DeleteTagsCommandInput, DeleteTagsCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "EFSClient";
80
- const commandName = "DeleteTagsCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: DeleteTagsRequest.filterSensitiveLog,
86
- outputFilterSensitiveLog: (output: any) => output,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(input: DeleteTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
97
- return serializeAws_restJson1DeleteTagsCommand(input, context);
98
- }
99
-
100
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteTagsCommandOutput> {
101
- return deserializeAws_restJson1DeleteTagsCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,97 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DescribeAccessPointsRequest, DescribeAccessPointsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeAccessPointsCommand,
5
- serializeAws_restJson1DescribeAccessPointsCommand,
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 DescribeAccessPointsCommandInput extends DescribeAccessPointsRequest {}
21
- export interface DescribeAccessPointsCommandOutput extends DescribeAccessPointsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns the description of a specific Amazon EFS access point if the <code>AccessPointId</code> is provided.
25
- * If you provide an EFS <code>FileSystemId</code>, it returns descriptions of all access points for that file system.
26
- * You can provide either an <code>AccessPointId</code> or a <code>FileSystemId</code> in the request, but not both. </p>
27
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</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, DescribeAccessPointsCommand } from "@aws-sdk/client-efs"; // ES Modules import
32
- * // const { EFSClient, DescribeAccessPointsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
33
- * const client = new EFSClient(config);
34
- * const command = new DescribeAccessPointsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeAccessPointsCommandInput} for command's `input` shape.
39
- * @see {@link DescribeAccessPointsCommandOutput} for command's `response` shape.
40
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeAccessPointsCommand extends $Command<
44
- DescribeAccessPointsCommandInput,
45
- DescribeAccessPointsCommandOutput,
46
- EFSClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeAccessPointsCommandInput) {
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<DescribeAccessPointsCommandInput, DescribeAccessPointsCommandOutput> {
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 = "DescribeAccessPointsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeAccessPointsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeAccessPointsResponse.filterSensitiveLog,
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: DescribeAccessPointsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DescribeAccessPointsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeAccessPointsCommandOutput> {
92
- return deserializeAws_restJson1DescribeAccessPointsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,98 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DescribeAccountPreferencesRequest, DescribeAccountPreferencesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeAccountPreferencesCommand,
5
- serializeAws_restJson1DescribeAccountPreferencesCommand,
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 DescribeAccountPreferencesCommandInput extends DescribeAccountPreferencesRequest {}
21
- export interface DescribeAccountPreferencesCommandOutput extends DescribeAccountPreferencesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns the account preferences settings for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region.
25
- * For more information, see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EFSClient, DescribeAccountPreferencesCommand } from "@aws-sdk/client-efs"; // ES Modules import
30
- * // const { EFSClient, DescribeAccountPreferencesCommand } = require("@aws-sdk/client-efs"); // CommonJS import
31
- * const client = new EFSClient(config);
32
- * const command = new DescribeAccountPreferencesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeAccountPreferencesCommandInput} for command's `input` shape.
37
- * @see {@link DescribeAccountPreferencesCommandOutput} for command's `response` shape.
38
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeAccountPreferencesCommand extends $Command<
42
- DescribeAccountPreferencesCommandInput,
43
- DescribeAccountPreferencesCommandOutput,
44
- EFSClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeAccountPreferencesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: EFSClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeAccountPreferencesCommandInput, DescribeAccountPreferencesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "EFSClient";
69
- const commandName = "DescribeAccountPreferencesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeAccountPreferencesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeAccountPreferencesResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeAccountPreferencesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeAccountPreferencesCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<DescribeAccountPreferencesCommandOutput> {
93
- return deserializeAws_restJson1DescribeAccountPreferencesCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,94 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { BackupPolicyDescription, DescribeBackupPolicyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeBackupPolicyCommand,
5
- serializeAws_restJson1DescribeBackupPolicyCommand,
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 DescribeBackupPolicyCommandInput extends DescribeBackupPolicyRequest {}
21
- export interface DescribeBackupPolicyCommandOutput extends BackupPolicyDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns the backup policy for the specified EFS file system.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { EFSClient, DescribeBackupPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
29
- * // const { EFSClient, DescribeBackupPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
30
- * const client = new EFSClient(config);
31
- * const command = new DescribeBackupPolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeBackupPolicyCommandInput} for command's `input` shape.
36
- * @see {@link DescribeBackupPolicyCommandOutput} for command's `response` shape.
37
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeBackupPolicyCommand extends $Command<
41
- DescribeBackupPolicyCommandInput,
42
- DescribeBackupPolicyCommandOutput,
43
- EFSClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeBackupPolicyCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: EFSClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeBackupPolicyCommandInput, DescribeBackupPolicyCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "EFSClient";
68
- const commandName = "DescribeBackupPolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeBackupPolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: BackupPolicyDescription.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeBackupPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DescribeBackupPolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeBackupPolicyCommandOutput> {
89
- return deserializeAws_restJson1DescribeBackupPolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { DescribeFileSystemPolicyRequest, FileSystemPolicyDescription } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeFileSystemPolicyCommand,
5
- serializeAws_restJson1DescribeFileSystemPolicyCommand,
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 DescribeFileSystemPolicyCommandInput extends DescribeFileSystemPolicyRequest {}
21
- export interface DescribeFileSystemPolicyCommandOutput extends FileSystemPolicyDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns the <code>FileSystemPolicy</code> for the specified EFS file system.</p>
25
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeFileSystemPolicy</code> action.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EFSClient, DescribeFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
30
- * // const { EFSClient, DescribeFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
31
- * const client = new EFSClient(config);
32
- * const command = new DescribeFileSystemPolicyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeFileSystemPolicyCommandInput} for command's `input` shape.
37
- * @see {@link DescribeFileSystemPolicyCommandOutput} for command's `response` shape.
38
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeFileSystemPolicyCommand extends $Command<
42
- DescribeFileSystemPolicyCommandInput,
43
- DescribeFileSystemPolicyCommandOutput,
44
- EFSClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeFileSystemPolicyCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: EFSClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeFileSystemPolicyCommandInput, DescribeFileSystemPolicyCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "EFSClient";
69
- const commandName = "DescribeFileSystemPolicyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeFileSystemPolicyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: FileSystemPolicyDescription.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeFileSystemPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeFileSystemPolicyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFileSystemPolicyCommandOutput> {
90
- return deserializeAws_restJson1DescribeFileSystemPolicyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }