@aws-sdk/client-efs 3.35.0 → 3.38.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 (270) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/EFS.js +0 -8
  3. package/dist-cjs/EFSClient.js +0 -13
  4. package/dist-cjs/commands/CreateAccessPointCommand.js +0 -32
  5. package/dist-cjs/commands/CreateFileSystemCommand.js +0 -78
  6. package/dist-cjs/commands/CreateMountTargetCommand.js +0 -166
  7. package/dist-cjs/commands/CreateTagsCommand.js +0 -36
  8. package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -28
  9. package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -39
  10. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -28
  11. package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -58
  12. package/dist-cjs/commands/DeleteTagsCommand.js +0 -37
  13. package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -28
  14. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -26
  15. package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -25
  16. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -26
  17. package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -47
  18. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -32
  19. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -40
  20. package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -32
  21. package/dist-cjs/commands/DescribeTagsCommand.js +0 -35
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  23. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -44
  24. package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -28
  25. package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -25
  26. package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -34
  27. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -55
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  30. package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -26
  31. package/dist-cjs/commands/index.js +30 -0
  32. package/dist-cjs/endpoints.js +1 -2
  33. package/dist-cjs/index.js +4 -35
  34. package/dist-cjs/models/index.js +0 -1
  35. package/dist-cjs/models/models_0.js +0 -232
  36. package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -11
  37. package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -11
  38. package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -11
  39. package/dist-cjs/pagination/Interfaces.js +0 -1
  40. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
  41. package/dist-cjs/pagination/index.js +8 -0
  42. package/dist-cjs/protocols/Aws_restJson1.js +8 -6
  43. package/dist-cjs/runtimeConfig.browser.js +1 -6
  44. package/dist-cjs/runtimeConfig.js +2 -7
  45. package/dist-cjs/runtimeConfig.native.js +0 -4
  46. package/dist-cjs/runtimeConfig.shared.js +0 -4
  47. package/dist-es/EFS.js +0 -1
  48. package/dist-es/EFSClient.js +0 -1
  49. package/dist-es/commands/CreateAccessPointCommand.js +0 -1
  50. package/dist-es/commands/CreateFileSystemCommand.js +0 -1
  51. package/dist-es/commands/CreateMountTargetCommand.js +0 -1
  52. package/dist-es/commands/CreateTagsCommand.js +0 -1
  53. package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
  54. package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
  55. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
  56. package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
  57. package/dist-es/commands/DeleteTagsCommand.js +0 -1
  58. package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
  59. package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
  60. package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
  61. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
  62. package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
  63. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
  64. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
  65. package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
  66. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  67. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  68. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
  69. package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
  70. package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
  71. package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
  72. package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
  73. package/dist-es/commands/TagResourceCommand.js +0 -1
  74. package/dist-es/commands/UntagResourceCommand.js +0 -1
  75. package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
  76. package/dist-es/commands/index.js +27 -0
  77. package/dist-es/endpoints.js +1 -2
  78. package/dist-es/index.js +4 -35
  79. package/dist-es/models/index.js +0 -1
  80. package/dist-es/models/models_0.js +0 -1
  81. package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
  82. package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
  83. package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
  84. package/dist-es/pagination/Interfaces.js +0 -1
  85. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  86. package/dist-es/pagination/index.js +5 -0
  87. package/dist-es/protocols/Aws_restJson1.js +22 -15
  88. package/dist-es/runtimeConfig.browser.js +1 -2
  89. package/dist-es/runtimeConfig.js +2 -3
  90. package/dist-es/runtimeConfig.native.js +0 -1
  91. package/dist-es/runtimeConfig.shared.js +0 -1
  92. package/dist-types/EFS.d.ts +15 -8
  93. package/dist-types/commands/PutAccountPreferencesCommand.d.ts +7 -3
  94. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -1
  95. package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +5 -4
  96. package/dist-types/commands/index.d.ts +27 -0
  97. package/dist-types/index.d.ts +4 -34
  98. package/dist-types/models/models_0.d.ts +34 -6
  99. package/dist-types/pagination/index.d.ts +5 -0
  100. package/dist-types/ts3.4/EFS.d.ts +28 -496
  101. package/dist-types/ts3.4/EFSClient.d.ts +24 -93
  102. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -27
  103. package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -73
  104. package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +2 -161
  105. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -31
  106. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -34
  108. package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +2 -53
  110. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -32
  111. package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +2 -21
  115. package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -42
  116. package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -27
  117. package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -35
  118. package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +2 -27
  119. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -30
  120. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  121. package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -39
  122. package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +2 -23
  123. package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +2 -29
  125. package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +2 -50
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -21
  129. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  130. package/dist-types/ts3.4/index.d.ts +4 -34
  131. package/dist-types/ts3.4/models/models_0.d.ts +273 -1088
  132. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  137. package/package.json +33 -30
  138. package/dist-cjs/EFS.js.map +0 -1
  139. package/dist-cjs/EFSClient.js.map +0 -1
  140. package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
  141. package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
  142. package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
  143. package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
  144. package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
  145. package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
  146. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  147. package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
  148. package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
  149. package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
  150. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  151. package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
  152. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  153. package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
  154. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  155. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  156. package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
  157. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  158. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  159. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  160. package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
  161. package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
  162. package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
  163. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  164. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  165. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  166. package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
  167. package/dist-cjs/endpoints.js.map +0 -1
  168. package/dist-cjs/index.js.map +0 -1
  169. package/dist-cjs/models/index.js.map +0 -1
  170. package/dist-cjs/models/models_0.js.map +0 -1
  171. package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  172. package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  173. package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
  174. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  175. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  176. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  177. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  178. package/dist-cjs/runtimeConfig.js.map +0 -1
  179. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  180. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  181. package/dist-es/EFS.js.map +0 -1
  182. package/dist-es/EFSClient.js.map +0 -1
  183. package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
  184. package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
  185. package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
  186. package/dist-es/commands/CreateTagsCommand.js.map +0 -1
  187. package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
  188. package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
  189. package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  190. package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
  191. package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
  192. package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
  193. package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  194. package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
  195. package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  196. package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
  197. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  198. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  199. package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
  200. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  201. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  202. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  203. package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
  204. package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
  205. package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
  206. package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  207. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  208. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  209. package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
  210. package/dist-es/endpoints.js.map +0 -1
  211. package/dist-es/index.js.map +0 -1
  212. package/dist-es/models/index.js.map +0 -1
  213. package/dist-es/models/models_0.js.map +0 -1
  214. package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  215. package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  216. package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
  217. package/dist-es/pagination/Interfaces.js.map +0 -1
  218. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  219. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  220. package/dist-es/runtimeConfig.browser.js.map +0 -1
  221. package/dist-es/runtimeConfig.js.map +0 -1
  222. package/dist-es/runtimeConfig.native.js.map +0 -1
  223. package/dist-es/runtimeConfig.shared.js.map +0 -1
  224. package/jest.config.js +0 -4
  225. package/src/EFS.ts +0 -1386
  226. package/src/EFSClient.ts +0 -363
  227. package/src/commands/CreateAccessPointCommand.ts +0 -102
  228. package/src/commands/CreateFileSystemCommand.ts +0 -148
  229. package/src/commands/CreateMountTargetCommand.ts +0 -236
  230. package/src/commands/CreateTagsCommand.ts +0 -106
  231. package/src/commands/DeleteAccessPointCommand.ts +0 -98
  232. package/src/commands/DeleteFileSystemCommand.ts +0 -109
  233. package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
  234. package/src/commands/DeleteMountTargetCommand.ts +0 -128
  235. package/src/commands/DeleteTagsCommand.ts +0 -107
  236. package/src/commands/DescribeAccessPointsCommand.ts +0 -98
  237. package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
  238. package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
  239. package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
  240. package/src/commands/DescribeFileSystemsCommand.ts +0 -117
  241. package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
  242. package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
  243. package/src/commands/DescribeMountTargetsCommand.ts +0 -102
  244. package/src/commands/DescribeTagsCommand.ts +0 -105
  245. package/src/commands/ListTagsForResourceCommand.ts +0 -96
  246. package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
  247. package/src/commands/PutAccountPreferencesCommand.ts +0 -98
  248. package/src/commands/PutBackupPolicyCommand.ts +0 -95
  249. package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
  250. package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
  251. package/src/commands/TagResourceCommand.ts +0 -96
  252. package/src/commands/UntagResourceCommand.ts +0 -96
  253. package/src/commands/UpdateFileSystemCommand.ts +0 -96
  254. package/src/endpoints.ts +0 -183
  255. package/src/index.ts +0 -35
  256. package/src/models/index.ts +0 -1
  257. package/src/models/models_0.ts +0 -2185
  258. package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
  259. package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
  260. package/src/pagination/DescribeTagsPaginator.ts +0 -59
  261. package/src/pagination/Interfaces.ts +0 -8
  262. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  263. package/src/protocols/Aws_restJson1.ts +0 -4420
  264. package/src/runtimeConfig.browser.ts +0 -41
  265. package/src/runtimeConfig.native.ts +0 -17
  266. package/src/runtimeConfig.shared.ts +0 -17
  267. package/src/runtimeConfig.ts +0 -46
  268. package/tsconfig.es.json +0 -10
  269. package/tsconfig.json +0 -33
  270. package/tsconfig.types.json +0 -9
