@aws-sdk/client-efs 3.454.0 → 3.459.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.
- package/README.md +38 -30
- package/dist-cjs/EFS.js +2 -0
- package/dist-cjs/commands/UpdateFileSystemProtectionCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +50 -1
- package/dist-cjs/pagination/DescribeMountTargetsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeReplicationConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +115 -2
- package/dist-es/EFS.js +2 -0
- package/dist-es/commands/UpdateFileSystemProtectionCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +47 -0
- package/dist-es/pagination/DescribeMountTargetsPaginator.js +25 -0
- package/dist-es/pagination/DescribeReplicationConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +112 -1
- package/dist-types/EFS.d.ts +7 -0
- package/dist-types/EFSClient.d.ts +3 -2
- package/dist-types/commands/CreateAccessPointCommand.d.ts +8 -7
- package/dist-types/commands/CreateFileSystemCommand.d.ts +14 -6
- package/dist-types/commands/CreateMountTargetCommand.d.ts +6 -6
- package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +47 -36
- package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAccessPointsCommand.d.ts +5 -3
- package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeLifecycleConfigurationCommand.d.ts +5 -6
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +4 -5
- package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +8 -8
- package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +37 -18
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +4 -0
- package/dist-types/commands/UpdateFileSystemProtectionCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +320 -99
- package/dist-types/pagination/DescribeMountTargetsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeReplicationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/EFS.d.ts +17 -0
- package/dist-types/ts3.4/EFSClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/UpdateFileSystemProtectionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/pagination/DescribeMountTargetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -213,7 +213,7 @@ see LICENSE for more information.
|
|
|
213
213
|
CreateAccessPoint
|
|
214
214
|
</summary>
|
|
215
215
|
|
|
216
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
216
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/CreateAccessPointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateAccessPointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateAccessPointCommandOutput/)
|
|
217
217
|
|
|
218
218
|
</details>
|
|
219
219
|
<details>
|
|
@@ -221,7 +221,7 @@ CreateAccessPoint
|
|
|
221
221
|
CreateFileSystem
|
|
222
222
|
</summary>
|
|
223
223
|
|
|
224
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
224
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/CreateFileSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateFileSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateFileSystemCommandOutput/)
|
|
225
225
|
|
|
226
226
|
</details>
|
|
227
227
|
<details>
|
|
@@ -229,7 +229,7 @@ CreateFileSystem
|
|
|
229
229
|
CreateMountTarget
|
|
230
230
|
</summary>
|
|
231
231
|
|
|
232
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
232
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/CreateMountTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateMountTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateMountTargetCommandOutput/)
|
|
233
233
|
|
|
234
234
|
</details>
|
|
235
235
|
<details>
|
|
@@ -237,7 +237,7 @@ CreateMountTarget
|
|
|
237
237
|
CreateReplicationConfiguration
|
|
238
238
|
</summary>
|
|
239
239
|
|
|
240
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
240
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/CreateReplicationConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateReplicationConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateReplicationConfigurationCommandOutput/)
|
|
241
241
|
|
|
242
242
|
</details>
|
|
243
243
|
<details>
|
|
@@ -245,7 +245,7 @@ CreateReplicationConfiguration
|
|
|
245
245
|
CreateTags
|
|
246
246
|
</summary>
|
|
247
247
|
|
|
248
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
248
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/CreateTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/CreateTagsCommandOutput/)
|
|
249
249
|
|
|
250
250
|
</details>
|
|
251
251
|
<details>
|
|
@@ -253,7 +253,7 @@ CreateTags
|
|
|
253
253
|
DeleteAccessPoint
|
|
254
254
|
</summary>
|
|
255
255
|
|
|
256
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
256
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DeleteAccessPointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteAccessPointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteAccessPointCommandOutput/)
|
|
257
257
|
|
|
258
258
|
</details>
|
|
259
259
|
<details>
|
|
@@ -261,7 +261,7 @@ DeleteAccessPoint
|
|
|
261
261
|
DeleteFileSystem
|
|
262
262
|
</summary>
|
|
263
263
|
|
|
264
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DeleteFileSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteFileSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteFileSystemCommandOutput/)
|
|
265
265
|
|
|
266
266
|
</details>
|
|
267
267
|
<details>
|
|
@@ -269,7 +269,7 @@ DeleteFileSystem
|
|
|
269
269
|
DeleteFileSystemPolicy
|
|
270
270
|
</summary>
|
|
271
271
|
|
|
272
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
272
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DeleteFileSystemPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteFileSystemPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteFileSystemPolicyCommandOutput/)
|
|
273
273
|
|
|
274
274
|
</details>
|
|
275
275
|
<details>
|
|
@@ -277,7 +277,7 @@ DeleteFileSystemPolicy
|
|
|
277
277
|
DeleteMountTarget
|
|
278
278
|
</summary>
|
|
279
279
|
|
|
280
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
280
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DeleteMountTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteMountTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteMountTargetCommandOutput/)
|
|
281
281
|
|
|
282
282
|
</details>
|
|
283
283
|
<details>
|
|
@@ -285,7 +285,7 @@ DeleteMountTarget
|
|
|
285
285
|
DeleteReplicationConfiguration
|
|
286
286
|
</summary>
|
|
287
287
|
|
|
288
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
288
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DeleteReplicationConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteReplicationConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteReplicationConfigurationCommandOutput/)
|
|
289
289
|
|
|
290
290
|
</details>
|
|
291
291
|
<details>
|
|
@@ -293,7 +293,7 @@ DeleteReplicationConfiguration
|
|
|
293
293
|
DeleteTags
|
|
294
294
|
</summary>
|
|
295
295
|
|
|
296
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
296
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DeleteTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DeleteTagsCommandOutput/)
|
|
297
297
|
|
|
298
298
|
</details>
|
|
299
299
|
<details>
|
|
@@ -301,7 +301,7 @@ DeleteTags
|
|
|
301
301
|
DescribeAccessPoints
|
|
302
302
|
</summary>
|
|
303
303
|
|
|
304
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
304
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeAccessPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeAccessPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeAccessPointsCommandOutput/)
|
|
305
305
|
|
|
306
306
|
</details>
|
|
307
307
|
<details>
|
|
@@ -309,7 +309,7 @@ DescribeAccessPoints
|
|
|
309
309
|
DescribeAccountPreferences
|
|
310
310
|
</summary>
|
|
311
311
|
|
|
312
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
312
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeAccountPreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeAccountPreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeAccountPreferencesCommandOutput/)
|
|
313
313
|
|
|
314
314
|
</details>
|
|
315
315
|
<details>
|
|
@@ -317,7 +317,7 @@ DescribeAccountPreferences
|
|
|
317
317
|
DescribeBackupPolicy
|
|
318
318
|
</summary>
|
|
319
319
|
|
|
320
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
320
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeBackupPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeBackupPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeBackupPolicyCommandOutput/)
|
|
321
321
|
|
|
322
322
|
</details>
|
|
323
323
|
<details>
|
|
@@ -325,7 +325,7 @@ DescribeBackupPolicy
|
|
|
325
325
|
DescribeFileSystemPolicy
|
|
326
326
|
</summary>
|
|
327
327
|
|
|
328
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
328
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeFileSystemPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeFileSystemPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeFileSystemPolicyCommandOutput/)
|
|
329
329
|
|
|
330
330
|
</details>
|
|
331
331
|
<details>
|
|
@@ -333,7 +333,7 @@ DescribeFileSystemPolicy
|
|
|
333
333
|
DescribeFileSystems
|
|
334
334
|
</summary>
|
|
335
335
|
|
|
336
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
336
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeFileSystemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeFileSystemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeFileSystemsCommandOutput/)
|
|
337
337
|
|
|
338
338
|
</details>
|
|
339
339
|
<details>
|
|
@@ -341,7 +341,7 @@ DescribeFileSystems
|
|
|
341
341
|
DescribeLifecycleConfiguration
|
|
342
342
|
</summary>
|
|
343
343
|
|
|
344
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
344
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeLifecycleConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeLifecycleConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeLifecycleConfigurationCommandOutput/)
|
|
345
345
|
|
|
346
346
|
</details>
|
|
347
347
|
<details>
|
|
@@ -349,7 +349,7 @@ DescribeLifecycleConfiguration
|
|
|
349
349
|
DescribeMountTargets
|
|
350
350
|
</summary>
|
|
351
351
|
|
|
352
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
352
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeMountTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeMountTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeMountTargetsCommandOutput/)
|
|
353
353
|
|
|
354
354
|
</details>
|
|
355
355
|
<details>
|
|
@@ -357,7 +357,7 @@ DescribeMountTargets
|
|
|
357
357
|
DescribeMountTargetSecurityGroups
|
|
358
358
|
</summary>
|
|
359
359
|
|
|
360
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
360
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeMountTargetSecurityGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeMountTargetSecurityGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeMountTargetSecurityGroupsCommandOutput/)
|
|
361
361
|
|
|
362
362
|
</details>
|
|
363
363
|
<details>
|
|
@@ -365,7 +365,7 @@ DescribeMountTargetSecurityGroups
|
|
|
365
365
|
DescribeReplicationConfigurations
|
|
366
366
|
</summary>
|
|
367
367
|
|
|
368
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
368
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeReplicationConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeReplicationConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeReplicationConfigurationsCommandOutput/)
|
|
369
369
|
|
|
370
370
|
</details>
|
|
371
371
|
<details>
|
|
@@ -373,7 +373,7 @@ DescribeReplicationConfigurations
|
|
|
373
373
|
DescribeTags
|
|
374
374
|
</summary>
|
|
375
375
|
|
|
376
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
376
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/DescribeTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/DescribeTagsCommandOutput/)
|
|
377
377
|
|
|
378
378
|
</details>
|
|
379
379
|
<details>
|
|
@@ -381,7 +381,7 @@ DescribeTags
|
|
|
381
381
|
ListTagsForResource
|
|
382
382
|
</summary>
|
|
383
383
|
|
|
384
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
384
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/ListTagsForResourceCommandOutput/)
|
|
385
385
|
|
|
386
386
|
</details>
|
|
387
387
|
<details>
|
|
@@ -389,7 +389,7 @@ ListTagsForResource
|
|
|
389
389
|
ModifyMountTargetSecurityGroups
|
|
390
390
|
</summary>
|
|
391
391
|
|
|
392
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
392
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/ModifyMountTargetSecurityGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/ModifyMountTargetSecurityGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/ModifyMountTargetSecurityGroupsCommandOutput/)
|
|
393
393
|
|
|
394
394
|
</details>
|
|
395
395
|
<details>
|
|
@@ -397,7 +397,7 @@ ModifyMountTargetSecurityGroups
|
|
|
397
397
|
PutAccountPreferences
|
|
398
398
|
</summary>
|
|
399
399
|
|
|
400
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
400
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/PutAccountPreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutAccountPreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutAccountPreferencesCommandOutput/)
|
|
401
401
|
|
|
402
402
|
</details>
|
|
403
403
|
<details>
|
|
@@ -405,7 +405,7 @@ PutAccountPreferences
|
|
|
405
405
|
PutBackupPolicy
|
|
406
406
|
</summary>
|
|
407
407
|
|
|
408
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
408
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/PutBackupPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutBackupPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutBackupPolicyCommandOutput/)
|
|
409
409
|
|
|
410
410
|
</details>
|
|
411
411
|
<details>
|
|
@@ -413,7 +413,7 @@ PutBackupPolicy
|
|
|
413
413
|
PutFileSystemPolicy
|
|
414
414
|
</summary>
|
|
415
415
|
|
|
416
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
416
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/PutFileSystemPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutFileSystemPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutFileSystemPolicyCommandOutput/)
|
|
417
417
|
|
|
418
418
|
</details>
|
|
419
419
|
<details>
|
|
@@ -421,7 +421,7 @@ PutFileSystemPolicy
|
|
|
421
421
|
PutLifecycleConfiguration
|
|
422
422
|
</summary>
|
|
423
423
|
|
|
424
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
424
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/PutLifecycleConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutLifecycleConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/PutLifecycleConfigurationCommandOutput/)
|
|
425
425
|
|
|
426
426
|
</details>
|
|
427
427
|
<details>
|
|
@@ -429,7 +429,7 @@ PutLifecycleConfiguration
|
|
|
429
429
|
TagResource
|
|
430
430
|
</summary>
|
|
431
431
|
|
|
432
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
432
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/TagResourceCommandOutput/)
|
|
433
433
|
|
|
434
434
|
</details>
|
|
435
435
|
<details>
|
|
@@ -437,7 +437,7 @@ TagResource
|
|
|
437
437
|
UntagResource
|
|
438
438
|
</summary>
|
|
439
439
|
|
|
440
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
440
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/UntagResourceCommandOutput/)
|
|
441
441
|
|
|
442
442
|
</details>
|
|
443
443
|
<details>
|
|
@@ -445,6 +445,14 @@ UntagResource
|
|
|
445
445
|
UpdateFileSystem
|
|
446
446
|
</summary>
|
|
447
447
|
|
|
448
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
448
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/UpdateFileSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/UpdateFileSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/UpdateFileSystemCommandOutput/)
|
|
449
|
+
|
|
450
|
+
</details>
|
|
451
|
+
<details>
|
|
452
|
+
<summary>
|
|
453
|
+
UpdateFileSystemProtection
|
|
454
|
+
</summary>
|
|
455
|
+
|
|
456
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/efs/command/UpdateFileSystemProtectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/UpdateFileSystemProtectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-efs/Interface/UpdateFileSystemProtectionCommandOutput/)
|
|
449
457
|
|
|
450
458
|
</details>
|
package/dist-cjs/EFS.js
CHANGED
|
@@ -32,6 +32,7 @@ const PutLifecycleConfigurationCommand_1 = require("./commands/PutLifecycleConfi
|
|
|
32
32
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
33
33
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
34
34
|
const UpdateFileSystemCommand_1 = require("./commands/UpdateFileSystemCommand");
|
|
35
|
+
const UpdateFileSystemProtectionCommand_1 = require("./commands/UpdateFileSystemProtectionCommand");
|
|
35
36
|
const EFSClient_1 = require("./EFSClient");
|
|
36
37
|
const commands = {
|
|
37
38
|
CreateAccessPointCommand: CreateAccessPointCommand_1.CreateAccessPointCommand,
|
|
@@ -64,6 +65,7 @@ const commands = {
|
|
|
64
65
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
65
66
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
66
67
|
UpdateFileSystemCommand: UpdateFileSystemCommand_1.UpdateFileSystemCommand,
|
|
68
|
+
UpdateFileSystemProtectionCommand: UpdateFileSystemProtectionCommand_1.UpdateFileSystemProtectionCommand,
|
|
67
69
|
};
|
|
68
70
|
class EFS extends EFSClient_1.EFSClient {
|
|
69
71
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateFileSystemProtectionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateFileSystemProtectionCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFileSystemProtectionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "EFSClient";
|
|
29
|
+
const commandName = "UpdateFileSystemProtectionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "MagnolioAPIService_v20150201",
|
|
38
|
+
operation: "UpdateFileSystemProtection",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateFileSystemProtectionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateFileSystemProtectionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateFileSystemProtectionCommand = UpdateFileSystemProtectionCommand;
|
|
@@ -31,3 +31,4 @@ tslib_1.__exportStar(require("./PutLifecycleConfigurationCommand"), exports);
|
|
|
31
31
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
32
32
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
33
33
|
tslib_1.__exportStar(require("./UpdateFileSystemCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./UpdateFileSystemProtectionCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TooManyRequests = exports.InvalidPolicyException = exports.IncorrectMountTargetState = exports.TransitionToPrimaryStorageClassRules = exports.TransitionToIARules = exports.PolicyNotFound = exports.Resource = exports.ResourceIdType = exports.MountTargetNotFound = exports.DependencyTimeout = exports.FileSystemInUse = exports.ValidationException = exports.ReplicationNotFound = exports.ReplicationStatus = exports.SubnetNotFound = exports.SecurityGroupNotFound = exports.SecurityGroupLimitExceeded = exports.NoFreeAddressesInSubnet = exports.NetworkInterfaceLimitExceeded = exports.MountTargetConflict = exports.IpAddressInUse = exports.UnsupportedAvailabilityZone = exports.ThroughputLimitExceeded = exports.InsufficientThroughputCapacity = exports.FileSystemLimitExceeded = exports.FileSystemAlreadyExists = exports.ThroughputMode = exports.PerformanceMode = exports.ThrottlingException = exports.InternalServerError = exports.IncorrectFileSystemLifeCycleState = exports.FileSystemNotFound = exports.BadRequest = exports.Status = exports.AvailabilityZonesMismatch = exports.AccessPointNotFound = exports.AccessPointLimitExceeded = exports.LifeCycleState = exports.AccessPointAlreadyExists = void 0;
|
|
3
|
+
exports.ReplicationAlreadyExists = exports.TooManyRequests = exports.InvalidPolicyException = exports.IncorrectMountTargetState = exports.TransitionToPrimaryStorageClassRules = exports.TransitionToIARules = exports.TransitionToArchiveRules = exports.PolicyNotFound = exports.Resource = exports.ResourceIdType = exports.MountTargetNotFound = exports.DependencyTimeout = exports.FileSystemInUse = exports.ValidationException = exports.ReplicationNotFound = exports.ReplicationStatus = exports.SubnetNotFound = exports.SecurityGroupNotFound = exports.SecurityGroupLimitExceeded = exports.NoFreeAddressesInSubnet = exports.NetworkInterfaceLimitExceeded = exports.MountTargetConflict = exports.IpAddressInUse = exports.UnsupportedAvailabilityZone = exports.ThroughputLimitExceeded = exports.InsufficientThroughputCapacity = exports.FileSystemLimitExceeded = exports.ReplicationOverwriteProtection = exports.FileSystemAlreadyExists = exports.ThroughputMode = exports.PerformanceMode = exports.ThrottlingException = exports.InternalServerError = exports.IncorrectFileSystemLifeCycleState = exports.FileSystemNotFound = exports.ConflictException = exports.BadRequest = exports.Status = exports.AvailabilityZonesMismatch = exports.AccessPointNotFound = exports.AccessPointLimitExceeded = exports.LifeCycleState = exports.AccessPointAlreadyExists = void 0;
|
|
4
4
|
const EFSServiceException_1 = require("./EFSServiceException");
|
|
5
5
|
class AccessPointAlreadyExists extends EFSServiceException_1.EFSServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -92,6 +92,21 @@ class BadRequest extends EFSServiceException_1.EFSServiceException {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
exports.BadRequest = BadRequest;
|
|
95
|
+
class ConflictException extends EFSServiceException_1.EFSServiceException {
|
|
96
|
+
constructor(opts) {
|
|
97
|
+
super({
|
|
98
|
+
name: "ConflictException",
|
|
99
|
+
$fault: "client",
|
|
100
|
+
...opts,
|
|
101
|
+
});
|
|
102
|
+
this.name = "ConflictException";
|
|
103
|
+
this.$fault = "client";
|
|
104
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
105
|
+
this.ErrorCode = opts.ErrorCode;
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.ConflictException = ConflictException;
|
|
95
110
|
class FileSystemNotFound extends EFSServiceException_1.EFSServiceException {
|
|
96
111
|
constructor(opts) {
|
|
97
112
|
super({
|
|
@@ -177,6 +192,11 @@ class FileSystemAlreadyExists extends EFSServiceException_1.EFSServiceException
|
|
|
177
192
|
}
|
|
178
193
|
}
|
|
179
194
|
exports.FileSystemAlreadyExists = FileSystemAlreadyExists;
|
|
195
|
+
exports.ReplicationOverwriteProtection = {
|
|
196
|
+
DISABLED: "DISABLED",
|
|
197
|
+
ENABLED: "ENABLED",
|
|
198
|
+
REPLICATING: "REPLICATING",
|
|
199
|
+
};
|
|
180
200
|
class FileSystemLimitExceeded extends EFSServiceException_1.EFSServiceException {
|
|
181
201
|
constructor(opts) {
|
|
182
202
|
super({
|
|
@@ -448,10 +468,24 @@ class PolicyNotFound extends EFSServiceException_1.EFSServiceException {
|
|
|
448
468
|
}
|
|
449
469
|
}
|
|
450
470
|
exports.PolicyNotFound = PolicyNotFound;
|
|
471
|
+
exports.TransitionToArchiveRules = {
|
|
472
|
+
AFTER_14_DAYS: "AFTER_14_DAYS",
|
|
473
|
+
AFTER_180_DAYS: "AFTER_180_DAYS",
|
|
474
|
+
AFTER_1_DAY: "AFTER_1_DAY",
|
|
475
|
+
AFTER_270_DAYS: "AFTER_270_DAYS",
|
|
476
|
+
AFTER_30_DAYS: "AFTER_30_DAYS",
|
|
477
|
+
AFTER_365_DAYS: "AFTER_365_DAYS",
|
|
478
|
+
AFTER_60_DAYS: "AFTER_60_DAYS",
|
|
479
|
+
AFTER_7_DAYS: "AFTER_7_DAYS",
|
|
480
|
+
AFTER_90_DAYS: "AFTER_90_DAYS",
|
|
481
|
+
};
|
|
451
482
|
exports.TransitionToIARules = {
|
|
452
483
|
AFTER_14_DAYS: "AFTER_14_DAYS",
|
|
484
|
+
AFTER_180_DAYS: "AFTER_180_DAYS",
|
|
453
485
|
AFTER_1_DAY: "AFTER_1_DAY",
|
|
486
|
+
AFTER_270_DAYS: "AFTER_270_DAYS",
|
|
454
487
|
AFTER_30_DAYS: "AFTER_30_DAYS",
|
|
488
|
+
AFTER_365_DAYS: "AFTER_365_DAYS",
|
|
455
489
|
AFTER_60_DAYS: "AFTER_60_DAYS",
|
|
456
490
|
AFTER_7_DAYS: "AFTER_7_DAYS",
|
|
457
491
|
AFTER_90_DAYS: "AFTER_90_DAYS",
|
|
@@ -504,3 +538,18 @@ class TooManyRequests extends EFSServiceException_1.EFSServiceException {
|
|
|
504
538
|
}
|
|
505
539
|
}
|
|
506
540
|
exports.TooManyRequests = TooManyRequests;
|
|
541
|
+
class ReplicationAlreadyExists extends EFSServiceException_1.EFSServiceException {
|
|
542
|
+
constructor(opts) {
|
|
543
|
+
super({
|
|
544
|
+
name: "ReplicationAlreadyExists",
|
|
545
|
+
$fault: "client",
|
|
546
|
+
...opts,
|
|
547
|
+
});
|
|
548
|
+
this.name = "ReplicationAlreadyExists";
|
|
549
|
+
this.$fault = "client";
|
|
550
|
+
Object.setPrototypeOf(this, ReplicationAlreadyExists.prototype);
|
|
551
|
+
this.ErrorCode = opts.ErrorCode;
|
|
552
|
+
this.Message = opts.Message;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
exports.ReplicationAlreadyExists = ReplicationAlreadyExists;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateDescribeMountTargets = void 0;
|
|
4
|
+
const DescribeMountTargetsCommand_1 = require("../commands/DescribeMountTargetsCommand");
|
|
5
|
+
const EFSClient_1 = require("../EFSClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new DescribeMountTargetsCommand_1.DescribeMountTargetsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateDescribeMountTargets(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.Marker = token;
|
|
15
|
+
input["MaxItems"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextMarker;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateDescribeMountTargets = paginateDescribeMountTargets;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateDescribeReplicationConfigurations = void 0;
|
|
4
|
+
const DescribeReplicationConfigurationsCommand_1 = require("../commands/DescribeReplicationConfigurationsCommand");
|
|
5
|
+
const EFSClient_1 = require("../EFSClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new DescribeReplicationConfigurationsCommand_1.DescribeReplicationConfigurationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateDescribeReplicationConfigurations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateDescribeReplicationConfigurations = paginateDescribeReplicationConfigurations;
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./DescribeAccessPointsPaginator"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeFileSystemsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DescribeMountTargetsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DescribeReplicationConfigurationsPaginator"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./DescribeTagsPaginator"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./ListTagsForResourcePaginator"), exports);
|