@aws-sdk/client-fsx 3.716.0 → 3.723.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class FSxClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -7,14 +7,17 @@ export const ActiveDirectoryErrorType = {
7
7
  WRONG_VPC: "WRONG_VPC",
8
8
  };
9
9
  export class ActiveDirectoryError extends __BaseException {
10
+ name = "ActiveDirectoryError";
11
+ $fault = "client";
12
+ ActiveDirectoryId;
13
+ Type;
14
+ Message;
10
15
  constructor(opts) {
11
16
  super({
12
17
  name: "ActiveDirectoryError",
13
18
  $fault: "client",
14
19
  ...opts,
15
20
  });
16
- this.name = "ActiveDirectoryError";
17
- this.$fault = "client";
18
21
  Object.setPrototypeOf(this, ActiveDirectoryError.prototype);
19
22
  this.ActiveDirectoryId = opts.ActiveDirectoryId;
20
23
  this.Type = opts.Type;
@@ -234,40 +237,43 @@ export const VolumeType = {
234
237
  OPENZFS: "OPENZFS",
235
238
  };
236
239
  export class BadRequest extends __BaseException {
240
+ name = "BadRequest";
241
+ $fault = "client";
242
+ Message;
237
243
  constructor(opts) {
238
244
  super({
239
245
  name: "BadRequest",
240
246
  $fault: "client",
241
247
  ...opts,
242
248
  });
243
- this.name = "BadRequest";
244
- this.$fault = "client";
245
249
  Object.setPrototypeOf(this, BadRequest.prototype);
246
250
  this.Message = opts.Message;
247
251
  }
248
252
  }
249
253
  export class FileSystemNotFound extends __BaseException {
254
+ name = "FileSystemNotFound";
255
+ $fault = "client";
256
+ Message;
250
257
  constructor(opts) {
251
258
  super({
252
259
  name: "FileSystemNotFound",
253
260
  $fault: "client",
254
261
  ...opts,
255
262
  });
256
- this.name = "FileSystemNotFound";
257
- this.$fault = "client";
258
263
  Object.setPrototypeOf(this, FileSystemNotFound.prototype);
259
264
  this.Message = opts.Message;
260
265
  }
261
266
  }
262
267
  export class InternalServerError extends __BaseException {
268
+ name = "InternalServerError";
269
+ $fault = "server";
270
+ Message;
263
271
  constructor(opts) {
264
272
  super({
265
273
  name: "InternalServerError",
266
274
  $fault: "server",
267
275
  ...opts,
268
276
  });
269
- this.name = "InternalServerError";
270
- this.$fault = "server";
271
277
  Object.setPrototypeOf(this, InternalServerError.prototype);
272
278
  this.Message = opts.Message;
273
279
  }
@@ -286,53 +292,57 @@ export const DataRepositoryTaskLifecycle = {
286
292
  SUCCEEDED: "SUCCEEDED",
287
293
  };
288
294
  export class DataRepositoryTaskEnded extends __BaseException {
295
+ name = "DataRepositoryTaskEnded";
296
+ $fault = "client";
297
+ Message;
289
298
  constructor(opts) {
290
299
  super({
291
300
  name: "DataRepositoryTaskEnded",
292
301
  $fault: "client",
293
302
  ...opts,
294
303
  });
295
- this.name = "DataRepositoryTaskEnded";
296
- this.$fault = "client";
297
304
  Object.setPrototypeOf(this, DataRepositoryTaskEnded.prototype);
298
305
  this.Message = opts.Message;
299
306
  }
300
307
  }
301
308
  export class DataRepositoryTaskNotFound extends __BaseException {
309
+ name = "DataRepositoryTaskNotFound";
310
+ $fault = "client";
311
+ Message;
302
312
  constructor(opts) {
303
313
  super({
304
314
  name: "DataRepositoryTaskNotFound",
305
315
  $fault: "client",
306
316
  ...opts,
307
317
  });
308
- this.name = "DataRepositoryTaskNotFound";
309
- this.$fault = "client";
310
318
  Object.setPrototypeOf(this, DataRepositoryTaskNotFound.prototype);
311
319
  this.Message = opts.Message;
312
320
  }
313
321
  }
314
322
  export class UnsupportedOperation extends __BaseException {
323
+ name = "UnsupportedOperation";
324
+ $fault = "client";
325
+ Message;
315
326
  constructor(opts) {
316
327
  super({
317
328
  name: "UnsupportedOperation",
318
329
  $fault: "client",
319
330
  ...opts,
320
331
  });
321
- this.name = "UnsupportedOperation";
322
- this.$fault = "client";
323
332
  Object.setPrototypeOf(this, UnsupportedOperation.prototype);
324
333
  this.Message = opts.Message;
325
334
  }
326
335
  }
327
336
  export class BackupNotFound extends __BaseException {
337
+ name = "BackupNotFound";
338
+ $fault = "client";
339
+ Message;
328
340
  constructor(opts) {
329
341
  super({
330
342
  name: "BackupNotFound",
331
343
  $fault: "client",
332
344
  ...opts,
333
345
  });
334
- this.name = "BackupNotFound";
335
- this.$fault = "client";
336
346
  Object.setPrototypeOf(this, BackupNotFound.prototype);
337
347
  this.Message = opts.Message;
338
348
  }
@@ -356,67 +366,73 @@ export const BackupType = {
356
366
  USER_INITIATED: "USER_INITIATED",
357
367
  };
358
368
  export class IncompatibleParameterError extends __BaseException {
369
+ name = "IncompatibleParameterError";
370
+ $fault = "client";
371
+ Parameter;
372
+ Message;
359
373
  constructor(opts) {
360
374
  super({
361
375
  name: "IncompatibleParameterError",
362
376
  $fault: "client",
363
377
  ...opts,
364
378
  });
365
- this.name = "IncompatibleParameterError";
366
- this.$fault = "client";
367
379
  Object.setPrototypeOf(this, IncompatibleParameterError.prototype);
368
380
  this.Parameter = opts.Parameter;
369
381
  this.Message = opts.Message;
370
382
  }
371
383
  }
372
384
  export class IncompatibleRegionForMultiAZ extends __BaseException {
385
+ name = "IncompatibleRegionForMultiAZ";
386
+ $fault = "client";
387
+ Message;
373
388
  constructor(opts) {
374
389
  super({
375
390
  name: "IncompatibleRegionForMultiAZ",
376
391
  $fault: "client",
377
392
  ...opts,
378
393
  });
379
- this.name = "IncompatibleRegionForMultiAZ";
380
- this.$fault = "client";
381
394
  Object.setPrototypeOf(this, IncompatibleRegionForMultiAZ.prototype);
382
395
  this.Message = opts.Message;
383
396
  }
384
397
  }
385
398
  export class InvalidDestinationKmsKey extends __BaseException {
399
+ name = "InvalidDestinationKmsKey";
400
+ $fault = "client";
401
+ Message;
386
402
  constructor(opts) {
387
403
  super({
388
404
  name: "InvalidDestinationKmsKey",
389
405
  $fault: "client",
390
406
  ...opts,
391
407
  });
392
- this.name = "InvalidDestinationKmsKey";
393
- this.$fault = "client";
394
408
  Object.setPrototypeOf(this, InvalidDestinationKmsKey.prototype);
395
409
  this.Message = opts.Message;
396
410
  }
397
411
  }
398
412
  export class InvalidRegion extends __BaseException {
413
+ name = "InvalidRegion";
414
+ $fault = "client";
415
+ Message;
399
416
  constructor(opts) {
400
417
  super({
401
418
  name: "InvalidRegion",
402
419
  $fault: "client",
403
420
  ...opts,
404
421
  });
405
- this.name = "InvalidRegion";
406
- this.$fault = "client";
407
422
  Object.setPrototypeOf(this, InvalidRegion.prototype);
408
423
  this.Message = opts.Message;
409
424
  }
410
425
  }
411
426
  export class InvalidSourceKmsKey extends __BaseException {
427
+ name = "InvalidSourceKmsKey";
428
+ $fault = "client";
429
+ Message;
412
430
  constructor(opts) {
413
431
  super({
414
432
  name: "InvalidSourceKmsKey",
415
433
  $fault: "client",
416
434
  ...opts,
417
435
  });
418
- this.name = "InvalidSourceKmsKey";
419
- this.$fault = "client";
420
436
  Object.setPrototypeOf(this, InvalidSourceKmsKey.prototype);
421
437
  this.Message = opts.Message;
422
438
  }
@@ -434,28 +450,32 @@ export const ServiceLimit = {
434
450
  VOLUMES_PER_FILE_SYSTEM: "VOLUMES_PER_FILE_SYSTEM",
435
451
  };
436
452
  export class ServiceLimitExceeded extends __BaseException {
453
+ name = "ServiceLimitExceeded";
454
+ $fault = "client";
455
+ Limit;
456
+ Message;
437
457
  constructor(opts) {
438
458
  super({
439
459
  name: "ServiceLimitExceeded",
440
460
  $fault: "client",
441
461
  ...opts,
442
462
  });
443
- this.name = "ServiceLimitExceeded";
444
- this.$fault = "client";
445
463
  Object.setPrototypeOf(this, ServiceLimitExceeded.prototype);
446
464
  this.Limit = opts.Limit;
447
465
  this.Message = opts.Message;
448
466
  }
449
467
  }
450
468
  export class SourceBackupUnavailable extends __BaseException {
469
+ name = "SourceBackupUnavailable";
470
+ $fault = "client";
471
+ Message;
472
+ BackupId;
451
473
  constructor(opts) {
452
474
  super({
453
475
  name: "SourceBackupUnavailable",
454
476
  $fault: "client",
455
477
  ...opts,
456
478
  });
457
- this.name = "SourceBackupUnavailable";
458
- this.$fault = "client";
459
479
  Object.setPrototypeOf(this, SourceBackupUnavailable.prototype);
460
480
  this.Message = opts.Message;
461
481
  this.BackupId = opts.BackupId;
@@ -467,27 +487,29 @@ export const UpdateOpenZFSVolumeOption = {
467
487
  DELETE_INTERMEDIATE_SNAPSHOTS: "DELETE_INTERMEDIATE_SNAPSHOTS",
468
488
  };
469
489
  export class BackupInProgress extends __BaseException {
490
+ name = "BackupInProgress";
491
+ $fault = "client";
492
+ Message;
470
493
  constructor(opts) {
471
494
  super({
472
495
  name: "BackupInProgress",
473
496
  $fault: "client",
474
497
  ...opts,
475
498
  });
476
- this.name = "BackupInProgress";
477
- this.$fault = "client";
478
499
  Object.setPrototypeOf(this, BackupInProgress.prototype);
479
500
  this.Message = opts.Message;
480
501
  }
481
502
  }
482
503
  export class VolumeNotFound extends __BaseException {
504
+ name = "VolumeNotFound";
505
+ $fault = "client";
506
+ Message;
483
507
  constructor(opts) {
484
508
  super({
485
509
  name: "VolumeNotFound",
486
510
  $fault: "client",
487
511
  ...opts,
488
512
  });
489
- this.name = "VolumeNotFound";
490
- this.$fault = "client";
491
513
  Object.setPrototypeOf(this, VolumeNotFound.prototype);
492
514
  this.Message = opts.Message;
493
515
  }
@@ -511,14 +533,15 @@ export const DataRepositoryTaskType = {
511
533
  IMPORT: "IMPORT_METADATA_FROM_REPOSITORY",
512
534
  };
513
535
  export class DataRepositoryTaskExecuting extends __BaseException {
536
+ name = "DataRepositoryTaskExecuting";
537
+ $fault = "client";
538
+ Message;
514
539
  constructor(opts) {
515
540
  super({
516
541
  name: "DataRepositoryTaskExecuting",
517
542
  $fault: "client",
518
543
  ...opts,
519
544
  });
520
- this.name = "DataRepositoryTaskExecuting";
521
- this.$fault = "client";
522
545
  Object.setPrototypeOf(this, DataRepositoryTaskExecuting.prototype);
523
546
  this.Message = opts.Message;
524
547
  }
@@ -537,14 +560,18 @@ export const FileCacheLifecycle = {
537
560
  UPDATING: "UPDATING",
538
561
  };
539
562
  export class InvalidNetworkSettings extends __BaseException {
563
+ name = "InvalidNetworkSettings";
564
+ $fault = "client";
565
+ Message;
566
+ InvalidSubnetId;
567
+ InvalidSecurityGroupId;
568
+ InvalidRouteTableId;
540
569
  constructor(opts) {
541
570
  super({
542
571
  name: "InvalidNetworkSettings",
543
572
  $fault: "client",
544
573
  ...opts,
545
574
  });
546
- this.name = "InvalidNetworkSettings";
547
- this.$fault = "client";
548
575
  Object.setPrototypeOf(this, InvalidNetworkSettings.prototype);
549
576
  this.Message = opts.Message;
550
577
  this.InvalidSubnetId = opts.InvalidSubnetId;
@@ -553,66 +580,71 @@ export class InvalidNetworkSettings extends __BaseException {
553
580
  }
554
581
  }
555
582
  export class InvalidPerUnitStorageThroughput extends __BaseException {
583
+ name = "InvalidPerUnitStorageThroughput";
584
+ $fault = "client";
585
+ Message;
556
586
  constructor(opts) {
557
587
  super({
558
588
  name: "InvalidPerUnitStorageThroughput",
559
589
  $fault: "client",
560
590
  ...opts,
561
591
  });
562
- this.name = "InvalidPerUnitStorageThroughput";
563
- this.$fault = "client";
564
592
  Object.setPrototypeOf(this, InvalidPerUnitStorageThroughput.prototype);
565
593
  this.Message = opts.Message;
566
594
  }
567
595
  }
568
596
  export class MissingFileCacheConfiguration extends __BaseException {
597
+ name = "MissingFileCacheConfiguration";
598
+ $fault = "client";
599
+ Message;
569
600
  constructor(opts) {
570
601
  super({
571
602
  name: "MissingFileCacheConfiguration",
572
603
  $fault: "client",
573
604
  ...opts,
574
605
  });
575
- this.name = "MissingFileCacheConfiguration";
576
- this.$fault = "client";
577
606
  Object.setPrototypeOf(this, MissingFileCacheConfiguration.prototype);
578
607
  this.Message = opts.Message;
579
608
  }
580
609
  }
581
610
  export class InvalidExportPath extends __BaseException {
611
+ name = "InvalidExportPath";
612
+ $fault = "client";
613
+ Message;
582
614
  constructor(opts) {
583
615
  super({
584
616
  name: "InvalidExportPath",
585
617
  $fault: "client",
586
618
  ...opts,
587
619
  });
588
- this.name = "InvalidExportPath";
589
- this.$fault = "client";
590
620
  Object.setPrototypeOf(this, InvalidExportPath.prototype);
591
621
  this.Message = opts.Message;
592
622
  }
593
623
  }
594
624
  export class InvalidImportPath extends __BaseException {
625
+ name = "InvalidImportPath";
626
+ $fault = "client";
627
+ Message;
595
628
  constructor(opts) {
596
629
  super({
597
630
  name: "InvalidImportPath",
598
631
  $fault: "client",
599
632
  ...opts,
600
633
  });
601
- this.name = "InvalidImportPath";
602
- this.$fault = "client";
603
634
  Object.setPrototypeOf(this, InvalidImportPath.prototype);
604
635
  this.Message = opts.Message;
605
636
  }
606
637
  }
607
638
  export class MissingFileSystemConfiguration extends __BaseException {
639
+ name = "MissingFileSystemConfiguration";
640
+ $fault = "client";
641
+ Message;
608
642
  constructor(opts) {
609
643
  super({
610
644
  name: "MissingFileSystemConfiguration",
611
645
  $fault: "client",
612
646
  ...opts,
613
647
  });
614
- this.name = "MissingFileSystemConfiguration";
615
- this.$fault = "client";
616
648
  Object.setPrototypeOf(this, MissingFileSystemConfiguration.prototype);
617
649
  this.Message = opts.Message;
618
650
  }
@@ -641,81 +673,89 @@ export const InputOntapVolumeType = {
641
673
  RW: "RW",
642
674
  };
643
675
  export class MissingVolumeConfiguration extends __BaseException {
676
+ name = "MissingVolumeConfiguration";
677
+ $fault = "client";
678
+ Message;
644
679
  constructor(opts) {
645
680
  super({
646
681
  name: "MissingVolumeConfiguration",
647
682
  $fault: "client",
648
683
  ...opts,
649
684
  });
650
- this.name = "MissingVolumeConfiguration";
651
- this.$fault = "client";
652
685
  Object.setPrototypeOf(this, MissingVolumeConfiguration.prototype);
653
686
  this.Message = opts.Message;
654
687
  }
655
688
  }
656
689
  export class StorageVirtualMachineNotFound extends __BaseException {
690
+ name = "StorageVirtualMachineNotFound";
691
+ $fault = "client";
692
+ Message;
657
693
  constructor(opts) {
658
694
  super({
659
695
  name: "StorageVirtualMachineNotFound",
660
696
  $fault: "client",
661
697
  ...opts,
662
698
  });
663
- this.name = "StorageVirtualMachineNotFound";
664
- this.$fault = "client";
665
699
  Object.setPrototypeOf(this, StorageVirtualMachineNotFound.prototype);
666
700
  this.Message = opts.Message;
667
701
  }
668
702
  }
669
703
  export class BackupBeingCopied extends __BaseException {
704
+ name = "BackupBeingCopied";
705
+ $fault = "client";
706
+ Message;
707
+ BackupId;
670
708
  constructor(opts) {
671
709
  super({
672
710
  name: "BackupBeingCopied",
673
711
  $fault: "client",
674
712
  ...opts,
675
713
  });
676
- this.name = "BackupBeingCopied";
677
- this.$fault = "client";
678
714
  Object.setPrototypeOf(this, BackupBeingCopied.prototype);
679
715
  this.Message = opts.Message;
680
716
  this.BackupId = opts.BackupId;
681
717
  }
682
718
  }
683
719
  export class BackupRestoring extends __BaseException {
720
+ name = "BackupRestoring";
721
+ $fault = "client";
722
+ Message;
723
+ FileSystemId;
684
724
  constructor(opts) {
685
725
  super({
686
726
  name: "BackupRestoring",
687
727
  $fault: "client",
688
728
  ...opts,
689
729
  });
690
- this.name = "BackupRestoring";
691
- this.$fault = "client";
692
730
  Object.setPrototypeOf(this, BackupRestoring.prototype);
693
731
  this.Message = opts.Message;
694
732
  this.FileSystemId = opts.FileSystemId;
695
733
  }
696
734
  }
697
735
  export class DataRepositoryAssociationNotFound extends __BaseException {
736
+ name = "DataRepositoryAssociationNotFound";
737
+ $fault = "client";
738
+ Message;
698
739
  constructor(opts) {
699
740
  super({
700
741
  name: "DataRepositoryAssociationNotFound",
701
742
  $fault: "client",
702
743
  ...opts,
703
744
  });
704
- this.name = "DataRepositoryAssociationNotFound";
705
- this.$fault = "client";
706
745
  Object.setPrototypeOf(this, DataRepositoryAssociationNotFound.prototype);
707
746
  this.Message = opts.Message;
708
747
  }
709
748
  }
710
749
  export class FileCacheNotFound extends __BaseException {
750
+ name = "FileCacheNotFound";
751
+ $fault = "client";
752
+ Message;
711
753
  constructor(opts) {
712
754
  super({
713
755
  name: "FileCacheNotFound",
714
756
  $fault: "client",
715
757
  ...opts,
716
758
  });
717
- this.name = "FileCacheNotFound";
718
- this.$fault = "client";
719
759
  Object.setPrototypeOf(this, FileCacheNotFound.prototype);
720
760
  this.Message = opts.Message;
721
761
  }
@@ -724,14 +764,15 @@ export const DeleteFileSystemOpenZFSOption = {
724
764
  DELETE_CHILD_VOLUMES_AND_SNAPSHOTS: "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS",
725
765
  };
726
766
  export class SnapshotNotFound extends __BaseException {
767
+ name = "SnapshotNotFound";
768
+ $fault = "client";
769
+ Message;
727
770
  constructor(opts) {
728
771
  super({
729
772
  name: "SnapshotNotFound",
730
773
  $fault: "client",
731
774
  ...opts,
732
775
  });
733
- this.name = "SnapshotNotFound";
734
- this.$fault = "client";
735
776
  Object.setPrototypeOf(this, SnapshotNotFound.prototype);
736
777
  this.Message = opts.Message;
737
778
  }
@@ -749,14 +790,15 @@ export const FilterName = {
749
790
  VOLUME_ID: "volume-id",
750
791
  };
751
792
  export class InvalidDataRepositoryType extends __BaseException {
793
+ name = "InvalidDataRepositoryType";
794
+ $fault = "client";
795
+ Message;
752
796
  constructor(opts) {
753
797
  super({
754
798
  name: "InvalidDataRepositoryType",
755
799
  $fault: "client",
756
800
  ...opts,
757
801
  });
758
- this.name = "InvalidDataRepositoryType";
759
- this.$fault = "client";
760
802
  Object.setPrototypeOf(this, InvalidDataRepositoryType.prototype);
761
803
  this.Message = opts.Message;
762
804
  }
@@ -779,42 +821,48 @@ export const VolumeFilterName = {
779
821
  STORAGE_VIRTUAL_MACHINE_ID: "storage-virtual-machine-id",
780
822
  };
781
823
  export class NotServiceResourceError extends __BaseException {
824
+ name = "NotServiceResourceError";
825
+ $fault = "client";
826
+ ResourceARN;
827
+ Message;
782
828
  constructor(opts) {
783
829
  super({
784
830
  name: "NotServiceResourceError",
785
831
  $fault: "client",
786
832
  ...opts,
787
833
  });
788
- this.name = "NotServiceResourceError";
789
- this.$fault = "client";
790
834
  Object.setPrototypeOf(this, NotServiceResourceError.prototype);
791
835
  this.ResourceARN = opts.ResourceARN;
792
836
  this.Message = opts.Message;
793
837
  }
794
838
  }
795
839
  export class ResourceDoesNotSupportTagging extends __BaseException {
840
+ name = "ResourceDoesNotSupportTagging";
841
+ $fault = "client";
842
+ ResourceARN;
843
+ Message;
796
844
  constructor(opts) {
797
845
  super({
798
846
  name: "ResourceDoesNotSupportTagging",
799
847
  $fault: "client",
800
848
  ...opts,
801
849
  });
802
- this.name = "ResourceDoesNotSupportTagging";
803
- this.$fault = "client";
804
850
  Object.setPrototypeOf(this, ResourceDoesNotSupportTagging.prototype);
805
851
  this.ResourceARN = opts.ResourceARN;
806
852
  this.Message = opts.Message;
807
853
  }
808
854
  }
809
855
  export class ResourceNotFound extends __BaseException {
856
+ name = "ResourceNotFound";
857
+ $fault = "client";
858
+ ResourceARN;
859
+ Message;
810
860
  constructor(opts) {
811
861
  super({
812
862
  name: "ResourceNotFound",
813
863
  $fault: "client",
814
864
  ...opts,
815
865
  });
816
- this.name = "ResourceNotFound";
817
- this.$fault = "client";
818
866
  Object.setPrototypeOf(this, ResourceNotFound.prototype);
819
867
  this.ResourceARN = opts.ResourceARN;
820
868
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: FSxClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: FSxClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: FSxClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: FSxClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: FSxClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: FSxClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved