@aws-sdk/client-codeguru-security 3.940.0 → 3.946.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 (43) hide show
  1. package/dist-cjs/index.js +31 -151
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/CodeGuruSecurityClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +31 -151
  8. package/dist-types/CodeGuruSecurity.d.ts +1 -1
  9. package/dist-types/CodeGuruSecurityClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/BatchGetFindingsCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateScanCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateUploadUrlCommand.d.ts +3 -3
  15. package/dist-types/commands/GetAccountConfigurationCommand.d.ts +3 -3
  16. package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
  17. package/dist-types/commands/GetMetricsSummaryCommand.d.ts +3 -3
  18. package/dist-types/commands/GetScanCommand.d.ts +3 -3
  19. package/dist-types/commands/ListFindingsMetricsCommand.d.ts +3 -3
  20. package/dist-types/commands/ListScansCommand.d.ts +3 -3
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  22. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  23. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  24. package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +3 -3
  25. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  26. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  27. package/dist-types/extensionConfiguration.d.ts +4 -4
  28. package/dist-types/models/CodeGuruSecurityServiceException.d.ts +1 -1
  29. package/dist-types/models/errors.d.ts +1 -1
  30. package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/Interfaces.d.ts +1 -1
  32. package/dist-types/pagination/ListFindingsMetricsPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListScansPaginator.d.ts +1 -1
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  38. package/dist-types/runtimeExtensions.d.ts +1 -1
  39. package/dist-types/schemas/schemas_0.d.ts +1 -1
  40. package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +3 -3
  41. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  42. package/dist-types/ts3.4/models/CodeGuruSecurityServiceException.d.ts +1 -1
  43. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -400,10 +400,7 @@ var AccessDeniedException = [
400
400
  -3,
401
401
  n0,
402
402
  _ADE,
403
- {
404
- [_e]: _c,
405
- [_hE]: 403,
406
- },
403
+ { [_e]: _c, [_hE]: 403 },
407
404
  [_eC, _m, _rI, _rT],
408
405
  [0, 0, 0, 0],
409
406
  ];
@@ -438,10 +435,7 @@ var ConflictException = [
438
435
  -3,
439
436
  n0,
440
437
  _CE,
441
- {
442
- [_e]: _c,
443
- [_hE]: 409,
444
- },
438
+ { [_e]: _c, [_hE]: 409 },
445
439
  [_eC, _m, _rI, _rT],
446
440
  [0, 0, 0, 0],
447
441
  ];
@@ -507,42 +501,13 @@ var GetFindingsRequest = [
507
501
  [_sN, _nT, _mR, _s],
508
502
  [
509
503
  [0, 1],
510
- [
511
- 0,
512
- {
513
- [_hQ]: _nT,
514
- },
515
- ],
516
- [
517
- 1,
518
- {
519
- [_hQ]: _mR,
520
- },
521
- ],
522
- [
523
- 0,
524
- {
525
- [_hQ]: _s,
526
- },
527
- ],
504
+ [0, { [_hQ]: _nT }],
505
+ [1, { [_hQ]: _mR }],
506
+ [0, { [_hQ]: _s }],
528
507
  ],
529
508
  ];
530
509
  var GetFindingsResponse = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
531
- var GetMetricsSummaryRequest = [
532
- 3,
533
- n0,
534
- _GMSR,
535
- 0,
536
- [_d],
537
- [
538
- [
539
- 4,
540
- {
541
- [_hQ]: _d,
542
- },
543
- ],
544
- ],
545
- ];
510
+ var GetMetricsSummaryRequest = [3, n0, _GMSR, 0, [_d], [[4, { [_hQ]: _d }]]];
546
511
  var GetMetricsSummaryResponse = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary]];
