@aws-sdk/client-clouddirectory 3.721.0 → 3.726.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 CloudDirectoryClient 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,14 @@
1
1
  import { CloudDirectoryServiceException as __BaseException } from "./CloudDirectoryServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -29,183 +30,197 @@ export var TypedAttributeValue;
29
30
  };
30
31
  })(TypedAttributeValue || (TypedAttributeValue = {}));
31
32
  export class DirectoryNotEnabledException extends __BaseException {
33
+ name = "DirectoryNotEnabledException";
34
+ $fault = "client";
35
+ Message;
32
36
  constructor(opts) {
33
37
  super({
34
38
  name: "DirectoryNotEnabledException",
35
39
  $fault: "client",
36
40
  ...opts,
37
41
  });
38
- this.name = "DirectoryNotEnabledException";
39
- this.$fault = "client";
40
42
  Object.setPrototypeOf(this, DirectoryNotEnabledException.prototype);
41
43
  this.Message = opts.Message;
42
44
  }
43
45
  }
44
46
  export class FacetValidationException extends __BaseException {
47
+ name = "FacetValidationException";
48
+ $fault = "client";
49
+ Message;
45
50
  constructor(opts) {
46
51
  super({
47
52
  name: "FacetValidationException",
48
53
  $fault: "client",
49
54
  ...opts,
50
55
  });
51
- this.name = "FacetValidationException";
52
- this.$fault = "client";
53
56
  Object.setPrototypeOf(this, FacetValidationException.prototype);
54
57
  this.Message = opts.Message;
55
58
  }
56
59
  }
57
60
  export class InternalServiceException extends __BaseException {
61
+ name = "InternalServiceException";
62
+ $fault = "server";
63
+ Message;
58
64
  constructor(opts) {
59
65
  super({
60
66
  name: "InternalServiceException",
61
67
  $fault: "server",
62
68
  ...opts,
63
69
  });
64
- this.name = "InternalServiceException";
65
- this.$fault = "server";
66
70
  Object.setPrototypeOf(this, InternalServiceException.prototype);
67
71
  this.Message = opts.Message;
68
72
  }
69
73
  }
70
74
  export class InvalidArnException extends __BaseException {
75
+ name = "InvalidArnException";
76
+ $fault = "client";
77
+ Message;
71
78
  constructor(opts) {
72
79
  super({
73
80
  name: "InvalidArnException",
74
81
  $fault: "client",
75
82
  ...opts,
76
83
  });
77
- this.name = "InvalidArnException";
78
- this.$fault = "client";
79
84
  Object.setPrototypeOf(this, InvalidArnException.prototype);
80
85
  this.Message = opts.Message;
81
86
  }
82
87
  }
83
88
  export class LimitExceededException extends __BaseException {
89
+ name = "LimitExceededException";
90
+ $fault = "client";
91
+ Message;
84
92
  constructor(opts) {
85
93
  super({
86
94
  name: "LimitExceededException",
87
95
  $fault: "client",
88
96
  ...opts,
89
97
  });
90
- this.name = "LimitExceededException";
91
- this.$fault = "client";
92
98
  Object.setPrototypeOf(this, LimitExceededException.prototype);
93
99
  this.Message = opts.Message;
94
100
  }
95
101
  }
96
102
  export class ResourceNotFoundException extends __BaseException {
103
+ name = "ResourceNotFoundException";
104
+ $fault = "client";
105
+ Message;
97
106
  constructor(opts) {
98
107
  super({
99
108
  name: "ResourceNotFoundException",
100
109
  $fault: "client",
101
110
  ...opts,
102
111
  });
103
- this.name = "ResourceNotFoundException";
104
- this.$fault = "client";
105
112
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
106
113
  this.Message = opts.Message;
107
114
  }
108
115
  }
109
116
  export class RetryableConflictException extends __BaseException {
117
+ name = "RetryableConflictException";
118
+ $fault = "client";
119
+ Message;
110
120
  constructor(opts) {
111
121
  super({
112
122
  name: "RetryableConflictException",
113
123
  $fault: "client",
114
124
  ...opts,
115
125
  });
116
- this.name = "RetryableConflictException";
117
- this.$fault = "client";
118
126
  Object.setPrototypeOf(this, RetryableConflictException.prototype);
119
127
  this.Message = opts.Message;
120
128
  }
121
129
  }
