@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
package/src/EFSClient.ts DELETED
@@ -1,363 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
53
- import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
54
- import { CreateMountTargetCommandInput, CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
55
- import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
56
- import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
57
- import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
58
- import {
59
- DeleteFileSystemPolicyCommandInput,
60
- DeleteFileSystemPolicyCommandOutput,
61
- } from "./commands/DeleteFileSystemPolicyCommand";
62
- import { DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput } from "./commands/DeleteMountTargetCommand";
63
- import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
64
- import {
65
- DescribeAccessPointsCommandInput,
66
- DescribeAccessPointsCommandOutput,
67
- } from "./commands/DescribeAccessPointsCommand";
68
- import {
69
- DescribeAccountPreferencesCommandInput,
70
- DescribeAccountPreferencesCommandOutput,
71
- } from "./commands/DescribeAccountPreferencesCommand";
72
- import {
73
- DescribeBackupPolicyCommandInput,
74
- DescribeBackupPolicyCommandOutput,
75
- } from "./commands/DescribeBackupPolicyCommand";
76
- import {
77
- DescribeFileSystemPolicyCommandInput,
78
- DescribeFileSystemPolicyCommandOutput,
79
- } from "./commands/DescribeFileSystemPolicyCommand";
80
- import {
81
- DescribeFileSystemsCommandInput,
82
- DescribeFileSystemsCommandOutput,
83
- } from "./commands/DescribeFileSystemsCommand";
84
- import {
85
- DescribeLifecycleConfigurationCommandInput,
86
- DescribeLifecycleConfigurationCommandOutput,
87
- } from "./commands/DescribeLifecycleConfigurationCommand";
88
- import {
89
- DescribeMountTargetsCommandInput,
90
- DescribeMountTargetsCommandOutput,
91
- } from "./commands/DescribeMountTargetsCommand";
92
- import {
93
- DescribeMountTargetSecurityGroupsCommandInput,
94
- DescribeMountTargetSecurityGroupsCommandOutput,
95
- } from "./commands/DescribeMountTargetSecurityGroupsCommand";
96
- import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
97
- import {
98
- ListTagsForResourceCommandInput,
99
- ListTagsForResourceCommandOutput,
100
- } from "./commands/ListTagsForResourceCommand";
101
- import {
102
- ModifyMountTargetSecurityGroupsCommandInput,
103
- ModifyMountTargetSecurityGroupsCommandOutput,
104
- } from "./commands/ModifyMountTargetSecurityGroupsCommand";
105
- import {
106
- PutAccountPreferencesCommandInput,
107
- PutAccountPreferencesCommandOutput,
108
- } from "./commands/PutAccountPreferencesCommand";
109
- import { PutBackupPolicyCommandInput, PutBackupPolicyCommandOutput } from "./commands/PutBackupPolicyCommand";
110
- import {
111
- PutFileSystemPolicyCommandInput,
112
- PutFileSystemPolicyCommandOutput,
113
- } from "./commands/PutFileSystemPolicyCommand";
114
- import {
115
- PutLifecycleConfigurationCommandInput,
116
- PutLifecycleConfigurationCommandOutput,
117
- } from "./commands/PutLifecycleConfigurationCommand";
118
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
119
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
120
- import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
121
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
122
-
123
- export type ServiceInputTypes =
124
- | CreateAccessPointCommandInput
125
- | CreateFileSystemCommandInput
126
- | CreateMountTargetCommandInput
127
- | CreateTagsCommandInput
128
- | DeleteAccessPointCommandInput
129
- | DeleteFileSystemCommandInput
130
- | DeleteFileSystemPolicyCommandInput
131
- | DeleteMountTargetCommandInput
132
- | DeleteTagsCommandInput
133
- | DescribeAccessPointsCommandInput
134
- | DescribeAccountPreferencesCommandInput
135
- | DescribeBackupPolicyCommandInput
136
- | DescribeFileSystemPolicyCommandInput
137
- | DescribeFileSystemsCommandInput
138
- | DescribeLifecycleConfigurationCommandInput
139
- | DescribeMountTargetSecurityGroupsCommandInput
140
- | DescribeMountTargetsCommandInput
141
- | DescribeTagsCommandInput
142
- | ListTagsForResourceCommandInput
143
- | ModifyMountTargetSecurityGroupsCommandInput
144
- | PutAccountPreferencesCommandInput
145
- | PutBackupPolicyCommandInput
146
- | PutFileSystemPolicyCommandInput
147
- | PutLifecycleConfigurationCommandInput
148
- | TagResourceCommandInput
149
- | UntagResourceCommandInput
150
- | UpdateFileSystemCommandInput;
151
-
152
- export type ServiceOutputTypes =
153
- | CreateAccessPointCommandOutput
154
- | CreateFileSystemCommandOutput
155
- | CreateMountTargetCommandOutput
156
- | CreateTagsCommandOutput
157
- | DeleteAccessPointCommandOutput
158
- | DeleteFileSystemCommandOutput
159
- | DeleteFileSystemPolicyCommandOutput
160
- | DeleteMountTargetCommandOutput
161
- | DeleteTagsCommandOutput
162
- | DescribeAccessPointsCommandOutput
163
- | DescribeAccountPreferencesCommandOutput
164
- | DescribeBackupPolicyCommandOutput
165
- | DescribeFileSystemPolicyCommandOutput
166
- | DescribeFileSystemsCommandOutput
167
- | DescribeLifecycleConfigurationCommandOutput
168
- | DescribeMountTargetSecurityGroupsCommandOutput
169
- | DescribeMountTargetsCommandOutput
170
- | DescribeTagsCommandOutput
171
- | ListTagsForResourceCommandOutput
172
- | ModifyMountTargetSecurityGroupsCommandOutput
173
- | PutAccountPreferencesCommandOutput
174
- | PutBackupPolicyCommandOutput
175
- | PutFileSystemPolicyCommandOutput
176
- | PutLifecycleConfigurationCommandOutput
177
- | TagResourceCommandOutput
178
- | UntagResourceCommandOutput
179
- | UpdateFileSystemCommandOutput;
180
-
181
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
182
- /**
183
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
184
- */
185
- requestHandler?: __HttpHandler;
186
-
187
- /**
188
- * A constructor for a class implementing the {@link __Hash} interface
189
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
190
- * @internal
191
- */
192
- sha256?: __HashConstructor;
193
-
194
- /**
195
- * The function that will be used to convert strings into HTTP endpoints.
196
- * @internal
197
- */
198
- urlParser?: __UrlParser;
199
-
200
- /**
201
- * A function that can calculate the length of a request body.
202
- * @internal
203
- */
204
- bodyLengthChecker?: (body: any) => number | undefined;
205
-
206
- /**
207
- * A function that converts a stream into an array of bytes.
208
- * @internal
209
- */
210
- streamCollector?: __StreamCollector;
211
-
212
- /**
213
- * The function that will be used to convert a base64-encoded string to a byte array.
214
- * @internal
215
- */
216
- base64Decoder?: __Decoder;
217
-
218
- /**
219
- * The function that will be used to convert binary data to a base64-encoded string.
220
- * @internal
221
- */
222
- base64Encoder?: __Encoder;
223
-
224
- /**
225
- * The function that will be used to convert a UTF8-encoded string to a byte array.
226
- * @internal
227
- */
228
- utf8Decoder?: __Decoder;
229
-
230
- /**
231
- * The function that will be used to convert binary data to a UTF-8 encoded string.
232
- * @internal
233
- */
234
- utf8Encoder?: __Encoder;
235
-
236
- /**
237
- * The runtime environment.
238
- * @internal
239
- */
240
- runtime?: string;
241
-
242
- /**
243
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
244
- * trait of an operation.
245
- */
246
- disableHostPrefix?: boolean;
247
-
248
- /**
249
- * Value for how many times a request will be made at most in case of retry.
250
- */
251
- maxAttempts?: number | __Provider<number>;
252
-
253
- /**
254
- * Specifies which retry algorithm to use.
255
- */
256
- retryMode?: string | __Provider<string>;
257
-
258
- /**
259
- * Optional logger for logging debug/info/warn/error.
260
- */
261
- logger?: __Logger;
262
-
263
- /**
264
- * Unique service identifier.
265
- * @internal
266
- */
267
- serviceId?: string;
268
-
269
- /**
270
- * The AWS region to which this client will send requests
271
- */
272
- region?: string | __Provider<string>;
273
-
274
- /**
275
- * Default credentials provider; Not available in browser runtime.
276
- * @internal
277
- */
278
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
279
-
280
- /**
281
- * Fetch related hostname, signing name or signing region with given region.
282
- * @internal
283
- */
284
- regionInfoProvider?: RegionInfoProvider;
285
-
286
- /**
287
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
288
- * @internal
289
- */
290
- defaultUserAgentProvider?: Provider<__UserAgent>;
291
- }
292
-
293
- type EFSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
294
- ClientDefaults &
295
- RegionInputConfig &
296
- EndpointsInputConfig &
297
- RetryInputConfig &
298
- HostHeaderInputConfig &
299
- AwsAuthInputConfig &
300
- UserAgentInputConfig;
301
- /**
302
- * The configuration interface of EFSClient class constructor that set the region, credentials and other options.
303
- */
304
- export interface EFSClientConfig extends EFSClientConfigType {}
305
-
306
- type EFSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
307
- Required<ClientDefaults> &
308
- RegionResolvedConfig &
309
- EndpointsResolvedConfig &
310
- RetryResolvedConfig &
311
- HostHeaderResolvedConfig &
312
- AwsAuthResolvedConfig &
313
- UserAgentResolvedConfig;
314
- /**
315
- * The resolved configuration interface of EFSClient class. This is resolved and normalized from the {@link EFSClientConfig | constructor configuration interface}.
316
- */
317
- export interface EFSClientResolvedConfig extends EFSClientResolvedConfigType {}
318
-
319
- /**
320
- * <fullname>Amazon Elastic File System</fullname>
321
- * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
322
- * with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
323
- * growing and shrinking automatically as you add and remove files, so your applications have the
324
- * storage they need, when they need it. For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
325
- */
326
- export class EFSClient extends __Client<
327
- __HttpHandlerOptions,
328
- ServiceInputTypes,
329
- ServiceOutputTypes,
330
- EFSClientResolvedConfig
331
- > {
332
- /**
333
- * The resolved configuration of EFSClient class. This is resolved and normalized from the {@link EFSClientConfig | constructor configuration interface}.
334
- */
335
- readonly config: EFSClientResolvedConfig;
336
-
337
- constructor(configuration: EFSClientConfig) {
338
- const _config_0 = __getRuntimeConfig(configuration);
339
- const _config_1 = resolveRegionConfig(_config_0);
340
- const _config_2 = resolveEndpointsConfig(_config_1);
341
- const _config_3 = resolveRetryConfig(_config_2);
342
- const _config_4 = resolveHostHeaderConfig(_config_3);
343
- const _config_5 = resolveAwsAuthConfig(_config_4);
344
- const _config_6 = resolveUserAgentConfig(_config_5);
345
- super(_config_6);
346
- this.config = _config_6;
347
- this.middlewareStack.use(getRetryPlugin(this.config));
348
- this.middlewareStack.use(getContentLengthPlugin(this.config));
349
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
350
- this.middlewareStack.use(getLoggerPlugin(this.config));
351
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
352
- this.middlewareStack.use(getUserAgentPlugin(this.config));
353
- }
354
-
355
- /**
356
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
357
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
358
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
359
- */
360
- destroy(): void {
361
- super.destroy();
362
- }
363
- }
@@ -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 { AccessPointDescription, CreateAccessPointRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateAccessPointCommand,
18
- serializeAws_restJson1CreateAccessPointCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateAccessPointCommandInput extends CreateAccessPointRequest {}
22
- export interface CreateAccessPointCommandOutput extends AccessPointDescription, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates an EFS access point. An access point is an application-specific view into an EFS
26
- * file system that applies an operating system user and group, and a file system path, to any
27
- * file system request made through the access point. The operating system user and group
28
- * override any identity information provided by the NFS client. The file system path is exposed
29
- * as the access point's root directory. Applications using the access point can only access data
30
- * in its own directory and below. To learn more, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Mounting a file system using EFS access
31
- * points</a>.</p>
32
- * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { EFSClient, CreateAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
37
- * // const { EFSClient, CreateAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
38
- * const client = new EFSClient(config);
39
- * const command = new CreateAccessPointCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link CreateAccessPointCommandInput} for command's `input` shape.
44
- * @see {@link CreateAccessPointCommandOutput} for command's `response` shape.
45
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class CreateAccessPointCommand extends $Command<
49
- CreateAccessPointCommandInput,
50
- CreateAccessPointCommandOutput,
51
- EFSClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: CreateAccessPointCommandInput) {
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<CreateAccessPointCommandInput, CreateAccessPointCommandOutput> {
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 = "CreateAccessPointCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: CreateAccessPointRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: AccessPointDescription.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: CreateAccessPointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_restJson1CreateAccessPointCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAccessPointCommandOutput> {
97
- return deserializeAws_restJson1CreateAccessPointCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,148 +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 { CreateFileSystemRequest, FileSystemDescription } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateFileSystemCommand,
18
- serializeAws_restJson1CreateFileSystemCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateFileSystemCommandInput extends CreateFileSystemRequest {}
22
- export interface CreateFileSystemCommandOutput extends FileSystemDescription, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a new, empty file system. The operation requires a creation token in the
26
- * request that Amazon EFS uses to ensure idempotent creation (calling the operation with same
27
- * creation token has no effect). If a file system does not currently exist that is owned by the
28
- * caller's Amazon Web Services account with the specified creation token, this operation does the
29
- * following:</p>
30
- * <ul>
31
- * <li>
32
- * <p>Creates a new, empty file system. The file system will have an Amazon EFS assigned
33
- * ID, and an initial lifecycle state <code>creating</code>.</p>
34
- * </li>
35
- * <li>
36
- * <p>Returns with the description of the created file system.</p>
37
- * </li>
38
- * </ul>
39
- * <p>Otherwise, this operation returns a <code>FileSystemAlreadyExists</code> error with the
40
- * ID of the existing file system.</p>
41
- * <note>
42
- * <p>For basic use cases, you can use a randomly generated UUID for the creation
43
- * token.</p>
44
- * </note>
45
- * <p> The idempotent operation allows you to retry a <code>CreateFileSystem</code> call without
46
- * risk of creating an extra file system. This can happen when an initial call fails in a way
47
- * that leaves it uncertain whether or not a file system was actually created. An example might
48
- * be that a transport level timeout occurred or your connection was reset. As long as you use
49
- * the same creation token, if the initial call had succeeded in creating a file system, the
50
- * client can learn of its existence from the <code>FileSystemAlreadyExists</code> error.</p>
51
- * <p>For more information, see
52
- * <a href="https://docs.aws.amazon.com/efs/latest/ug/creating-using-create-fs.html#creating-using-create-fs-part1">Creating a file system</a>
53
- * in the <i>Amazon EFS User Guide</i>.</p>
54
- *
55
- * <note>
56
- * <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
57
- * state is still <code>creating</code>. You can check the file system creation status by
58
- * calling the <a>DescribeFileSystems</a> operation, which among other things returns the file
59
- * system state.</p>
60
- * </note>
61
- *
62
- * <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you
63
- * choose for your file system. We recommend <code>generalPurpose</code> performance mode for
64
- * most file systems. File systems using the <code>maxIO</code> performance mode can scale to
65
- * higher levels of aggregate throughput and operations per second with a tradeoff of slightly
66
- * higher latencies for most file operations. The performance mode can't be changed after
67
- * the file system has been created. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html">Amazon EFS performance
68
- * modes</a>.</p>
69
- *
70
- * <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p>
71
- *
72
- * <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
73
- * <code>available</code>, at which point you can create one or more mount targets for the file
74
- * system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
75
- * your VPC by using the mount target. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">Amazon EFS: How it Works</a>. </p>
76
- *
77
- * <p> This operation requires permissions for the
78
- * <code>elasticfilesystem:CreateFileSystem</code> action. </p>
79
- * @example
80
- * Use a bare-bones client and the command you need to make an API call.
81
- * ```javascript
82
- * import { EFSClient, CreateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
83
- * // const { EFSClient, CreateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
84
- * const client = new EFSClient(config);
85
- * const command = new CreateFileSystemCommand(input);
86
- * const response = await client.send(command);
87
- * ```
88
- *
89
- * @see {@link CreateFileSystemCommandInput} for command's `input` shape.
90
- * @see {@link CreateFileSystemCommandOutput} for command's `response` shape.
91
- * @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
92
- *
93
- */
94
- export class CreateFileSystemCommand extends $Command<
95
- CreateFileSystemCommandInput,
96
- CreateFileSystemCommandOutput,
97
- EFSClientResolvedConfig
98
- > {
99
- // Start section: command_properties
100
- // End section: command_properties
101
-
102
- constructor(readonly input: CreateFileSystemCommandInput) {
103
- // Start section: command_constructor
104
- super();
105
- // End section: command_constructor
106
- }
107
-
108
- /**
109
- * @internal
110
- */
111
- resolveMiddleware(
112
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
113
- configuration: EFSClientResolvedConfig,
114
- options?: __HttpHandlerOptions
115
- ): Handler<CreateFileSystemCommandInput, CreateFileSystemCommandOutput> {
116
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
117
-
118
- const stack = clientStack.concat(this.middlewareStack);
119
-
120
- const { logger } = configuration;
121
- const clientName = "EFSClient";
122
- const commandName = "CreateFileSystemCommand";
123
- const handlerExecutionContext: HandlerExecutionContext = {
124
- logger,
125
- clientName,
126
- commandName,
127
- inputFilterSensitiveLog: CreateFileSystemRequest.filterSensitiveLog,
128
- outputFilterSensitiveLog: FileSystemDescription.filterSensitiveLog,
129
- };
130
- const { requestHandler } = configuration;
131
- return stack.resolve(
132
- (request: FinalizeHandlerArguments<any>) =>
133
- requestHandler.handle(request.request as __HttpRequest, options || {}),
134
- handlerExecutionContext
135
- );
136
- }
137
-
138
- private serialize(input: CreateFileSystemCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
139
- return serializeAws_restJson1CreateFileSystemCommand(input, context);
140
- }
141
-
142
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFileSystemCommandOutput> {
143
- return deserializeAws_restJson1CreateFileSystemCommand(output, context);
144
- }
145
-
146
- // Start section: command_body_extra
147
- // End section: command_body_extra
148
- }