@@ -5,68 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the specified mount target.</p>
10
- *
11
- * <p>This operation forcibly breaks any mounts of the file system by using the mount target
12
- * that is being deleted, which might disrupt instances or applications using those mounts. To
13
- * avoid applications getting cut off abruptly, you might consider unmounting any mounts of the
14
- * mount target, if feasible. The operation also deletes the associated network interface.
15
- * Uncommitted writes might be lost, but breaking a mount target using this operation does not
16
- * corrupt the file system itself. The file system you created remains. You can mount an EC2
17
- * instance in your VPC by using another mount target.</p>
18
- * <p>This operation requires permissions for the following action on the file
19
- * system:</p>
20
- * <ul>
21
- * <li>
22
- * <p>
23
- * <code>elasticfilesystem:DeleteMountTarget</code>
24
- * </p>
25
- * </li>
26
- * </ul>
27
- *
28
- * <note>
29
- * <p>The <code>DeleteMountTarget</code> call returns while the mount target state is still
30
- * <code>deleting</code>. You can check the mount target deletion by calling the <a>DescribeMountTargets</a> operation, which returns a list of mount target
31
- * descriptions for the given file system. </p>
32
- * </note>
33
- *
34
- * <p>The operation also requires permissions for the following Amazon EC2 action on the
35
- * mount target's network interface:</p>
36
- * <ul>
37
- * <li>
38
- * <p>
39
- * <code>ec2:DeleteNetworkInterface</code>
40
- * </p>
41
- * </li>
42
- * </ul>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { EFSClient, DeleteMountTargetCommand } from "@aws-sdk/client-efs"; // ES Modules import
47
- * // const { EFSClient, DeleteMountTargetCommand } = require("@aws-sdk/client-efs"); // CommonJS import
48
- * const client = new EFSClient(config);
49
- * const command = new DeleteMountTargetCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link DeleteMountTargetCommandInput} for command's `input` shape.
54
- * @see {@link DeleteMountTargetCommandOutput} for command's `response` shape.
55
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
8
  class DeleteMountTargetCommand extends smithy_client_1.Command {
59
- // Start section: command_properties
60
- // End section: command_properties
61
9
  constructor(input) {
62
- // Start section: command_constructor
63
10
  super();
64
11
  this.input = input;
65
- // End section: command_constructor
66
12
  }
67
- /**
68
- * @internal
69
- */
70
13
  resolveMiddleware(clientStack, configuration, options) {
71
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
72
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -91,4 +34,3 @@ class DeleteMountTargetCommand extends smithy_client_1.Command {
91
34
  }
92
35
  }
93
36
  exports.DeleteMountTargetCommand = DeleteMountTargetCommand;
94
- //# sourceMappingURL=DeleteMountTargetCommand.js.map
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * @deprecated
10
- *
11
- * <note>
12
- * <p>DEPRECATED - DeleteTags is deprecated and not maintained. Please use the
13
- * API action to remove tags from EFS resources.</p>
14
- * </note>
15
- * <p>Deletes the specified tags from a file system. If the <code>DeleteTags</code> request
16
- * includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an
17
- * 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
18
- * <i>Billing and Cost Management User Guide</i>.</p>
19
- *
20
- * <p>This operation requires permissions for the <code>elasticfilesystem:DeleteTags</code>
21
- * action.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { EFSClient, DeleteTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
26
- * // const { EFSClient, DeleteTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
27
- * const client = new EFSClient(config);
28
- * const command = new DeleteTagsCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link DeleteTagsCommandInput} for command's `input` shape.
33
- * @see {@link DeleteTagsCommandOutput} for command's `response` shape.
34
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class DeleteTagsCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -70,4 +34,3 @@ class DeleteTagsCommand extends smithy_client_1.Command {
70
34
  }
71
35
  }
