@aws-sdk/client-efs 3.35.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 (221) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist-cjs/EFS.js +0 -1
  3. package/dist-cjs/EFSClient.js +0 -1
  4. package/dist-cjs/commands/CreateAccessPointCommand.js +0 -1
  5. package/dist-cjs/commands/CreateFileSystemCommand.js +0 -1
  6. package/dist-cjs/commands/CreateMountTargetCommand.js +0 -1
  7. package/dist-cjs/commands/CreateTagsCommand.js +0 -1
  8. package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteTagsCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -1
  14. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -1
  16. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -1
  18. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -1
  19. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
  20. package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -1
  21. package/dist-cjs/commands/DescribeTagsCommand.js +0 -1
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  23. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
  24. package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -1
  25. package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -1
  26. package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -1
  27. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -1
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  30. package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -1
  31. package/dist-cjs/endpoints.js +0 -1
  32. package/dist-cjs/index.js +0 -1
  33. package/dist-cjs/models/index.js +0 -1
  34. package/dist-cjs/models/models_0.js +0 -1
  35. package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -1
  36. package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -1
  37. package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -1
  38. package/dist-cjs/pagination/Interfaces.js +0 -1
  39. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
  40. package/dist-cjs/protocols/Aws_restJson1.js +8 -1
  41. package/dist-cjs/runtimeConfig.browser.js +2 -3
  42. package/dist-cjs/runtimeConfig.js +3 -4
  43. package/dist-cjs/runtimeConfig.native.js +0 -1
  44. package/dist-cjs/runtimeConfig.shared.js +0 -1
  45. package/dist-es/EFS.js +0 -1
  46. package/dist-es/EFSClient.js +0 -1
  47. package/dist-es/commands/CreateAccessPointCommand.js +0 -1
  48. package/dist-es/commands/CreateFileSystemCommand.js +0 -1
  49. package/dist-es/commands/CreateMountTargetCommand.js +0 -1
  50. package/dist-es/commands/CreateTagsCommand.js +0 -1
  51. package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
  52. package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
  53. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
  54. package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
  55. package/dist-es/commands/DeleteTagsCommand.js +0 -1
  56. package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
  57. package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
  58. package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
  59. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
  60. package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
  61. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
  62. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
  63. package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
  64. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  65. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  66. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
  67. package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
  68. package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
  69. package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
  70. package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
  71. package/dist-es/commands/TagResourceCommand.js +0 -1
  72. package/dist-es/commands/UntagResourceCommand.js +0 -1
  73. package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
  74. package/dist-es/endpoints.js +0 -1
  75. package/dist-es/index.js +0 -1
  76. package/dist-es/models/index.js +0 -1
  77. package/dist-es/models/models_0.js +0 -1
  78. package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
  79. package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
  80. package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
  81. package/dist-es/pagination/Interfaces.js +0 -1
  82. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  83. package/dist-es/protocols/Aws_restJson1.js +22 -15
  84. package/dist-es/runtimeConfig.browser.js +1 -2
  85. package/dist-es/runtimeConfig.js +2 -3
  86. package/dist-es/runtimeConfig.native.js +0 -1
  87. package/dist-es/runtimeConfig.shared.js +0 -1
  88. package/package.json +33 -30
  89. package/dist-cjs/EFS.js.map +0 -1
  90. package/dist-cjs/EFSClient.js.map +0 -1
  91. package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
  92. package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
  93. package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
  94. package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
  95. package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
  96. package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
  97. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  98. package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
  99. package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
  100. package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
  101. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  102. package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
  103. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  104. package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
  105. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  106. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  107. package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
  108. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  109. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  110. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  111. package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
  112. package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
  113. package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
  114. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  115. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  116. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  117. package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
  118. package/dist-cjs/endpoints.js.map +0 -1
  119. package/dist-cjs/index.js.map +0 -1
  120. package/dist-cjs/models/index.js.map +0 -1
  121. package/dist-cjs/models/models_0.js.map +0 -1
  122. package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  123. package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  124. package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
  125. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  126. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  127. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  128. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  129. package/dist-cjs/runtimeConfig.js.map +0 -1
  130. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  132. package/dist-es/EFS.js.map +0 -1
  133. package/dist-es/EFSClient.js.map +0 -1
  134. package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
  135. package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
  136. package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
  137. package/dist-es/commands/CreateTagsCommand.js.map +0 -1
  138. package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
  139. package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
  140. package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
  141. package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
  142. package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
  143. package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
  144. package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
  145. package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
  146. package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
  147. package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
  148. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
  149. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
  150. package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
  151. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  152. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  153. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
  154. package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
  155. package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
  156. package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
  157. package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
  158. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  159. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  160. package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
  161. package/dist-es/endpoints.js.map +0 -1
  162. package/dist-es/index.js.map +0 -1
  163. package/dist-es/models/index.js.map +0 -1
  164. package/dist-es/models/models_0.js.map +0 -1
  165. package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
  166. package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
  167. package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
  168. package/dist-es/pagination/Interfaces.js.map +0 -1
  169. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  170. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  171. package/dist-es/runtimeConfig.browser.js.map +0 -1
  172. package/dist-es/runtimeConfig.js.map +0 -1
  173. package/dist-es/runtimeConfig.native.js.map +0 -1
  174. package/dist-es/runtimeConfig.shared.js.map +0 -1
  175. package/jest.config.js +0 -4
  176. package/src/EFS.ts +0 -1386
  177. package/src/EFSClient.ts +0 -363
  178. package/src/commands/CreateAccessPointCommand.ts +0 -102
  179. package/src/commands/CreateFileSystemCommand.ts +0 -148
  180. package/src/commands/CreateMountTargetCommand.ts +0 -236
  181. package/src/commands/CreateTagsCommand.ts +0 -106
  182. package/src/commands/DeleteAccessPointCommand.ts +0 -98
  183. package/src/commands/DeleteFileSystemCommand.ts +0 -109
  184. package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
  185. package/src/commands/DeleteMountTargetCommand.ts +0 -128
  186. package/src/commands/DeleteTagsCommand.ts +0 -107
  187. package/src/commands/DescribeAccessPointsCommand.ts +0 -98
  188. package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
  189. package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
  190. package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
  191. package/src/commands/DescribeFileSystemsCommand.ts +0 -117
  192. package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
  193. package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
  194. package/src/commands/DescribeMountTargetsCommand.ts +0 -102
  195. package/src/commands/DescribeTagsCommand.ts +0 -105
  196. package/src/commands/ListTagsForResourceCommand.ts +0 -96
  197. package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
  198. package/src/commands/PutAccountPreferencesCommand.ts +0 -98
  199. package/src/commands/PutBackupPolicyCommand.ts +0 -95
  200. package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
  201. package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
  202. package/src/commands/TagResourceCommand.ts +0 -96
  203. package/src/commands/UntagResourceCommand.ts +0 -96
  204. package/src/commands/UpdateFileSystemCommand.ts +0 -96
  205. package/src/endpoints.ts +0 -183
  206. package/src/index.ts +0 -35
  207. package/src/models/index.ts +0 -1
  208. package/src/models/models_0.ts +0 -2185
  209. package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
  210. package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
  211. package/src/pagination/DescribeTagsPaginator.ts +0 -59
  212. package/src/pagination/Interfaces.ts +0 -8
  213. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  214. package/src/protocols/Aws_restJson1.ts +0 -4420
  215. package/src/runtimeConfig.browser.ts +0 -41
  216. package/src/runtimeConfig.native.ts +0 -17
  217. package/src/runtimeConfig.shared.ts +0 -17
  218. package/src/runtimeConfig.ts +0 -46
  219. package/tsconfig.es.json +0 -10
  220. package/tsconfig.json +0 -33
  221. package/tsconfig.types.json +0 -9
