@aws-sdk/client-codeguru-security 3.948.0 → 3.953.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.
Files changed (33) hide show
  1. package/dist-cjs/index.js +228 -156
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
  4. package/dist-es/commands/CreateScanCommand.js +2 -2
  5. package/dist-es/commands/CreateUploadUrlCommand.js +2 -2
  6. package/dist-es/commands/GetAccountConfigurationCommand.js +2 -2
  7. package/dist-es/commands/GetFindingsCommand.js +2 -2
  8. package/dist-es/commands/GetMetricsSummaryCommand.js +2 -2
  9. package/dist-es/commands/GetScanCommand.js +2 -2
  10. package/dist-es/commands/ListFindingsMetricsCommand.js +2 -2
  11. package/dist-es/commands/ListScansCommand.js +2 -2
  12. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  13. package/dist-es/commands/TagResourceCommand.js +2 -2
  14. package/dist-es/commands/UntagResourceCommand.js +2 -2
  15. package/dist-es/commands/UpdateAccountConfigurationCommand.js +2 -2
  16. package/dist-es/index.js +1 -0
  17. package/dist-es/runtimeConfig.shared.js +6 -1
  18. package/dist-es/schemas/schemas_0.js +138 -131
  19. package/dist-types/CodeGuruSecurityClient.d.ts +1 -10
  20. package/dist-types/index.d.ts +1 -0
  21. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  22. package/dist-types/runtimeConfig.d.ts +6 -2
  23. package/dist-types/runtimeConfig.native.d.ts +6 -2
  24. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  25. package/dist-types/schemas/schemas_0.d.ts +66 -84
  26. package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +0 -4
  27. package/dist-types/ts3.4/index.d.ts +1 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -86
  33. package/package.json +34 -34
package/dist-cjs/index.js CHANGED
@@ -110,14 +110,14 @@ class CodeGuruSecurityClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let CodeGuruSecurityServiceException$1 = class CodeGuruSecurityServiceException extends smithyClient.ServiceException {
113
+ class CodeGuruSecurityServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, CodeGuruSecurityServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends CodeGuruSecurityServiceException$1 {
120
+ class AccessDeniedException extends CodeGuruSecurityServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  errorCode;
@@ -134,8 +134,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends CodeGuruSecuri
134
134
  this.resourceId = opts.resourceId;
135
135
  this.resourceType = opts.resourceType;
136
136
  }
137
- };
138
- let InternalServerException$1 = class InternalServerException extends CodeGuruSecurityServiceException$1 {
137
+ }
138
+ class InternalServerException extends CodeGuruSecurityServiceException {
139
139
  name = "InternalServerException";
140
140
  $fault = "server";
141
141
  $retryable = {};
@@ -149,8 +149,8 @@ let InternalServerException$1 = class InternalServerException extends CodeGuruSe
149
149
  Object.setPrototypeOf(this, InternalServerException.prototype);
150
150
  this.error = opts.error;
151
151
  }
152
- };
153
- let ThrottlingException$1 = class ThrottlingException extends CodeGuruSecurityServiceException$1 {
152
+ }
153
+ class ThrottlingException extends CodeGuruSecurityServiceException {
154
154
  name = "ThrottlingException";
155
155
  $fault = "client";
156
156
  $retryable = {
@@ -170,8 +170,8 @@ let ThrottlingException$1 = class ThrottlingException extends CodeGuruSecuritySe
170
170
  this.serviceCode = opts.serviceCode;
171
171
  this.quotaCode = opts.quotaCode;
172
172
  }
173
- };
174
- let ValidationException$1 = class ValidationException extends CodeGuruSecurityServiceException$1 {
173
+ }
174
+ class ValidationException extends CodeGuruSecurityServiceException {
175
175
  name = "ValidationException";
176
176
  $fault = "client";
177
177
  errorCode;
@@ -188,8 +188,8 @@ let ValidationException$1 = class ValidationException extends CodeGuruSecuritySe
188
188
  this.reason = opts.reason;
189
189
  this.fieldList = opts.fieldList;
190
190
  }
191
- };
192
- let ConflictException$1 = class ConflictException extends CodeGuruSecurityServiceException$1 {
191
+ }
192
+ class ConflictException extends CodeGuruSecurityServiceException {
193
193
  name = "ConflictException";
194
194
  $fault = "client";
195
195
  errorCode;
@@ -206,8 +206,8 @@ let ConflictException$1 = class ConflictException extends CodeGuruSecurityServic
206
206
  this.resourceId = opts.resourceId;
207
207
  this.resourceType = opts.resourceType;
208
208
  }
209
- };
210
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodeGuruSecurityServiceException$1 {
209
+ }
210
+ class ResourceNotFoundException extends CodeGuruSecurityServiceException {
211
211
  name = "ResourceNotFoundException";
212
212
  $fault = "client";
213
213
  errorCode;
@@ -224,7 +224,7 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodeGu
224
224
  this.resourceId = opts.resourceId;
225
225
  this.resourceType = opts.resourceType;
226
226
  }
227
- };
227
+ }
228
228
 
229
229
  const _ADE = "AccessDeniedException";
230
230
  const _AFM = "AccountFindingsMetric";
@@ -396,7 +396,7 @@ const _uA = "updatedAt";
396
396
  const _v = "vulnerability";