122
130
  export class ValidationException extends __BaseException {
131
+ name = "ValidationException";
132
+ $fault = "client";
133
+ Message;
123
134
  constructor(opts) {
124
135
  super({
125
136
  name: "ValidationException",
126
137
  $fault: "client",
127
138
  ...opts,
128
139
  });
129
- this.name = "ValidationException";
130
- this.$fault = "client";
131
140
  Object.setPrototypeOf(this, ValidationException.prototype);
132
141
  this.Message = opts.Message;
133
142
  }
134
143
  }
135
144
  export class InvalidAttachmentException extends __BaseException {
145
+ name = "InvalidAttachmentException";
146
+ $fault = "client";
147
+ Message;
136
148
  constructor(opts) {
137
149
  super({
138
150
  name: "InvalidAttachmentException",
139
151
  $fault: "client",
140
152
  ...opts,
141
153
  });
142
- this.name = "InvalidAttachmentException";
143
- this.$fault = "client";
144
154
  Object.setPrototypeOf(this, InvalidAttachmentException.prototype);
145
155
  this.Message = opts.Message;
146
156
  }
147
157
  }
148
158
  export class SchemaAlreadyExistsException extends __BaseException {
159
+ name = "SchemaAlreadyExistsException";
160
+ $fault = "client";
161
+ Message;
149
162
  constructor(opts) {
150
163
  super({
151
164
  name: "SchemaAlreadyExistsException",
152
165
  $fault: "client",
153
166
  ...opts,
154
167
  });
155
- this.name = "SchemaAlreadyExistsException";
156
- this.$fault = "client";
157
168
  Object.setPrototypeOf(this, SchemaAlreadyExistsException.prototype);
158
169
  this.Message = opts.Message;
159
170
  }
160
171
  }
161
172
  export class LinkNameAlreadyInUseException extends __BaseException {
173
+ name = "LinkNameAlreadyInUseException";
174
+ $fault = "client";
175
+ Message;
162
176
  constructor(opts) {
163
177
  super({
164
178
  name: "LinkNameAlreadyInUseException",
165
179
  $fault: "client",
166
180
  ...opts,
167
181
  });
168
- this.name = "LinkNameAlreadyInUseException";
169
- this.$fault = "client";
170
182
  Object.setPrototypeOf(this, LinkNameAlreadyInUseException.prototype);
171
183
  this.Message = opts.Message;
172
184
  }
173
185
  }
174
186
  export class NotPolicyException extends __BaseException {
187
+ name = "NotPolicyException";
188
+ $fault = "client";
189
+ Message;
175
190
  constructor(opts) {
176
191
  super({
177
192
  name: "NotPolicyException",
178
193
  $fault: "client",
179
194
  ...opts,
180
195
  });
181
- this.name = "NotPolicyException";
182
- this.$fault = "client";
183
196
  Object.setPrototypeOf(this, NotPolicyException.prototype);
184
197
  this.Message = opts.Message;
185
198
  }
186
199
  }
187
200
  export class IndexedAttributeMissingException extends __BaseException {
201
+ name = "IndexedAttributeMissingException";
202
+ $fault = "client";
203
+ Message;
188
204
  constructor(opts) {
189
205
  super({
190
206
  name: "IndexedAttributeMissingException",
191
207
  $fault: "client",
192
208
  ...opts,
193
209
  });
194
- this.name = "IndexedAttributeMissingException";
195
- this.$fault = "client";
196
210
  Object.setPrototypeOf(this, IndexedAttributeMissingException.prototype);
197
211
  this.Message = opts.Message;
198
212
  }
199
213
  }
