@aws-sdk/client-efs 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 EFSClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,16 @@
1
1
  import { EFSServiceException as __BaseException } from "./EFSServiceException";
2
2
  export class AccessPointAlreadyExists extends __BaseException {
3
+ name = "AccessPointAlreadyExists";
4
+ $fault = "client";
5
+ ErrorCode;
6
+ Message;
7
+ AccessPointId;
3
8
  constructor(opts) {
4
9
  super({
5
10
  name: "AccessPointAlreadyExists",
6
11
  $fault: "client",
7
12
  ...opts,
8
13
  });
9
- this.name = "AccessPointAlreadyExists";
10
- this.$fault = "client";
11
14
  Object.setPrototypeOf(this, AccessPointAlreadyExists.prototype);
12
15
  this.ErrorCode = opts.ErrorCode;
13
16
  this.Message = opts.Message;
@@ -23,42 +26,48 @@ export const LifeCycleState = {
23
26
  UPDATING: "updating",
24
27
  };
25
28
  export class AccessPointLimitExceeded extends __BaseException {
29
+ name = "AccessPointLimitExceeded";
30
+ $fault = "client";
31
+ ErrorCode;
32
+ Message;
26
33
  constructor(opts) {
27
34
  super({
28
35
  name: "AccessPointLimitExceeded",
29
36
  $fault: "client",
30
37
  ...opts,
31
38
  });
32
- this.name = "AccessPointLimitExceeded";
33
- this.$fault = "client";
34
39
  Object.setPrototypeOf(this, AccessPointLimitExceeded.prototype);
35
40
  this.ErrorCode = opts.ErrorCode;
36
41
  this.Message = opts.Message;
37
42
  }
38
43
  }
39
44
  export class AccessPointNotFound extends __BaseException {
45
+ name = "AccessPointNotFound";
46
+ $fault = "client";
47
+ ErrorCode;
48
+ Message;
40
49
  constructor(opts) {
41
50
  super({
42
51
  name: "AccessPointNotFound",
43
52
  $fault: "client",
44
53
  ...opts,
45
54
  });
46
- this.name = "AccessPointNotFound";
47
- this.$fault = "client";
48
55
  Object.setPrototypeOf(this, AccessPointNotFound.prototype);
49
56
  this.ErrorCode = opts.ErrorCode;
50
57
  this.Message = opts.Message;
51
58
  }
52
59
  }
53
60
  export class AvailabilityZonesMismatch extends __BaseException {
61
+ name = "AvailabilityZonesMismatch";
62
+ $fault = "client";
63
+ ErrorCode;
64
+ Message;
54
65
  constructor(opts) {
55
66
  super({
56
67
  name: "AvailabilityZonesMismatch",
57
68
  $fault: "client",
58
69
  ...opts,
59
70
  });
60
- this.name = "AvailabilityZonesMismatch";
61
- this.$fault = "client";
62
71
  Object.setPrototypeOf(this, AvailabilityZonesMismatch.prototype);
63
72
  this.ErrorCode = opts.ErrorCode;
64
73
  this.Message = opts.Message;
@@ -71,84 +80,96 @@ export const Status = {
71
80
  ENABLING: "ENABLING",
72
81
  };
73
82
  export class BadRequest extends __BaseException {
83
+ name = "BadRequest";
84
+ $fault = "client";
85
+ ErrorCode;
86
+ Message;
74
87
  constructor(opts) {
75
88
  super({
76
89
  name: "BadRequest",
77
90
  $fault: "client",
78
91
  ...opts,
79
92
  });
80
- this.name = "BadRequest";
81
- this.$fault = "client";
82
93
  Object.setPrototypeOf(this, BadRequest.prototype);
83
94
  this.ErrorCode = opts.ErrorCode;
84
95
  this.Message = opts.Message;
85
96
  }
86
97
  }
87
98
  export class ConflictException extends __BaseException {
99
+ name = "ConflictException";
100
+ $fault = "client";
101
+ ErrorCode;
102
+ Message;
88
103
  constructor(opts) {
89
104
  super({
90
105
  name: "ConflictException",
91
106
  $fault: "client",
92
107
  ...opts,
93
108
  });
94
- this.name = "ConflictException";
95
- this.$fault = "client";
96
109
  Object.setPrototypeOf(this, ConflictException.prototype);
97
110
  this.ErrorCode = opts.ErrorCode;
98
111
  this.Message = opts.Message;
99
112
  }
100
113
  }
101
114
  export class FileSystemNotFound extends __BaseException {
115
+ name = "FileSystemNotFound";
116
+ $fault = "client";
117
+ ErrorCode;
118
+ Message;
102
119
  constructor(opts) {
103
120
  super({
104
121
  name: "FileSystemNotFound",
105
122
  $fault: "client",
106
123
  ...opts,
107
124
  });
108
- this.name = "FileSystemNotFound";
109
- this.$fault = "client";
110
125
  Object.setPrototypeOf(this, FileSystemNotFound.prototype);
111
126
  this.ErrorCode = opts.ErrorCode;
112
127
  this.Message = opts.Message;
113
128
  }
114
129
  }
115
130
  export class IncorrectFileSystemLifeCycleState extends __BaseException {
131
+ name = "IncorrectFileSystemLifeCycleState";
132
+ $fault = "client";
133
+ ErrorCode;
134
+ Message;
116
135
  constructor(opts) {
117
136
  super({
118
137
  name: "IncorrectFileSystemLifeCycleState",
119
138
  $fault: "client",
120
139
  ...opts,
121
140
  });
122
- this.name = "IncorrectFileSystemLifeCycleState";
123
- this.$fault = "client";
124
141
  Object.setPrototypeOf(this, IncorrectFileSystemLifeCycleState.prototype);
125
142
  this.ErrorCode = opts.ErrorCode;
126
143
  this.Message = opts.Message;
127
144
  }
128
145
  }
129
146
  export class InternalServerError extends __BaseException {
147
+ name = "InternalServerError";
148
+ $fault = "server";
149
+ ErrorCode;
150
+ Message;
130
151
  constructor(opts) {
131
152
  super({
132
153
  name: "InternalServerError",
133
154
  $fault: "server",
134
155
  ...opts,
135
156
  });
136
- this.name = "InternalServerError";
137
- this.$fault = "server";
138
157
  Object.setPrototypeOf(this, InternalServerError.prototype);
139
158
  this.ErrorCode = opts.ErrorCode;
140
159
  this.Message = opts.Message;
141
160
  }
142
161
  }
143
162
  export class ThrottlingException extends __BaseException {
163
+ name = "ThrottlingException";
164
+ $fault = "client";
165
+ ErrorCode;
166
+ Message;
144
167
  constructor(opts) {
145
168
  super({
146
169
  name: "ThrottlingException",
147
170
  $fault: "client",
148
171
  ...opts,
149
172
  });
150
- this.name = "ThrottlingException";
151
- this.$fault = "client";
152
173
  Object.setPrototypeOf(this, ThrottlingException.prototype);
153
174
  this.ErrorCode = opts.ErrorCode;
154
175
  this.Message = opts.Message;
@@ -164,14 +185,17 @@ export const ThroughputMode = {
164
185
  PROVISIONED: "provisioned",
165
186
  };
166
187
  export class FileSystemAlreadyExists extends __BaseException {
188
+ name = "FileSystemAlreadyExists";
189
+ $fault = "client";
190
+ ErrorCode;
191
+ Message;
192
+ FileSystemId;
167
193
  constructor(opts) {
168
194
  super({
169
195
  name: "FileSystemAlreadyExists",
170
196
  $fault: "client",
171
197
  ...opts,
172
198
  });
173
- this.name = "FileSystemAlreadyExists";
174
- this.$fault = "client";
175
199
  Object.setPrototypeOf(this, FileSystemAlreadyExists.prototype);
176
200
  this.ErrorCode = opts.ErrorCode;
177
201
  this.Message = opts.Message;
@@ -184,154 +208,176 @@ export const ReplicationOverwriteProtection = {
184
208
  REPLICATING: "REPLICATING",
185
209
  };
186
210
  export class FileSystemLimitExceeded extends __BaseException {
211
+ name = "FileSystemLimitExceeded";
212
+ $fault = "client";
213
+ ErrorCode;
214
+ Message;
187
215
  constructor(opts) {
188
216
  super({
189
217
  name: "FileSystemLimitExceeded",
190
218
  $fault: "client",
191
219
  ...opts,
192
220
  });
193
- this.name = "FileSystemLimitExceeded";
194
- this.$fault = "client";
195
221
  Object.setPrototypeOf(this, FileSystemLimitExceeded.prototype);
196
222
  this.ErrorCode = opts.ErrorCode;
197
223
  this.Message = opts.Message;
198
224
  }
199
225
  }
200
226
  export class InsufficientThroughputCapacity extends __BaseException {
227
+ name = "InsufficientThroughputCapacity";
228
+ $fault = "server";
229
+ ErrorCode;
230
+ Message;
201
231
  constructor(opts) {
202
232
  super({
203
233
  name: "InsufficientThroughputCapacity",
204
234
  $fault: "server",
205
235
  ...opts,
206
236
  });
207
- this.name = "InsufficientThroughputCapacity";
208
- this.$fault = "server";
209
237
  Object.setPrototypeOf(this, InsufficientThroughputCapacity.prototype);
210
238
  this.ErrorCode = opts.ErrorCode;
211
239
  this.Message = opts.Message;
212
240
  }
213
241
  }
214
242
  export class ThroughputLimitExceeded extends __BaseException {
243
+ name = "ThroughputLimitExceeded";
244
+ $fault = "client";
245
+ ErrorCode;
246
+ Message;
215
247
  constructor(opts) {
216
248
  super({
217
249
  name: "ThroughputLimitExceeded",
218
250
  $fault: "client",
219
251
  ...opts,
220
252
  });
221
- this.name = "ThroughputLimitExceeded";
222
- this.$fault = "client";
223
253
  Object.setPrototypeOf(this, ThroughputLimitExceeded.prototype);
224
254
  this.ErrorCode = opts.ErrorCode;
225
255
  this.Message = opts.Message;
226
256
  }
227
257
  }
228
258
  export class UnsupportedAvailabilityZone extends __BaseException {
259
+ name = "UnsupportedAvailabilityZone";
260
+ $fault = "client";
261
+ ErrorCode;
262
+ Message;
229
263
  constructor(opts) {
230
264
  super({
231
265
  name: "UnsupportedAvailabilityZone",
232
266
  $fault: "client",
233
267
  ...opts,
234
268
  });
235
- this.name = "UnsupportedAvailabilityZone";
236
- this.$fault = "client";
237
269
  Object.setPrototypeOf(this, UnsupportedAvailabilityZone.prototype);
238
270
  this.ErrorCode = opts.ErrorCode;
239
271
  this.Message = opts.Message;
240
272
  }
241
273
  }
242
274
  export class IpAddressInUse extends __BaseException {
275
+ name = "IpAddressInUse";
276
+ $fault = "client";
277
+ ErrorCode;
278
+ Message;
243
279
  constructor(opts) {
244
280
  super({
245
281
  name: "IpAddressInUse",
246
282
  $fault: "client",
247
283
  ...opts,
248
284
  });
249
- this.name = "IpAddressInUse";
250
- this.$fault = "client";
251
285
  Object.setPrototypeOf(this, IpAddressInUse.prototype);
252
286
  this.ErrorCode = opts.ErrorCode;
253
287
  this.Message = opts.Message;
254
288
  }
255
289
  }
256
290
  export class MountTargetConflict extends __BaseException {
291
+ name = "MountTargetConflict";
292
+ $fault = "client";
293
+ ErrorCode;
294
+ Message;
257
295
  constructor(opts) {
258
296
  super({
259
297
  name: "MountTargetConflict",
260
298
  $fault: "client",
261
299
  ...opts,
262
300
  });
263
- this.name = "MountTargetConflict";
264
- this.$fault = "client";
265
301
  Object.setPrototypeOf(this, MountTargetConflict.prototype);
266
302
  this.ErrorCode = opts.ErrorCode;
267
303
  this.Message = opts.Message;
268
304
  }
269
305
  }
270
306
  export class NetworkInterfaceLimitExceeded extends __BaseException {
307
+ name = "NetworkInterfaceLimitExceeded";
308
+ $fault = "client";
309
+ ErrorCode;
310
+ Message;
271
311
  constructor(opts) {
272
312
  super({
273
313
  name: "NetworkInterfaceLimitExceeded",
274
314
  $fault: "client",
275
315
  ...opts,
276
316
  });
277
- this.name = "NetworkInterfaceLimitExceeded";
278
- this.$fault = "client";
279
317
  Object.setPrototypeOf(this, NetworkInterfaceLimitExceeded.prototype);
280
318
  this.ErrorCode = opts.ErrorCode;
281
319
  this.Message = opts.Message;
282
320
  }
283
321
  }
284
322
  export class NoFreeAddressesInSubnet extends __BaseException {
323
+ name = "NoFreeAddressesInSubnet";
324
+ $fault = "client";
325
+ ErrorCode;
326
+ Message;
285
327
  constructor(opts) {
286
328
  super({
287
329
  name: "NoFreeAddressesInSubnet",
288
330
  $fault: "client",
289
331
  ...opts,
290
332
  });
291
- this.name = "NoFreeAddressesInSubnet";
292
- this.$fault = "client";
293
333
  Object.setPrototypeOf(this, NoFreeAddressesInSubnet.prototype);
294
334
  this.ErrorCode = opts.ErrorCode;
295
335
  this.Message = opts.Message;
296
336
  }
297
337
  }
298
338
  export class SecurityGroupLimitExceeded extends __BaseException {
339
+ name = "SecurityGroupLimitExceeded";
340
+ $fault = "client";
341
+ ErrorCode;
342
+ Message;
299
343
  constructor(opts) {
300
344
  super({
301
345
  name: "SecurityGroupLimitExceeded",
302
346
  $fault: "client",
303
347
  ...opts,
304
348
  });
305
- this.name = "SecurityGroupLimitExceeded";
306
- this.$fault = "client";
307
349
  Object.setPrototypeOf(this, SecurityGroupLimitExceeded.prototype);
308
350
  this.ErrorCode = opts.ErrorCode;
309
351
  this.Message = opts.Message;
310
352
  }
311
353
  }
312
354
  export class SecurityGroupNotFound extends __BaseException {
355
+ name = "SecurityGroupNotFound";
356
+ $fault = "client";
357
+ ErrorCode;
358
+ Message;
313
359
  constructor(opts) {
314
360
  super({
315
361
  name: "SecurityGroupNotFound",
316
362
  $fault: "client",
317
363
  ...opts,
318
364
  });
319
- this.name = "SecurityGroupNotFound";
320
- this.$fault = "client";
321
365
  Object.setPrototypeOf(this, SecurityGroupNotFound.prototype);
322
366
  this.ErrorCode = opts.ErrorCode;
323
367
  this.Message = opts.Message;
324
368
  }
325
369
  }
326
370
  export class SubnetNotFound extends __BaseException {
371
+ name = "SubnetNotFound";
372
+ $fault = "client";
373
+ ErrorCode;
374
+ Message;
327
375
  constructor(opts) {
328
376
  super({
329
377
  name: "SubnetNotFound",
330
378
  $fault: "client",
331
379
  ...opts,
332
380
  });
333
- this.name = "SubnetNotFound";
334
- this.$fault = "client";
335
381
  Object.setPrototypeOf(this, SubnetNotFound.prototype);
336
382
  this.ErrorCode = opts.ErrorCode;
337
383
  this.Message = opts.Message;
@@ -346,70 +392,80 @@ export const ReplicationStatus = {
346
392
  PAUSING: "PAUSING",
347
393
  };
348
394
  export class ReplicationNotFound extends __BaseException {
395
+ name = "ReplicationNotFound";
396
+ $fault = "client";
397
+ ErrorCode;
398
+ Message;
349
399
  constructor(opts) {
350
400
  super({
351
401
  name: "ReplicationNotFound",
352
402
  $fault: "client",
353
403
  ...opts,
354
404
  });
355
- this.name = "ReplicationNotFound";
356
- this.$fault = "client";
357
405
  Object.setPrototypeOf(this, ReplicationNotFound.prototype);
358
406
  this.ErrorCode = opts.ErrorCode;
359
407
  this.Message = opts.Message;
360
408
  }
361
409
  }
362
410
  export class ValidationException extends __BaseException {
411
+ name = "ValidationException";
412
+ $fault = "client";
413
+ ErrorCode;
414
+ Message;
363
415
  constructor(opts) {
364
416
  super({
365
417
  name: "ValidationException",
366
418
  $fault: "client",
367
419
  ...opts,
368
420
  });
369
- this.name = "ValidationException";
370
- this.$fault = "client";
371
421
  Object.setPrototypeOf(this, ValidationException.prototype);
372
422
  this.ErrorCode = opts.ErrorCode;
373
423
  this.Message = opts.Message;
374
424
  }
375
425
  }
376
426
  export class FileSystemInUse extends __BaseException {
427
+ name = "FileSystemInUse";
428
+ $fault = "client";
429
+ ErrorCode;
430
+ Message;
377
431
  constructor(opts) {
378
432
  super({
379
433
  name: "FileSystemInUse",
380
434
  $fault: "client",
381
435
  ...opts,
382
436
  });
383
- this.name = "FileSystemInUse";
384
- this.$fault = "client";
385
437
  Object.setPrototypeOf(this, FileSystemInUse.prototype);
386
438
  this.ErrorCode = opts.ErrorCode;
387
439
  this.Message = opts.Message;
388
440
  }
389
441
  }
390
442
  export class DependencyTimeout extends __BaseException {
443
+ name = "DependencyTimeout";
444
+ $fault = "server";
445
+ ErrorCode;
446
+ Message;
391
447
  constructor(opts) {
392
448
  super({
393
449
  name: "DependencyTimeout",
394
450
  $fault: "server",
395
451
  ...opts,
396
452
  });
397
- this.name = "DependencyTimeout";
398
- this.$fault = "server";
399
453
  Object.setPrototypeOf(this, DependencyTimeout.prototype);
400
454
  this.ErrorCode = opts.ErrorCode;
401
455
  this.Message = opts.Message;
402
456
  }
403
457
  }
404
458
  export class MountTargetNotFound extends __BaseException {
459
+ name = "MountTargetNotFound";
460
+ $fault = "client";
461
+ ErrorCode;
462
+ Message;
405
463
  constructor(opts) {
406
464
  super({
407
465
  name: "MountTargetNotFound",
408
466
  $fault: "client",
409
467
  ...opts,
410
468
  });
411
- this.name = "MountTargetNotFound";
412
- this.$fault = "client";
413
469
  Object.setPrototypeOf(this, MountTargetNotFound.prototype);
414
470
  this.ErrorCode = opts.ErrorCode;
415
471
  this.Message = opts.Message;
@@ -428,14 +484,16 @@ export const Resource = {
428
484
  MountTarget: "MOUNT_TARGET",
429
485
  };
430
486
  export class PolicyNotFound extends __BaseException {
487
+ name = "PolicyNotFound";
488
+ $fault = "client";
489
+ ErrorCode;
490
+ Message;
431
491
  constructor(opts) {
432
492
  super({
433
493
  name: "PolicyNotFound",
434
494
  $fault: "client",
435
495
  ...opts,
436
496
  });
437
- this.name = "PolicyNotFound";
438
- this.$fault = "client";
439
497
  Object.setPrototypeOf(this, PolicyNotFound.prototype);
440
498
  this.ErrorCode = opts.ErrorCode;
441
499
  this.Message = opts.Message;
@@ -467,56 +525,64 @@ export const TransitionToPrimaryStorageClassRules = {
467
525
  AFTER_1_ACCESS: "AFTER_1_ACCESS",
468
526
  };
469
527
  export class IncorrectMountTargetState extends __BaseException {
528
+ name = "IncorrectMountTargetState";
529
+ $fault = "client";
530
+ ErrorCode;
531
+ Message;
470
532
  constructor(opts) {
471
533
  super({
472
534
  name: "IncorrectMountTargetState",
473
535
  $fault: "client",
474
536
  ...opts,
475
537
  });
476
- this.name = "IncorrectMountTargetState";
477
- this.$fault = "client";
478
538
  Object.setPrototypeOf(this, IncorrectMountTargetState.prototype);
479
539
  this.ErrorCode = opts.ErrorCode;
480
540
  this.Message = opts.Message;
481
541
  }
482
542
  }
483
543
  export class InvalidPolicyException extends __BaseException {
544
+ name = "InvalidPolicyException";
545
+ $fault = "client";
546
+ ErrorCode;
547
+ Message;
484
548
  constructor(opts) {
485
549
  super({
486
550
  name: "InvalidPolicyException",
487
551
  $fault: "client",
488
552
  ...opts,
489
553
  });
490
- this.name = "InvalidPolicyException";
491
- this.$fault = "client";
492
554
  Object.setPrototypeOf(this, InvalidPolicyException.prototype);
493
555
  this.ErrorCode = opts.ErrorCode;
494
556
  this.Message = opts.Message;
495
557
  }
496
558
  }
497
559
  export class TooManyRequests extends __BaseException {
560
+ name = "TooManyRequests";
561
+ $fault = "client";
562
+ ErrorCode;
563
+ Message;
498
564
  constructor(opts) {
499
565
  super({
500
566
  name: "TooManyRequests",
501
567
  $fault: "client",
502
568
  ...opts,
503
569
  });
504
- this.name = "TooManyRequests";
505
- this.$fault = "client";
506
570
  Object.setPrototypeOf(this, TooManyRequests.prototype);
507
571
  this.ErrorCode = opts.ErrorCode;
508
572
  this.Message = opts.Message;
509
573
  }
510
574
  }
511
575
  export class ReplicationAlreadyExists extends __BaseException {
576
+ name = "ReplicationAlreadyExists";
577
+ $fault = "client";
578
+ ErrorCode;
579
+ Message;
512
580
  constructor(opts) {
513
581
  super({
514
582
  name: "ReplicationAlreadyExists",
515
583
  $fault: "client",
516
584
  ...opts,
517
585
  });
518
- this.name = "ReplicationAlreadyExists";
519
- this.$fault = "client";
520
586
  Object.setPrototypeOf(this, ReplicationAlreadyExists.prototype);
521
587
  this.ErrorCode = opts.ErrorCode;
522
588
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: EFSClientConfig) => {
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: EFSClientConfig) => {
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: EFSClientConfig) => {
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: EFSClientConfig) => {
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: EFSClientConfig) => {
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: EFSClientConfig) => {
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