@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,119 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { ModifyMountTargetSecurityGroupsRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ModifyMountTargetSecurityGroupsCommand,
5
- serializeAws_restJson1ModifyMountTargetSecurityGroupsCommand,
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 ModifyMountTargetSecurityGroupsCommandInput extends ModifyMountTargetSecurityGroupsRequest {}
21
- export interface ModifyMountTargetSecurityGroupsCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Modifies the set of security groups in effect for a mount target.</p>
25
- * <p>When you create a mount target, Amazon EFS also creates a new network interface. For
26
- * more information, see <a>CreateMountTarget</a>. This operation replaces the security groups in effect for the
27
- * network interface associated with a mount target, with the <code>SecurityGroups</code>
28
- * provided in the request. This operation requires that the network interface of the mount
29
- * target has been created and the lifecycle state of the mount target is not
30
- * <code>deleted</code>. </p>
31
- * <p>The operation requires permissions for the following actions:</p>
32
- * <ul>
33
- * <li>
34
- * <p>
35
- * <code>elasticfilesystem:ModifyMountTargetSecurityGroups</code> action on the mount
36
- * target's file system. </p>
37
- * </li>
38
- * <li>
39
- * <p>
40
- * <code>ec2:ModifyNetworkInterfaceAttribute</code> action on the mount target's network
41
- * interface. </p>
42
- * </li>
43
- * </ul>
44
- * @example
45
- * Use a bare-bones client and the command you need to make an API call.
46
- * ```javascript
47
- * import { EFSClient, ModifyMountTargetSecurityGroupsCommand } from "@aws-sdk/client-efs"; // ES Modules import
48
- * // const { EFSClient, ModifyMountTargetSecurityGroupsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
49
- * const client = new EFSClient(config);
50
- * const command = new ModifyMountTargetSecurityGroupsCommand(input);
51
- * const response = await client.send(command);
52
- * ```
53
- *
54
- * @see {@link ModifyMountTargetSecurityGroupsCommandInput} for command's `input` shape.
55
- * @see {@link ModifyMountTargetSecurityGroupsCommandOutput} for command's `response` shape.
56
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
57
- *
58
- */
59
- export class ModifyMountTargetSecurityGroupsCommand extends $Command<
60
- ModifyMountTargetSecurityGroupsCommandInput,
61
- ModifyMountTargetSecurityGroupsCommandOutput,
62
- EFSClientResolvedConfig
63
- > {
64
- // Start section: command_properties
65
- // End section: command_properties
66
-
67
- constructor(readonly input: ModifyMountTargetSecurityGroupsCommandInput) {
68
- // Start section: command_constructor
69
- super();
70
- // End section: command_constructor
71
- }
72
-
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(
77
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
78
- configuration: EFSClientResolvedConfig,
79
- options?: __HttpHandlerOptions
80
- ): Handler<ModifyMountTargetSecurityGroupsCommandInput, ModifyMountTargetSecurityGroupsCommandOutput> {
81
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
82
-
83
- const stack = clientStack.concat(this.middlewareStack);
84
-
85
- const { logger } = configuration;
86
- const clientName = "EFSClient";
87
- const commandName = "ModifyMountTargetSecurityGroupsCommand";
88
- const handlerExecutionContext: HandlerExecutionContext = {
89
- logger,
90
- clientName,
91
- commandName,
92
- inputFilterSensitiveLog: ModifyMountTargetSecurityGroupsRequest.filterSensitiveLog,
93
- outputFilterSensitiveLog: (output: any) => output,
94
- };
95
- const { requestHandler } = configuration;
96
- return stack.resolve(
97
- (request: FinalizeHandlerArguments<any>) =>
98
- requestHandler.handle(request.request as __HttpRequest, options || {}),
99
- handlerExecutionContext
100
- );
101
- }
102
-
103
- private serialize(
104
- input: ModifyMountTargetSecurityGroupsCommandInput,
105
- context: __SerdeContext
106
- ): Promise<__HttpRequest> {
107
- return serializeAws_restJson1ModifyMountTargetSecurityGroupsCommand(input, context);
108
- }
109
-
110
- private deserialize(
111
- output: __HttpResponse,
112
- context: __SerdeContext
113
- ): Promise<ModifyMountTargetSecurityGroupsCommandOutput> {
114
- return deserializeAws_restJson1ModifyMountTargetSecurityGroupsCommand(output, context);
115
- }
116
-
117
- // Start section: command_body_extra
118
- // End section: command_body_extra
119
- }
@@ -1,97 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { PutAccountPreferencesRequest, PutAccountPreferencesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1PutAccountPreferencesCommand,
5
- serializeAws_restJson1PutAccountPreferencesCommand,
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 PutAccountPreferencesCommandInput extends PutAccountPreferencesRequest {}
21
- export interface PutAccountPreferencesCommandOutput extends PutAccountPreferencesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Use this operation to set the account preference in the current Amazon Web Services Region to use either long 17 character (63 bit) or short 8 character (32 bit) IDs for
25
- * new EFS file systems and mount targets created. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the
26
- * opt-in period as EFS transitions to long resource IDs. For more information,
27
- * see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { EFSClient, PutAccountPreferencesCommand } from "@aws-sdk/client-efs"; // ES Modules import
32
- * // const { EFSClient, PutAccountPreferencesCommand } = require("@aws-sdk/client-efs"); // CommonJS import
33
- * const client = new EFSClient(config);
34
- * const command = new PutAccountPreferencesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link PutAccountPreferencesCommandInput} for command's `input` shape.
39
- * @see {@link PutAccountPreferencesCommandOutput} for command's `response` shape.
40
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class PutAccountPreferencesCommand extends $Command<
44
- PutAccountPreferencesCommandInput,
45
- PutAccountPreferencesCommandOutput,
46
- EFSClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: PutAccountPreferencesCommandInput) {
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<PutAccountPreferencesCommandInput, PutAccountPreferencesCommandOutput> {
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 = "PutAccountPreferencesCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: PutAccountPreferencesRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: PutAccountPreferencesResponse.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: PutAccountPreferencesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1PutAccountPreferencesCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutAccountPreferencesCommandOutput> {
92
- return deserializeAws_restJson1PutAccountPreferencesCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,94 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { BackupPolicyDescription, PutBackupPolicyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1PutBackupPolicyCommand,
5
- serializeAws_restJson1PutBackupPolicyCommand,
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 PutBackupPolicyCommandInput extends PutBackupPolicyRequest {}
21
- export interface PutBackupPolicyCommandOutput extends BackupPolicyDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Updates the file system's backup policy. Use this action to start or stop automatic backups of the 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, PutBackupPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
29
- * // const { EFSClient, PutBackupPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
30
- * const client = new EFSClient(config);
31
- * const command = new PutBackupPolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link PutBackupPolicyCommandInput} for command's `input` shape.
36
- * @see {@link PutBackupPolicyCommandOutput} for command's `response` shape.
37
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class PutBackupPolicyCommand extends $Command<
41
- PutBackupPolicyCommandInput,
42
- PutBackupPolicyCommandOutput,
43
- EFSClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: PutBackupPolicyCommandInput) {
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<PutBackupPolicyCommandInput, PutBackupPolicyCommandOutput> {
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 = "PutBackupPolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: PutBackupPolicyRequest.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: PutBackupPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1PutBackupPolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutBackupPolicyCommandOutput> {
89
- return deserializeAws_restJson1PutBackupPolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,103 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { FileSystemPolicyDescription, PutFileSystemPolicyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1PutFileSystemPolicyCommand,
5
- serializeAws_restJson1PutFileSystemPolicyCommand,
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 PutFileSystemPolicyCommandInput extends PutFileSystemPolicyRequest {}
21
- export interface PutFileSystemPolicyCommandOutput extends FileSystemPolicyDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Applies an Amazon EFS <code>FileSystemPolicy</code> to an Amazon EFS file system.
25
- * A file system policy is an IAM resource-based policy and can contain multiple policy statements.
26
- * A file system always has exactly one file system policy, which can be the default policy or
27
- * an explicit policy set or updated using this API operation.
28
- * EFS file system policies have a 20,000 character limit.
29
- * When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
30
- * <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
31
- * </p>
32
- * <p>EFS file system policies have a 20,000 character limit.</p>
33
- * <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { EFSClient, PutFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
38
- * // const { EFSClient, PutFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
39
- * const client = new EFSClient(config);
40
- * const command = new PutFileSystemPolicyCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link PutFileSystemPolicyCommandInput} for command's `input` shape.
45
- * @see {@link PutFileSystemPolicyCommandOutput} for command's `response` shape.
46
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class PutFileSystemPolicyCommand extends $Command<
50
- PutFileSystemPolicyCommandInput,
51
- PutFileSystemPolicyCommandOutput,
52
- EFSClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: PutFileSystemPolicyCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: EFSClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<PutFileSystemPolicyCommandInput, PutFileSystemPolicyCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "EFSClient";
77
- const commandName = "PutFileSystemPolicyCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: PutFileSystemPolicyRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: FileSystemPolicyDescription.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: PutFileSystemPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_restJson1PutFileSystemPolicyCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutFileSystemPolicyCommandOutput> {
98
- return deserializeAws_restJson1PutFileSystemPolicyCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,127 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { LifecycleConfigurationDescription, PutLifecycleConfigurationRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1PutLifecycleConfigurationCommand,
5
- serializeAws_restJson1PutLifecycleConfigurationCommand,
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 PutLifecycleConfigurationCommandInput extends PutLifecycleConfigurationRequest {}
21
- export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigurationDescription, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Enables lifecycle management by creating a new <code>LifecycleConfiguration</code>
25
- * object. A <code>LifecycleConfiguration</code> object defines when files in an Amazon EFS file
26
- * system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
27
- * To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
28
- * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
29
- * <p>A <code>LifecycleConfiguration</code> applies to all files in a file system.</p>
30
- * <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
31
- * <code>LifecycleConfiguration</code> object already exists for the specified file system, a
32
- * <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
33
- * <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
34
- * array in the request body deletes any existing <code>LifecycleConfiguration</code> and
35
- * disables lifecycle management.</p>
36
- *
37
- *
38
- * <p>In the request, specify the following: </p>
39
- * <ul>
40
- * <li>
41
- * <p>The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.</p>
42
- * </li>
43
- * <li>
44
- * <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
45
- * define when files are moved to the IA storage class. The array can contain only one
46
- * <code>LifecyclePolicy</code> item.</p>
47
- * </li>
48
- * </ul>
49
- *
50
- * <p>This operation requires permissions for the
51
- * <code>elasticfilesystem:PutLifecycleConfiguration</code> operation.</p>
52
- * <p>To apply a <code>LifecycleConfiguration</code> object to an encrypted file system, you
53
- * need the same Key Management Service permissions as when you created the encrypted
54
- * file system. </p>
55
- * @example
56
- * Use a bare-bones client and the command you need to make an API call.
57
- * ```javascript
58
- * import { EFSClient, PutLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
59
- * // const { EFSClient, PutLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
60
- * const client = new EFSClient(config);
61
- * const command = new PutLifecycleConfigurationCommand(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link PutLifecycleConfigurationCommandInput} for command's `input` shape.
66
- * @see {@link PutLifecycleConfigurationCommandOutput} for command's `response` shape.
67
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class PutLifecycleConfigurationCommand extends $Command<
71
- PutLifecycleConfigurationCommandInput,
72
- PutLifecycleConfigurationCommandOutput,
73
- EFSClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: PutLifecycleConfigurationCommandInput) {
79
- // Start section: command_constructor
80
- super();
81
- // End section: command_constructor
82
- }
83
-
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(
88
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
89
- configuration: EFSClientResolvedConfig,
90
- options?: __HttpHandlerOptions
91
- ): Handler<PutLifecycleConfigurationCommandInput, PutLifecycleConfigurationCommandOutput> {
92
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
93
-
94
- const stack = clientStack.concat(this.middlewareStack);
95
-
96
- const { logger } = configuration;
97
- const clientName = "EFSClient";
98
- const commandName = "PutLifecycleConfigurationCommand";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: PutLifecycleConfigurationRequest.filterSensitiveLog,
104
- outputFilterSensitiveLog: LifecycleConfigurationDescription.filterSensitiveLog,
105
- };
106
- const { requestHandler } = configuration;
107
- return stack.resolve(
108
- (request: FinalizeHandlerArguments<any>) =>
109
- requestHandler.handle(request.request as __HttpRequest, options || {}),
110
- handlerExecutionContext
111
- );
112
- }
113
-
114
- private serialize(input: PutLifecycleConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_restJson1PutLifecycleConfigurationCommand(input, context);
116
- }
117
-
118
- private deserialize(
119
- output: __HttpResponse,
120
- context: __SerdeContext
121
- ): Promise<PutLifecycleConfigurationCommandOutput> {
122
- return deserializeAws_restJson1PutLifecycleConfigurationCommand(output, context);
123
- }
124
-
125
- // Start section: command_body_extra
126
- // End section: command_body_extra
127
- }
@@ -1,95 +0,0 @@
1
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
2
- import { TagResourceRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1TagResourceCommand,
5
- serializeAws_restJson1TagResourceCommand,
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 TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.</p>
25
- * <p>This operation requires permissions for the <code>elasticfilesystem:TagResource</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, TagResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
30
- * // const { EFSClient, TagResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
31
- * const client = new EFSClient(config);
32
- * const command = new TagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link TagResourceCommandInput} for command's `input` shape.
37
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class TagResourceCommand extends $Command<
42
- TagResourceCommandInput,
43
- TagResourceCommandOutput,
44
- EFSClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1TagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
90
- return deserializeAws_restJson1TagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }