@aws-sdk/client-codeguru-security 3.943.0 → 3.947.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +31 -151
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/CodeGuruSecurityClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +31 -152
- package/dist-types/CodeGuruSecurity.d.ts +1 -1
- package/dist-types/CodeGuruSecurityClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +3 -3
- package/dist-types/commands/CreateScanCommand.d.ts +3 -3
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +3 -3
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
- package/dist-types/commands/GetMetricsSummaryCommand.d.ts +3 -3
- package/dist-types/commands/GetScanCommand.d.ts +3 -3
- package/dist-types/commands/ListFindingsMetricsCommand.d.ts +3 -3
- package/dist-types/commands/ListScansCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/CodeGuruSecurityServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListFindingsMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScansPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/CodeGuruSecurityServiceException.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +13 -12
|
@@ -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
|
-
|
|
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
|
-
|
|
367
|
-
|
|
368
|
-
|
|
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
|
-
|
|
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
|
];
|
|
@@ -527,7 +433,6 @@ export var Vulnerability = [
|
|
|
527
433
|
[_rU, _rV, _i, _fP, _iC],
|
|
528
434
|
[64 | 0, 64 | 0, 0, () => FilePath, 1],
|
|
529
435
|
];
|
|
530
|
-
export var __Unit = "unit";
|
|
531
436
|
export var CodeGuruSecurityServiceException = [
|
|
532
437
|
-3,
|
|
533
438
|
_sm,
|
|
@@ -559,9 +464,7 @@ export var BatchGetFindings = [
|
|
|
559
464
|
9,
|
|
560
465
|
n0,
|
|
561
466
|
_BGF,
|
|
562
|
-
{
|
|
563
|
-
[_ht]: ["POST", "/batchGetFindings", 200],
|
|
564
|
-
},
|
|
467
|
+
{ [_ht]: ["POST", "/batchGetFindings", 200] },
|
|
565
468
|
() => BatchGetFindingsRequest,
|
|
566
469
|
() => BatchGetFindingsResponse,
|
|
567
470
|
];
|
|
@@ -569,9 +472,7 @@ export var CreateScan = [
|
|
|
569
472
|
9,
|
|
570
473
|
n0,
|
|
571
474
|
_CSr,
|
|
572
|
-
{
|
|
573
|
-
[_ht]: ["POST", "/scans", 200],
|
|
574
|
-
},
|
|
475
|
+
{ [_ht]: ["POST", "/scans", 200] },
|
|
575
476
|
() => CreateScanRequest,
|
|
576
477
|
() => CreateScanResponse,
|
|
577
478
|
];
|
|
@@ -579,9 +480,7 @@ export var CreateUploadUrl = [
|
|
|
579
480
|
9,
|
|
580
481
|
n0,
|
|
581
482
|
_CUU,
|
|
582
|
-
{
|
|
583
|
-
[_ht]: ["POST", "/uploadUrl", 200],
|
|
584
|
-
},
|
|
483
|
+
{ [_ht]: ["POST", "/uploadUrl", 200] },
|
|
585
484
|
() => CreateUploadUrlRequest,
|
|
586
485
|
() => CreateUploadUrlResponse,
|
|
587
486
|
];
|
|
@@ -589,9 +488,7 @@ export var GetAccountConfiguration = [
|
|
|
589
488
|
9,
|
|
590
489
|
n0,
|
|
591
490
|
_GAC,
|
|
592
|
-
{
|
|
593
|
-
[_ht]: ["GET", "/accountConfiguration/get", 200],
|
|
594
|
-
},
|
|
491
|
+
{ [_ht]: ["GET", "/accountConfiguration/get", 200] },
|
|
595
492
|
() => GetAccountConfigurationRequest,
|
|
596
493
|
() => GetAccountConfigurationResponse,
|
|
597
494
|
];
|
|
@@ -599,9 +496,7 @@ export var GetFindings = [
|
|
|
599
496
|
9,
|
|
600
497
|
n0,
|
|
601
498
|
_GF,
|
|
602
|
-
{
|
|
603
|
-
[_ht]: ["GET", "/findings/{scanName}", 200],
|
|
604
|
-
},
|
|
499
|
+
{ [_ht]: ["GET", "/findings/{scanName}", 200] },
|
|
605
500
|
() => GetFindingsRequest,
|
|
606
501
|
() => GetFindingsResponse,
|
|
607
502
|
];
|
|
@@ -609,9 +504,7 @@ export var GetMetricsSummary = [
|
|
|
609
504
|
9,
|
|
610
505
|
n0,
|
|
611
506
|
_GMS,
|
|
612
|
-
{
|
|
613
|
-
[_ht]: ["GET", "/metrics/summary", 200],
|
|
614
|
-
},
|
|
507
|
+
{ [_ht]: ["GET", "/metrics/summary", 200] },
|
|
615
508
|
() => GetMetricsSummaryRequest,
|
|
616
509
|
() => GetMetricsSummaryResponse,
|
|
617
510
|
];
|
|
@@ -619,9 +512,7 @@ export var GetScan = [
|
|
|
619
512
|
9,
|
|
620
513
|
n0,
|
|
621
514
|
_GS,
|
|
622
|
-
{
|
|
623
|
-
[_ht]: ["GET", "/scans/{scanName}", 200],
|
|
624
|
-
},
|
|
515
|
+
{ [_ht]: ["GET", "/scans/{scanName}", 200] },
|
|
625
516
|
() => GetScanRequest,
|
|
626
517
|
() => GetScanResponse,
|
|
627
518
|
];
|
|
@@ -629,9 +520,7 @@ export var ListFindingsMetrics = [
|
|
|
629
520
|
9,
|
|
630
521
|
n0,
|
|
631
522
|
_LFM,
|
|
632
|
-
{
|
|
633
|
-
[_ht]: ["GET", "/metrics/findings", 200],
|
|
634
|
-
},
|
|
523
|
+
{ [_ht]: ["GET", "/metrics/findings", 200] },
|
|
635
524
|
() => ListFindingsMetricsRequest,
|
|
636
525
|
() => ListFindingsMetricsResponse,
|
|
637
526
|
];
|
|
@@ -639,9 +528,7 @@ export var ListScans = [
|
|
|
639
528
|
9,
|
|
640
529
|
n0,
|
|
641
530
|
_LS,
|
|
642
|
-
{
|
|
643
|
-
[_ht]: ["GET", "/scans", 200],
|
|
644
|
-
},
|
|
531
|
+
{ [_ht]: ["GET", "/scans", 200] },
|
|
645
532
|
() => ListScansRequest,
|
|
646
533
|
() => ListScansResponse,
|
|
647
534
|
];
|
|
@@ -649,9 +536,7 @@ export var ListTagsForResource = [
|
|
|
649
536
|
9,
|
|
650
537
|
n0,
|
|
651
538
|
_LTFR,
|
|
652
|
-
{
|
|
653
|
-
[_ht]: ["GET", "/tags/{resourceArn}", 200],
|
|
654
|
-
},
|
|
539
|
+
{ [_ht]: ["GET", "/tags/{resourceArn}", 200] },
|
|
655
540
|
() => ListTagsForResourceRequest,
|
|
656
541
|
() => ListTagsForResourceResponse,
|
|
657
542
|
];
|
|
@@ -659,9 +544,7 @@ export var TagResource = [
|
|
|
659
544
|
9,
|
|
660
545
|
n0,
|
|
661
546
|
_TR,
|
|
662
|
-
{
|
|
663
|
-
[_ht]: ["POST", "/tags/{resourceArn}", 204],
|
|
664
|
-
},
|
|
547
|
+
{ [_ht]: ["POST", "/tags/{resourceArn}", 204] },
|
|
665
548
|
() => TagResourceRequest,
|
|
666
549
|
() => TagResourceResponse,
|
|
667
550
|
];
|
|
@@ -669,9 +552,7 @@ export var UntagResource = [
|
|
|
669
552
|
9,
|
|
670
553
|
n0,
|
|
671
554
|
_UR,
|
|
672
|
-
{
|
|
673
|
-
[_ht]: ["DELETE", "/tags/{resourceArn}", 204],
|
|
674
|
-
},
|
|
555
|
+
{ [_ht]: ["DELETE", "/tags/{resourceArn}", 204] },
|
|
675
556
|
() => UntagResourceRequest,
|
|
676
557
|
() => UntagResourceResponse,
|
|
677
558
|
];
|
|
@@ -679,9 +560,7 @@ export var UpdateAccountConfiguration = [
|
|
|
679
560
|
9,
|
|
680
561
|
n0,
|
|
681
562
|
_UAC,
|
|
682
|
-
{
|
|
683
|
-
[_ht]: ["PUT", "/updateAccountConfiguration", 200],
|
|
684
|
-
},
|
|
563
|
+
{ [_ht]: ["PUT", "/updateAccountConfiguration", 200] },
|
|
685
564
|
() => UpdateAccountConfigurationRequest,
|
|
686
565
|
() => UpdateAccountConfigurationResponse,
|
|
687
566
|
];
|
|
@@ -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 {
|
|
8
|
-
import {
|
|
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
|
|
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 {
|
|
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
|
/**
|