547
512
  var GetScanRequest = [
548
513
  3,
@@ -552,12 +517,7 @@ var GetScanRequest = [
552
517
  [_sN, _rIu],
553
518
  [
554
519
  [0, 1],
555
- [
556
- 0,
557
- {
558
- [_hQ]: _rIu,
559
- },
560
- ],
520
+ [0, { [_hQ]: _rIu }],
561
521
  ],
562
522
  ];
563
523
  var GetScanResponse = [
@@ -568,17 +528,7 @@ var GetScanResponse = [
568
528
  [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
569
529
  [0, 0, 0, 4, 0, 4, 1, 0, 0],
570
530
  ];
571
- var InternalServerException = [
572
- -3,
573
- n0,
574
- _ISE,
575
- {
576
- [_e]: _ser,
577
- [_hE]: 500,
578
- },
579
- [_e, _m],
580
- [0, 0],
581
- ];
531
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_e, _m], [0, 0]];
582
532
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
583
533
  var ListFindingsMetricsRequest = [
584
534
  3,
@@ -587,30 +537,10 @@ var ListFindingsMetricsRequest = [
587
537
  0,
588
538
  [_nT, _mR, _sD, _eD],
589
539
  [
590
- [
591
- 0,
592
- {
593
- [_hQ]: _nT,
594
- },
595
- ],
596
- [
597
- 1,
598
- {
599
- [_hQ]: _mR,
600
- },
601
- ],
602
- [
603
- 4,
604
- {
605
- [_hQ]: _sD,
606
- },
607
- ],
608
- [
609
- 4,
610
- {
611
- [_hQ]: _eD,
612
- },
613
- ],
540
+ [0, { [_hQ]: _nT }],
541
+ [1, { [_hQ]: _mR }],
542
+ [4, { [_hQ]: _sD }],
543
+ [4, { [_hQ]: _eD }],
614
544
  ],
615
545
  ];
616
546
  var ListFindingsMetricsResponse = [
@@ -628,18 +558,8 @@ var ListScansRequest = [
628
558
  0,
629
559
  [_nT, _mR],
630
560
  [
631
- [
632
- 0,
633
- {
634
- [_hQ]: _nT,
635
- },
636
- ],
637
- [
638
- 1,
639
- {
640
- [_hQ]: _mR,
641
- },
642
- ],
561
+ [0, { [_hQ]: _nT }],
562
+ [1, { [_hQ]: _mR }],
643
563
  ],
644
564
  ];
645
565
  var ListScansResponse = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
@@ -673,10 +593,7 @@ var ResourceNotFoundException = [
673
593
  -3,
674
594
  n0,
675
595
  _RNFE,
676
- {
677
- [_e]: _c,
678
- [_hE]: 404,
679
- },
596
+ { [_e]: _c, [_hE]: 404 },
680
597
  [_eC, _m, _rI, _rT],
681
598
  [0, 0, 0, 0],
682
599
  ];
@@ -690,10 +607,7 @@ var ThrottlingException = [
690
607
  -3,
691
608
  n0,
692
609
  _TE,
693
- {
694
- [_e]: _c,
695
- [_hE]: 429,
696
- },
610
+ { [_e]: _c, [_hE]: 429 },
697
611
  [_eC, _m, _sC, _qC],
698
612
  [0, 0, 0, 0],
699
613
  ];
@@ -706,12 +620,7 @@ var UntagResourceRequest = [
706
620
  [_rA, _tK],
707
621
  [
708
622
  [0, 1],
709
- [
710
- 64 | 0,
711
- {
712
- [_hQ]: _tK,
713
- },
714
- ],
623
+ [64 | 0, { [_hQ]: _tK }],
715
624
  ],
716
625
  ];
717
626
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -735,10 +644,7 @@ var ValidationException = [
735
644
  -3,
736
645
  n0,
737
646
  _VE,
738
- {
739
- [_e]: _c,
740
- [_hE]: 400,
741
- },
647
+ { [_e]: _c, [_hE]: 400 },
742
648
  [_eC, _m, _rea, _fL],
743
649
  [0, 0, 0, () => ValidationExceptionFieldList],
744
650
  ];
@@ -778,9 +684,7 @@ var BatchGetFindings = [
778
684
  9,
779
685
  n0,
780
686
  _BGF,
781
- {
782
- [_ht]: ["POST", "/batchGetFindings", 200],
783
- },
687
+ { [_ht]: ["POST", "/batchGetFindings", 200] },
784
688
  () => BatchGetFindingsRequest,
785
689
  () => BatchGetFindingsResponse,
786
690
  ];
@@ -788,9 +692,7 @@ var CreateScan = [
788
692
  9,
789
693
  n0,
790
694
  _CSr,
791
- {
792
- [_ht]: ["POST", "/scans", 200],
793
- },
695
+ { [_ht]: ["POST", "/scans", 200] },
794
696
  () => CreateScanRequest,
795
697
  () => CreateScanResponse,
796
698
  ];
@@ -798,9 +700,7 @@ var CreateUploadUrl = [
798
700
  9,
799
701
  n0,
800
702
  _CUU,
801
- {
802
- [_ht]: ["POST", "/uploadUrl", 200],
803
- },
703
+ { [_ht]: ["POST", "/uploadUrl", 200] },
804
704
  () => CreateUploadUrlRequest,
805
705
  () => CreateUploadUrlResponse,
806
706
  ];
@@ -808,9 +708,7 @@ var GetAccountConfiguration = [
808
708
  9,
809
709
  n0,
810
710
  _GAC,
811
- {
812
- [_ht]: ["GET", "/accountConfiguration/get", 200],
813
- },
711
+ { [_ht]: ["GET", "/accountConfiguration/get", 200] },
814
712
  () => GetAccountConfigurationRequest,
815
713
  () => GetAccountConfigurationResponse,
816
714
  ];
@@ -818,9 +716,7 @@ var GetFindings = [
818
716
  9,
819
717
  n0,
820
718
  _GF,
821
- {
822
- [_ht]: ["GET", "/findings/{scanName}", 200],
823
- },
719
+ { [_ht]: ["GET", "/findings/{scanName}", 200] },
824
720
  () => GetFindingsRequest,
825
721
  () => GetFindingsResponse,
826
722
  ];
@@ -828,9 +724,7 @@ var GetMetricsSummary = [
828
724
  9,
829
725
  n0,
830
726
  _GMS,
831
- {
832
- [_ht]: ["GET", "/metrics/summary", 200],
833
- },
727
+ { [_ht]: ["GET", "/metrics/summary", 200] },
834
728
  () => GetMetricsSummaryRequest,
835
729
  () => GetMetricsSummaryResponse,
836
730
  ];
@@ -838,9 +732,7 @@ var GetScan = [
838
732
  9,
839
733
  n0,
840
734
  _GS,
841
- {
842
- [_ht]: ["GET", "/scans/{scanName}", 200],
843
- },
735
+ { [_ht]: ["GET", "/scans/{scanName}", 200] },
844
736
  () => GetScanRequest,
845
737
  () => GetScanResponse,
846
738
  ];
@@ -848,9 +740,7 @@ var ListFindingsMetrics = [
848
740
  9,
849
741
  n0,
850
742
  _LFM,
851
- {
852
- [_ht]: ["GET", "/metrics/findings", 200],
853
- },
743
+ { [_ht]: ["GET", "/metrics/findings", 200] },
854
744
  () => ListFindingsMetricsRequest,
855
745
  () => ListFindingsMetricsResponse,
856
746
  ];
@@ -858,9 +748,7 @@ var ListScans = [
858
748
  9,
859
749
  n0,
860
750
  _LS,
861
- {
862
- [_ht]: ["GET", "/scans", 200],
863
- },
751
+ { [_ht]: ["GET", "/scans", 200] },
864
752
  () => ListScansRequest,
865
753
  () => ListScansResponse,
866
754
  ];
@@ -868,9 +756,7 @@ var ListTagsForResource = [
868
756
  9,
869
757
  n0,
870
758
  _LTFR,
871
- {
872
- [_ht]: ["GET", "/tags/{resourceArn}", 200],
873
- },
759
+ { [_ht]: ["GET", "/tags/{resourceArn}", 200] },
874
760
  () => ListTagsForResourceRequest,
875
761
  () => ListTagsForResourceResponse,
876
762
  ];
@@ -878,9 +764,7 @@ var TagResource = [
878
764
  9,
879
765
  n0,
880
766
  _TR,
881
- {
882
- [_ht]: ["POST", "/tags/{resourceArn}", 204],
883
- },
767
+ { [_ht]: ["POST", "/tags/{resourceArn}", 204] },
884
768
  () => TagResourceRequest,
885
769
  () => TagResourceResponse,
886
770
  ];
@@ -888,9 +772,7 @@ var UntagResource = [
888
772
  9,
889
773
  n0,
890
774
  _UR,
891
- {
892
- [_ht]: ["DELETE", "/tags/{resourceArn}", 204],
893
- },
775
+ { [_ht]: ["DELETE", "/tags/{resourceArn}", 204] },
894
776
  () => UntagResourceRequest,
895
777
  () => UntagResourceResponse,
896
778
  ];
@@ -898,9 +780,7 @@ var UpdateAccountConfiguration = [
898
780
  9,
899
781
  n0,
900
782
  _UAC,
901
- {
902
- [_ht]: ["PUT", "/updateAccountConfiguration", 200],
903
- },
783
+ { [_ht]: ["PUT", "/updateAccountConfiguration", 200] },
904
784
  () => UpdateAccountConfigurationRequest,
905
785
  () => UpdateAccountConfigurationResponse,
906
786
  ];
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultCodeGuruSecurityHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -175,10 +175,7 @@ export var AccessDeniedException = [
175
175
  -3,
176
176
  n0,
177
177
  _ADE,
178
- {
179
- [_e]: _c,
180
- [_hE]: 403,
181
- },
178
+ { [_e]: _c, [_hE]: 403 },
182
179
  [_eC, _m, _rI, _rT],
183
180
  [0, 0, 0, 0],
184
181
  ];
@@ -213,10 +210,7 @@ export var ConflictException = [
213
210
  -3,
214
211
  n0,
215
212
  _CE,
216
- {
217
- [_e]: _c,
218
- [_hE]: 409,
219
- },
213
+ { [_e]: _c, [_hE]: 409 },
220
214
  [_eC, _m, _rI, _rT],
221
215
  [0, 0, 0, 0],
222
216
  ];
@@ -282,42 +276,13 @@ export var GetFindingsRequest = [
282
276
  [_sN, _nT, _mR, _s],
283
277
  [
284
278
  [0, 1],
285
- [
286
- 0,
287
- {
288
- [_hQ]: _nT,
289
- },
290
- ],
291
- [
292
- 1,
293
- {
294
- [_hQ]: _mR,
295
- },
296
- ],
297
- [
298
- 0,
299
- {
300
- [_hQ]: _s,
301
- },
302
- ],
279
+ [0, { [_hQ]: _nT }],
280
+ [1, { [_hQ]: _mR }],
281
+ [0, { [_hQ]: _s }],
303
282
  ],
304
283
  ];
305
284
  export var GetFindingsResponse = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
306
- export var GetMetricsSummaryRequest = [
307
- 3,
308
- n0,
309
- _GMSR,
310
- 0,
311
- [_d],
312
- [
313
- [
314
- 4,
315
- {
316
- [_hQ]: _d,
317
- },
318
- ],
319
- ],
320
- ];
285
+ export var GetMetricsSummaryRequest = [3, n0, _GMSR, 0, [_d], [[4, { [_hQ]: _d }]]];
321
286
  export var GetMetricsSummaryResponse = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary]];
322
287
  export var GetScanRequest = [
323
288
  3,
@@ -327,12 +292,7 @@ export var GetScanRequest = [
327
292
  [_sN, _rIu],
328
293
  [
329
294
  [0, 1],
330
- [
331
- 0,
332
- {
333
- [_hQ]: _rIu,
334
- },
335
- ],
295
+ [0, { [_hQ]: _rIu }],
336
296
  ],
337
297
  ];
338
298
  export var GetScanResponse = [
@@ -343,17 +303,7 @@ export var GetScanResponse = [
343
303
  [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
344
304
  [0, 0, 0, 4, 0, 4, 1, 0, 0],
345
305
  ];
346
- export var InternalServerException = [
347
- -3,
348
- n0,
349
- _ISE,
350
- {
351
- [_e]: _ser,
352
- [_hE]: 500,
353
- },
354
- [_e, _m],
355
- [0, 0],
356
- ];
306
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_e, _m], [0, 0]];
357
307
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
358
308
  export var ListFindingsMetricsRequest = [
359
309
  3,
@@ -362,30 +312,10 @@ export var ListFindingsMetricsRequest = [
362
312
  0,
363
313
  [_nT, _mR, _sD, _eD],
364
314
  [
365
- [
366
- 0,
367
- {
368
- [_hQ]: _nT,
369
- },
370
- ],
371
- [
372
- 1,
373
- {
374
- [_hQ]: _mR,
375
- },
376
- ],
377
- [
378
- 4,
379
- {
380
- [_hQ]: _sD,
381
- },
382
- ],
383
- [
384
- 4,
385
- {
386
- [_hQ]: _eD,
387
- },
388
- ],
315
+ [0, { [_hQ]: _nT }],
316
+ [1, { [_hQ]: _mR }],
317
+ [4, { [_hQ]: _sD }],
318
+ [4, { [_hQ]: _eD }],
389
319
  ],
390
320
  ];
391
321
  export var ListFindingsMetricsResponse = [
@@ -403,18 +333,8 @@ export var ListScansRequest = [
403
333
  0,
404
334
  [_nT, _mR],
405
335
  [
406
- [
407
- 0,
408
- {
409
- [_hQ]: _nT,
410
- },
411
- ],
412
- [
413
- 1,
414
- {
415
- [_hQ]: _mR,
416
- },
417
- ],
336
+ [0, { [_hQ]: _nT }],
337
+ [1, { [_hQ]: _mR }],
418
338
  ],
419
339
  ];
420
340
  export var ListScansResponse = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
@@ -448,10 +368,7 @@ export var ResourceNotFoundException = [
448
368
  -3,
449
369
  n0,
450
370
  _RNFE,
451
- {
452
- [_e]: _c,
453
- [_hE]: 404,
454
- },
371
+ { [_e]: _c, [_hE]: 404 },
455
372
  [_eC, _m, _rI, _rT],
456
373
  [0, 0, 0, 0],
457
374
  ];
@@ -465,10 +382,7 @@ export var ThrottlingException = [
465
382
  -3,
466
383
  n0,
467
384
  _TE,
468
- {
469
- [_e]: _c,
470
- [_hE]: 429,
471
- },
385
+ { [_e]: _c, [_hE]: 429 },
472
386
  [_eC, _m, _sC, _qC],
473
387
  [0, 0, 0, 0],
474
388
  ];
@@ -481,12 +395,7 @@ export var UntagResourceRequest = [
481
395
  [_rA, _tK],
482
396
  [
483
397
  [0, 1],
484
- [
485
- 64 | 0,
486
- {
487
- [_hQ]: _tK,
488
- },
489
- ],
398
+ [64 | 0, { [_hQ]: _tK }],
490
399
  ],
491
400
  ];
492
401
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -510,10 +419,7 @@ export var ValidationException = [
510
419
  -3,
511
420
  n0,
512
421
  _VE,
513
- {
514
- [_e]: _c,
515
- [_hE]: 400,
516
- },
422
+ { [_e]: _c, [_hE]: 400 },
517
423
  [_eC, _m, _rea, _fL],
518
424
  [0, 0, 0, () => ValidationExceptionFieldList],
519
425
  ];
@@ -559,9 +465,7 @@ export var BatchGetFindings = [
559
465
  9,
560
466
  n0,
561
467
  _BGF,
562
- {
563
- [_ht]: ["POST", "/batchGetFindings", 200],
564
- },
468
+ { [_ht]: ["POST", "/batchGetFindings", 200] },
565
469
  () => BatchGetFindingsRequest,
566
470
  () => BatchGetFindingsResponse,
567
471
  ];
@@ -569,9 +473,7 @@ export var CreateScan = [
569
473
  9,
570
474
  n0,
571
475
  _CSr,
572
- {
573
- [_ht]: ["POST", "/scans", 200],
574
- },
476
+ { [_ht]: ["POST", "/scans", 200] },
575
477
  () => CreateScanRequest,
576
478
  () => CreateScanResponse,
577
479
  ];
@@ -579,9 +481,7 @@ export var CreateUploadUrl = [
579
481
  9,
580
482
  n0,
581
483
  _CUU,
582
- {
583
- [_ht]: ["POST", "/uploadUrl", 200],
584
- },
484
+ { [_ht]: ["POST", "/uploadUrl", 200] },
585
485
  () => CreateUploadUrlRequest,
586
486
  () => CreateUploadUrlResponse,
587
487
  ];
@@ -589,9 +489,7 @@ export var GetAccountConfiguration = [
589
489
  9,
590
490
  n0,
591
491
  _GAC,
592
- {
593
- [_ht]: ["GET", "/accountConfiguration/get", 200],
594
- },
492
+ { [_ht]: ["GET", "/accountConfiguration/get", 200] },
595
493
  () => GetAccountConfigurationRequest,
596
494
  () => GetAccountConfigurationResponse,
597
495
  ];
@@ -599,9 +497,7 @@ export var GetFindings = [
599
497
  9,
600
498
  n0,
601
499
  _GF,
602
- {
603
- [_ht]: ["GET", "/findings/{scanName}", 200],
604
- },
500
+ { [_ht]: ["GET", "/findings/{scanName}", 200] },
605
501
  () => GetFindingsRequest,
606
502
  () => GetFindingsResponse,
607
503
  ];
@@ -609,9 +505,7 @@ export var GetMetricsSummary = [
609
505
  9,
610
506
  n0,
611
507
  _GMS,
612
- {
613
- [_ht]: ["GET", "/metrics/summary", 200],
614
- },
508
+ { [_ht]: ["GET", "/metrics/summary", 200] },
615
509
  () => GetMetricsSummaryRequest,
616
510
  () => GetMetricsSummaryResponse,
617
511
  ];
@@ -619,9 +513,7 @@ export var GetScan = [
619
513
  9,
620
514
  n0,
621
515
  _GS,
622
- {
623
- [_ht]: ["GET", "/scans/{scanName}", 200],
624
- },
516
+ { [_ht]: ["GET", "/scans/{scanName}", 200] },
625
517
  () => GetScanRequest,
626
518
  () => GetScanResponse,
627
519
  ];
@@ -629,9 +521,7 @@ export var ListFindingsMetrics = [
629
521
  9,
630
522
  n0,
631
523
  _LFM,
632
- {
633
- [_ht]: ["GET", "/metrics/findings", 200],
634
- },
524
+ { [_ht]: ["GET", "/metrics/findings", 200] },
635
525
  () => ListFindingsMetricsRequest,
636
526
  () => ListFindingsMetricsResponse,
637
527
  ];
@@ -639,9 +529,7 @@ export var ListScans = [
639
529
  9,
640
530
  n0,
641
531
  _LS,
642
- {
643
- [_ht]: ["GET", "/scans", 200],
644
- },
532
+ { [_ht]: ["GET", "/scans", 200] },
645
533
  () => ListScansRequest,
646
534
  () => ListScansResponse,
647
535
  ];
@@ -649,9 +537,7 @@ export var ListTagsForResource = [
649
537
  9,
650
538
  n0,
651
539
  _LTFR,
652
- {
653
- [_ht]: ["GET", "/tags/{resourceArn}", 200],
654
- },
540
+ { [_ht]: ["GET", "/tags/{resourceArn}", 200] },
655
541
  () => ListTagsForResourceRequest,
656
542
  () => ListTagsForResourceResponse,
657
543
  ];
@@ -659,9 +545,7 @@ export var TagResource = [
659
545
  9,
660
546
  n0,
661
547
  _TR,
662
- {
663
- [_ht]: ["POST", "/tags/{resourceArn}", 204],
664
- },
548
+ { [_ht]: ["POST", "/tags/{resourceArn}", 204] },
665
549
  () => TagResourceRequest,
666
550
  () => TagResourceResponse,
667
551
  ];
@@ -669,9 +553,7 @@ export var UntagResource = [
669
553
  9,
670
554
  n0,
671
555
  _UR,
672
- {
673
- [_ht]: ["DELETE", "/tags/{resourceArn}", 204],
674
- },
556
+ { [_ht]: ["DELETE", "/tags/{resourceArn}", 204] },
675
557
  () => UntagResourceRequest,
676
558
  () => UntagResourceResponse,
677
559
  ];
@@ -679,9 +561,7 @@ export var UpdateAccountConfiguration = [
679
561
  9,
680
562
  n0,
681
563
  _UAC,
682
- {
683
- [_ht]: ["PUT", "/updateAccountConfiguration", 200],
684
- },
564
+ { [_ht]: ["PUT", "/updateAccountConfiguration", 200] },
685
565
  () => UpdateAccountConfigurationRequest,
686
566
  () => UpdateAccountConfigurationResponse,
687
567
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CodeGuruSecurityClient } from "./CodeGuruSecurityClient";
3
3
  import { BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand";
4
4
  import { CreateScanCommandInput, CreateScanCommandOutput } from "./commands/CreateScanCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand";
11
11
  import { CreateScanCommandInput, CreateScanCommandOutput } from "./commands/CreateScanCommand";
12
12
  import { CreateUploadUrlCommandInput, CreateUploadUrlCommandOutput } from "./commands/CreateUploadUrlCommand";
@@ -21,7 +21,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
21
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
22
  import { UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput } from "./commands/UpdateAccountConfigurationCommand";
23
23
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
24
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
24
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
25
25
  export { __Client };
26
26
  /**
27
27
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { CodeGuruSecurityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { CodeGuruSecurityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig } from "../CodeGuruSecurityClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type CodeGuruSecurityClientResolvedConfig } from "../CodeGuruSecurityClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { BatchGetFindingsRequest, BatchGetFindingsResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { BatchGetFindingsRequest, BatchGetFindingsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { CreateScanRequest, CreateScanResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { CreateScanRequest, CreateScanResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { CreateUploadUrlRequest, CreateUploadUrlResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { CreateUploadUrlRequest, CreateUploadUrlResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { GetAccountConfigurationRequest, GetAccountConfigurationResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { GetAccountConfigurationRequest, GetAccountConfigurationResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { GetMetricsSummaryRequest, GetMetricsSummaryResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { GetMetricsSummaryRequest, GetMetricsSummaryResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { GetScanRequest, GetScanResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { GetScanRequest, GetScanResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { ListFindingsMetricsRequest, ListFindingsMetricsResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { ListFindingsMetricsRequest, ListFindingsMetricsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { ListScansRequest, ListScansResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { ListScansRequest, ListScansResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
- import { UpdateAccountConfigurationRequest, UpdateAccountConfigurationResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
4
+ import type { UpdateAccountConfigurationRequest, UpdateAccountConfigurationResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
3
3
  import { ValidationExceptionReason } from "./enums";
4
4
  import { ValidationExceptionField } from "./models_0";
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "../commands/GetFindingsCommand";
3
3
  import { CodeGuruSecurityPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@smithy/types";
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
2
  import { CodeGuruSecurityClient } from "../CodeGuruSecurityClient";
3
3
  /**
4
4
  * @public
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListFindingsMetricsCommandInput, ListFindingsMetricsCommandOutput } from "../commands/ListFindingsMetricsCommand";
3
3
  import { CodeGuruSecurityPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListScansCommandInput, ListScansCommandOutput } from "../commands/ListScansCommand";
3
3
  import { CodeGuruSecurityPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
2
+ import type { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
2
+ import type { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
1
+ import type { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
1
+ import type { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var S3Url: StaticSimpleSchema;
3
3
  export declare var AccessDeniedException: StaticErrorSchema;
4
4
  export declare var AccountFindingsMetric: StaticStructureSchema;
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,9 +38,10 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  StreamCollector as __StreamCollector,
44
42
  UrlParser as __UrlParser,
43
+ AwsCredentialIdentityProvider,
44
+ Provider,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
47
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { CodeGuruSecurityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-security",
3
3
  "description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
4
- "version": "3.940.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codeguru-security",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo codeguru-security"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo codeguru-security",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
29
+ "@aws-sdk/middleware-user-agent": "3.946.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
34
+ "@aws-sdk/util-user-agent-node": "3.946.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",