@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
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
15
- import { UntagResourceRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UntagResourceCommand,
18
- serializeAws_restJson1UntagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation.</p>
26
- * <p>This operation requires permissions for the <code>elasticfilesystem:UntagResource</code> action.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { EFSClient, UntagResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
31
- * // const { EFSClient, UntagResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
32
- * const client = new EFSClient(config);
33
- * const command = new UntagResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
38
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
39
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UntagResourceCommand extends $Command<
43
- UntagResourceCommandInput,
44
- UntagResourceCommandOutput,
45
- EFSClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UntagResourceCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: EFSClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "EFSClient";
70
- const commandName = "UntagResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: (output: any) => output,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1UntagResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
91
- return deserializeAws_restJson1UntagResourceCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
15
- import { FileSystemDescription, UpdateFileSystemRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UpdateFileSystemCommand,
18
- serializeAws_restJson1UpdateFileSystemCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UpdateFileSystemCommandInput extends UpdateFileSystemRequest {}
22
- export interface UpdateFileSystemCommandOutput extends FileSystemDescription, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates the throughput mode or the amount of provisioned throughput of an existing file
26
- * system.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { EFSClient, UpdateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
31
- * // const { EFSClient, UpdateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
32
- * const client = new EFSClient(config);
33
- * const command = new UpdateFileSystemCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UpdateFileSystemCommandInput} for command's `input` shape.
38
- * @see {@link UpdateFileSystemCommandOutput} for command's `response` shape.
39
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UpdateFileSystemCommand extends $Command<
43
- UpdateFileSystemCommandInput,
44
- UpdateFileSystemCommandOutput,
45
- EFSClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UpdateFileSystemCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: EFSClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "EFSClient";
70
- const commandName = "UpdateFileSystemCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UpdateFileSystemRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: FileSystemDescription.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UpdateFileSystemCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1UpdateFileSystemCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFileSystemCommandOutput> {
91
- return deserializeAws_restJson1UpdateFileSystemCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
package/src/endpoints.ts DELETED
@@ -1,183 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {
5
- "fips-af-south-1": {
6
- hostname: "elasticfilesystem-fips.af-south-1.amazonaws.com",
7
- signingRegion: "af-south-1",
8
- },
9
- "fips-ap-east-1": {
10
- hostname: "elasticfilesystem-fips.ap-east-1.amazonaws.com",
11
- signingRegion: "ap-east-1",
12
- },
13
- "fips-ap-northeast-1": {
14
- hostname: "elasticfilesystem-fips.ap-northeast-1.amazonaws.com",
15
- signingRegion: "ap-northeast-1",
16
- },
17
- "fips-ap-northeast-2": {
18
- hostname: "elasticfilesystem-fips.ap-northeast-2.amazonaws.com",
19
- signingRegion: "ap-northeast-2",
20
- },
21
- "fips-ap-northeast-3": {
22
- hostname: "elasticfilesystem-fips.ap-northeast-3.amazonaws.com",
23
- signingRegion: "ap-northeast-3",
24
- },
25
- "fips-ap-south-1": {
26
- hostname: "elasticfilesystem-fips.ap-south-1.amazonaws.com",
27
- signingRegion: "ap-south-1",
28
- },
29
- "fips-ap-southeast-1": {
30
- hostname: "elasticfilesystem-fips.ap-southeast-1.amazonaws.com",
31
- signingRegion: "ap-southeast-1",
32
- },
33
- "fips-ap-southeast-2": {
34
- hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com",
35
- signingRegion: "ap-southeast-2",
36
- },
37
- "fips-ca-central-1": {
38
- hostname: "elasticfilesystem-fips.ca-central-1.amazonaws.com",
39
- signingRegion: "ca-central-1",
40
- },
41
- "fips-cn-north-1": {
42
- hostname: "elasticfilesystem-fips.cn-north-1.amazonaws.com.cn",
43
- signingRegion: "cn-north-1",
44
- },
45
- "fips-cn-northwest-1": {
46
- hostname: "elasticfilesystem-fips.cn-northwest-1.amazonaws.com.cn",
47
- signingRegion: "cn-northwest-1",
48
- },
49
- "fips-eu-central-1": {
50
- hostname: "elasticfilesystem-fips.eu-central-1.amazonaws.com",
51
- signingRegion: "eu-central-1",
52
- },
53
- "fips-eu-north-1": {
54
- hostname: "elasticfilesystem-fips.eu-north-1.amazonaws.com",
55
- signingRegion: "eu-north-1",
56
- },
57
- "fips-eu-south-1": {
58
- hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com",
59
- signingRegion: "eu-south-1",
60
- },
61
- "fips-eu-west-1": {
62
- hostname: "elasticfilesystem-fips.eu-west-1.amazonaws.com",
63
- signingRegion: "eu-west-1",
64
- },
65
- "fips-eu-west-2": {
66
- hostname: "elasticfilesystem-fips.eu-west-2.amazonaws.com",
67
- signingRegion: "eu-west-2",
68
- },
69
- "fips-eu-west-3": {
70
- hostname: "elasticfilesystem-fips.eu-west-3.amazonaws.com",
71
- signingRegion: "eu-west-3",
72
- },
73
- "fips-me-south-1": {
74
- hostname: "elasticfilesystem-fips.me-south-1.amazonaws.com",
75
- signingRegion: "me-south-1",
76
- },
77
- "fips-sa-east-1": {
78
- hostname: "elasticfilesystem-fips.sa-east-1.amazonaws.com",
79
- signingRegion: "sa-east-1",
80
- },
81
- "fips-us-east-1": {
82
- hostname: "elasticfilesystem-fips.us-east-1.amazonaws.com",
83
- signingRegion: "us-east-1",
84
- },
85
- "fips-us-east-2": {
86
- hostname: "elasticfilesystem-fips.us-east-2.amazonaws.com",
87
- signingRegion: "us-east-2",
88
- },
89
- "fips-us-gov-east-1": {
90
- hostname: "elasticfilesystem-fips.us-gov-east-1.amazonaws.com",
91
- signingRegion: "us-gov-east-1",
92
- },
93
- "fips-us-gov-west-1": {
94
- hostname: "elasticfilesystem-fips.us-gov-west-1.amazonaws.com",
95
- signingRegion: "us-gov-west-1",
96
- },
97
- "fips-us-iso-east-1": {
98
- hostname: "elasticfilesystem-fips.us-iso-east-1.c2s.ic.gov",
99
- signingRegion: "us-iso-east-1",
100
- },
101
- "fips-us-west-1": {
102
- hostname: "elasticfilesystem-fips.us-west-1.amazonaws.com",
103
- signingRegion: "us-west-1",
104
- },
105
- "fips-us-west-2": {
106
- hostname: "elasticfilesystem-fips.us-west-2.amazonaws.com",
107
- signingRegion: "us-west-2",
108
- },
109
- };
110
-
111
- const partitionHash: PartitionHash = {
112
- aws: {
113
- regions: [
114
- "af-south-1",
115
- "ap-east-1",
116
- "ap-northeast-1",
117
- "ap-northeast-2",
118
- "ap-northeast-3",
119
- "ap-south-1",
120
- "ap-southeast-1",
121
- "ap-southeast-2",
122
- "ca-central-1",
123
- "eu-central-1",
124
- "eu-north-1",
125
- "eu-south-1",
126
- "eu-west-1",
127
- "eu-west-2",
128
- "eu-west-3",
129
- "fips-af-south-1",
130
- "fips-ap-east-1",
131
- "fips-ap-northeast-1",
132
- "fips-ap-northeast-2",
133
- "fips-ap-northeast-3",
134
- "fips-ap-south-1",
135
- "fips-ap-southeast-1",
136
- "fips-ap-southeast-2",
137
- "fips-ca-central-1",
138
- "fips-eu-central-1",
139
- "fips-eu-north-1",
140
- "fips-eu-south-1",
141
- "fips-eu-west-1",
142
- "fips-eu-west-2",
143
- "fips-eu-west-3",
144
- "fips-me-south-1",
145
- "fips-sa-east-1",
146
- "fips-us-east-1",
147
- "fips-us-east-2",
148
- "fips-us-west-1",
149
- "fips-us-west-2",
150
- "me-south-1",
151
- "sa-east-1",
152
- "us-east-1",
153
- "us-east-2",
154
- "us-west-1",
155
- "us-west-2",
156
- ],
157
- hostname: "elasticfilesystem.{region}.amazonaws.com",
158
- },
159
- "aws-cn": {
160
- regions: ["cn-north-1", "cn-northwest-1", "fips-cn-north-1", "fips-cn-northwest-1"],
161
- hostname: "elasticfilesystem.{region}.amazonaws.com.cn",
162
- },
163
- "aws-iso": {
164
- regions: ["fips-us-iso-east-1", "us-iso-east-1"],
165
- hostname: "elasticfilesystem.{region}.c2s.ic.gov",
166
- },
167
- "aws-iso-b": {
168
- regions: ["us-isob-east-1"],
169
- hostname: "elasticfilesystem.{region}.sc2s.sgov.gov",
170
- },
171
- "aws-us-gov": {
172
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
173
- hostname: "elasticfilesystem.{region}.amazonaws.com",
174
- },
175
- };
176
-
177
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
178
- getRegionInfo(region, {
179
- ...options,
180
- signingService: "elasticfilesystem",
181
- regionHash,
182
- partitionHash,
183
- });
package/src/index.ts DELETED
@@ -1,35 +0,0 @@
1
- export * from "./EFSClient";
2
- export * from "./EFS";
3
- export * from "./commands/CreateAccessPointCommand";
4
- export * from "./commands/CreateFileSystemCommand";
5
- export * from "./commands/CreateMountTargetCommand";
6
- export * from "./commands/CreateTagsCommand";
7
- export * from "./commands/DeleteAccessPointCommand";
8
- export * from "./commands/DeleteFileSystemCommand";
9
- export * from "./commands/DeleteFileSystemPolicyCommand";
10
- export * from "./commands/DeleteMountTargetCommand";
11
- export * from "./commands/DeleteTagsCommand";
12
- export * from "./commands/DescribeAccessPointsCommand";
13
- export * from "./pagination/DescribeAccessPointsPaginator";
14
- export * from "./commands/DescribeAccountPreferencesCommand";
15
- export * from "./commands/DescribeBackupPolicyCommand";
16
- export * from "./commands/DescribeFileSystemPolicyCommand";
17
- export * from "./commands/DescribeFileSystemsCommand";
18
- export * from "./pagination/DescribeFileSystemsPaginator";
19
- export * from "./commands/DescribeLifecycleConfigurationCommand";
20
- export * from "./commands/DescribeMountTargetsCommand";
21
- export * from "./commands/DescribeMountTargetSecurityGroupsCommand";
22
- export * from "./commands/DescribeTagsCommand";
23
- export * from "./pagination/DescribeTagsPaginator";
24
- export * from "./commands/ListTagsForResourceCommand";
25
- export * from "./pagination/ListTagsForResourcePaginator";
26
- export * from "./commands/ModifyMountTargetSecurityGroupsCommand";
27
- export * from "./commands/PutAccountPreferencesCommand";
28
- export * from "./commands/PutBackupPolicyCommand";
29
- export * from "./commands/PutFileSystemPolicyCommand";
30
- export * from "./commands/PutLifecycleConfigurationCommand";
31
- export * from "./commands/TagResourceCommand";
32
- export * from "./commands/UntagResourceCommand";
33
- export * from "./commands/UpdateFileSystemCommand";
34
- export * from "./pagination/Interfaces";
35
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";