@@ -1,117 +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 { DescribeFileSystemsRequest, DescribeFileSystemsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeFileSystemsCommand,
18
- serializeAws_restJson1DescribeFileSystemsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeFileSystemsCommandInput extends DescribeFileSystemsRequest {}
22
- export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the description of a specific Amazon EFS file system if either the file system
26
- * <code>CreationToken</code> or the <code>FileSystemId</code> is provided. Otherwise, it
27
- * returns descriptions of all file systems owned by the caller's Amazon Web Services account in the
28
- * Amazon Web Services Region of the endpoint that you're calling.</p>
29
- *
30
- * <p>When retrieving all file system descriptions, you can optionally specify the
31
- * <code>MaxItems</code> parameter to limit the number of descriptions in a response.
32
- * Currently, this number is automatically set to 10. If more file system descriptions remain,
33
- * Amazon EFS returns a <code>NextMarker</code>, an opaque token, in the response. In this case,
34
- * you should send a subsequent request with the <code>Marker</code> request parameter set to the
35
- * value of <code>NextMarker</code>. </p>
36
- *
37
- * <p>To retrieve a list of your file system descriptions, this operation is used in an
38
- * iterative process, where <code>DescribeFileSystems</code> is called first without the
39
- * <code>Marker</code> and then the operation continues to call it with the <code>Marker</code>
40
- * parameter set to the value of the <code>NextMarker</code> from the previous response until the
41
- * response has no <code>NextMarker</code>. </p>
42
- *
43
- * <p> The order of file systems returned in the response of one
44
- * <code>DescribeFileSystems</code> call and the order of file systems returned across the
45
- * responses of a multi-call iteration is unspecified. </p>
46
- * <p> This operation requires permissions for the
47
- * <code>elasticfilesystem:DescribeFileSystems</code> action. </p>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { EFSClient, DescribeFileSystemsCommand } from "@aws-sdk/client-efs"; // ES Modules import
52
- * // const { EFSClient, DescribeFileSystemsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
53
- * const client = new EFSClient(config);
54
- * const command = new DescribeFileSystemsCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link DescribeFileSystemsCommandInput} for command's `input` shape.
59
- * @see {@link DescribeFileSystemsCommandOutput} for command's `response` shape.
60
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
- export class DescribeFileSystemsCommand extends $Command<
64
- DescribeFileSystemsCommandInput,
65
- DescribeFileSystemsCommandOutput,
66
- EFSClientResolvedConfig
67
- > {
68
- // Start section: command_properties
69
- // End section: command_properties
70
-
71
- constructor(readonly input: DescribeFileSystemsCommandInput) {
72
- // Start section: command_constructor
73
- super();
74
- // End section: command_constructor
75
- }
76
-
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(
81
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
82
- configuration: EFSClientResolvedConfig,
83
- options?: __HttpHandlerOptions
84
- ): Handler<DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput> {
85
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
86
-
87
- const stack = clientStack.concat(this.middlewareStack);
88
-
89
- const { logger } = configuration;
90
- const clientName = "EFSClient";
91
- const commandName = "DescribeFileSystemsCommand";
92
- const handlerExecutionContext: HandlerExecutionContext = {
93
- logger,
94
- clientName,
95
- commandName,
96
- inputFilterSensitiveLog: DescribeFileSystemsRequest.filterSensitiveLog,
97
- outputFilterSensitiveLog: DescribeFileSystemsResponse.filterSensitiveLog,
98
- };
99
- const { requestHandler } = configuration;
100
- return stack.resolve(
101
- (request: FinalizeHandlerArguments<any>) =>
102
- requestHandler.handle(request.request as __HttpRequest, options || {}),
103
- handlerExecutionContext
104
- );
105
- }
106
-
107
- private serialize(input: DescribeFileSystemsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
108
- return serializeAws_restJson1DescribeFileSystemsCommand(input, context);
109
- }
110
-
111
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFileSystemsCommandOutput> {
112
- return deserializeAws_restJson1DescribeFileSystemsCommand(output, context);
113
- }
114
-
115
- // Start section: command_body_extra
116
- // End section: command_body_extra
117
- }
@@ -1,110 +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 { DescribeLifecycleConfigurationRequest, LifecycleConfigurationDescription } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeLifecycleConfigurationCommand,
18
- serializeAws_restJson1DescribeLifecycleConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeLifecycleConfigurationCommandInput extends DescribeLifecycleConfigurationRequest {}
22
- export interface DescribeLifecycleConfigurationCommandOutput
23
- extends LifecycleConfigurationDescription,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon
28
- * EFS file system. EFS lifecycle management uses the <code>LifecycleConfiguration</code> object
29
- * to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system
30
- * without a <code>LifecycleConfiguration</code> object, the call returns an empty array in the
31
- * response.</p>
32
- * <p>When EFS Intelligent Tiering is enabled, <code>TransitionToPrimaryStorageClass</code> has a value of <code>AFTER_1_ACCESS</code>.</p>
33
- * <p>This operation requires permissions for the
34
- * <code>elasticfilesystem:DescribeLifecycleConfiguration</code> operation.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { EFSClient, DescribeLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
39
- * // const { EFSClient, DescribeLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
40
- * const client = new EFSClient(config);
41
- * const command = new DescribeLifecycleConfigurationCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link DescribeLifecycleConfigurationCommandInput} for command's `input` shape.
46
- * @see {@link DescribeLifecycleConfigurationCommandOutput} for command's `response` shape.
47
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class DescribeLifecycleConfigurationCommand extends $Command<
51
- DescribeLifecycleConfigurationCommandInput,
52
- DescribeLifecycleConfigurationCommandOutput,
53
- EFSClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: DescribeLifecycleConfigurationCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: EFSClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<DescribeLifecycleConfigurationCommandInput, DescribeLifecycleConfigurationCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "EFSClient";
78
- const commandName = "DescribeLifecycleConfigurationCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: DescribeLifecycleConfigurationRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: LifecycleConfigurationDescription.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(
95
- input: DescribeLifecycleConfigurationCommandInput,
96
- context: __SerdeContext
97
- ): Promise<__HttpRequest> {
98
- return serializeAws_restJson1DescribeLifecycleConfigurationCommand(input, context);
99
- }
100
-
101
- private deserialize(
102
- output: __HttpResponse,
103
- context: __SerdeContext
104
- ): Promise<DescribeLifecycleConfigurationCommandOutput> {
105
- return deserializeAws_restJson1DescribeLifecycleConfigurationCommand(output, context);
106
- }
107
-
108
- // Start section: command_body_extra
109
- // End section: command_body_extra
110
- }
@@ -1,121 +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 {
16
- DescribeMountTargetSecurityGroupsRequest,
17
- DescribeMountTargetSecurityGroupsResponse,
18
- } from "../models/models_0";
19
- import {
20
- deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommand,
21
- serializeAws_restJson1DescribeMountTargetSecurityGroupsCommand,
22
- } from "../protocols/Aws_restJson1";
23
-
24
- export interface DescribeMountTargetSecurityGroupsCommandInput extends DescribeMountTargetSecurityGroupsRequest {}
25
- export interface DescribeMountTargetSecurityGroupsCommandOutput
26
- extends DescribeMountTargetSecurityGroupsResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Returns the security groups currently in effect for a mount target. This operation
31
- * requires that the network interface of the mount target has been created and the lifecycle
32
- * state of the mount target is not <code>deleted</code>.</p>
33
- * <p>This operation requires permissions for the following actions:</p>
34
- * <ul>
35
- * <li>
36
- * <p>
37
- * <code>elasticfilesystem:DescribeMountTargetSecurityGroups</code> action on the mount
38
- * target's file system. </p>
39
- * </li>
40
- * <li>
41
- * <p>
42
- * <code>ec2:DescribeNetworkInterfaceAttribute</code> action on the mount target's
43
- * network interface. </p>
44
- * </li>
45
- * </ul>
46
- * @example
47
- * Use a bare-bones client and the command you need to make an API call.
48
- * ```javascript
49
- * import { EFSClient, DescribeMountTargetSecurityGroupsCommand } from "@aws-sdk/client-efs"; // ES Modules import
50
- * // const { EFSClient, DescribeMountTargetSecurityGroupsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
51
- * const client = new EFSClient(config);
52
- * const command = new DescribeMountTargetSecurityGroupsCommand(input);
53
- * const response = await client.send(command);
54
- * ```
55
- *
56
- * @see {@link DescribeMountTargetSecurityGroupsCommandInput} for command's `input` shape.
57
- * @see {@link DescribeMountTargetSecurityGroupsCommandOutput} for command's `response` shape.
58
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
59
- *
60
- */
61
- export class DescribeMountTargetSecurityGroupsCommand extends $Command<
62
- DescribeMountTargetSecurityGroupsCommandInput,
63
- DescribeMountTargetSecurityGroupsCommandOutput,
64
- EFSClientResolvedConfig
65
- > {
66
- // Start section: command_properties
67
- // End section: command_properties
68
-
69
- constructor(readonly input: DescribeMountTargetSecurityGroupsCommandInput) {
70
- // Start section: command_constructor
71
- super();
72
- // End section: command_constructor
73
- }
74
-
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(
79
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
80
- configuration: EFSClientResolvedConfig,
81
- options?: __HttpHandlerOptions
82
- ): Handler<DescribeMountTargetSecurityGroupsCommandInput, DescribeMountTargetSecurityGroupsCommandOutput> {
83
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
84
-
85
- const stack = clientStack.concat(this.middlewareStack);
86
-
87
- const { logger } = configuration;
88
- const clientName = "EFSClient";
89
- const commandName = "DescribeMountTargetSecurityGroupsCommand";
90
- const handlerExecutionContext: HandlerExecutionContext = {
91
- logger,
92
- clientName,
93
- commandName,
94
- inputFilterSensitiveLog: DescribeMountTargetSecurityGroupsRequest.filterSensitiveLog,
95
- outputFilterSensitiveLog: DescribeMountTargetSecurityGroupsResponse.filterSensitiveLog,
96
- };
97
- const { requestHandler } = configuration;
98
- return stack.resolve(
99
- (request: FinalizeHandlerArguments<any>) =>
100
- requestHandler.handle(request.request as __HttpRequest, options || {}),
101
- handlerExecutionContext
102
- );
103
- }
104
-
105
- private serialize(
106
- input: DescribeMountTargetSecurityGroupsCommandInput,
107
- context: __SerdeContext
108
- ): Promise<__HttpRequest> {
109
- return serializeAws_restJson1DescribeMountTargetSecurityGroupsCommand(input, context);
110
- }
111
-
112
- private deserialize(
113
- output: __HttpResponse,
114
- context: __SerdeContext
115
- ): Promise<DescribeMountTargetSecurityGroupsCommandOutput> {
116
- return deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommand(output, context);
117
- }
118
-
119
- // Start section: command_body_extra
120
- // End section: command_body_extra
121
- }
@@ -1,102 +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 { DescribeMountTargetsRequest, DescribeMountTargetsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeMountTargetsCommand,
18
- serializeAws_restJson1DescribeMountTargetsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeMountTargetsCommandInput extends DescribeMountTargetsRequest {}
22
- export interface DescribeMountTargetsCommandOutput extends DescribeMountTargetsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the descriptions of all the current mount targets, or a specific mount target,
26
- * for a file system. When requesting all of the current mount targets, the order of mount
27
- * targets returned in the response is unspecified.</p>
28
- *
29
- * <p>This operation requires permissions for the
30
- * <code>elasticfilesystem:DescribeMountTargets</code> action, on either the file system ID
31
- * that you specify in <code>FileSystemId</code>, or on the file system of the mount target that
32
- * you specify in <code>MountTargetId</code>.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { EFSClient, DescribeMountTargetsCommand } from "@aws-sdk/client-efs"; // ES Modules import
37
- * // const { EFSClient, DescribeMountTargetsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
38
- * const client = new EFSClient(config);
39
- * const command = new DescribeMountTargetsCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link DescribeMountTargetsCommandInput} for command's `input` shape.
44
- * @see {@link DescribeMountTargetsCommandOutput} for command's `response` shape.
45
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class DescribeMountTargetsCommand extends $Command<
49
- DescribeMountTargetsCommandInput,
50
- DescribeMountTargetsCommandOutput,
51
- EFSClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: DescribeMountTargetsCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: EFSClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<DescribeMountTargetsCommandInput, DescribeMountTargetsCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "EFSClient";
76
- const commandName = "DescribeMountTargetsCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: DescribeMountTargetsRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: DescribeMountTargetsResponse.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: DescribeMountTargetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_restJson1DescribeMountTargetsCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeMountTargetsCommandOutput> {
97
- return deserializeAws_restJson1DescribeMountTargetsCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,105 +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 { DescribeTagsRequest, DescribeTagsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeTagsCommand,
18
- serializeAws_restJson1DescribeTagsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeTagsCommandInput extends DescribeTagsRequest {}
22
- export interface DescribeTagsCommandOutput extends DescribeTagsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * @deprecated
26
- *
27
- * <note>
28
- * <p>DEPRECATED - The DeleteTags action is deprecated and not maintained. Please use the
29
- * API action to remove tags from EFS resources.</p>
30
- * </note>
31
- * <p>Returns the tags associated with a file system. The order of tags returned in the
32
- * response of one <code>DescribeTags</code> call and the order of tags returned across the
33
- * responses of a multiple-call iteration (when using pagination) is unspecified. </p>
34
- * <p> This operation requires permissions for the
35
- * <code>elasticfilesystem:DescribeTags</code> action. </p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { EFSClient, DescribeTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
40
- * // const { EFSClient, DescribeTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
41
- * const client = new EFSClient(config);
42
- * const command = new DescribeTagsCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link DescribeTagsCommandInput} for command's `input` shape.
47
- * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
48
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class DescribeTagsCommand extends $Command<
52
- DescribeTagsCommandInput,
53
- DescribeTagsCommandOutput,
54
- EFSClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: DescribeTagsCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: EFSClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<DescribeTagsCommandInput, DescribeTagsCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "EFSClient";
79
- const commandName = "DescribeTagsCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: DescribeTagsRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: DescribeTagsResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: DescribeTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_restJson1DescribeTagsCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeTagsCommandOutput> {
100
- return deserializeAws_restJson1DescribeTagsCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListTagsForResourceCommand,
18
- serializeAws_restJson1ListTagsForResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
22
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</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, ListTagsForResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
31
- * // const { EFSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
32
- * const client = new EFSClient(config);
33
- * const command = new ListTagsForResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
38
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
39
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListTagsForResourceCommand extends $Command<
43
- ListTagsForResourceCommandInput,
44
- ListTagsForResourceCommandOutput,
45
- EFSClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListTagsForResourceCommandInput) {
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
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 = "ListTagsForResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
91
- return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }