@aws-sdk/client-efs 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultEFSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2015-02-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.efs",
30
+ errorTypeRegistries,
29
31
  version: "2015-02-01",
30
32
  serviceTarget: "MagnolioAPIService_v20150201",
31
33
  },
@@ -207,64 +207,228 @@ const _e = "error";
207
207
  const _h = "http";
208
208
  const _hE = "httpError";
209
209
  const _hQ = "httpQuery";
210
- const _s = "server";
211
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.efs";
210
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.efs";
211
+ const _se = "server";
212
212
  const _tK = "tagKeys";
213
213
  const n0 = "com.amazonaws.efs";
214
214
  import { TypeRegistry } from "@smithy/core/schema";
215
215
  import { EFSServiceException } from "../models/EFSServiceException";
216
216
  import { AccessPointAlreadyExists, AccessPointLimitExceeded, AccessPointNotFound, AvailabilityZonesMismatch, BadRequest, ConflictException, DependencyTimeout, FileSystemAlreadyExists, FileSystemInUse, FileSystemLimitExceeded, FileSystemNotFound, IncorrectFileSystemLifeCycleState, IncorrectMountTargetState, InsufficientThroughputCapacity, InternalServerError, InvalidPolicyException, IpAddressInUse, MountTargetConflict, MountTargetNotFound, NetworkInterfaceLimitExceeded, NoFreeAddressesInSubnet, PolicyNotFound, ReplicationAlreadyExists, ReplicationNotFound, SecurityGroupLimitExceeded, SecurityGroupNotFound, SubnetNotFound, ThrottlingException, ThroughputLimitExceeded, TooManyRequests, UnsupportedAvailabilityZone, ValidationException, } from "../models/errors";
217
+ const _s_registry = TypeRegistry.for(_s);
218
+ export var EFSServiceException$ = [-3, _s, "EFSServiceException", 0, [], []];
219
+ _s_registry.registerError(EFSServiceException$, EFSServiceException);
220
+ const n0_registry = TypeRegistry.for(n0);
217
221
  export var AccessPointAlreadyExists$ = [-3, n0, _APAE,
218
222
  { [_e]: _c, [_hE]: 409 },
219
223
  [_EC, _API, _M],
220
224
  [0, 0, 0], 2
221
225
  ];
222
- TypeRegistry.for(n0).registerError(AccessPointAlreadyExists$, AccessPointAlreadyExists);
223
- export var AccessPointDescription$ = [3, n0, _APD,
224
- 0,
225
- [_CT, _N, _T, _API, _APA, _FSI, _PU, _RD, _OI, _LCS],
226
- [0, 0, () => Tags, 0, 0, 0, () => PosixUser$, () => RootDirectory$, 0, 0]
227
- ];
226
+ n0_registry.registerError(AccessPointAlreadyExists$, AccessPointAlreadyExists);
228
227
  export var AccessPointLimitExceeded$ = [-3, n0, _APLE,
229
228
  { [_e]: _c, [_hE]: 403 },
230
229
  [_EC, _M],
231
230
  [0, 0], 1
232
231
  ];
233
- TypeRegistry.for(n0).registerError(AccessPointLimitExceeded$, AccessPointLimitExceeded);
232
+ n0_registry.registerError(AccessPointLimitExceeded$, AccessPointLimitExceeded);
234
233
  export var AccessPointNotFound$ = [-3, n0, _APNF,
235
234
  { [_e]: _c, [_hE]: 404 },
236
235
  [_EC, _M],
237
236
  [0, 0], 1
238
237
  ];
239
- TypeRegistry.for(n0).registerError(AccessPointNotFound$, AccessPointNotFound);
238
+ n0_registry.registerError(AccessPointNotFound$, AccessPointNotFound);
240
239
  export var AvailabilityZonesMismatch$ = [-3, n0, _AZM,
241
240
  { [_e]: _c, [_hE]: 400 },
242
241
  [_EC, _M],
243
242
  [0, 0]
244
243
  ];
245
- TypeRegistry.for(n0).registerError(AvailabilityZonesMismatch$, AvailabilityZonesMismatch);
246
- export var BackupPolicy$ = [3, n0, _BP,
247
- 0,
248
- [_S],
249
- [0], 1
250
- ];
251
- export var BackupPolicyDescription$ = [3, n0, _BPD,
252
- 0,
253
- [_BP],
254
- [() => BackupPolicy$]
255
- ];
244
+ n0_registry.registerError(AvailabilityZonesMismatch$, AvailabilityZonesMismatch);
256
245
  export var BadRequest$ = [-3, n0, _BR,
257
246
  { [_e]: _c, [_hE]: 400 },
258
247
  [_EC, _M],
259
248
  [0, 0], 1
260
249
  ];