200
214
  export class NotIndexException extends __BaseException {
215
+ name = "NotIndexException";
216
+ $fault = "client";
217
+ Message;
201
218
  constructor(opts) {
202
219
  super({
203
220
  name: "NotIndexException",
204
221
  $fault: "client",
205
222
  ...opts,
206
223
  });
207
- this.name = "NotIndexException";
208
- this.$fault = "client";
209
224
  Object.setPrototypeOf(this, NotIndexException.prototype);
210
225
  this.Message = opts.Message;
211
226
  }
@@ -257,14 +272,17 @@ export const BatchWriteExceptionType = {
257
272
  ValidationException: "ValidationException",
258
273
  };
259
274
  export class BatchWriteException extends __BaseException {
275
+ name = "BatchWriteException";
276
+ $fault = "client";
277
+ Index;
278
+ Type;
279
+ Message;
260
280
  constructor(opts) {
261
281
  super({
262
282
  name: "BatchWriteException",
263
283
  $fault: "client",
264
284
  ...opts,
265
285
  });
266
- this.name = "BatchWriteException";
267
- this.$fault = "client";
268
286
  Object.setPrototypeOf(this, BatchWriteException.prototype);
269
287
  this.Index = opts.Index;
270
288
  this.Type = opts.Type;
@@ -276,14 +294,15 @@ export const UpdateActionType = {
276
294
  DELETE: "DELETE",
277
295
  };
278
296
  export class DirectoryAlreadyExistsException extends __BaseException {
297
+ name = "DirectoryAlreadyExistsException";
298
+ $fault = "client";
299
+ Message;
279
300
  constructor(opts) {
280
301
  super({
281
302
  name: "DirectoryAlreadyExistsException",
282
303
  $fault: "client",
283
304
  ...opts,
284
305
  });
285
- this.name = "DirectoryAlreadyExistsException";
286
- this.$fault = "client";
287
306
  Object.setPrototypeOf(this, DirectoryAlreadyExistsException.prototype);
288
307
  this.Message = opts.Message;
289
308
  }
@@ -317,144 +336,155 @@ export const ObjectType = {
317
336
  POLICY: "POLICY",
318
337
  };
319
338
  export class FacetAlreadyExistsException extends __BaseException {
339
+ name = "FacetAlreadyExistsException";
340
+ $fault = "client";
341
+ Message;
320
342
  constructor(opts) {
321
343
  super({
322
344
  name: "FacetAlreadyExistsException",
323
345
  $fault: "client",
324
346
  ...opts,
325
347
  });
326
- this.name = "FacetAlreadyExistsException";
327
- this.$fault = "client";
328
348
  Object.setPrototypeOf(this, FacetAlreadyExistsException.prototype);
329
349
  this.Message = opts.Message;
330
350
  }
331
351
  }
332
352
  export class InvalidRuleException extends __BaseException {
353
+ name = "InvalidRuleException";
354
+ $fault = "client";
355
+ Message;
333
356
  constructor(opts) {
334
357
  super({
335
358
  name: "InvalidRuleException",
336
359
  $fault: "client",
337
360
  ...opts,
338
361
  });
339
- this.name = "InvalidRuleException";
340
- this.$fault = "client";
341
362
  Object.setPrototypeOf(this, InvalidRuleException.prototype);
342
363
  this.Message = opts.Message;
343
364
  }
344
365
  }
345
366
  export class UnsupportedIndexTypeException extends __BaseException {
367
+ name = "UnsupportedIndexTypeException";
368
+ $fault = "client";
369
+ Message;
346
370
  constructor(opts) {
347
371
  super({
348
372
  name: "UnsupportedIndexTypeException",
349
373
  $fault: "client",
350
374
  ...opts,
351
375
  });
352
- this.name = "UnsupportedIndexTypeException";
353
- this.$fault = "client";
354
376
  Object.setPrototypeOf(this, UnsupportedIndexTypeException.prototype);
355
377
  this.Message = opts.Message;
356
378
  }
357
379
  }
358
380
  export class DirectoryDeletedException extends __BaseException {
381
+ name = "DirectoryDeletedException";
382
+ $fault = "client";
383
+ Message;
359
384
  constructor(opts) {
360
385
  super({
361
386
  name: "DirectoryDeletedException",
362
387
  $fault: "client",
363
388
  ...opts,
364
389
  });
365
- this.name = "DirectoryDeletedException";
366
- this.$fault = "client";
367
390
  Object.setPrototypeOf(this, DirectoryDeletedException.prototype);
368
391
  this.Message = opts.Message;
369
392
  }
370
393
  }
371
394
  export class DirectoryNotDisabledException extends __BaseException {
395
+ name = "DirectoryNotDisabledException";
396
+ $fault = "client";
397
+ Message;
372
398
  constructor(opts) {
373
399
  super({
374
400
  name: "DirectoryNotDisabledException",
375
401
  $fault: "client",
376
402
  ...opts,
377
403
  });
378
- this.name = "DirectoryNotDisabledException";
379
- this.$fault = "client";
380
404
  Object.setPrototypeOf(this, DirectoryNotDisabledException.prototype);
381
405
  this.Message = opts.Message;
382
406
  }
383
407
  }
384
408
  export class FacetInUseException extends __BaseException {
409
+ name = "FacetInUseException";
410
+ $fault = "client";
411
+ Message;
385
412
  constructor(opts) {
386
413
  super({
387
414
  name: "FacetInUseException",
388
415
  $fault: "client",
389
416
  ...opts,
390
417
  });
391
- this.name = "FacetInUseException";
392
- this.$fault = "client";
393
418
  Object.setPrototypeOf(this, FacetInUseException.prototype);
394
419
  this.Message = opts.Message;
395
420
  }
396
421
  }
397
422
  export class FacetNotFoundException extends __BaseException {
423
+ name = "FacetNotFoundException";
424
+ $fault = "client";
425
+ Message;
398
426
  constructor(opts) {
399
427
  super({
400
428
  name: "FacetNotFoundException",
401
429
  $fault: "client",
402
430
  ...opts,
403
431
  });
404
- this.name = "FacetNotFoundException";
405
- this.$fault = "client";
406
432
  Object.setPrototypeOf(this, FacetNotFoundException.prototype);
407
433
  this.Message = opts.Message;
408
434
  }
409
435
  }
410
436
  export class ObjectNotDetachedException extends __BaseException {
437
+ name = "ObjectNotDetachedException";
438
+ $fault = "client";
439
+ Message;
411
440
  constructor(opts) {
412
441
  super({
413
442
  name: "ObjectNotDetachedException",
414
443
  $fault: "client",
415
444
  ...opts,
416
445
  });
417
- this.name = "ObjectNotDetachedException";
418
- this.$fault = "client";
419
446
  Object.setPrototypeOf(this, ObjectNotDetachedException.prototype);
420
447
  this.Message = opts.Message;
421
448
  }
422
449
  }
423
450
  export class StillContainsLinksException extends __BaseException {
451
+ name = "StillContainsLinksException";
452
+ $fault = "client";
453
+ Message;
424
454
  constructor(opts) {
425
455
  super({
426
456
  name: "StillContainsLinksException",
427
457
  $fault: "client",
428
458
  ...opts,
429
459
  });
430
- this.name = "StillContainsLinksException";
431
- this.$fault = "client";
432
460
  Object.setPrototypeOf(this, StillContainsLinksException.prototype);
433
461
  this.Message = opts.Message;
434
462
  }
435
463
  }
436
464
  export class ObjectAlreadyDetachedException extends __BaseException {
465
+ name = "ObjectAlreadyDetachedException";
466
+ $fault = "client";
467
+ Message;
437
468
  constructor(opts) {
438
469
  super({
439
470
  name: "ObjectAlreadyDetachedException",
440
471
  $fault: "client",
441
472
  ...opts,
442
473
  });
443
- this.name = "ObjectAlreadyDetachedException";
444
- this.$fault = "client";
445
474
  Object.setPrototypeOf(this, ObjectAlreadyDetachedException.prototype);
446
475
  this.Message = opts.Message;
447
476
  }
448
477
  }
449
478
  export class NotNodeException extends __BaseException {
479
+ name = "NotNodeException";
480
+ $fault = "client";
481
+ Message;
450
482
  constructor(opts) {
451
483
  super({
452
484
  name: "NotNodeException",
453
485
  $fault: "client",
454
486
  ...opts,
455
487
  });
456
- this.name = "NotNodeException";
457
- this.$fault = "client";
458
488
  Object.setPrototypeOf(this, NotNodeException.prototype);
459
489
  this.Message = opts.Message;
460
490
  }
@@ -465,92 +495,99 @@ export const DirectoryState = {
465
495
  ENABLED: "ENABLED",
466
496
  };
467
497
  export class InvalidNextTokenException extends __BaseException {
498
+ name = "InvalidNextTokenException";
499
+ $fault = "client";
500
+ Message;
468
501
  constructor(opts) {
469
502
  super({
470
503
  name: "InvalidNextTokenException",
471
504
  $fault: "client",
472
505
  ...opts,
473
506
  });
474
- this.name = "InvalidNextTokenException";
475
- this.$fault = "client";
476
507
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
477
508
  this.Message = opts.Message;
478
509
  }
479
510
  }
480
511
  export class CannotListParentOfRootException extends __BaseException {
512
+ name = "CannotListParentOfRootException";
513
+ $fault = "client";
514
+ Message;
481
515
  constructor(opts) {
482
516
  super({
483
517
  name: "CannotListParentOfRootException",
484
518
  $fault: "client",
485
519
  ...opts,
486
520
  });
487
- this.name = "CannotListParentOfRootException";
488
- this.$fault = "client";
489
521
  Object.setPrototypeOf(this, CannotListParentOfRootException.prototype);
490
522
  this.Message = opts.Message;
491
523
  }
492
524
  }
493
525
  export class InvalidTaggingRequestException extends __BaseException {
526
+ name = "InvalidTaggingRequestException";
527
+ $fault = "client";
528
+ Message;
494
529
  constructor(opts) {
495
530
  super({
496
531
  name: "InvalidTaggingRequestException",
497
532
  $fault: "client",
498
533
  ...opts,
499
534
  });
500
- this.name = "InvalidTaggingRequestException";
501
- this.$fault = "client";
502
535
  Object.setPrototypeOf(this, InvalidTaggingRequestException.prototype);
503
536
  this.Message = opts.Message;
504
537
  }
505
538
  }
506
539
  export class SchemaAlreadyPublishedException extends __BaseException {
540
+ name = "SchemaAlreadyPublishedException";
541
+ $fault = "client";
542
+ Message;
507
543
  constructor(opts) {
508
544
  super({
509
545
  name: "SchemaAlreadyPublishedException",
510
546
  $fault: "client",
511
547
  ...opts,
512
548
  });
513
- this.name = "SchemaAlreadyPublishedException";
514
- this.$fault = "client";
515
549
  Object.setPrototypeOf(this, SchemaAlreadyPublishedException.prototype);
516
550
  this.Message = opts.Message;
517
551
  }
518
552
  }
519
553
  export class InvalidSchemaDocException extends __BaseException {
554
+ name = "InvalidSchemaDocException";
555
+ $fault = "client";
556
+ Message;
520
557
  constructor(opts) {
521
558
  super({
522
559
  name: "InvalidSchemaDocException",
523
560
  $fault: "client",
524
561
  ...opts,
525
562
  });
526
- this.name = "InvalidSchemaDocException";
527
- this.$fault = "client";
528
563
  Object.setPrototypeOf(this, InvalidSchemaDocException.prototype);
529
564
  this.Message = opts.Message;
530
565
  }
531
566
  }
532
567
  export class InvalidFacetUpdateException extends __BaseException {
568
+ name = "InvalidFacetUpdateException";
569
+ $fault = "client";
570
+ Message;
533
571
  constructor(opts) {
534
572
  super({
535
573
  name: "InvalidFacetUpdateException",
536
574
  $fault: "client",
537
575
  ...opts,
538
576
  });
539
- this.name = "InvalidFacetUpdateException";
540
- this.$fault = "client";
541
577
  Object.setPrototypeOf(this, InvalidFacetUpdateException.prototype);
542
578
  this.Message = opts.Message;
543
579
  }
544
580
  }
545
581
  export class IncompatibleSchemaException extends __BaseException {
582
+ name = "IncompatibleSchemaException";
583
+ $fault = "client";
584
+ Message;
546
585
  constructor(opts) {
547
586
  super({
548
587
  name: "IncompatibleSchemaException",
549
588
  $fault: "client",
550
589
  ...opts,
551
590
  });
552
- this.name = "IncompatibleSchemaException";
553
- this.$fault = "client";
554
591
  Object.setPrototypeOf(this, IncompatibleSchemaException.prototype);
555
592
  this.Message = opts.Message;
556
593
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
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: CloudDirectoryClientConfig) => {
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: CloudDirectoryClientConfig) => {
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: CloudDirectoryClientConfig) => {
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: CloudDirectoryClientConfig) => {
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: CloudDirectoryClientConfig) => {
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