72
36
  exports.DeleteTagsCommand = DeleteTagsCommand;
73
- //# sourceMappingURL=DeleteTagsCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the description of a specific Amazon EFS access point if the <code>AccessPointId</code> is provided.
10
- * If you provide an EFS <code>FileSystemId</code>, it returns descriptions of all access points for that file system.
11
- * You can provide either an <code>AccessPointId</code> or a <code>FileSystemId</code> in the request, but not both. </p>
12
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { EFSClient, DescribeAccessPointsCommand } from "@aws-sdk/client-efs"; // ES Modules import
17
- * // const { EFSClient, DescribeAccessPointsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
18
- * const client = new EFSClient(config);
19
- * const command = new DescribeAccessPointsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeAccessPointsCommandInput} for command's `input` shape.
24
- * @see {@link DescribeAccessPointsCommandOutput} for command's `response` shape.
25
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeAccessPointsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DescribeAccessPointsCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DescribeAccessPointsCommand = DescribeAccessPointsCommand;
64
- //# sourceMappingURL=DescribeAccessPointsCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <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.
10
- * For more information, see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EFSClient, DescribeAccountPreferencesCommand } from "@aws-sdk/client-efs"; // ES Modules import
15
- * // const { EFSClient, DescribeAccountPreferencesCommand } = require("@aws-sdk/client-efs"); // CommonJS import
16
- * const client = new EFSClient(config);
17
- * const command = new DescribeAccountPreferencesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeAccountPreferencesCommandInput} for command's `input` shape.
22
- * @see {@link DescribeAccountPreferencesCommandOutput} for command's `response` shape.
23
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeAccountPreferencesCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DescribeAccountPreferencesCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DescribeAccountPreferencesCommand = DescribeAccountPreferencesCommand;
62
- //# sourceMappingURL=DescribeAccountPreferencesCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the backup policy for the specified EFS file system.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { EFSClient, DescribeBackupPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
14
- * // const { EFSClient, DescribeBackupPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
15
- * const client = new EFSClient(config);
16
- * const command = new DescribeBackupPolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeBackupPolicyCommandInput} for command's `input` shape.
21
- * @see {@link DescribeBackupPolicyCommandOutput} for command's `response` shape.
22
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeBackupPolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeBackupPolicyCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeBackupPolicyCommand = DescribeBackupPolicyCommand;
61
- //# sourceMappingURL=DescribeBackupPolicyCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the <code>FileSystemPolicy</code> for the specified EFS file system.</p>
10
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeFileSystemPolicy</code> action.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EFSClient, DescribeFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
15
- * // const { EFSClient, DescribeFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
16
- * const client = new EFSClient(config);
17
- * const command = new DescribeFileSystemPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeFileSystemPolicyCommandInput} for command's `input` shape.
22
- * @see {@link DescribeFileSystemPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeFileSystemPolicyCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DescribeFileSystemPolicyCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DescribeFileSystemPolicyCommand = DescribeFileSystemPolicyCommand;
62
- //# sourceMappingURL=DescribeFileSystemPolicyCommand.js.map
@@ -5,57 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the description of a specific Amazon EFS file system if either the file system
10
- * <code>CreationToken</code> or the <code>FileSystemId</code> is provided. Otherwise, it
11
- * returns descriptions of all file systems owned by the caller's Amazon Web Services account in the
12
- * Amazon Web Services Region of the endpoint that you're calling.</p>
13
- *
14
- * <p>When retrieving all file system descriptions, you can optionally specify the
15
- * <code>MaxItems</code> parameter to limit the number of descriptions in a response.
16
- * Currently, this number is automatically set to 10. If more file system descriptions remain,
17
- * Amazon EFS returns a <code>NextMarker</code>, an opaque token, in the response. In this case,
18
- * you should send a subsequent request with the <code>Marker</code> request parameter set to the
19
- * value of <code>NextMarker</code>. </p>
20
- *
21
- * <p>To retrieve a list of your file system descriptions, this operation is used in an
22
- * iterative process, where <code>DescribeFileSystems</code> is called first without the
23
- * <code>Marker</code> and then the operation continues to call it with the <code>Marker</code>
24
- * parameter set to the value of the <code>NextMarker</code> from the previous response until the
25
- * response has no <code>NextMarker</code>. </p>
26
- *
27
- * <p> The order of file systems returned in the response of one
28
- * <code>DescribeFileSystems</code> call and the order of file systems returned across the
29
- * responses of a multi-call iteration is unspecified. </p>
30
- * <p> This operation requires permissions for the
31
- * <code>elasticfilesystem:DescribeFileSystems</code> action. </p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { EFSClient, DescribeFileSystemsCommand } from "@aws-sdk/client-efs"; // ES Modules import
36
- * // const { EFSClient, DescribeFileSystemsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
37
- * const client = new EFSClient(config);
38
- * const command = new DescribeFileSystemsCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DescribeFileSystemsCommandInput} for command's `input` shape.
43
- * @see {@link DescribeFileSystemsCommandOutput} for command's `response` shape.
44
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
8
  class DescribeFileSystemsCommand extends smithy_client_1.Command {
48
- // Start section: command_properties
49
- // End section: command_properties
50
9
  constructor(input) {
51
- // Start section: command_constructor
52
10
  super();
53
11
  this.input = input;
54
- // End section: command_constructor
55
12
  }
56
- /**
57
- * @internal
58
- */
59
13
  resolveMiddleware(clientStack, configuration, options) {
60
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
61
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -80,4 +34,3 @@ class DescribeFileSystemsCommand extends smithy_client_1.Command {
80
34
  }
81
35
  }
82
36
  exports.DescribeFileSystemsCommand = DescribeFileSystemsCommand;
83
- //# sourceMappingURL=DescribeFileSystemsCommand.js.map
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon
10
- * EFS file system. EFS lifecycle management uses the <code>LifecycleConfiguration</code> object
11
- * to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system
12
- * without a <code>LifecycleConfiguration</code> object, the call returns an empty array in the
13
- * response.</p>
14
- * <p>When EFS Intelligent Tiering is enabled, <code>TransitionToPrimaryStorageClass</code> has a value of <code>AFTER_1_ACCESS</code>.</p>
15
- * <p>This operation requires permissions for the
16
- * <code>elasticfilesystem:DescribeLifecycleConfiguration</code> operation.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { EFSClient, DescribeLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
21
- * // const { EFSClient, DescribeLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
22
- * const client = new EFSClient(config);
23
- * const command = new DescribeLifecycleConfigurationCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DescribeLifecycleConfigurationCommandInput} for command's `input` shape.
28
- * @see {@link DescribeLifecycleConfigurationCommandOutput} for command's `response` shape.
29
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class DescribeLifecycleConfigurationCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class DescribeLifecycleConfigurationCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.DescribeLifecycleConfigurationCommand = DescribeLifecycleConfigurationCommand;
68
- //# sourceMappingURL=DescribeLifecycleConfigurationCommand.js.map
@@ -5,50 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the security groups currently in effect for a mount target. This operation
10
- * requires that the network interface of the mount target has been created and the lifecycle
11
- * state of the mount target is not <code>deleted</code>.</p>
12
- * <p>This operation requires permissions for the following actions:</p>
13
- * <ul>
14
- * <li>
15
- * <p>
16
- * <code>elasticfilesystem:DescribeMountTargetSecurityGroups</code> action on the mount
17
- * target's file system. </p>
18
- * </li>
19
- * <li>
20
- * <p>
21
- * <code>ec2:DescribeNetworkInterfaceAttribute</code> action on the mount target's
22
- * network interface. </p>
23
- * </li>
24
- * </ul>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { EFSClient, DescribeMountTargetSecurityGroupsCommand } from "@aws-sdk/client-efs"; // ES Modules import
29
- * // const { EFSClient, DescribeMountTargetSecurityGroupsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
30
- * const client = new EFSClient(config);
31
- * const command = new DescribeMountTargetSecurityGroupsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeMountTargetSecurityGroupsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeMountTargetSecurityGroupsCommandOutput} for command's `response` shape.
37
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
8
  class DescribeMountTargetSecurityGroupsCommand extends smithy_client_1.Command {
41
- // Start section: command_properties
42
- // End section: command_properties
43
9
  constructor(input) {
44
- // Start section: command_constructor
45
10
  super();
46
11
  this.input = input;
47
- // End section: command_constructor
48
12
  }
49
- /**
50
- * @internal
51
- */
52
13
  resolveMiddleware(clientStack, configuration, options) {
53
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
54
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -73,4 +34,3 @@ class DescribeMountTargetSecurityGroupsCommand extends smithy_client_1.Command {
73
34
  }
74
35
  }
75
36
  exports.DescribeMountTargetSecurityGroupsCommand = DescribeMountTargetSecurityGroupsCommand;
76
- //# sourceMappingURL=DescribeMountTargetSecurityGroupsCommand.js.map
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the descriptions of all the current mount targets, or a specific mount target,
10
- * for a file system. When requesting all of the current mount targets, the order of mount
11
- * targets returned in the response is unspecified.</p>
12
- *
13
- * <p>This operation requires permissions for the
14
- * <code>elasticfilesystem:DescribeMountTargets</code> action, on either the file system ID
15
- * that you specify in <code>FileSystemId</code>, or on the file system of the mount target that
16
- * you specify in <code>MountTargetId</code>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { EFSClient, DescribeMountTargetsCommand } from "@aws-sdk/client-efs"; // ES Modules import
21
- * // const { EFSClient, DescribeMountTargetsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
22
- * const client = new EFSClient(config);
23
- * const command = new DescribeMountTargetsCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DescribeMountTargetsCommandInput} for command's `input` shape.
28
- * @see {@link DescribeMountTargetsCommandOutput} for command's `response` shape.
29
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class DescribeMountTargetsCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class DescribeMountTargetsCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.DescribeMountTargetsCommand = DescribeMountTargetsCommand;
68
- //# sourceMappingURL=DescribeMountTargetsCommand.js.map
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * @deprecated
10
- *
11
- * <note>
12
- * <p>DEPRECATED - The DeleteTags action is deprecated and not maintained. Please use the
13
- * API action to remove tags from EFS resources.</p>
14
- * </note>
15
- * <p>Returns the tags associated with a file system. The order of tags returned in the
16
- * response of one <code>DescribeTags</code> call and the order of tags returned across the
17
- * responses of a multiple-call iteration (when using pagination) is unspecified. </p>
18
- * <p> This operation requires permissions for the
19
- * <code>elasticfilesystem:DescribeTags</code> action. </p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { EFSClient, DescribeTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
24
- * // const { EFSClient, DescribeTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
25
- * const client = new EFSClient(config);
26
- * const command = new DescribeTagsCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DescribeTagsCommandInput} for command's `input` shape.
31
- * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
32
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DescribeTagsCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -68,4 +34,3 @@ class DescribeTagsCommand extends smithy_client_1.Command {
68
34
  }
69
35
  }
70
36
  exports.DescribeTagsCommand = DescribeTagsCommand;
71
- //# sourceMappingURL=DescribeTagsCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for.</p>
10
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EFSClient, ListTagsForResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
15
- * // const { EFSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
16
- * const client = new EFSClient(config);
17
- * const command = new ListTagsForResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
62
- //# sourceMappingURL=ListTagsForResourceCommand.js.map