261
- TypeRegistry.for(n0).registerError(BadRequest$, BadRequest);
250
+ n0_registry.registerError(BadRequest$, BadRequest);
262
251
  export var ConflictException$ = [-3, n0, _CE,
263
252
  { [_e]: _c, [_hE]: 409 },
264
253
  [_EC, _M],
265
254
  [0, 0]
266
255
  ];
267
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
256
+ n0_registry.registerError(ConflictException$, ConflictException);
257
+ export var DependencyTimeout$ = [-3, n0, _DT,
258
+ { [_e]: _se, [_hE]: 504 },
259
+ [_EC, _M],
260
+ [0, 0], 1
261
+ ];
262
+ n0_registry.registerError(DependencyTimeout$, DependencyTimeout);
263
+ export var FileSystemAlreadyExists$ = [-3, n0, _FSAE,
264
+ { [_e]: _c, [_hE]: 409 },
265
+ [_EC, _FSI, _M],
266
+ [0, 0, 0], 2
267
+ ];
268
+ n0_registry.registerError(FileSystemAlreadyExists$, FileSystemAlreadyExists);
269
+ export var FileSystemInUse$ = [-3, n0, _FSIU,
270
+ { [_e]: _c, [_hE]: 409 },
271
+ [_EC, _M],
272
+ [0, 0], 1
273
+ ];
274
+ n0_registry.registerError(FileSystemInUse$, FileSystemInUse);
275
+ export var FileSystemLimitExceeded$ = [-3, n0, _FSLE,
276
+ { [_e]: _c, [_hE]: 403 },
277
+ [_EC, _M],
278
+ [0, 0], 1
279
+ ];
280
+ n0_registry.registerError(FileSystemLimitExceeded$, FileSystemLimitExceeded);
281
+ export var FileSystemNotFound$ = [-3, n0, _FSNF,
282
+ { [_e]: _c, [_hE]: 404 },
283
+ [_EC, _M],
284
+ [0, 0], 1
285
+ ];
286
+ n0_registry.registerError(FileSystemNotFound$, FileSystemNotFound);
287
+ export var IncorrectFileSystemLifeCycleState$ = [-3, n0, _IFSLCS,
288
+ { [_e]: _c, [_hE]: 409 },
289
+ [_EC, _M],
290
+ [0, 0], 1
291
+ ];
292
+ n0_registry.registerError(IncorrectFileSystemLifeCycleState$, IncorrectFileSystemLifeCycleState);
293
+ export var IncorrectMountTargetState$ = [-3, n0, _IMTS,
294
+ { [_e]: _c, [_hE]: 409 },
295
+ [_EC, _M],
296
+ [0, 0], 1
297
+ ];
298
+ n0_registry.registerError(IncorrectMountTargetState$, IncorrectMountTargetState);
299
+ export var InsufficientThroughputCapacity$ = [-3, n0, _ITC,
300
+ { [_e]: _se, [_hE]: 503 },
301
+ [_EC, _M],
302
+ [0, 0], 1
303
+ ];
304
+ n0_registry.registerError(InsufficientThroughputCapacity$, InsufficientThroughputCapacity);
305
+ export var InternalServerError$ = [-3, n0, _ISE,
306
+ { [_e]: _se, [_hE]: 500 },
307
+ [_EC, _M],
308
+ [0, 0], 1
309
+ ];
310
+ n0_registry.registerError(InternalServerError$, InternalServerError);
311
+ export var InvalidPolicyException$ = [-3, n0, _IPE,
312
+ { [_e]: _c, [_hE]: 400 },
313
+ [_EC, _M],
314
+ [0, 0]
315
+ ];
316
+ n0_registry.registerError(InvalidPolicyException$, InvalidPolicyException);
317
+ export var IpAddressInUse$ = [-3, n0, _IAIU,
318
+ { [_e]: _c, [_hE]: 409 },
319
+ [_EC, _M],
320
+ [0, 0], 1
321
+ ];
322
+ n0_registry.registerError(IpAddressInUse$, IpAddressInUse);
323
+ export var MountTargetConflict$ = [-3, n0, _MTC,
324
+ { [_e]: _c, [_hE]: 409 },
325
+ [_EC, _M],
326
+ [0, 0], 1
327
+ ];
328
+ n0_registry.registerError(MountTargetConflict$, MountTargetConflict);
329
+ export var MountTargetNotFound$ = [-3, n0, _MTNF,
330
+ { [_e]: _c, [_hE]: 404 },
331
+ [_EC, _M],
332
+ [0, 0], 1
333
+ ];
334
+ n0_registry.registerError(MountTargetNotFound$, MountTargetNotFound);
335
+ export var NetworkInterfaceLimitExceeded$ = [-3, n0, _NILE,
336
+ { [_e]: _c, [_hE]: 409 },
337
+ [_EC, _M],
338
+ [0, 0], 1
339
+ ];
340
+ n0_registry.registerError(NetworkInterfaceLimitExceeded$, NetworkInterfaceLimitExceeded);
341
+ export var NoFreeAddressesInSubnet$ = [-3, n0, _NFAIS,
342
+ { [_e]: _c, [_hE]: 409 },
343
+ [_EC, _M],
344
+ [0, 0], 1
345
+ ];
346
+ n0_registry.registerError(NoFreeAddressesInSubnet$, NoFreeAddressesInSubnet);
347
+ export var PolicyNotFound$ = [-3, n0, _PNF,
348
+ { [_e]: _c, [_hE]: 404 },
349
+ [_EC, _M],
350
+ [0, 0]
351
+ ];
352
+ n0_registry.registerError(PolicyNotFound$, PolicyNotFound);
353
+ export var ReplicationAlreadyExists$ = [-3, n0, _RAE,
354
+ { [_e]: _c, [_hE]: 409 },
355
+ [_EC, _M],
356
+ [0, 0]
357
+ ];
358
+ n0_registry.registerError(ReplicationAlreadyExists$, ReplicationAlreadyExists);
359
+ export var ReplicationNotFound$ = [-3, n0, _RNF,
360
+ { [_e]: _c, [_hE]: 404 },
361
+ [_EC, _M],
362
+ [0, 0]
363
+ ];
364
+ n0_registry.registerError(ReplicationNotFound$, ReplicationNotFound);
365
+ export var SecurityGroupLimitExceeded$ = [-3, n0, _SGLE,
366
+ { [_e]: _c, [_hE]: 400 },
367
+ [_EC, _M],
368
+ [0, 0], 1
369
+ ];
370
+ n0_registry.registerError(SecurityGroupLimitExceeded$, SecurityGroupLimitExceeded);
371
+ export var SecurityGroupNotFound$ = [-3, n0, _SGNF,
372
+ { [_e]: _c, [_hE]: 400 },
373
+ [_EC, _M],
374
+ [0, 0], 1
375
+ ];
376
+ n0_registry.registerError(SecurityGroupNotFound$, SecurityGroupNotFound);
377
+ export var SubnetNotFound$ = [-3, n0, _SNF,
378
+ { [_e]: _c, [_hE]: 400 },
379
+ [_EC, _M],
380
+ [0, 0], 1
381
+ ];
382
+ n0_registry.registerError(SubnetNotFound$, SubnetNotFound);
383
+ export var ThrottlingException$ = [-3, n0, _TE,
384
+ { [_e]: _c, [_hE]: 429 },
385
+ [_EC, _M],
386
+ [0, 0]
387
+ ];
388
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
389
+ export var ThroughputLimitExceeded$ = [-3, n0, _TLE,
390
+ { [_e]: _c, [_hE]: 400 },
391
+ [_EC, _M],
392
+ [0, 0], 1
393
+ ];
394
+ n0_registry.registerError(ThroughputLimitExceeded$, ThroughputLimitExceeded);
395
+ export var TooManyRequests$ = [-3, n0, _TMR,
396
+ { [_e]: _c, [_hE]: 429 },
397
+ [_EC, _M],
398
+ [0, 0], 1
399
+ ];
400
+ n0_registry.registerError(TooManyRequests$, TooManyRequests);
401
+ export var UnsupportedAvailabilityZone$ = [-3, n0, _UAZ,
402
+ { [_e]: _c, [_hE]: 400 },
403
+ [_EC, _M],
404
+ [0, 0], 1
405
+ ];
406
+ n0_registry.registerError(UnsupportedAvailabilityZone$, UnsupportedAvailabilityZone);
407
+ export var ValidationException$ = [-3, n0, _VE,
408
+ { [_e]: _c, [_hE]: 400 },
409
+ [_EC, _M],
410
+ [0, 0], 1
411
+ ];
412
+ n0_registry.registerError(ValidationException$, ValidationException);
413
+ export const errorTypeRegistries = [
414
+ _s_registry,
415
+ n0_registry,
416
+ ];
417
+ export var AccessPointDescription$ = [3, n0, _APD,
418
+ 0,
419
+ [_CT, _N, _T, _API, _APA, _FSI, _PU, _RD, _OI, _LCS],
420
+ [0, 0, () => Tags, 0, 0, 0, () => PosixUser$, () => RootDirectory$, 0, 0]
421
+ ];
422
+ export var BackupPolicy$ = [3, n0, _BP,
423
+ 0,
424
+ [_S],
425
+ [0], 1
426
+ ];
427
+ export var BackupPolicyDescription$ = [3, n0, _BPD,
428
+ 0,
429
+ [_BP],
430
+ [() => BackupPolicy$]
431
+ ];
268
432
  export var CreateAccessPointRequest$ = [3, n0, _CAPR,
269
433
  0,
270
434
  [_FSI, _CT, _T, _PU, _RD],
@@ -325,12 +489,6 @@ export var DeleteTagsRequest$ = [3, n0, _DTR,
325
489
  [_FSI, _TK],
326
490
  [[0, 1], 64 | 0], 2
327
491
  ];
328
- export var DependencyTimeout$ = [-3, n0, _DT,
329
- { [_e]: _s, [_hE]: 504 },
330
- [_EC, _M],
331
- [0, 0], 1
332
- ];
333
- TypeRegistry.for(n0).registerError(DependencyTimeout$, DependencyTimeout);
334
492
  export var DescribeAccessPointsRequest$ = [3, n0, _DAPRe,
335
493
  0,
336
494
  [_MR, _NT, _API, _FSI],
@@ -426,35 +584,11 @@ export var DestinationToCreate$ = [3, n0, _DTC,
426
584
  [_Re, _AZN, _KKI, _FSI, _RA],
427
585
  [0, 0, 0, 0, 0]
428
586
  ];
429
- export var FileSystemAlreadyExists$ = [-3, n0, _FSAE,
430
- { [_e]: _c, [_hE]: 409 },
431
- [_EC, _FSI, _M],
432
- [0, 0, 0], 2
433
- ];
434
- TypeRegistry.for(n0).registerError(FileSystemAlreadyExists$, FileSystemAlreadyExists);
435
587
  export var FileSystemDescription$ = [3, n0, _FSD,
436
588
  0,
437
589
  [_OI, _CTr, _FSI, _CTre, _LCS, _NOMT, _SIB, _PM, _T, _FSA, _N, _E, _KKI, _TM, _PTIM, _AZN, _AZI, _FSP],
438
590
  [0, 0, 0, 4, 0, 1, () => FileSystemSize$, 0, () => Tags, 0, 0, 2, 0, 0, 1, 0, 0, () => FileSystemProtectionDescription$], 9
439
591
  ];
440
- export var FileSystemInUse$ = [-3, n0, _FSIU,
441
- { [_e]: _c, [_hE]: 409 },
442
- [_EC, _M],
443
- [0, 0], 1
444
- ];
445
- TypeRegistry.for(n0).registerError(FileSystemInUse$, FileSystemInUse);
446
- export var FileSystemLimitExceeded$ = [-3, n0, _FSLE,
447
- { [_e]: _c, [_hE]: 403 },
448
- [_EC, _M],
449
- [0, 0], 1
450
- ];
451
- TypeRegistry.for(n0).registerError(FileSystemLimitExceeded$, FileSystemLimitExceeded);
452
- export var FileSystemNotFound$ = [-3, n0, _FSNF,
453
- { [_e]: _c, [_hE]: 404 },
454
- [_EC, _M],
455
- [0, 0], 1
456
- ];
457
- TypeRegistry.for(n0).registerError(FileSystemNotFound$, FileSystemNotFound);
458
592
  export var FileSystemPolicyDescription$ = [3, n0, _FSPD,
459
593
  0,
460
594
  [_FSI, _Po],
@@ -470,42 +604,6 @@ export var FileSystemSize$ = [3, n0, _FSS,
470
604
  [_V, _Ti, _VIIA, _VIS, _VIA],
471
605
  [1, 4, 1, 1, 1], 1
472
606
  ];
473
- export var IncorrectFileSystemLifeCycleState$ = [-3, n0, _IFSLCS,
474
- { [_e]: _c, [_hE]: 409 },
475
- [_EC, _M],
476
- [0, 0], 1
477
- ];
478
- TypeRegistry.for(n0).registerError(IncorrectFileSystemLifeCycleState$, IncorrectFileSystemLifeCycleState);
479
- export var IncorrectMountTargetState$ = [-3, n0, _IMTS,
480
- { [_e]: _c, [_hE]: 409 },
481
- [_EC, _M],
482
- [0, 0], 1
483
- ];
484
- TypeRegistry.for(n0).registerError(IncorrectMountTargetState$, IncorrectMountTargetState);
485
- export var InsufficientThroughputCapacity$ = [-3, n0, _ITC,
486
- { [_e]: _s, [_hE]: 503 },
487
- [_EC, _M],
488
- [0, 0], 1
489
- ];
490
- TypeRegistry.for(n0).registerError(InsufficientThroughputCapacity$, InsufficientThroughputCapacity);
491
- export var InternalServerError$ = [-3, n0, _ISE,
492
- { [_e]: _s, [_hE]: 500 },
493
- [_EC, _M],
494
- [0, 0], 1
495
- ];
496
- TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
497
- export var InvalidPolicyException$ = [-3, n0, _IPE,
498
- { [_e]: _c, [_hE]: 400 },
499
- [_EC, _M],
500
- [0, 0]
501
- ];
502
- TypeRegistry.for(n0).registerError(InvalidPolicyException$, InvalidPolicyException);
503
- export var IpAddressInUse$ = [-3, n0, _IAIU,
504
- { [_e]: _c, [_hE]: 409 },
505
- [_EC, _M],
506
- [0, 0], 1
507
- ];
508
- TypeRegistry.for(n0).registerError(IpAddressInUse$, IpAddressInUse);
509
607
  export var LifecycleConfigurationDescription$ = [3, n0, _LCD,
510
608
  0,
511
609
  [_LP],
@@ -531,41 +629,11 @@ export var ModifyMountTargetSecurityGroupsRequest$ = [3, n0, _MMTSGR,
531
629
  [_MTI, _SG],
532
630
  [[0, 1], 64 | 0], 1
533
631
  ];
534
- export var MountTargetConflict$ = [-3, n0, _MTC,
535
- { [_e]: _c, [_hE]: 409 },
536
- [_EC, _M],
537
- [0, 0], 1
538
- ];
539
- TypeRegistry.for(n0).registerError(MountTargetConflict$, MountTargetConflict);
540
632
  export var MountTargetDescription$ = [3, n0, _MTD,
541
633
  0,
542
634
  [_MTI, _FSI, _SI, _LCS, _OI, _IA, _IAp, _NII, _AZI, _AZN, _VI],
543
635
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 4
544
636
  ];
545
- export var MountTargetNotFound$ = [-3, n0, _MTNF,
546
- { [_e]: _c, [_hE]: 404 },
547
- [_EC, _M],
548
- [0, 0], 1
549
- ];
550
- TypeRegistry.for(n0).registerError(MountTargetNotFound$, MountTargetNotFound);
551
- export var NetworkInterfaceLimitExceeded$ = [-3, n0, _NILE,
552
- { [_e]: _c, [_hE]: 409 },
553
- [_EC, _M],
554
- [0, 0], 1
555
- ];
556
- TypeRegistry.for(n0).registerError(NetworkInterfaceLimitExceeded$, NetworkInterfaceLimitExceeded);
557
- export var NoFreeAddressesInSubnet$ = [-3, n0, _NFAIS,
558
- { [_e]: _c, [_hE]: 409 },
559
- [_EC, _M],
560
- [0, 0], 1
561
- ];
562
- TypeRegistry.for(n0).registerError(NoFreeAddressesInSubnet$, NoFreeAddressesInSubnet);
563
- export var PolicyNotFound$ = [-3, n0, _PNF,
564
- { [_e]: _c, [_hE]: 404 },
565
- [_EC, _M],
566
- [0, 0]
567
- ];
568
- TypeRegistry.for(n0).registerError(PolicyNotFound$, PolicyNotFound);
569
637
  export var PosixUser$ = [3, n0, _PU,
570
638
  0,
571
639
  [_U, _G, _SGe],
@@ -596,23 +664,11 @@ export var PutLifecycleConfigurationRequest$ = [3, n0, _PLCR,
596
664
  [_FSI, _LP],
597
665
  [[0, 1], () => LifecyclePolicies], 2
598
666
  ];
599
- export var ReplicationAlreadyExists$ = [-3, n0, _RAE,
600
- { [_e]: _c, [_hE]: 409 },
601
- [_EC, _M],
602
- [0, 0]
603
- ];
604
- TypeRegistry.for(n0).registerError(ReplicationAlreadyExists$, ReplicationAlreadyExists);
605
667
  export var ReplicationConfigurationDescription$ = [3, n0, _RCD,
606
668
  0,
607
669
  [_SFSI, _SFSR, _SFSA, _OSFSA, _CTre, _D, _SFSOI],
608
670
  [0, 0, 0, 0, 4, () => Destinations, 0], 6
609
671
  ];
610
- export var ReplicationNotFound$ = [-3, n0, _RNF,
611
- { [_e]: _c, [_hE]: 404 },
612
- [_EC, _M],
613
- [0, 0]
614
- ];
615
- TypeRegistry.for(n0).registerError(ReplicationNotFound$, ReplicationNotFound);
616
672
  export var ResourceIdPreference$ = [3, n0, _RIP,
617
673
  0,
618
674
  [_RIT, _Res],
@@ -623,24 +679,6 @@ export var RootDirectory$ = [3, n0, _RD,
623
679
  [_Pa, _CI],
624
680
  [0, () => CreationInfo$]
625
681
  ];
626
- export var SecurityGroupLimitExceeded$ = [-3, n0, _SGLE,
627
- { [_e]: _c, [_hE]: 400 },
628
- [_EC, _M],
629
- [0, 0], 1
630
- ];
631
- TypeRegistry.for(n0).registerError(SecurityGroupLimitExceeded$, SecurityGroupLimitExceeded);
632
- export var SecurityGroupNotFound$ = [-3, n0, _SGNF,
633
- { [_e]: _c, [_hE]: 400 },
634
- [_EC, _M],
635
- [0, 0], 1
636
- ];
637
- TypeRegistry.for(n0).registerError(SecurityGroupNotFound$, SecurityGroupNotFound);
638
- export var SubnetNotFound$ = [-3, n0, _SNF,
639
- { [_e]: _c, [_hE]: 400 },
640
- [_EC, _M],
641
- [0, 0], 1
642
- ];
643
- TypeRegistry.for(n0).registerError(SubnetNotFound$, SubnetNotFound);
644
682
  export var Tag$ = [3, n0, _Ta,
645
683
  0,
646
684
  [_K, _V],
@@ -651,30 +689,6 @@ export var TagResourceRequest$ = [3, n0, _TRR,
651
689
  [_RI, _T],
652
690
  [[0, 1], () => Tags], 2
653
691
  ];
654
- export var ThrottlingException$ = [-3, n0, _TE,
655
- { [_e]: _c, [_hE]: 429 },
656
- [_EC, _M],
657
- [0, 0]
658
- ];
659
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
660
- export var ThroughputLimitExceeded$ = [-3, n0, _TLE,
661
- { [_e]: _c, [_hE]: 400 },
662
- [_EC, _M],
663
- [0, 0], 1
664
- ];
665
- TypeRegistry.for(n0).registerError(ThroughputLimitExceeded$, ThroughputLimitExceeded);
666
- export var TooManyRequests$ = [-3, n0, _TMR,
667
- { [_e]: _c, [_hE]: 429 },
668
- [_EC, _M],
669
- [0, 0], 1
670
- ];
671
- TypeRegistry.for(n0).registerError(TooManyRequests$, TooManyRequests);
672
- export var UnsupportedAvailabilityZone$ = [-3, n0, _UAZ,
673
- { [_e]: _c, [_hE]: 400 },
674
- [_EC, _M],
675
- [0, 0], 1
676
- ];
677
- TypeRegistry.for(n0).registerError(UnsupportedAvailabilityZone$, UnsupportedAvailabilityZone);
678
692
  export var UntagResourceRequest$ = [3, n0, _URR,
679
693
  0,
680
694
  [_RI, _TK],
@@ -690,15 +704,7 @@ export var UpdateFileSystemRequest$ = [3, n0, _UFSR,
690
704
  [_FSI, _TM, _PTIM],
691
705
  [[0, 1], 0, 1], 1
692
706
  ];
693
- export var ValidationException$ = [-3, n0, _VE,
694
- { [_e]: _c, [_hE]: 400 },
695
- [_EC, _M],
696
- [0, 0], 1
697
- ];
698
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
699
707
  var __Unit = "unit";
700
- export var EFSServiceException$ = [-3, _sm, "EFSServiceException", 0, [], []];
701
- TypeRegistry.for(_sm).registerError(EFSServiceException$, EFSServiceException);
702
708
  var AccessPointDescriptions = [1, n0, _APDc,
703
709
  0, () => AccessPointDescription$
704
710
  ];
@@ -1,13 +1,47 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var EFSServiceException$: StaticErrorSchema;
2
4
  export declare var AccessPointAlreadyExists$: StaticErrorSchema;
3
- export declare var AccessPointDescription$: StaticStructureSchema;
4
5
  export declare var AccessPointLimitExceeded$: StaticErrorSchema;
5
6
  export declare var AccessPointNotFound$: StaticErrorSchema;
6
7
  export declare var AvailabilityZonesMismatch$: StaticErrorSchema;
7
- export declare var BackupPolicy$: StaticStructureSchema;
8
- export declare var BackupPolicyDescription$: StaticStructureSchema;
9
8
  export declare var BadRequest$: StaticErrorSchema;
10
9
  export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var DependencyTimeout$: StaticErrorSchema;
11
+ export declare var FileSystemAlreadyExists$: StaticErrorSchema;
12
+ export declare var FileSystemInUse$: StaticErrorSchema;
13
+ export declare var FileSystemLimitExceeded$: StaticErrorSchema;
14
+ export declare var FileSystemNotFound$: StaticErrorSchema;
15
+ export declare var IncorrectFileSystemLifeCycleState$: StaticErrorSchema;
16
+ export declare var IncorrectMountTargetState$: StaticErrorSchema;
17
+ export declare var InsufficientThroughputCapacity$: StaticErrorSchema;
18
+ export declare var InternalServerError$: StaticErrorSchema;
19
+ export declare var InvalidPolicyException$: StaticErrorSchema;
20
+ export declare var IpAddressInUse$: StaticErrorSchema;
21
+ export declare var MountTargetConflict$: StaticErrorSchema;
22
+ export declare var MountTargetNotFound$: StaticErrorSchema;
23
+ export declare var NetworkInterfaceLimitExceeded$: StaticErrorSchema;
24
+ export declare var NoFreeAddressesInSubnet$: StaticErrorSchema;
25
+ export declare var PolicyNotFound$: StaticErrorSchema;
26
+ export declare var ReplicationAlreadyExists$: StaticErrorSchema;
27
+ export declare var ReplicationNotFound$: StaticErrorSchema;
28
+ export declare var SecurityGroupLimitExceeded$: StaticErrorSchema;
29
+ export declare var SecurityGroupNotFound$: StaticErrorSchema;
30
+ export declare var SubnetNotFound$: StaticErrorSchema;
31
+ export declare var ThrottlingException$: StaticErrorSchema;
32
+ export declare var ThroughputLimitExceeded$: StaticErrorSchema;
33
+ export declare var TooManyRequests$: StaticErrorSchema;
34
+ export declare var UnsupportedAvailabilityZone$: StaticErrorSchema;
35
+ export declare var ValidationException$: StaticErrorSchema;
36
+ /**
37
+ * TypeRegistry instances containing modeled errors.
38
+ * @internal
39
+ *
40
+ */
41
+ export declare const errorTypeRegistries: TypeRegistry[];
42
+ export declare var AccessPointDescription$: StaticStructureSchema;
43
+ export declare var BackupPolicy$: StaticStructureSchema;
44
+ export declare var BackupPolicyDescription$: StaticStructureSchema;
11
45
  export declare var CreateAccessPointRequest$: StaticStructureSchema;
12
46
  export declare var CreateFileSystemRequest$: StaticStructureSchema;
13
47
  export declare var CreateMountTargetRequest$: StaticStructureSchema;
@@ -20,7 +54,6 @@ export declare var DeleteFileSystemRequest$: StaticStructureSchema;
20
54
  export declare var DeleteMountTargetRequest$: StaticStructureSchema;
21
55
  export declare var DeleteReplicationConfigurationRequest$: StaticStructureSchema;
22
56
  export declare var DeleteTagsRequest$: StaticStructureSchema;
23
- export declare var DependencyTimeout$: StaticErrorSchema;
24
57
  export declare var DescribeAccessPointsRequest$: StaticStructureSchema;
25
58
  export declare var DescribeAccessPointsResponse$: StaticStructureSchema;
26
59
  export declare var DescribeAccountPreferencesRequest$: StaticStructureSchema;
@@ -40,56 +73,30 @@ export declare var DescribeTagsRequest$: StaticStructureSchema;
40
73
  export declare var DescribeTagsResponse$: StaticStructureSchema;
41
74
  export declare var Destination$: StaticStructureSchema;
42
75
  export declare var DestinationToCreate$: StaticStructureSchema;
43
- export declare var FileSystemAlreadyExists$: StaticErrorSchema;
44
76
  export declare var FileSystemDescription$: StaticStructureSchema;
45
- export declare var FileSystemInUse$: StaticErrorSchema;
46
- export declare var FileSystemLimitExceeded$: StaticErrorSchema;
47
- export declare var FileSystemNotFound$: StaticErrorSchema;
48
77
  export declare var FileSystemPolicyDescription$: StaticStructureSchema;
49
78
  export declare var FileSystemProtectionDescription$: StaticStructureSchema;
50
79
  export declare var FileSystemSize$: StaticStructureSchema;
51
- export declare var IncorrectFileSystemLifeCycleState$: StaticErrorSchema;
52
- export declare var IncorrectMountTargetState$: StaticErrorSchema;
53
- export declare var InsufficientThroughputCapacity$: StaticErrorSchema;
54
- export declare var InternalServerError$: StaticErrorSchema;
55
- export declare var InvalidPolicyException$: StaticErrorSchema;
56
- export declare var IpAddressInUse$: StaticErrorSchema;
57
80
  export declare var LifecycleConfigurationDescription$: StaticStructureSchema;
58
81
  export declare var LifecyclePolicy$: StaticStructureSchema;
59
82
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
60
83
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
61
84
  export declare var ModifyMountTargetSecurityGroupsRequest$: StaticStructureSchema;
62
- export declare var MountTargetConflict$: StaticErrorSchema;
63
85
  export declare var MountTargetDescription$: StaticStructureSchema;
64
- export declare var MountTargetNotFound$: StaticErrorSchema;
65
- export declare var NetworkInterfaceLimitExceeded$: StaticErrorSchema;
66
- export declare var NoFreeAddressesInSubnet$: StaticErrorSchema;
67
- export declare var PolicyNotFound$: StaticErrorSchema;
68
86
  export declare var PosixUser$: StaticStructureSchema;
69
87
  export declare var PutAccountPreferencesRequest$: StaticStructureSchema;
70
88
  export declare var PutAccountPreferencesResponse$: StaticStructureSchema;
71
89
  export declare var PutBackupPolicyRequest$: StaticStructureSchema;
72
90
  export declare var PutFileSystemPolicyRequest$: StaticStructureSchema;
73
91
  export declare var PutLifecycleConfigurationRequest$: StaticStructureSchema;
74
- export declare var ReplicationAlreadyExists$: StaticErrorSchema;
75
92
  export declare var ReplicationConfigurationDescription$: StaticStructureSchema;
76
- export declare var ReplicationNotFound$: StaticErrorSchema;
77
93
  export declare var ResourceIdPreference$: StaticStructureSchema;
78
94
  export declare var RootDirectory$: StaticStructureSchema;
79
- export declare var SecurityGroupLimitExceeded$: StaticErrorSchema;
80
- export declare var SecurityGroupNotFound$: StaticErrorSchema;
81
- export declare var SubnetNotFound$: StaticErrorSchema;
82
95
  export declare var Tag$: StaticStructureSchema;
83
96
  export declare var TagResourceRequest$: StaticStructureSchema;
84
- export declare var ThrottlingException$: StaticErrorSchema;
85
- export declare var ThroughputLimitExceeded$: StaticErrorSchema;
86
- export declare var TooManyRequests$: StaticErrorSchema;
87
- export declare var UnsupportedAvailabilityZone$: StaticErrorSchema;
88
97
  export declare var UntagResourceRequest$: StaticStructureSchema;
89
98
  export declare var UpdateFileSystemProtectionRequest$: StaticStructureSchema;
90
99
  export declare var UpdateFileSystemRequest$: StaticStructureSchema;
91
- export declare var ValidationException$: StaticErrorSchema;
92
- export declare var EFSServiceException$: StaticErrorSchema;
93
100
  export declare var CreateAccessPoint$: StaticOperationSchema;
94
101
  export declare var CreateFileSystem$: StaticOperationSchema;
95
102
  export declare var CreateMountTarget$: StaticOperationSchema;