397
397
  const n0 = "com.amazonaws.codegurusecurity";
398
398
  var S3Url = [0, n0, _SU, 8, 0];
399
- var AccessDeniedException = [
399
+ var AccessDeniedException$ = [
400
400
  -3,
401
401
  n0,
402
402
  _ADE,
@@ -404,8 +404,8 @@ var AccessDeniedException = [
404
404
  [_eC, _m, _rI, _rT],
405
405
  [0, 0, 0, 0],
406
406
  ];
407
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
408
- var AccountFindingsMetric = [
407
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
408
+ var AccountFindingsMetric$ = [
409
409
  3,
410
410
  n0,
411
411
  _AFM,
@@ -413,15 +413,15 @@ var AccountFindingsMetric = [
413
413
  [_d, _nF, _cF, _oF, _mTTC],
414
414
  [
415
415
  4,
416
- () => FindingMetricsValuePerSeverity,
417
- () => FindingMetricsValuePerSeverity,
418
- () => FindingMetricsValuePerSeverity,
419
- () => FindingMetricsValuePerSeverity,
416
+ () => FindingMetricsValuePerSeverity$,
417
+ () => FindingMetricsValuePerSeverity$,
418
+ () => FindingMetricsValuePerSeverity$,
419
+ () => FindingMetricsValuePerSeverity$,
420
420
  ],
421
421
  ];
422
- var BatchGetFindingsError = [3, n0, _BGFE, 0, [_sN, _fI, _eC, _m], [0, 0, 0, 0]];
423
- var BatchGetFindingsRequest = [3, n0, _BGFR, 0, [_fIi], [() => FindingIdentifiers]];
424
- var BatchGetFindingsResponse = [
422
+ var BatchGetFindingsError$ = [3, n0, _BGFE, 0, [_sN, _fI, _eC, _m], [0, 0, 0, 0]];
423
+ var BatchGetFindingsRequest$ = [3, n0, _BGFR, 0, [_fIi], [() => FindingIdentifiers]];
424
+ var BatchGetFindingsResponse$ = [
425
425
  3,
426
426
  n0,
427
427
  _BGFRa,
@@ -429,9 +429,9 @@ var BatchGetFindingsResponse = [
429
429
  [_f, _fF],
430
430
  [() => Findings, () => BatchGetFindingsErrors],
431
431
  ];
432
- var CategoryWithFindingNum = [3, n0, _CWFN, 0, [_cN, _fN], [0, 1]];
433
- var CodeLine = [3, n0, _CL, 0, [_n, _co], [1, 0]];
434
- var ConflictException = [
432
+ var CategoryWithFindingNum$ = [3, n0, _CWFN, 0, [_cN, _fN], [0, 1]];
433
+ var CodeLine$ = [3, n0, _CL, 0, [_n, _co], [1, 0]];
434
+ var ConflictException$ = [
435
435
  -3,
436
436
  n0,
437
437
  _CE,
@@ -439,25 +439,25 @@ var ConflictException = [
439
439
  [_eC, _m, _rI, _rT],
440
440
  [0, 0, 0, 0],
441
441
  ];
442
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
443
- var CreateScanRequest = [
442
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
443
+ var CreateScanRequest$ = [
444
444
  3,
445
445
  n0,
446
446
  _CSR,
447
447
  0,
448
448
  [_cT, _rI, _sN, _sT, _aT, _t],
449
- [[0, 4], () => ResourceId, 0, 0, 0, 128 | 0],
449
+ [[0, 4], () => ResourceId$, 0, 0, 0, 128 | 0],
450
450
  ];
451
- var CreateScanResponse = [
451
+ var CreateScanResponse$ = [
452
452
  3,
453
453
  n0,
454
454
  _CSRr,
455
455
  0,
456
456
  [_sN, _rIu, _rI, _sS, _sNA],
457
- [0, 0, () => ResourceId, 0, 0],
457
+ [0, 0, () => ResourceId$, 0, 0],
458
458
  ];
459
- var CreateUploadUrlRequest = [3, n0, _CUUR, 0, [_sN], [0]];
460
- var CreateUploadUrlResponse = [
459
+ var CreateUploadUrlRequest$ = [3, n0, _CUUR, 0, [_sN], [0]];
460
+ var CreateUploadUrlResponse$ = [
461
461
  3,
462
462
  n0,
463
463
  _CUURr,
@@ -465,18 +465,25 @@ var CreateUploadUrlResponse = [
465
465
  [_sU, _rH, _cAI],
466
466
  [[() => S3Url, 0], [() => RequestHeaderMap, 0], 0],
467
467
  ];
468
- var EncryptionConfig = [3, n0, _EC, 0, [_kKA], [0]];
469
- var FilePath = [3, n0, _FP, 0, [_na, _p, _sL, _eL, _cS], [0, 0, 1, 1, () => CodeSnippet]];
470
- var Finding = [
468
+ var EncryptionConfig$ = [3, n0, _EC, 0, [_kKA], [0]];
469
+ var FilePath$ = [
470
+ 3,
471
+ n0,
472
+ _FP,
473
+ 0,
474
+ [_na, _p, _sL, _eL, _cS],
475
+ [0, 0, 1, 1, () => CodeSnippet],
476
+ ];
477
+ var Finding$ = [
471
478
  3,
472
479
  n0,
473
480
  _F,
474
481
  0,
475
482
  [_cA, _de, _gI, _i, _uA, _ty, _s, _r, _v, _se, _re, _ti, _dT, _dI, _dN, _rIul],
476
- [4, 0, 0, 0, 4, 0, 0, () => Resource, () => Vulnerability, 0, () => Remediation, 0, 64 | 0, 0, 0, 0],
483
+ [4, 0, 0, 0, 4, 0, 0, () => Resource$, () => Vulnerability$, 0, () => Remediation$, 0, 64 | 0, 0, 0, 0],
477
484
  ];
478
- var FindingIdentifier = [3, n0, _FI, 0, [_sN, _fI], [0, 0]];
479
- var FindingMetricsValuePerSeverity = [
485
+ var FindingIdentifier$ = [3, n0, _FI, 0, [_sN, _fI], [0, 0]];
486
+ var FindingMetricsValuePerSeverity$ = [
480
487
  3,
481
488
  n0,
482
489
  _FMVPS,
@@ -484,16 +491,16 @@ var FindingMetricsValuePerSeverity = [
484
491
  [_in, _l, _me, _h, _cr],
485
492
  [1, 1, 1, 1, 1],
486
493
  ];
487
- var GetAccountConfigurationRequest = [3, n0, _GACR, 0, [], []];
488
- var GetAccountConfigurationResponse = [
494
+ var GetAccountConfigurationRequest$ = [3, n0, _GACR, 0, [], []];
495
+ var GetAccountConfigurationResponse$ = [
489
496
  3,
490
497
  n0,
491
498
  _GACRe,
492
499
  0,
493
500
  [_eCn],
494
- [() => EncryptionConfig],
501
+ [() => EncryptionConfig$],
495
502
  ];
496
- var GetFindingsRequest = [
503
+ var GetFindingsRequest$ = [
497
504
  3,
498
505
  n0,
499
506
  _GFR,
@@ -506,10 +513,10 @@ var GetFindingsRequest = [
506
513
  [0, { [_hQ]: _s }],
507
514
  ],
508
515
  ];
509
- var GetFindingsResponse = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
510
- var GetMetricsSummaryRequest = [3, n0, _GMSR, 0, [_d], [[4, { [_hQ]: _d }]]];
511
- var GetMetricsSummaryResponse = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary]];
512
- var GetScanRequest = [
516
+ var GetFindingsResponse$ = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
517
+ var GetMetricsSummaryRequest$ = [3, n0, _GMSR, 0, [_d], [[4, { [_hQ]: _d }]]];
518
+ var GetMetricsSummaryResponse$ = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary$]];
519
+ var GetScanRequest$ = [
513
520
  3,
514
521
  n0,
515
522
  _GSR,
@@ -520,7 +527,7 @@ var GetScanRequest = [
520
527
  [0, { [_hQ]: _rIu }],
521
528
  ],
522
529
  ];
523
- var GetScanResponse = [
530
+ var GetScanResponse$ = [
524
531
  3,
525
532
  n0,
526
533
  _GSRe,
@@ -528,9 +535,9 @@ var GetScanResponse = [
528
535
  [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
529
536
  [0, 0, 0, 4, 0, 4, 1, 0, 0],
530
537
  ];
531
- var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_e, _m], [0, 0]];
532
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
533
- var ListFindingsMetricsRequest = [
538
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_e, _m], [0, 0]];
539
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
540
+ var ListFindingsMetricsRequest$ = [
534
541
  3,
535
542
  n0,
536
543
  _LFMR,
@@ -543,7 +550,7 @@ var ListFindingsMetricsRequest = [
543
550
  [4, { [_hQ]: _eD }],
544
551
  ],
545
552
  ];
546
- var ListFindingsMetricsResponse = [
553
+ var ListFindingsMetricsResponse$ = [
547
554
  3,
548
555
  n0,
549
556
  _LFMRi,
@@ -551,7 +558,7 @@ var ListFindingsMetricsResponse = [
551
558
  [_fM, _nT],
552
559
  [() => FindingsMetricList, 0],
553
560
  ];
554
- var ListScansRequest = [
561
+ var ListScansRequest$ = [
555
562
  3,
556
563
  n0,
557
564
  _LSR,
@@ -562,10 +569,10 @@ var ListScansRequest = [
562
569
  [1, { [_hQ]: _mR }],
563
570
  ],
564
571
  ];
565
- var ListScansResponse = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
566
- var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
567
- var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
568
- var MetricsSummary = [
572
+ var ListScansResponse$ = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
573
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
574
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
575
+ var MetricsSummary$ = [
569
576
  3,
570
577
  n0,
571
578
  _MS,
@@ -573,23 +580,23 @@ var MetricsSummary = [
573
580
  [_d, _oF, _cWMF, _sWMOF, _sWMOCF],
574
581
  [
575
582
  4,
576
- () => FindingMetricsValuePerSeverity,
583
+ () => FindingMetricsValuePerSeverity$,
577
584
  () => CategoriesWithMostFindings,
578
585
  () => ScansWithMostOpenFindings,
579
586
  () => ScansWithMostOpenCriticalFindings,
580
587
  ],
581
588
  ];
582
- var Recommendation = [3, n0, _R, 0, [_te, _u], [0, 0]];
583
- var Remediation = [
589
+ var Recommendation$ = [3, n0, _R, 0, [_te, _u], [0, 0]];
590
+ var Remediation$ = [
584
591
  3,
585
592
  n0,
586
593
  _Re,
587
594
  0,
588
595
  [_rec, _sF],
589
- [() => Recommendation, () => SuggestedFixes],
596
+ [() => Recommendation$, () => SuggestedFixes],
590
597
  ];
591
- var Resource = [3, n0, _Res, 0, [_i, _sRI], [0, 0]];
592
- var ResourceNotFoundException = [
598
+ var Resource$ = [3, n0, _Res, 0, [_i, _sRI], [0, 0]];
599
+ var ResourceNotFoundException$ = [
593
600
  -3,
594
601
  n0,
595
602
  _RNFE,
@@ -597,13 +604,13 @@ var ResourceNotFoundException = [
597
604
  [_eC, _m, _rI, _rT],
598
605
  [0, 0, 0, 0],
599
606
  ];
600
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
601
- var ScanNameWithFindingNum = [3, n0, _SNWFN, 0, [_sN, _fN], [0, 1]];
602
- var ScanSummary = [3, n0, _SS, 0, [_sS, _cA, _uA, _sN, _rIu, _sNA], [0, 4, 4, 0, 0, 0]];
603
- var SuggestedFix = [3, n0, _SF, 0, [_de, _cod], [0, 0]];
604
- var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
605
- var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
606
- var ThrottlingException = [
607
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
608
+ var ScanNameWithFindingNum$ = [3, n0, _SNWFN, 0, [_sN, _fN], [0, 1]];
609
+ var ScanSummary$ = [3, n0, _SS, 0, [_sS, _cA, _uA, _sN, _rIu, _sNA], [0, 4, 4, 0, 0, 0]];
610
+ var SuggestedFix$ = [3, n0, _SF, 0, [_de, _cod], [0, 0]];
611
+ var TagResourceRequest$ = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
612
+ var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
613
+ var ThrottlingException$ = [
607
614
  -3,
608
615
  n0,
609
616
  _TE,
@@ -611,8 +618,8 @@ var ThrottlingException = [
611
618
  [_eC, _m, _sC, _qC],
612
619
  [0, 0, 0, 0],
613
620
  ];
614
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
615
- var UntagResourceRequest = [
621
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
622
+ var UntagResourceRequest$ = [
616
623
  3,
617
624
  n0,
618
625
  _URR,
@@ -623,24 +630,24 @@ var UntagResourceRequest = [
623
630
  [64 | 0, { [_hQ]: _tK }],
624
631
  ],
625
632
  ];
626
- var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
627
- var UpdateAccountConfigurationRequest = [
633
+ var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
634
+ var UpdateAccountConfigurationRequest$ = [
628
635
  3,
629
636
  n0,
630
637
  _UACR,
631
638
  0,
632
639
  [_eCn],
633
- [() => EncryptionConfig],
640
+ [() => EncryptionConfig$],
634
641
  ];
635
- var UpdateAccountConfigurationResponse = [
642
+ var UpdateAccountConfigurationResponse$ = [
636
643
  3,
637
644
  n0,
638
645
  _UACRp,
639
646
  0,
640
647
  [_eCn],
641
- [() => EncryptionConfig],
648
+ [() => EncryptionConfig$],
642
649
  ];
643
- var ValidationException = [
650
+ var ValidationException$ = [
644
651
  -3,
645
652
  n0,
646
653
  _VE,
@@ -648,17 +655,17 @@ var ValidationException = [
648
655
  [_eC, _m, _rea, _fL],
649
656
  [0, 0, 0, () => ValidationExceptionFieldList],
650
657
  ];
651
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
652
- var ValidationExceptionField = [3, n0, _VEF, 0, [_na, _m], [0, 0]];
653
- var Vulnerability = [
658
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
659
+ var ValidationExceptionField$ = [3, n0, _VEF, 0, [_na, _m], [0, 0]];
660
+ var Vulnerability$ = [
654
661
  3,
655
662
  n0,
656
663
  _V,
657
664
  0,
658
665
  [_rU, _rV, _i, _fP, _iC],
659
- [64 | 0, 64 | 0, 0, () => FilePath, 1],
666
+ [64 | 0, 64 | 0, 0, () => FilePath$, 1],
660
667
  ];
661
- var CodeGuruSecurityServiceException = [
668
+ var CodeGuruSecurityServiceException$ = [
662
669
  -3,
663
670
  _sm,
664
671
  "CodeGuruSecurityServiceException",
@@ -666,123 +673,123 @@ var CodeGuruSecurityServiceException = [
666
673
  [],
667
674
  [],
668
675
  ];
669
- schema.TypeRegistry.for(_sm).registerError(CodeGuruSecurityServiceException, CodeGuruSecurityServiceException$1);
670
- var BatchGetFindingsErrors = [1, n0, _BGFEa, 0, () => BatchGetFindingsError];
671
- var CategoriesWithMostFindings = [1, n0, _CWMF, 0, () => CategoryWithFindingNum];
672
- var CodeSnippet = [1, n0, _CS, 0, () => CodeLine];
673
- var FindingIdentifiers = [1, n0, _FIi, 0, () => FindingIdentifier];
674
- var Findings = [1, n0, _Fi, 0, () => Finding];
675
- var FindingsMetricList = [1, n0, _FML, 0, () => AccountFindingsMetric];
676
- var ScanSummaries = [1, n0, _SSc, 0, () => ScanSummary];
677
- var ScansWithMostOpenCriticalFindings = [1, n0, _SWMOCF, 0, () => ScanNameWithFindingNum];
678
- var ScansWithMostOpenFindings = [1, n0, _SWMOF, 0, () => ScanNameWithFindingNum];
679
- var SuggestedFixes = [1, n0, _SFu, 0, () => SuggestedFix];
680
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
676
+ schema.TypeRegistry.for(_sm).registerError(CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException);
677
+ var BatchGetFindingsErrors = [1, n0, _BGFEa, 0, () => BatchGetFindingsError$];
678
+ var CategoriesWithMostFindings = [1, n0, _CWMF, 0, () => CategoryWithFindingNum$];
679
+ var CodeSnippet = [1, n0, _CS, 0, () => CodeLine$];
680
+ var FindingIdentifiers = [1, n0, _FIi, 0, () => FindingIdentifier$];
681
+ var Findings = [1, n0, _Fi, 0, () => Finding$];
682
+ var FindingsMetricList = [1, n0, _FML, 0, () => AccountFindingsMetric$];
683
+ var ScanSummaries = [1, n0, _SSc, 0, () => ScanSummary$];
684
+ var ScansWithMostOpenCriticalFindings = [1, n0, _SWMOCF, 0, () => ScanNameWithFindingNum$];
685
+ var ScansWithMostOpenFindings = [1, n0, _SWMOF, 0, () => ScanNameWithFindingNum$];
686
+ var SuggestedFixes = [1, n0, _SFu, 0, () => SuggestedFix$];
687
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
681
688
  var RequestHeaderMap = [2, n0, _RHM, 8, 0, 0];
682
- var ResourceId = [3, n0, _RI, 0, [_cAI], [0]];
683
- var BatchGetFindings = [
689
+ var ResourceId$ = [3, n0, _RI, 0, [_cAI], [0]];
690
+ var BatchGetFindings$ = [
684
691
  9,
685
692
  n0,
686
693
  _BGF,
687
694
  { [_ht]: ["POST", "/batchGetFindings", 200] },
688
- () => BatchGetFindingsRequest,
689
- () => BatchGetFindingsResponse,
695
+ () => BatchGetFindingsRequest$,
696
+ () => BatchGetFindingsResponse$,
690
697
  ];
691
- var CreateScan = [
698
+ var CreateScan$ = [
692
699
  9,
693
700
  n0,
694
701
  _CSr,
695
702
  { [_ht]: ["POST", "/scans", 200] },
696
- () => CreateScanRequest,
697
- () => CreateScanResponse,
703
+ () => CreateScanRequest$,
704
+ () => CreateScanResponse$,
698
705
  ];
699
- var CreateUploadUrl = [
706
+ var CreateUploadUrl$ = [
700
707
  9,
701
708
  n0,
702
709
  _CUU,
703
710
  { [_ht]: ["POST", "/uploadUrl", 200] },
704
- () => CreateUploadUrlRequest,
705
- () => CreateUploadUrlResponse,
711
+ () => CreateUploadUrlRequest$,
712
+ () => CreateUploadUrlResponse$,
706
713
  ];
707
- var GetAccountConfiguration = [
714
+ var GetAccountConfiguration$ = [
708
715
  9,
709
716
  n0,
710
717
  _GAC,
711
718
  { [_ht]: ["GET", "/accountConfiguration/get", 200] },
712
- () => GetAccountConfigurationRequest,
713
- () => GetAccountConfigurationResponse,
719
+ () => GetAccountConfigurationRequest$,
720
+ () => GetAccountConfigurationResponse$,
714
721
  ];
715
- var GetFindings = [
722
+ var GetFindings$ = [
716
723
  9,
717
724
  n0,
718
725
  _GF,
719
726
  { [_ht]: ["GET", "/findings/{scanName}", 200] },
720
- () => GetFindingsRequest,
721
- () => GetFindingsResponse,
727
+ () => GetFindingsRequest$,
728
+ () => GetFindingsResponse$,
722
729
  ];
723
- var GetMetricsSummary = [
730
+ var GetMetricsSummary$ = [
724
731
  9,
725
732
  n0,
726
733
  _GMS,
727
734
  { [_ht]: ["GET", "/metrics/summary", 200] },
728
- () => GetMetricsSummaryRequest,
729
- () => GetMetricsSummaryResponse,
735
+ () => GetMetricsSummaryRequest$,
736
+ () => GetMetricsSummaryResponse$,
730
737
  ];
731
- var GetScan = [
738
+ var GetScan$ = [
732
739
  9,
733
740
  n0,
734
741
  _GS,
735
742
  { [_ht]: ["GET", "/scans/{scanName}", 200] },
736
- () => GetScanRequest,
737
- () => GetScanResponse,
743
+ () => GetScanRequest$,
744
+ () => GetScanResponse$,
738
745
  ];
739
- var ListFindingsMetrics = [
746
+ var ListFindingsMetrics$ = [
740
747
  9,
741
748
  n0,
742
749
  _LFM,
743
750
  { [_ht]: ["GET", "/metrics/findings", 200] },
744
- () => ListFindingsMetricsRequest,
745
- () => ListFindingsMetricsResponse,
751
+ () => ListFindingsMetricsRequest$,
752
+ () => ListFindingsMetricsResponse$,
746
753
  ];
747
- var ListScans = [
754
+ var ListScans$ = [
748
755
  9,
749
756
  n0,
750
757
  _LS,
751
758
  { [_ht]: ["GET", "/scans", 200] },
752
- () => ListScansRequest,
753
- () => ListScansResponse,
759
+ () => ListScansRequest$,
760
+ () => ListScansResponse$,
754
761
  ];
755
- var ListTagsForResource = [
762
+ var ListTagsForResource$ = [
756
763
  9,
757
764
  n0,
758
765
  _LTFR,
759
766
  { [_ht]: ["GET", "/tags/{resourceArn}", 200] },
760
- () => ListTagsForResourceRequest,
761
- () => ListTagsForResourceResponse,
767
+ () => ListTagsForResourceRequest$,
768
+ () => ListTagsForResourceResponse$,
762
769
  ];
763
- var TagResource = [
770
+ var TagResource$ = [
764
771
  9,
765
772
  n0,
766
773
  _TR,
767
774
  { [_ht]: ["POST", "/tags/{resourceArn}", 204] },
768
- () => TagResourceRequest,
769
- () => TagResourceResponse,
775
+ () => TagResourceRequest$,
776
+ () => TagResourceResponse$,
770
777
  ];
771
- var UntagResource = [
778
+ var UntagResource$ = [
772
779
  9,
773
780
  n0,
774
781
  _UR,
775
782
  { [_ht]: ["DELETE", "/tags/{resourceArn}", 204] },
776
- () => UntagResourceRequest,
777
- () => UntagResourceResponse,
783
+ () => UntagResourceRequest$,
784
+ () => UntagResourceResponse$,
778
785
  ];
779
- var UpdateAccountConfiguration = [
786
+ var UpdateAccountConfiguration$ = [
780
787
  9,
781
788
  n0,
782
789
  _UAC,
783
790
  { [_ht]: ["PUT", "/updateAccountConfiguration", 200] },
784
- () => UpdateAccountConfigurationRequest,
785
- () => UpdateAccountConfigurationResponse,
791
+ () => UpdateAccountConfigurationRequest$,
792
+ () => UpdateAccountConfigurationResponse$,
786
793
  ];
787
794
 
788
795
  class BatchGetFindingsCommand extends smithyClient.Command
@@ -793,7 +800,7 @@ class BatchGetFindingsCommand extends smithyClient.Command
793
800
  })
794
801
  .s("AwsCodeGuruSecurity", "BatchGetFindings", {})
795
802
  .n("CodeGuruSecurityClient", "BatchGetFindingsCommand")
796
- .sc(BatchGetFindings)
803
+ .sc(BatchGetFindings$)
797
804
  .build() {
798
805
  }
799
806
 
@@ -805,7 +812,7 @@ class CreateScanCommand extends smithyClient.Command
805
812
  })
806
813
  .s("AwsCodeGuruSecurity", "CreateScan", {})
807
814
  .n("CodeGuruSecurityClient", "CreateScanCommand")
808
- .sc(CreateScan)
815
+ .sc(CreateScan$)
809
816
  .build() {
810
817
  }
811
818
 
@@ -817,7 +824,7 @@ class CreateUploadUrlCommand extends smithyClient.Command
817
824
  })
818
825
  .s("AwsCodeGuruSecurity", "CreateUploadUrl", {})
819
826
  .n("CodeGuruSecurityClient", "CreateUploadUrlCommand")
820
- .sc(CreateUploadUrl)
827
+ .sc(CreateUploadUrl$)
821
828
  .build() {
822
829
  }
823
830
 
@@ -829,7 +836,7 @@ class GetAccountConfigurationCommand extends smithyClient.Command
829
836
  })
830
837
  .s("AwsCodeGuruSecurity", "GetAccountConfiguration", {})
831
838
  .n("CodeGuruSecurityClient", "GetAccountConfigurationCommand")
832
- .sc(GetAccountConfiguration)
839
+ .sc(GetAccountConfiguration$)
833
840
  .build() {
834
841
  }
835
842
 
@@ -841,7 +848,7 @@ class GetFindingsCommand extends smithyClient.Command
841
848
  })
842
849
  .s("AwsCodeGuruSecurity", "GetFindings", {})
843
850
  .n("CodeGuruSecurityClient", "GetFindingsCommand")
844
- .sc(GetFindings)
851
+ .sc(GetFindings$)
845
852
  .build() {
846
853
  }
847
854
 
@@ -853,7 +860,7 @@ class GetMetricsSummaryCommand extends smithyClient.Command
853
860
  })
854
861
  .s("AwsCodeGuruSecurity", "GetMetricsSummary", {})
855
862
  .n("CodeGuruSecurityClient", "GetMetricsSummaryCommand")
856
- .sc(GetMetricsSummary)
863
+ .sc(GetMetricsSummary$)
857
864
  .build() {
858
865
  }
859
866
 
@@ -865,7 +872,7 @@ class GetScanCommand extends smithyClient.Command
865
872
  })
866
873
  .s("AwsCodeGuruSecurity", "GetScan", {})
867
874
  .n("CodeGuruSecurityClient", "GetScanCommand")
868
- .sc(GetScan)
875
+ .sc(GetScan$)
869
876
  .build() {
870
877
  }
871
878
 
@@ -877,7 +884,7 @@ class ListFindingsMetricsCommand extends smithyClient.Command
877
884
  })
878
885
  .s("AwsCodeGuruSecurity", "ListFindingsMetrics", {})
879
886
  .n("CodeGuruSecurityClient", "ListFindingsMetricsCommand")
880
- .sc(ListFindingsMetrics)
887
+ .sc(ListFindingsMetrics$)
881
888
  .build() {
882
889
  }
883
890
 
@@ -889,7 +896,7 @@ class ListScansCommand extends smithyClient.Command
889
896
  })
890
897
  .s("AwsCodeGuruSecurity", "ListScans", {})
891
898
  .n("CodeGuruSecurityClient", "ListScansCommand")
892
- .sc(ListScans)
899
+ .sc(ListScans$)
893
900
  .build() {
894
901
  }
895
902
 
@@ -901,7 +908,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
901
908
  })
902
909
  .s("AwsCodeGuruSecurity", "ListTagsForResource", {})
903
910
  .n("CodeGuruSecurityClient", "ListTagsForResourceCommand")
904
- .sc(ListTagsForResource)
911
+ .sc(ListTagsForResource$)
905
912
  .build() {
906
913
  }
907
914
 
@@ -913,7 +920,7 @@ class TagResourceCommand extends smithyClient.Command
913
920
  })
914
921
  .s("AwsCodeGuruSecurity", "TagResource", {})
915
922
  .n("CodeGuruSecurityClient", "TagResourceCommand")
916
- .sc(TagResource)
923
+ .sc(TagResource$)
917
924
  .build() {
918
925
  }
919
926
 
@@ -925,7 +932,7 @@ class UntagResourceCommand extends smithyClient.Command
925
932
  })
926
933
  .s("AwsCodeGuruSecurity", "UntagResource", {})
927
934
  .n("CodeGuruSecurityClient", "UntagResourceCommand")
928
- .sc(UntagResource)
935
+ .sc(UntagResource$)
929
936
  .build() {
930
937
  }
931
938
 
@@ -937,7 +944,7 @@ class UpdateAccountConfigurationCommand extends smithyClient.Command
937
944
  })
938
945
  .s("AwsCodeGuruSecurity", "UpdateAccountConfiguration", {})
939
946
  .n("CodeGuruSecurityClient", "UpdateAccountConfigurationCommand")
940
- .sc(UpdateAccountConfiguration)
947
+ .sc(UpdateAccountConfiguration$)
941
948
  .build() {
942
949
  }
943
950
 
@@ -1014,35 +1021,100 @@ Object.defineProperty(exports, "__Client", {
1014
1021
  enumerable: true,
1015
1022
  get: function () { return smithyClient.Client; }
1016
1023
  });
1017
- exports.AccessDeniedException = AccessDeniedException$1;
1024
+ exports.AccessDeniedException = AccessDeniedException;
1025
+ exports.AccessDeniedException$ = AccessDeniedException$;
1026
+ exports.AccountFindingsMetric$ = AccountFindingsMetric$;
1018
1027
  exports.AnalysisType = AnalysisType;
1028
+ exports.BatchGetFindings$ = BatchGetFindings$;
1019
1029
  exports.BatchGetFindingsCommand = BatchGetFindingsCommand;
1030
+ exports.BatchGetFindingsError$ = BatchGetFindingsError$;
1031
+ exports.BatchGetFindingsRequest$ = BatchGetFindingsRequest$;
1032
+ exports.BatchGetFindingsResponse$ = BatchGetFindingsResponse$;
1033
+ exports.CategoryWithFindingNum$ = CategoryWithFindingNum$;
1020
1034
  exports.CodeGuruSecurity = CodeGuruSecurity;
1021
1035
  exports.CodeGuruSecurityClient = CodeGuruSecurityClient;
1022
- exports.CodeGuruSecurityServiceException = CodeGuruSecurityServiceException$1;
1023
- exports.ConflictException = ConflictException$1;
1036
+ exports.CodeGuruSecurityServiceException = CodeGuruSecurityServiceException;
1037
+ exports.CodeGuruSecurityServiceException$ = CodeGuruSecurityServiceException$;
1038
+ exports.CodeLine$ = CodeLine$;
1039
+ exports.ConflictException = ConflictException;
1040
+ exports.ConflictException$ = ConflictException$;
1041
+ exports.CreateScan$ = CreateScan$;
1024
1042
  exports.CreateScanCommand = CreateScanCommand;
1043
+ exports.CreateScanRequest$ = CreateScanRequest$;
1044
+ exports.CreateScanResponse$ = CreateScanResponse$;
1045
+ exports.CreateUploadUrl$ = CreateUploadUrl$;
1025
1046
  exports.CreateUploadUrlCommand = CreateUploadUrlCommand;
1047
+ exports.CreateUploadUrlRequest$ = CreateUploadUrlRequest$;
1048
+ exports.CreateUploadUrlResponse$ = CreateUploadUrlResponse$;
1049
+ exports.EncryptionConfig$ = EncryptionConfig$;
1026
1050
  exports.ErrorCode = ErrorCode;
1051
+ exports.FilePath$ = FilePath$;
1052
+ exports.Finding$ = Finding$;
1053
+ exports.FindingIdentifier$ = FindingIdentifier$;
1054
+ exports.FindingMetricsValuePerSeverity$ = FindingMetricsValuePerSeverity$;
1055
+ exports.GetAccountConfiguration$ = GetAccountConfiguration$;
1027
1056
  exports.GetAccountConfigurationCommand = GetAccountConfigurationCommand;
1057
+ exports.GetAccountConfigurationRequest$ = GetAccountConfigurationRequest$;
1058
+ exports.GetAccountConfigurationResponse$ = GetAccountConfigurationResponse$;
1059
+ exports.GetFindings$ = GetFindings$;
1028
1060
  exports.GetFindingsCommand = GetFindingsCommand;
1061
+ exports.GetFindingsRequest$ = GetFindingsRequest$;
1062
+ exports.GetFindingsResponse$ = GetFindingsResponse$;
1063
+ exports.GetMetricsSummary$ = GetMetricsSummary$;
1029
1064
  exports.GetMetricsSummaryCommand = GetMetricsSummaryCommand;
1065
+ exports.GetMetricsSummaryRequest$ = GetMetricsSummaryRequest$;
1066
+ exports.GetMetricsSummaryResponse$ = GetMetricsSummaryResponse$;
1067
+ exports.GetScan$ = GetScan$;
1030
1068
  exports.GetScanCommand = GetScanCommand;
1031
- exports.InternalServerException = InternalServerException$1;
1069
+ exports.GetScanRequest$ = GetScanRequest$;
1070
+ exports.GetScanResponse$ = GetScanResponse$;
1071
+ exports.InternalServerException = InternalServerException;
1072
+ exports.InternalServerException$ = InternalServerException$;
1073
+ exports.ListFindingsMetrics$ = ListFindingsMetrics$;
1032
1074
  exports.ListFindingsMetricsCommand = ListFindingsMetricsCommand;
1075
+ exports.ListFindingsMetricsRequest$ = ListFindingsMetricsRequest$;
1076
+ exports.ListFindingsMetricsResponse$ = ListFindingsMetricsResponse$;
1077
+ exports.ListScans$ = ListScans$;
1033
1078
  exports.ListScansCommand = ListScansCommand;
1079
+ exports.ListScansRequest$ = ListScansRequest$;
1080
+ exports.ListScansResponse$ = ListScansResponse$;
1081
+ exports.ListTagsForResource$ = ListTagsForResource$;
1034
1082
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1035
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
1083
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1084
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1085
+ exports.MetricsSummary$ = MetricsSummary$;
1086
+ exports.Recommendation$ = Recommendation$;
1087
+ exports.Remediation$ = Remediation$;
1088
+ exports.Resource$ = Resource$;
1089
+ exports.ResourceId$ = ResourceId$;
1090
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1091
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1092
+ exports.ScanNameWithFindingNum$ = ScanNameWithFindingNum$;
1036
1093
  exports.ScanState = ScanState;
1094
+ exports.ScanSummary$ = ScanSummary$;
1037
1095
  exports.ScanType = ScanType;
1038
1096
  exports.Severity = Severity;
1039
1097
  exports.Status = Status;
1098
+ exports.SuggestedFix$ = SuggestedFix$;
1099
+ exports.TagResource$ = TagResource$;
1040
1100
  exports.TagResourceCommand = TagResourceCommand;
1041
- exports.ThrottlingException = ThrottlingException$1;
1101
+ exports.TagResourceRequest$ = TagResourceRequest$;
1102
+ exports.TagResourceResponse$ = TagResourceResponse$;
1103
+ exports.ThrottlingException = ThrottlingException;
1104
+ exports.ThrottlingException$ = ThrottlingException$;
1105
+ exports.UntagResource$ = UntagResource$;
1042
1106
  exports.UntagResourceCommand = UntagResourceCommand;
1107
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1108
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1109
+ exports.UpdateAccountConfiguration$ = UpdateAccountConfiguration$;
1043
1110
  exports.UpdateAccountConfigurationCommand = UpdateAccountConfigurationCommand;
1044
- exports.ValidationException = ValidationException$1;
1111
+ exports.UpdateAccountConfigurationRequest$ = UpdateAccountConfigurationRequest$;
1112
+ exports.UpdateAccountConfigurationResponse$ = UpdateAccountConfigurationResponse$;
1113
+ exports.ValidationException = ValidationException;
1114
+ exports.ValidationException$ = ValidationException$;
1115
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
1045
1116
  exports.ValidationExceptionReason = ValidationExceptionReason;
1117
+ exports.Vulnerability$ = Vulnerability$;
1046
1118
  exports.paginateGetFindings = paginateGetFindings;
1047
1119
  exports.paginateListFindingsMetrics = paginateListFindingsMetrics;
1048
1120
  exports.paginateListScans = paginateListScans;