@aws-sdk/client-connect 3.717.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.
- package/dist-cjs/index.js +1376 -980
- package/dist-es/ConnectClient.js +1 -0
- package/dist-es/models/models_0.js +59 -36
- package/dist-es/models/models_1.js +6 -4
- package/dist-es/models/models_2.js +18 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-es/ConnectClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class ConnectClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
Message;
|
|
4
7
|
constructor(opts) {
|
|
5
8
|
super({
|
|
6
9
|
name: "AccessDeniedException",
|
|
7
10
|
$fault: "client",
|
|
8
11
|
...opts,
|
|
9
12
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
13
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
14
|
this.Message = opts.Message;
|
|
14
15
|
}
|
|
@@ -24,66 +25,71 @@ export const ActionType = {
|
|
|
24
25
|
UPDATE_CASE: "UPDATE_CASE",
|
|
25
26
|
};
|
|
26
27
|
export class InternalServiceException extends __BaseException {
|
|
28
|
+
name = "InternalServiceException";
|
|
29
|
+
$fault = "server";
|
|
30
|
+
Message;
|
|
27
31
|
constructor(opts) {
|
|
28
32
|
super({
|
|
29
33
|
name: "InternalServiceException",
|
|
30
34
|
$fault: "server",
|
|
31
35
|
...opts,
|
|
32
36
|
});
|
|
33
|
-
this.name = "InternalServiceException";
|
|
34
|
-
this.$fault = "server";
|
|
35
37
|
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
36
38
|
this.Message = opts.Message;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
export class InvalidParameterException extends __BaseException {
|
|
42
|
+
name = "InvalidParameterException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
Message;
|
|
40
45
|
constructor(opts) {
|
|
41
46
|
super({
|
|
42
47
|
name: "InvalidParameterException",
|
|
43
48
|
$fault: "client",
|
|
44
49
|
...opts,
|
|
45
50
|
});
|
|
46
|
-
this.name = "InvalidParameterException";
|
|
47
|
-
this.$fault = "client";
|
|
48
51
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
49
52
|
this.Message = opts.Message;
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
export class ResourceConflictException extends __BaseException {
|
|
56
|
+
name = "ResourceConflictException";
|
|
57
|
+
$fault = "client";
|
|
58
|
+
Message;
|
|
53
59
|
constructor(opts) {
|
|
54
60
|
super({
|
|
55
61
|
name: "ResourceConflictException",
|
|
56
62
|
$fault: "client",
|
|
57
63
|
...opts,
|
|
58
64
|
});
|
|
59
|
-
this.name = "ResourceConflictException";
|
|
60
|
-
this.$fault = "client";
|
|
61
65
|
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
62
66
|
this.Message = opts.Message;
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
export class ResourceNotFoundException extends __BaseException {
|
|
70
|
+
name = "ResourceNotFoundException";
|
|
71
|
+
$fault = "client";
|
|
72
|
+
Message;
|
|
66
73
|
constructor(opts) {
|
|
67
74
|
super({
|
|
68
75
|
name: "ResourceNotFoundException",
|
|
69
76
|
$fault: "client",
|
|
70
77
|
...opts,
|
|
71
78
|
});
|
|
72
|
-
this.name = "ResourceNotFoundException";
|
|
73
|
-
this.$fault = "client";
|
|
74
79
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
75
80
|
this.Message = opts.Message;
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
export class ThrottlingException extends __BaseException {
|
|
84
|
+
name = "ThrottlingException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
Message;
|
|
79
87
|
constructor(opts) {
|
|
80
88
|
super({
|
|
81
89
|
name: "ThrottlingException",
|
|
82
90
|
$fault: "client",
|
|
83
91
|
...opts,
|
|
84
92
|
});
|
|
85
|
-
this.name = "ThrottlingException";
|
|
86
|
-
this.$fault = "client";
|
|
87
93
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
88
94
|
this.Message = opts.Message;
|
|
89
95
|
}
|
|
@@ -161,14 +167,16 @@ export var InvalidRequestExceptionReason;
|
|
|
161
167
|
};
|
|
162
168
|
})(InvalidRequestExceptionReason || (InvalidRequestExceptionReason = {}));
|
|
163
169
|
export class InvalidRequestException extends __BaseException {
|
|
170
|
+
name = "InvalidRequestException";
|
|
171
|
+
$fault = "client";
|
|
172
|
+
Message;
|
|
173
|
+
Reason;
|
|
164
174
|
constructor(opts) {
|
|
165
175
|
super({
|
|
166
176
|
name: "InvalidRequestException",
|
|
167
177
|
$fault: "client",
|
|
168
178
|
...opts,
|
|
169
179
|
});
|
|
170
|
-
this.name = "InvalidRequestException";
|
|
171
|
-
this.$fault = "client";
|
|
172
180
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
173
181
|
this.Message = opts.Message;
|
|
174
182
|
this.Reason = opts.Reason;
|
|
@@ -187,28 +195,31 @@ export var ServiceQuotaExceededExceptionReason;
|
|
|
187
195
|
};
|
|
188
196
|
})(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));
|
|
189
197
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
198
|
+
name = "ServiceQuotaExceededException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
Message;
|
|
201
|
+
Reason;
|
|
190
202
|
constructor(opts) {
|
|
191
203
|
super({
|
|
192
204
|
name: "ServiceQuotaExceededException",
|
|
193
205
|
$fault: "client",
|
|
194
206
|
...opts,
|
|
195
207
|
});
|
|
196
|
-
this.name = "ServiceQuotaExceededException";
|
|
197
|
-
this.$fault = "client";
|
|
198
208
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
199
209
|
this.Message = opts.Message;
|
|
200
210
|
this.Reason = opts.Reason;
|
|
201
211
|
}
|
|
202
212
|
}
|
|
203
213
|
export class LimitExceededException extends __BaseException {
|
|
214
|
+
name = "LimitExceededException";
|
|
215
|
+
$fault = "client";
|
|
216
|
+
Message;
|
|
204
217
|
constructor(opts) {
|
|
205
218
|
super({
|
|
206
219
|
name: "LimitExceededException",
|
|
207
220
|
$fault: "client",
|
|
208
221
|
...opts,
|
|
209
222
|
});
|
|
210
|
-
this.name = "LimitExceededException";
|
|
211
|
-
this.$fault = "client";
|
|
212
223
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
213
224
|
this.Message = opts.Message;
|
|
214
225
|
}
|
|
@@ -326,40 +337,43 @@ export const FailureReasonCode = {
|
|
|
326
337
|
REQUEST_THROTTLED: "REQUEST_THROTTLED",
|
|
327
338
|
};
|
|
328
339
|
export class IdempotencyException extends __BaseException {
|
|
340
|
+
name = "IdempotencyException";
|
|
341
|
+
$fault = "client";
|
|
342
|
+
Message;
|
|
329
343
|
constructor(opts) {
|
|
330
344
|
super({
|
|
331
345
|
name: "IdempotencyException",
|
|
332
346
|
$fault: "client",
|
|
333
347
|
...opts,
|
|
334
348
|
});
|
|
335
|
-
this.name = "IdempotencyException";
|
|
336
|
-
this.$fault = "client";
|
|
337
349
|
Object.setPrototypeOf(this, IdempotencyException.prototype);
|
|
338
350
|
this.Message = opts.Message;
|
|
339
351
|
}
|
|
340
352
|
}
|
|
341
353
|
export class DuplicateResourceException extends __BaseException {
|
|
354
|
+
name = "DuplicateResourceException";
|
|
355
|
+
$fault = "client";
|
|
356
|
+
Message;
|
|
342
357
|
constructor(opts) {
|
|
343
358
|
super({
|
|
344
359
|
name: "DuplicateResourceException",
|
|
345
360
|
$fault: "client",
|
|
346
361
|
...opts,
|
|
347
362
|
});
|
|
348
|
-
this.name = "DuplicateResourceException";
|
|
349
|
-
this.$fault = "client";
|
|
350
363
|
Object.setPrototypeOf(this, DuplicateResourceException.prototype);
|
|
351
364
|
this.Message = opts.Message;
|
|
352
365
|
}
|
|
353
366
|
}
|
|
354
367
|
export class ConflictException extends __BaseException {
|
|
368
|
+
name = "ConflictException";
|
|
369
|
+
$fault = "client";
|
|
370
|
+
Message;
|
|
355
371
|
constructor(opts) {
|
|
356
372
|
super({
|
|
357
373
|
name: "ConflictException",
|
|
358
374
|
$fault: "client",
|
|
359
375
|
...opts,
|
|
360
376
|
});
|
|
361
|
-
this.name = "ConflictException";
|
|
362
|
-
this.$fault = "client";
|
|
363
377
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
364
378
|
this.Message = opts.Message;
|
|
365
379
|
}
|
|
@@ -401,27 +415,29 @@ export const ContactFlowType = {
|
|
|
401
415
|
QUEUE_TRANSFER: "QUEUE_TRANSFER",
|
|
402
416
|
};
|
|
403
417
|
export class InvalidContactFlowException extends __BaseException {
|
|
418
|
+
name = "InvalidContactFlowException";
|
|
419
|
+
$fault = "client";
|
|
420
|
+
problems;
|
|
404
421
|
constructor(opts) {
|
|
405
422
|
super({
|
|
406
423
|
name: "InvalidContactFlowException",
|
|
407
424
|
$fault: "client",
|
|
408
425
|
...opts,
|
|
409
426
|
});
|
|
410
|
-
this.name = "InvalidContactFlowException";
|
|
411
|
-
this.$fault = "client";
|
|
412
427
|
Object.setPrototypeOf(this, InvalidContactFlowException.prototype);
|
|
413
428
|
this.problems = opts.problems;
|
|
414
429
|
}
|
|
415
430
|
}
|
|
416
431
|
export class InvalidContactFlowModuleException extends __BaseException {
|
|
432
|
+
name = "InvalidContactFlowModuleException";
|
|
433
|
+
$fault = "client";
|
|
434
|
+
Problems;
|
|
417
435
|
constructor(opts) {
|
|
418
436
|
super({
|
|
419
437
|
name: "InvalidContactFlowModuleException",
|
|
420
438
|
$fault: "client",
|
|
421
439
|
...opts,
|
|
422
440
|
});
|
|
423
|
-
this.name = "InvalidContactFlowModuleException";
|
|
424
|
-
this.$fault = "client";
|
|
425
441
|
Object.setPrototypeOf(this, InvalidContactFlowModuleException.prototype);
|
|
426
442
|
this.Problems = opts.Problems;
|
|
427
443
|
}
|
|
@@ -612,28 +628,31 @@ export const PropertyValidationExceptionReason = {
|
|
|
612
628
|
UNIQUE_CONSTRAINT_VIOLATED: "UNIQUE_CONSTRAINT_VIOLATED",
|
|
613
629
|
};
|
|
614
630
|
export class PropertyValidationException extends __BaseException {
|
|
631
|
+
name = "PropertyValidationException";
|
|
632
|
+
$fault = "client";
|
|
633
|
+
Message;
|
|
634
|
+
PropertyList;
|
|
615
635
|
constructor(opts) {
|
|
616
636
|
super({
|
|
617
637
|
name: "PropertyValidationException",
|
|
618
638
|
$fault: "client",
|
|
619
639
|
...opts,
|
|
620
640
|
});
|
|
621
|
-
this.name = "PropertyValidationException";
|
|
622
|
-
this.$fault = "client";
|
|
623
641
|
Object.setPrototypeOf(this, PropertyValidationException.prototype);
|
|
624
642
|
this.Message = opts.Message;
|
|
625
643
|
this.PropertyList = opts.PropertyList;
|
|
626
644
|
}
|
|
627
645
|
}
|
|
628
646
|
export class ResourceNotReadyException extends __BaseException {
|
|
647
|
+
name = "ResourceNotReadyException";
|
|
648
|
+
$fault = "client";
|
|
649
|
+
Message;
|
|
629
650
|
constructor(opts) {
|
|
630
651
|
super({
|
|
631
652
|
name: "ResourceNotReadyException",
|
|
632
653
|
$fault: "client",
|
|
633
654
|
...opts,
|
|
634
655
|
});
|
|
635
|
-
this.name = "ResourceNotReadyException";
|
|
636
|
-
this.$fault = "client";
|
|
637
656
|
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
638
657
|
this.Message = opts.Message;
|
|
639
658
|
}
|
|
@@ -665,14 +684,17 @@ export const ResourceType = {
|
|
|
665
684
|
USER: "USER",
|
|
666
685
|
};
|
|
667
686
|
export class ResourceInUseException extends __BaseException {
|
|
687
|
+
name = "ResourceInUseException";
|
|
688
|
+
$fault = "client";
|
|
689
|
+
Message;
|
|
690
|
+
ResourceType;
|
|
691
|
+
ResourceId;
|
|
668
692
|
constructor(opts) {
|
|
669
693
|
super({
|
|
670
694
|
name: "ResourceInUseException",
|
|
671
695
|
$fault: "client",
|
|
672
696
|
...opts,
|
|
673
697
|
});
|
|
674
|
-
this.name = "ResourceInUseException";
|
|
675
|
-
this.$fault = "client";
|
|
676
698
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
677
699
|
this.Message = opts.Message;
|
|
678
700
|
this.ResourceType = opts.ResourceType;
|
|
@@ -680,14 +702,15 @@ export class ResourceInUseException extends __BaseException {
|
|
|
680
702
|
}
|
|
681
703
|
}
|
|
682
704
|
export class TooManyRequestsException extends __BaseException {
|
|
705
|
+
name = "TooManyRequestsException";
|
|
706
|
+
$fault = "client";
|
|
707
|
+
Message;
|
|
683
708
|
constructor(opts) {
|
|
684
709
|
super({
|
|
685
710
|
name: "TooManyRequestsException",
|
|
686
711
|
$fault: "client",
|
|
687
712
|
...opts,
|
|
688
713
|
});
|
|
689
|
-
this.name = "TooManyRequestsException";
|
|
690
|
-
this.$fault = "client";
|
|
691
714
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
692
715
|
this.Message = opts.Message;
|
|
693
716
|
}
|
|
@@ -40,14 +40,15 @@ export const EvaluationStatus = {
|
|
|
40
40
|
SUBMITTED: "SUBMITTED",
|
|
41
41
|
};
|
|
42
42
|
export class ContactFlowNotPublishedException extends __BaseException {
|
|
43
|
+
name = "ContactFlowNotPublishedException";
|
|
44
|
+
$fault = "client";
|
|
45
|
+
Message;
|
|
43
46
|
constructor(opts) {
|
|
44
47
|
super({
|
|
45
48
|
name: "ContactFlowNotPublishedException",
|
|
46
49
|
$fault: "client",
|
|
47
50
|
...opts,
|
|
48
51
|
});
|
|
49
|
-
this.name = "ContactFlowNotPublishedException";
|
|
50
|
-
this.$fault = "client";
|
|
51
52
|
Object.setPrototypeOf(this, ContactFlowNotPublishedException.prototype);
|
|
52
53
|
this.Message = opts.Message;
|
|
53
54
|
}
|
|
@@ -391,14 +392,15 @@ export const SortOrder = {
|
|
|
391
392
|
DESCENDING: "DESCENDING",
|
|
392
393
|
};
|
|
393
394
|
export class UserNotFoundException extends __BaseException {
|
|
395
|
+
name = "UserNotFoundException";
|
|
396
|
+
$fault = "client";
|
|
397
|
+
Message;
|
|
394
398
|
constructor(opts) {
|
|
395
399
|
super({
|
|
396
400
|
name: "UserNotFoundException",
|
|
397
401
|
$fault: "client",
|
|
398
402
|
...opts,
|
|
399
403
|
});
|
|
400
|
-
this.name = "UserNotFoundException";
|
|
401
|
-
this.$fault = "client";
|
|
402
404
|
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
403
405
|
this.Message = opts.Message;
|
|
404
406
|
}
|
|
@@ -65,14 +65,15 @@ export const RealTimeContactAnalysisStatus = {
|
|
|
65
65
|
IN_PROGRESS: "IN_PROGRESS",
|
|
66
66
|
};
|
|
67
67
|
export class OutputTypeNotFoundException extends __BaseException {
|
|
68
|
+
name = "OutputTypeNotFoundException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
Message;
|
|
68
71
|
constructor(opts) {
|
|
69
72
|
super({
|
|
70
73
|
name: "OutputTypeNotFoundException",
|
|
71
74
|
$fault: "client",
|
|
72
75
|
...opts,
|
|
73
76
|
});
|
|
74
|
-
this.name = "OutputTypeNotFoundException";
|
|
75
|
-
this.$fault = "client";
|
|
76
77
|
Object.setPrototypeOf(this, OutputTypeNotFoundException.prototype);
|
|
77
78
|
this.Message = opts.Message;
|
|
78
79
|
}
|
|
@@ -111,14 +112,15 @@ export const SearchableQueueType = {
|
|
|
111
112
|
STANDARD: "STANDARD",
|
|
112
113
|
};
|
|
113
114
|
export class MaximumResultReturnedException extends __BaseException {
|
|
115
|
+
name = "MaximumResultReturnedException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Message;
|
|
114
118
|
constructor(opts) {
|
|
115
119
|
super({
|
|
116
120
|
name: "MaximumResultReturnedException",
|
|
117
121
|
$fault: "client",
|
|
118
122
|
...opts,
|
|
119
123
|
});
|
|
120
|
-
this.name = "MaximumResultReturnedException";
|
|
121
|
-
this.$fault = "client";
|
|
122
124
|
Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
|
|
123
125
|
this.Message = opts.Message;
|
|
124
126
|
}
|
|
@@ -171,27 +173,29 @@ export const EmailHeaderType = {
|
|
|
171
173
|
X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT",
|
|
172
174
|
};
|
|
173
175
|
export class DestinationNotAllowedException extends __BaseException {
|
|
176
|
+
name = "DestinationNotAllowedException";
|
|
177
|
+
$fault = "client";
|
|
178
|
+
Message;
|
|
174
179
|
constructor(opts) {
|
|
175
180
|
super({
|
|
176
181
|
name: "DestinationNotAllowedException",
|
|
177
182
|
$fault: "client",
|
|
178
183
|
...opts,
|
|
179
184
|
});
|
|
180
|
-
this.name = "DestinationNotAllowedException";
|
|
181
|
-
this.$fault = "client";
|
|
182
185
|
Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
|
|
183
186
|
this.Message = opts.Message;
|
|
184
187
|
}
|
|
185
188
|
}
|
|
186
189
|
export class OutboundContactNotPermittedException extends __BaseException {
|
|
190
|
+
name = "OutboundContactNotPermittedException";
|
|
191
|
+
$fault = "client";
|
|
192
|
+
Message;
|
|
187
193
|
constructor(opts) {
|
|
188
194
|
super({
|
|
189
195
|
name: "OutboundContactNotPermittedException",
|
|
190
196
|
$fault: "client",
|
|
191
197
|
...opts,
|
|
192
198
|
});
|
|
193
|
-
this.name = "OutboundContactNotPermittedException";
|
|
194
|
-
this.$fault = "client";
|
|
195
199
|
Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
|
|
196
200
|
this.Message = opts.Message;
|
|
197
201
|
}
|
|
@@ -201,27 +205,29 @@ export const MeetingFeatureStatus = {
|
|
|
201
205
|
UNAVAILABLE: "UNAVAILABLE",
|
|
202
206
|
};
|
|
203
207
|
export class ContactNotFoundException extends __BaseException {
|
|
208
|
+
name = "ContactNotFoundException";
|
|
209
|
+
$fault = "client";
|
|
210
|
+
Message;
|
|
204
211
|
constructor(opts) {
|
|
205
212
|
super({
|
|
206
213
|
name: "ContactNotFoundException",
|
|
207
214
|
$fault: "client",
|
|
208
215
|
...opts,
|
|
209
216
|
});
|
|
210
|
-
this.name = "ContactNotFoundException";
|
|
211
|
-
this.$fault = "client";
|
|
212
217
|
Object.setPrototypeOf(this, ContactNotFoundException.prototype);
|
|
213
218
|
this.Message = opts.Message;
|
|
214
219
|
}
|
|
215
220
|
}
|
|
216
221
|
export class ConditionalOperationFailedException extends __BaseException {
|
|
222
|
+
name = "ConditionalOperationFailedException";
|
|
223
|
+
$fault = "client";
|
|
224
|
+
Message;
|
|
217
225
|
constructor(opts) {
|
|
218
226
|
super({
|
|
219
227
|
name: "ConditionalOperationFailedException",
|
|
220
228
|
$fault: "client",
|
|
221
229
|
...opts,
|
|
222
230
|
});
|
|
223
|
-
this.name = "ConditionalOperationFailedException";
|
|
224
|
-
this.$fault = "client";
|
|
225
231
|
Object.setPrototypeOf(this, ConditionalOperationFailedException.prototype);
|
|
226
232
|
this.Message = opts.Message;
|
|
227
233
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
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: ConnectClientConfig) => {
|
|
|
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: ConnectClientConfig) => {
|
|
|
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: ConnectClientConfig) => {
|
|
|
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: ConnectClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
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: ConnectClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|