@aws-sdk/client-config-service 3.1075.0 → 3.1077.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.
@@ -1,673 +0,0 @@
1
- const { ConfigServiceServiceException: __BaseException } = require("./ConfigServiceServiceException");
2
- exports.ConflictException = class ConflictException extends __BaseException {
3
- name = "ConflictException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "ConflictException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, ConflictException.prototype);
12
- }
13
- };
14
- exports.NoSuchConfigurationRecorderException = class NoSuchConfigurationRecorderException extends __BaseException {
15
- name = "NoSuchConfigurationRecorderException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "NoSuchConfigurationRecorderException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, NoSuchConfigurationRecorderException.prototype);
24
- }
25
- };
26
- exports.ValidationException = class ValidationException extends __BaseException {
27
- name = "ValidationException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "ValidationException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, ValidationException.prototype);
36
- }
37
- };
38
- exports.NoSuchConfigurationAggregatorException = class NoSuchConfigurationAggregatorException extends __BaseException {
39
- name = "NoSuchConfigurationAggregatorException";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "NoSuchConfigurationAggregatorException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, NoSuchConfigurationAggregatorException.prototype);
48
- }
49
- };
50
- exports.NoAvailableConfigurationRecorderException = class NoAvailableConfigurationRecorderException extends __BaseException {
51
- name = "NoAvailableConfigurationRecorderException";
52
- $fault = "client";
53
- constructor(opts) {
54
- super({
55
- name: "NoAvailableConfigurationRecorderException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, NoAvailableConfigurationRecorderException.prototype);
60
- }
61
- };
62
- exports.ConformancePackTemplateValidationException = class ConformancePackTemplateValidationException extends __BaseException {
63
- name = "ConformancePackTemplateValidationException";
64
- $fault = "client";
65
- constructor(opts) {
66
- super({
67
- name: "ConformancePackTemplateValidationException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, ConformancePackTemplateValidationException.prototype);
72
- }
73
- };
74
- exports.InvalidParameterValueException = class InvalidParameterValueException extends __BaseException {
75
- name = "InvalidParameterValueException";
76
- $fault = "client";
77
- constructor(opts) {
78
- super({
79
- name: "InvalidParameterValueException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
84
- }
85
- };
86
- exports.NoSuchConfigRuleException = class NoSuchConfigRuleException extends __BaseException {
87
- name = "NoSuchConfigRuleException";
88
- $fault = "client";
89
- constructor(opts) {
90
- super({
91
- name: "NoSuchConfigRuleException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- Object.setPrototypeOf(this, NoSuchConfigRuleException.prototype);
96
- }
97
- };
98
- exports.ResourceInUseException = class ResourceInUseException extends __BaseException {
99
- name = "ResourceInUseException";
100
- $fault = "client";
101
- constructor(opts) {
102
- super({
103
- name: "ResourceInUseException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
108
- }
109
- };
110
- exports.UnmodifiableEntityException = class UnmodifiableEntityException extends __BaseException {
111
- name = "UnmodifiableEntityException";
112
- $fault = "client";
113
- constructor(opts) {
114
- super({
115
- name: "UnmodifiableEntityException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- Object.setPrototypeOf(this, UnmodifiableEntityException.prototype);
120
- }
121
- };
122
- exports.NoSuchConformancePackException = class NoSuchConformancePackException extends __BaseException {
123
- name = "NoSuchConformancePackException";
124
- $fault = "client";
125
- constructor(opts) {
126
- super({
127
- name: "NoSuchConformancePackException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, NoSuchConformancePackException.prototype);
132
- }
133
- };
134
- exports.LastDeliveryChannelDeleteFailedException = class LastDeliveryChannelDeleteFailedException extends __BaseException {
135
- name = "LastDeliveryChannelDeleteFailedException";
136
- $fault = "client";
137
- constructor(opts) {
138
- super({
139
- name: "LastDeliveryChannelDeleteFailedException",
140
- $fault: "client",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, LastDeliveryChannelDeleteFailedException.prototype);
144
- }
145
- };
146
- exports.NoSuchDeliveryChannelException = class NoSuchDeliveryChannelException extends __BaseException {
147
- name = "NoSuchDeliveryChannelException";
148
- $fault = "client";
149
- constructor(opts) {
150
- super({
151
- name: "NoSuchDeliveryChannelException",
152
- $fault: "client",
153
- ...opts,
154
- });
155
- Object.setPrototypeOf(this, NoSuchDeliveryChannelException.prototype);
156
- }
157
- };
158
- exports.NoSuchOrganizationConfigRuleException = class NoSuchOrganizationConfigRuleException extends __BaseException {
159
- name = "NoSuchOrganizationConfigRuleException";
160
- $fault = "client";
161
- constructor(opts) {
162
- super({
163
- name: "NoSuchOrganizationConfigRuleException",
164
- $fault: "client",
165
- ...opts,
166
- });
167
- Object.setPrototypeOf(this, NoSuchOrganizationConfigRuleException.prototype);
168
- }
169
- };
170
- exports.OrganizationAccessDeniedException = class OrganizationAccessDeniedException extends __BaseException {
171
- name = "OrganizationAccessDeniedException";
172
- $fault = "client";
173
- constructor(opts) {
174
- super({
175
- name: "OrganizationAccessDeniedException",
176
- $fault: "client",
177
- ...opts,
178
- });
179
- Object.setPrototypeOf(this, OrganizationAccessDeniedException.prototype);
180
- }
181
- };
182
- exports.NoSuchOrganizationConformancePackException = class NoSuchOrganizationConformancePackException extends __BaseException {
183
- name = "NoSuchOrganizationConformancePackException";
184
- $fault = "client";
185
- constructor(opts) {
186
- super({
187
- name: "NoSuchOrganizationConformancePackException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- Object.setPrototypeOf(this, NoSuchOrganizationConformancePackException.prototype);
192
- }
193
- };
194
- exports.InsufficientPermissionsException = class InsufficientPermissionsException extends __BaseException {
195
- name = "InsufficientPermissionsException";
196
- $fault = "client";
197
- constructor(opts) {
198
- super({
199
- name: "InsufficientPermissionsException",
200
- $fault: "client",
201
- ...opts,
202
- });
203
- Object.setPrototypeOf(this, InsufficientPermissionsException.prototype);
204
- }
205
- };
206
- exports.NoSuchRemediationConfigurationException = class NoSuchRemediationConfigurationException extends __BaseException {
207
- name = "NoSuchRemediationConfigurationException";
208
- $fault = "client";
209
- constructor(opts) {
210
- super({
211
- name: "NoSuchRemediationConfigurationException",
212
- $fault: "client",
213
- ...opts,
214
- });
215
- Object.setPrototypeOf(this, NoSuchRemediationConfigurationException.prototype);
216
- }
217
- };
218
- exports.RemediationInProgressException = class RemediationInProgressException extends __BaseException {
219
- name = "RemediationInProgressException";
220
- $fault = "client";
221
- constructor(opts) {
222
- super({
223
- name: "RemediationInProgressException",
224
- $fault: "client",
225
- ...opts,
226
- });
227
- Object.setPrototypeOf(this, RemediationInProgressException.prototype);
228
- }
229
- };
230
- exports.NoSuchRemediationExceptionException = class NoSuchRemediationExceptionException extends __BaseException {
231
- name = "NoSuchRemediationExceptionException";
232
- $fault = "client";
233
- constructor(opts) {
234
- super({
235
- name: "NoSuchRemediationExceptionException",
236
- $fault: "client",
237
- ...opts,
238
- });
239
- Object.setPrototypeOf(this, NoSuchRemediationExceptionException.prototype);
240
- }
241
- };
242
- exports.NoRunningConfigurationRecorderException = class NoRunningConfigurationRecorderException extends __BaseException {
243
- name = "NoRunningConfigurationRecorderException";
244
- $fault = "client";
245
- constructor(opts) {
246
- super({
247
- name: "NoRunningConfigurationRecorderException",
248
- $fault: "client",
249
- ...opts,
250
- });
251
- Object.setPrototypeOf(this, NoRunningConfigurationRecorderException.prototype);
252
- }
253
- };
254
- exports.NoSuchRetentionConfigurationException = class NoSuchRetentionConfigurationException extends __BaseException {
255
- name = "NoSuchRetentionConfigurationException";
256
- $fault = "client";
257
- constructor(opts) {
258
- super({
259
- name: "NoSuchRetentionConfigurationException",
260
- $fault: "client",
261
- ...opts,
262
- });
263
- Object.setPrototypeOf(this, NoSuchRetentionConfigurationException.prototype);
264
- }
265
- };
266
- exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
267
- name = "ResourceNotFoundException";
268
- $fault = "client";
269
- constructor(opts) {
270
- super({
271
- name: "ResourceNotFoundException",
272
- $fault: "client",
273
- ...opts,
274
- });
275
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
276
- }
277
- };
278
- exports.InvalidLimitException = class InvalidLimitException extends __BaseException {
279
- name = "InvalidLimitException";
280
- $fault = "client";
281
- constructor(opts) {
282
- super({
283
- name: "InvalidLimitException",
284
- $fault: "client",
285
- ...opts,
286
- });
287
- Object.setPrototypeOf(this, InvalidLimitException.prototype);
288
- }
289
- };
290
- exports.InvalidNextTokenException = class InvalidNextTokenException extends __BaseException {
291
- name = "InvalidNextTokenException";
292
- $fault = "client";
293
- constructor(opts) {
294
- super({
295
- name: "InvalidNextTokenException",
296
- $fault: "client",
297
- ...opts,
298
- });
299
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
300
- }
301
- };
302
- exports.NoSuchConfigRuleInConformancePackException = class NoSuchConfigRuleInConformancePackException extends __BaseException {
303
- name = "NoSuchConfigRuleInConformancePackException";
304
- $fault = "client";
305
- constructor(opts) {
306
- super({
307
- name: "NoSuchConfigRuleInConformancePackException",
308
- $fault: "client",
309
- ...opts,
310
- });
311
- Object.setPrototypeOf(this, NoSuchConfigRuleInConformancePackException.prototype);
312
- }
313
- };
314
- exports.OversizedConfigurationItemException = class OversizedConfigurationItemException extends __BaseException {
315
- name = "OversizedConfigurationItemException";
316
- $fault = "client";
317
- constructor(opts) {
318
- super({
319
- name: "OversizedConfigurationItemException",
320
- $fault: "client",
321
- ...opts,
322
- });
323
- Object.setPrototypeOf(this, OversizedConfigurationItemException.prototype);
324
- }
325
- };
326
- exports.ResourceNotDiscoveredException = class ResourceNotDiscoveredException extends __BaseException {
327
- name = "ResourceNotDiscoveredException";
328
- $fault = "client";
329
- constructor(opts) {
330
- super({
331
- name: "ResourceNotDiscoveredException",
332
- $fault: "client",
333
- ...opts,
334
- });
335
- Object.setPrototypeOf(this, ResourceNotDiscoveredException.prototype);
336
- }
337
- };
338
- exports.InvalidTimeRangeException = class InvalidTimeRangeException extends __BaseException {
339
- name = "InvalidTimeRangeException";
340
- $fault = "client";
341
- constructor(opts) {
342
- super({
343
- name: "InvalidTimeRangeException",
344
- $fault: "client",
345
- ...opts,
346
- });
347
- Object.setPrototypeOf(this, InvalidTimeRangeException.prototype);
348
- }
349
- };
350
- exports.IdempotentParameterMismatch = class IdempotentParameterMismatch extends __BaseException {
351
- name = "IdempotentParameterMismatch";
352
- $fault = "client";
353
- constructor(opts) {
354
- super({
355
- name: "IdempotentParameterMismatch",
356
- $fault: "client",
357
- ...opts,
358
- });
359
- Object.setPrototypeOf(this, IdempotentParameterMismatch.prototype);
360
- }
361
- };
362
- exports.InsufficientDeliveryPolicyException = class InsufficientDeliveryPolicyException extends __BaseException {
363
- name = "InsufficientDeliveryPolicyException";
364
- $fault = "client";
365
- constructor(opts) {
366
- super({
367
- name: "InsufficientDeliveryPolicyException",
368
- $fault: "client",
369
- ...opts,
370
- });
371
- Object.setPrototypeOf(this, InsufficientDeliveryPolicyException.prototype);
372
- }
373
- };
374
- exports.InvalidConfigurationRecorderNameException = class InvalidConfigurationRecorderNameException extends __BaseException {
375
- name = "InvalidConfigurationRecorderNameException";
376
- $fault = "client";
377
- constructor(opts) {
378
- super({
379
- name: "InvalidConfigurationRecorderNameException",
380
- $fault: "client",
381
- ...opts,
382
- });
383
- Object.setPrototypeOf(this, InvalidConfigurationRecorderNameException.prototype);
384
- }
385
- };
386
- exports.InvalidDeliveryChannelNameException = class InvalidDeliveryChannelNameException extends __BaseException {
387
- name = "InvalidDeliveryChannelNameException";
388
- $fault = "client";
389
- constructor(opts) {
390
- super({
391
- name: "InvalidDeliveryChannelNameException",
392
- $fault: "client",
393
- ...opts,
394
- });
395
- Object.setPrototypeOf(this, InvalidDeliveryChannelNameException.prototype);
396
- }
397
- };
398
- exports.InvalidExpressionException = class InvalidExpressionException extends __BaseException {
399
- name = "InvalidExpressionException";
400
- $fault = "client";
401
- constructor(opts) {
402
- super({
403
- name: "InvalidExpressionException",
404
- $fault: "client",
405
- ...opts,
406
- });
407
- Object.setPrototypeOf(this, InvalidExpressionException.prototype);
408
- }
409
- };
410
- exports.InvalidRecordingGroupException = class InvalidRecordingGroupException extends __BaseException {
411
- name = "InvalidRecordingGroupException";
412
- $fault = "client";
413
- constructor(opts) {
414
- super({
415
- name: "InvalidRecordingGroupException",
416
- $fault: "client",
417
- ...opts,
418
- });
419
- Object.setPrototypeOf(this, InvalidRecordingGroupException.prototype);
420
- }
421
- };
422
- exports.InvalidResultTokenException = class InvalidResultTokenException extends __BaseException {
423
- name = "InvalidResultTokenException";
424
- $fault = "client";
425
- constructor(opts) {
426
- super({
427
- name: "InvalidResultTokenException",
428
- $fault: "client",
429
- ...opts,
430
- });
431
- Object.setPrototypeOf(this, InvalidResultTokenException.prototype);
432
- }
433
- };
434
- exports.InvalidRoleException = class InvalidRoleException extends __BaseException {
435
- name = "InvalidRoleException";
436
- $fault = "client";
437
- constructor(opts) {
438
- super({
439
- name: "InvalidRoleException",
440
- $fault: "client",
441
- ...opts,
442
- });
443
- Object.setPrototypeOf(this, InvalidRoleException.prototype);
444
- }
445
- };
446
- exports.InvalidS3KeyPrefixException = class InvalidS3KeyPrefixException extends __BaseException {
447
- name = "InvalidS3KeyPrefixException";
448
- $fault = "client";
449
- constructor(opts) {
450
- super({
451
- name: "InvalidS3KeyPrefixException",
452
- $fault: "client",
453
- ...opts,
454
- });
455
- Object.setPrototypeOf(this, InvalidS3KeyPrefixException.prototype);
456
- }
457
- };
458
- exports.InvalidS3KmsKeyArnException = class InvalidS3KmsKeyArnException extends __BaseException {
459
- name = "InvalidS3KmsKeyArnException";
460
- $fault = "client";
461
- constructor(opts) {
462
- super({
463
- name: "InvalidS3KmsKeyArnException",
464
- $fault: "client",
465
- ...opts,
466
- });
467
- Object.setPrototypeOf(this, InvalidS3KmsKeyArnException.prototype);
468
- }
469
- };
470
- exports.InvalidSNSTopicARNException = class InvalidSNSTopicARNException extends __BaseException {
471
- name = "InvalidSNSTopicARNException";
472
- $fault = "client";
473
- constructor(opts) {
474
- super({
475
- name: "InvalidSNSTopicARNException",
476
- $fault: "client",
477
- ...opts,
478
- });
479
- Object.setPrototypeOf(this, InvalidSNSTopicARNException.prototype);
480
- }
481
- };
482
- exports.LimitExceededException = class LimitExceededException extends __BaseException {
483
- name = "LimitExceededException";
484
- $fault = "client";
485
- constructor(opts) {
486
- super({
487
- name: "LimitExceededException",
488
- $fault: "client",
489
- ...opts,
490
- });
491
- Object.setPrototypeOf(this, LimitExceededException.prototype);
492
- }
493
- };
494
- exports.MaxActiveResourcesExceededException = class MaxActiveResourcesExceededException extends __BaseException {
495
- name = "MaxActiveResourcesExceededException";
496
- $fault = "client";
497
- constructor(opts) {
498
- super({
499
- name: "MaxActiveResourcesExceededException",
500
- $fault: "client",
501
- ...opts,
502
- });
503
- Object.setPrototypeOf(this, MaxActiveResourcesExceededException.prototype);
504
- }
505
- };
506
- exports.MaxNumberOfConfigRulesExceededException = class MaxNumberOfConfigRulesExceededException extends __BaseException {
507
- name = "MaxNumberOfConfigRulesExceededException";
508
- $fault = "client";
509
- constructor(opts) {
510
- super({
511
- name: "MaxNumberOfConfigRulesExceededException",
512
- $fault: "client",
513
- ...opts,
514
- });
515
- Object.setPrototypeOf(this, MaxNumberOfConfigRulesExceededException.prototype);
516
- }
517
- };
518
- exports.MaxNumberOfConfigurationRecordersExceededException = class MaxNumberOfConfigurationRecordersExceededException extends __BaseException {
519
- name = "MaxNumberOfConfigurationRecordersExceededException";
520
- $fault = "client";
521
- constructor(opts) {
522
- super({
523
- name: "MaxNumberOfConfigurationRecordersExceededException",
524
- $fault: "client",
525
- ...opts,
526
- });
527
- Object.setPrototypeOf(this, MaxNumberOfConfigurationRecordersExceededException.prototype);
528
- }
529
- };
530
- exports.MaxNumberOfConformancePacksExceededException = class MaxNumberOfConformancePacksExceededException extends __BaseException {
531
- name = "MaxNumberOfConformancePacksExceededException";
532
- $fault = "client";
533
- constructor(opts) {
534
- super({
535
- name: "MaxNumberOfConformancePacksExceededException",
536
- $fault: "client",
537
- ...opts,
538
- });
539
- Object.setPrototypeOf(this, MaxNumberOfConformancePacksExceededException.prototype);
540
- }
541
- };
542
- exports.MaxNumberOfDeliveryChannelsExceededException = class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
543
- name = "MaxNumberOfDeliveryChannelsExceededException";
544
- $fault = "client";
545
- constructor(opts) {
546
- super({
547
- name: "MaxNumberOfDeliveryChannelsExceededException",
548
- $fault: "client",
549
- ...opts,
550
- });
551
- Object.setPrototypeOf(this, MaxNumberOfDeliveryChannelsExceededException.prototype);
552
- }
553
- };
554
- exports.MaxNumberOfOrganizationConfigRulesExceededException = class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
555
- name = "MaxNumberOfOrganizationConfigRulesExceededException";
556
- $fault = "client";
557
- constructor(opts) {
558
- super({
559
- name: "MaxNumberOfOrganizationConfigRulesExceededException",
560
- $fault: "client",
561
- ...opts,
562
- });
563
- Object.setPrototypeOf(this, MaxNumberOfOrganizationConfigRulesExceededException.prototype);
564
- }
565
- };
566
- exports.MaxNumberOfOrganizationConformancePacksExceededException = class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException {
567
- name = "MaxNumberOfOrganizationConformancePacksExceededException";
568
- $fault = "client";
569
- constructor(opts) {
570
- super({
571
- name: "MaxNumberOfOrganizationConformancePacksExceededException",
572
- $fault: "client",
573
- ...opts,
574
- });
575
- Object.setPrototypeOf(this, MaxNumberOfOrganizationConformancePacksExceededException.prototype);
576
- }
577
- };
578
- exports.MaxNumberOfRetentionConfigurationsExceededException = class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException {
579
- name = "MaxNumberOfRetentionConfigurationsExceededException";
580
- $fault = "client";
581
- constructor(opts) {
582
- super({
583
- name: "MaxNumberOfRetentionConfigurationsExceededException",
584
- $fault: "client",
585
- ...opts,
586
- });
587
- Object.setPrototypeOf(this, MaxNumberOfRetentionConfigurationsExceededException.prototype);
588
- }
589
- };
590
- exports.NoAvailableDeliveryChannelException = class NoAvailableDeliveryChannelException extends __BaseException {
591
- name = "NoAvailableDeliveryChannelException";
592
- $fault = "client";
593
- constructor(opts) {
594
- super({
595
- name: "NoAvailableDeliveryChannelException",
596
- $fault: "client",
597
- ...opts,
598
- });
599
- Object.setPrototypeOf(this, NoAvailableDeliveryChannelException.prototype);
600
- }
601
- };
602
- exports.NoAvailableOrganizationException = class NoAvailableOrganizationException extends __BaseException {
603
- name = "NoAvailableOrganizationException";
604
- $fault = "client";
605
- constructor(opts) {
606
- super({
607
- name: "NoAvailableOrganizationException",
608
- $fault: "client",
609
- ...opts,
610
- });
611
- Object.setPrototypeOf(this, NoAvailableOrganizationException.prototype);
612
- }
613
- };
614
- exports.NoSuchBucketException = class NoSuchBucketException extends __BaseException {
615
- name = "NoSuchBucketException";
616
- $fault = "client";
617
- constructor(opts) {
618
- super({
619
- name: "NoSuchBucketException",
620
- $fault: "client",
621
- ...opts,
622
- });
623
- Object.setPrototypeOf(this, NoSuchBucketException.prototype);
624
- }
625
- };
626
- exports.OrganizationAllFeaturesNotEnabledException = class OrganizationAllFeaturesNotEnabledException extends __BaseException {
627
- name = "OrganizationAllFeaturesNotEnabledException";
628
- $fault = "client";
629
- constructor(opts) {
630
- super({
631
- name: "OrganizationAllFeaturesNotEnabledException",
632
- $fault: "client",
633
- ...opts,
634
- });
635
- Object.setPrototypeOf(this, OrganizationAllFeaturesNotEnabledException.prototype);
636
- }
637
- };
638
- exports.OrganizationConformancePackTemplateValidationException = class OrganizationConformancePackTemplateValidationException extends __BaseException {
639
- name = "OrganizationConformancePackTemplateValidationException";
640
- $fault = "client";
641
- constructor(opts) {
642
- super({
643
- name: "OrganizationConformancePackTemplateValidationException",
644
- $fault: "client",
645
- ...opts,
646
- });
647
- Object.setPrototypeOf(this, OrganizationConformancePackTemplateValidationException.prototype);
648
- }
649
- };
650
- exports.ResourceConcurrentModificationException = class ResourceConcurrentModificationException extends __BaseException {
651
- name = "ResourceConcurrentModificationException";
652
- $fault = "client";
653
- constructor(opts) {
654
- super({
655
- name: "ResourceConcurrentModificationException",
656
- $fault: "client",
657
- ...opts,
658
- });
659
- Object.setPrototypeOf(this, ResourceConcurrentModificationException.prototype);
660
- }
661
- };
662
- exports.TooManyTagsException = class TooManyTagsException extends __BaseException {
663
- name = "TooManyTagsException";
664
- $fault = "client";
665
- constructor(opts) {
666
- super({
667
- name: "TooManyTagsException",
668
- $fault: "client",
669
- ...opts,
670
- });
671
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
672
- }
673
- };
@@ -1,32 +0,0 @@
1
- const packageInfo = require("../package.json");
2
- const { Sha256 } = require("@aws-crypto/sha256-browser");
3
- const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
4
- const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
5
- const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
6
- const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
7
- const { calculateBodyLength } = require("@smithy/core/serde");
8
- const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
9
- const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
10
- const getRuntimeConfig = (config) => {
11
- const defaultsMode = resolveDefaultsModeConfig(config);
12
- const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
13
- const clientSharedValues = getSharedRuntimeConfig(config);
14
- return {
15
- ...clientSharedValues,
16
- ...config,
17
- runtime: "browser",
18
- defaultsMode,
19
- bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
20
- credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
21
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
22
- maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
23
- region: config?.region ?? invalidProvider("Region is missing"),
24
- requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
- streamCollector: config?.streamCollector ?? streamCollector,
28
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
30
- };
31
- };
32
- exports.getRuntimeConfig = getRuntimeConfig;