@aws-sdk/client-inspector 3.987.0 → 3.989.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 +56 -1438
- package/dist-cjs/models/InspectorServiceException.js +12 -0
- package/dist-cjs/models/errors.js +185 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1098 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +101 -95
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultInspectorHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2016-02-16",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.inspector",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2016-02-16",
|
|
30
32
|
serviceTarget: "InspectorService",
|
|
31
33
|
},
|
|
@@ -169,7 +169,7 @@ const _UATR = "UpdateAssessmentTargetRequest";
|
|
|
169
169
|
const _UFE = "UnsupportedFeatureException";
|
|
170
170
|
const _UFER = "UnsubscribeFromEventRequest";
|
|
171
171
|
const _UFEn = "UnsubscribeFromEvent";
|
|
172
|
-
const _a = "
|
|
172
|
+
const _a = "agents";
|
|
173
173
|
const _aA = "assetAttributes";
|
|
174
174
|
const _aH = "agentHealths";
|
|
175
175
|
const _aHC = "agentHealthCodes";
|
|
@@ -182,9 +182,9 @@ const _aIm = "amiId";
|
|
|
182
182
|
const _aK = "attributeKeys";
|
|
183
183
|
const _aP = "agentPreviews";
|
|
184
184
|
const _aR = "assessmentRuns";
|
|
185
|
-
const _aRA = "
|
|
185
|
+
const _aRA = "assessmentRunArns";
|
|
186
186
|
const _aRAT = "assessmentRunArnsTruncated";
|
|
187
|
-
const _aRAs = "
|
|
187
|
+
const _aRAs = "assessmentRunArn";
|
|
188
188
|
const _aRAss = "assessmentRunAgents";
|
|
189
189
|
const _aRC = "assessmentRunCount";
|
|
190
190
|
const _aRN = "assessmentRunName";
|
|
@@ -202,8 +202,8 @@ const _aTs = "assessmentTargets";
|
|
|
202
202
|
const _aTss = "assessmentTemplates";
|
|
203
203
|
const _aTsse = "assetType";
|
|
204
204
|
const _aV = "agentVersion";
|
|
205
|
-
const _ag = "agents";
|
|
206
205
|
const _ar = "arn";
|
|
206
|
+
const _at = "attributes";
|
|
207
207
|
const _bD = "beginDate";
|
|
208
208
|
const _c = "client";
|
|
209
209
|
const _cA = "createdAt";
|
|
@@ -283,7 +283,7 @@ const _rPA = "rulesPackageArns";
|
|
|
283
283
|
const _rPAu = "rulesPackageArn";
|
|
284
284
|
const _rT = "reportType";
|
|
285
285
|
const _re = "retryable";
|
|
286
|
-
const _s = "
|
|
286
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.inspector";
|
|
287
287
|
const _sA = "startedAt";
|
|
288
288
|
const _sAe = "serviceAttributes";
|
|
289
289
|
const _sAt = "stopAction";
|
|
@@ -298,13 +298,13 @@ const _sTA = "snsTopicArn";
|
|
|
298
298
|
const _sTR = "startTimeRange";
|
|
299
299
|
const _sV = "schemaVersion";
|
|
300
300
|
const _sc = "scopes";
|
|
301
|
-
const _se = "
|
|
302
|
-
const _ser = "
|
|
301
|
+
const _se = "server";
|
|
302
|
+
const _ser = "service";
|
|
303
303
|
const _sev = "severity";
|
|
304
304
|
const _seve = "severities";
|
|
305
|
-
const
|
|
306
|
-
const
|
|
307
|
-
const
|
|
305
|
+
const _st = "state";
|
|
306
|
+
const _sta = "states";
|
|
307
|
+
const _stat = "status";
|
|
308
308
|
const _su = "subscriptions";
|
|
309
309
|
const _t = "tags";
|
|
310
310
|
const _tA = "topicArn";
|
|
@@ -322,15 +322,83 @@ const n0 = "com.amazonaws.inspector";
|
|
|
322
322
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
323
323
|
import { AccessDeniedException, AgentsAlreadyRunningAssessmentException, AssessmentRunInProgressException, InternalException, InvalidCrossAccountRoleException, InvalidInputException, LimitExceededException, NoSuchEntityException, PreviewGenerationInProgressException, ServiceTemporarilyUnavailableException, UnsupportedFeatureException, } from "../models/errors";
|
|
324
324
|
import { InspectorServiceException } from "../models/InspectorServiceException";
|
|
325
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
326
|
+
export var InspectorServiceException$ = [-3, _s, "InspectorServiceException", 0, [], []];
|
|
327
|
+
_s_registry.registerError(InspectorServiceException$, InspectorServiceException);
|
|
328
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
325
329
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
326
330
|
{ [_e]: _c, [_hE]: 403 },
|
|
327
331
|
[_m, _eC, _cR],
|
|
328
332
|
[0, 0, 2], 3
|
|
329
333
|
];
|
|
330
|
-
|
|
334
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
335
|
+
export var AgentsAlreadyRunningAssessmentException$ = [-3, n0, _AARAE,
|
|
336
|
+
{ [_e]: _c },
|
|
337
|
+
[_m, _a, _aT, _cR],
|
|
338
|
+
[0, () => AgentAlreadyRunningAssessmentList, 2, 2], 4
|
|
339
|
+
];
|
|
340
|
+
n0_registry.registerError(AgentsAlreadyRunningAssessmentException$, AgentsAlreadyRunningAssessmentException);
|
|
341
|
+
export var AssessmentRunInProgressException$ = [-3, n0, _ARIPE,
|
|
342
|
+
{ [_e]: _c },
|
|
343
|
+
[_m, _aRA, _aRAT, _cR],
|
|
344
|
+
[0, 64 | 0, 2, 2], 4
|
|
345
|
+
];
|
|
346
|
+
n0_registry.registerError(AssessmentRunInProgressException$, AssessmentRunInProgressException);
|
|
347
|
+
export var InternalException$ = [-3, n0, _IE,
|
|
348
|
+
{ [_e]: _se },
|
|
349
|
+
[_m, _cR],
|
|
350
|
+
[0, 2], 2
|
|
351
|
+
];
|
|
352
|
+
n0_registry.registerError(InternalException$, InternalException);
|
|
353
|
+
export var InvalidCrossAccountRoleException$ = [-3, n0, _ICARE,
|
|
354
|
+
{ [_e]: _c },
|
|
355
|
+
[_m, _eC, _cR],
|
|
356
|
+
[0, 0, 2], 3
|
|
357
|
+
];
|
|
358
|
+
n0_registry.registerError(InvalidCrossAccountRoleException$, InvalidCrossAccountRoleException);
|
|
359
|
+
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
360
|
+
{ [_e]: _c },
|
|
361
|
+
[_m, _eC, _cR],
|
|
362
|
+
[0, 0, 2], 3
|
|
363
|
+
];
|
|
364
|
+
n0_registry.registerError(InvalidInputException$, InvalidInputException);
|
|
365
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
366
|
+
{ [_e]: _c },
|
|
367
|
+
[_m, _eC, _cR],
|
|
368
|
+
[0, 0, 2], 3
|
|
369
|
+
];
|
|
370
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
371
|
+
export var NoSuchEntityException$ = [-3, n0, _NSEE,
|
|
372
|
+
{ [_e]: _c },
|
|
373
|
+
[_m, _eC, _cR],
|
|
374
|
+
[0, 0, 2], 3
|
|
375
|
+
];
|
|
376
|
+
n0_registry.registerError(NoSuchEntityException$, NoSuchEntityException);
|
|
377
|
+
export var PreviewGenerationInProgressException$ = [-3, n0, _PGIPE,
|
|
378
|
+
{ [_e]: _c },
|
|
379
|
+
[_m],
|
|
380
|
+
[0], 1
|
|
381
|
+
];
|
|
382
|
+
n0_registry.registerError(PreviewGenerationInProgressException$, PreviewGenerationInProgressException);
|
|
383
|
+
export var ServiceTemporarilyUnavailableException$ = [-3, n0, _STUE,
|
|
384
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
385
|
+
[_m, _cR],
|
|
386
|
+
[0, 2], 2
|
|
387
|
+
];
|
|
388
|
+
n0_registry.registerError(ServiceTemporarilyUnavailableException$, ServiceTemporarilyUnavailableException);
|
|
389
|
+
export var UnsupportedFeatureException$ = [-3, n0, _UFE,
|
|
390
|
+
{ [_e]: _c },
|
|
391
|
+
[_m, _cR],
|
|
392
|
+
[0, 2], 2
|
|
393
|
+
];
|
|
394
|
+
n0_registry.registerError(UnsupportedFeatureException$, UnsupportedFeatureException);
|
|
395
|
+
export const errorTypeRegistries = [
|
|
396
|
+
_s_registry,
|
|
397
|
+
n0_registry,
|
|
398
|
+
];
|
|
331
399
|
export var AddAttributesToFindingsRequest$ = [3, n0, _AATFR,
|
|
332
400
|
0,
|
|
333
|
-
[_fA,
|
|
401
|
+
[_fA, _at],
|
|
334
402
|
[64 | 0, () => UserAttributeList], 2
|
|
335
403
|
];
|
|
336
404
|
export var AddAttributesToFindingsResponse$ = [3, n0, _AATFRd,
|
|
@@ -340,7 +408,7 @@ export var AddAttributesToFindingsResponse$ = [3, n0, _AATFRd,
|
|
|
340
408
|
];
|
|
341
409
|
export var AgentAlreadyRunningAssessment$ = [3, n0, _AARA,
|
|
342
410
|
0,
|
|
343
|
-
[_aI,
|
|
411
|
+
[_aI, _aRAs],
|
|
344
412
|
[0, 0], 2
|
|
345
413
|
];
|
|
346
414
|
export var AgentFilter$ = [3, n0, _AF,
|
|
@@ -353,33 +421,21 @@ export var AgentPreview$ = [3, n0, _AP,
|
|
|
353
421
|
[_aI, _h, _aSG, _aHg, _aV, _oS, _kV, _iA],
|
|
354
422
|
[0, 0, 0, 0, 0, 0, 0, 0], 1
|
|
355
423
|
];
|
|
356
|
-
export var AgentsAlreadyRunningAssessmentException$ = [-3, n0, _AARAE,
|
|
357
|
-
{ [_e]: _c },
|
|
358
|
-
[_m, _ag, _aT, _cR],
|
|
359
|
-
[0, () => AgentAlreadyRunningAssessmentList, 2, 2], 4
|
|
360
|
-
];
|
|
361
|
-
TypeRegistry.for(n0).registerError(AgentsAlreadyRunningAssessmentException$, AgentsAlreadyRunningAssessmentException);
|
|
362
424
|
export var AssessmentRun$ = [3, n0, _AR,
|
|
363
425
|
0,
|
|
364
|
-
[_ar, _n, _aTA,
|
|
426
|
+
[_ar, _n, _aTA, _st, _dIS, _rPA, _uAFF, _cA, _sCA, _dC, _sC, _no, _fC, _sA, _cAo],
|
|
365
427
|
[0, 0, 0, 0, 1, 64 | 0, () => UserAttributeList, 4, 4, 2, () => AssessmentRunStateChangeList, () => AssessmentRunNotificationList, 128 | 1, 4, 4], 13
|
|
366
428
|
];
|
|
367
429
|
export var AssessmentRunAgent$ = [3, n0, _ARA,
|
|
368
430
|
0,
|
|
369
|
-
[_aI,
|
|
431
|
+
[_aI, _aRAs, _aHg, _aHCg, _tM, _aHD, _aSG],
|
|
370
432
|
[0, 0, 0, 0, () => TelemetryMetadataList, 0, 0], 5
|
|
371
433
|
];
|
|
372
434
|
export var AssessmentRunFilter$ = [3, n0, _ARF,
|
|
373
435
|
0,
|
|
374
|
-
[_nP,
|
|
436
|
+
[_nP, _sta, _dR, _rPA, _sTR, _cTR, _sCTR],
|
|
375
437
|
[0, 64 | 0, () => DurationRange$, 64 | 0, () => TimestampRange$, () => TimestampRange$, () => TimestampRange$]
|
|
376
438
|
];
|
|
377
|
-
export var AssessmentRunInProgressException$ = [-3, n0, _ARIPE,
|
|
378
|
-
{ [_e]: _c },
|
|
379
|
-
[_m, _aRAs, _aRAT, _cR],
|
|
380
|
-
[0, 64 | 0, 2, 2], 4
|
|
381
|
-
];
|
|
382
|
-
TypeRegistry.for(n0).registerError(AssessmentRunInProgressException$, AssessmentRunInProgressException);
|
|
383
439
|
export var AssessmentRunNotification$ = [3, n0, _ARN,
|
|
384
440
|
0,
|
|
385
441
|
[_d, _ev, _e, _m, _sTA, _sPSC],
|
|
@@ -387,7 +443,7 @@ export var AssessmentRunNotification$ = [3, n0, _ARN,
|
|
|
387
443
|
];
|
|
388
444
|
export var AssessmentRunStateChange$ = [3, n0, _ARSC,
|
|
389
445
|
0,
|
|
390
|
-
[_sCA,
|
|
446
|
+
[_sCA, _st],
|
|
391
447
|
[4, 0], 2
|
|
392
448
|
];
|
|
393
449
|
export var AssessmentTarget$ = [3, n0, _AT,
|
|
@@ -462,7 +518,7 @@ export var CreateResourceGroupResponse$ = [3, n0, _CRGRr,
|
|
|
462
518
|
];
|
|
463
519
|
export var DeleteAssessmentRunRequest$ = [3, n0, _DARR,
|
|
464
520
|
0,
|
|
465
|
-
[
|
|
521
|
+
[_aRAs],
|
|
466
522
|
[0], 1
|
|
467
523
|
];
|
|
468
524
|
export var DeleteAssessmentTargetRequest$ = [3, n0, _DATR,
|
|
@@ -477,7 +533,7 @@ export var DeleteAssessmentTemplateRequest$ = [3, n0, _DATRe,
|
|
|
477
533
|
];
|
|
478
534
|
export var DescribeAssessmentRunsRequest$ = [3, n0, _DARRe,
|
|
479
535
|
0,
|
|
480
|
-
[
|
|
536
|
+
[_aRA],
|
|
481
537
|
[64 | 0], 1
|
|
482
538
|
];
|
|
483
539
|
export var DescribeAssessmentRunsResponse$ = [3, n0, _DARRes,
|
|
@@ -562,12 +618,12 @@ export var EventSubscription$ = [3, n0, _ES,
|
|
|
562
618
|
];
|
|
563
619
|
export var Exclusion$ = [3, n0, _E,
|
|
564
620
|
0,
|
|
565
|
-
[_ar, _ti, _de, _r, _sc,
|
|
621
|
+
[_ar, _ti, _de, _r, _sc, _at],
|
|
566
622
|
[0, 0, 0, 0, () => ScopeList, () => AttributeList], 5
|
|
567
623
|
];
|
|
568
624
|
export var ExclusionPreview$ = [3, n0, _EP,
|
|
569
625
|
0,
|
|
570
|
-
[_ti, _de, _r, _sc,
|
|
626
|
+
[_ti, _de, _r, _sc, _at],
|
|
571
627
|
[0, 0, 0, () => ScopeList, () => AttributeList], 4
|
|
572
628
|
];
|
|
573
629
|
export var FailedItemDetails$ = [3, n0, _FID,
|
|
@@ -577,22 +633,22 @@ export var FailedItemDetails$ = [3, n0, _FID,
|
|
|
577
633
|
];
|
|
578
634
|
export var Finding$ = [3, n0, _F,
|
|
579
635
|
0,
|
|
580
|
-
[_ar,
|
|
636
|
+
[_ar, _at, _uAs, _cA, _uA, _sV, _ser, _sAe, _aTsse, _aA, _i, _ti, _de, _r, _sev, _nS, _co, _iOC],
|
|
581
637
|
[0, () => AttributeList, () => UserAttributeList, 4, 4, 1, 0, () => InspectorServiceAttributes$, 0, () => AssetAttributes$, 0, 0, 0, 0, 0, 1, 1, 2], 5
|
|
582
638
|
];
|
|
583
639
|
export var FindingFilter$ = [3, n0, _FF,
|
|
584
640
|
0,
|
|
585
|
-
[_aIg, _aSGu, _rN, _seve, _rPA,
|
|
641
|
+
[_aIg, _aSGu, _rN, _seve, _rPA, _at, _uAs, _cTRr],
|
|
586
642
|
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => AttributeList, () => AttributeList, () => TimestampRange$]
|
|
587
643
|
];
|
|
588
644
|
export var GetAssessmentReportRequest$ = [3, n0, _GARR,
|
|
589
645
|
0,
|
|
590
|
-
[
|
|
646
|
+
[_aRAs, _rFF, _rT],
|
|
591
647
|
[0, 0, 0], 3
|
|
592
648
|
];
|
|
593
649
|
export var GetAssessmentReportResponse$ = [3, n0, _GARRe,
|
|
594
650
|
0,
|
|
595
|
-
[
|
|
651
|
+
[_stat, _u],
|
|
596
652
|
[0, 0], 1
|
|
597
653
|
];
|
|
598
654
|
export var GetExclusionsPreviewRequest$ = [3, n0, _GEPR,
|
|
@@ -607,7 +663,7 @@ export var GetExclusionsPreviewResponse$ = [3, n0, _GEPRe,
|
|
|
607
663
|
];
|
|
608
664
|
export var GetTelemetryMetadataRequest$ = [3, n0, _GTMR,
|
|
609
665
|
0,
|
|
610
|
-
[
|
|
666
|
+
[_aRAs],
|
|
611
667
|
[0], 1
|
|
612
668
|
];
|
|
613
669
|
export var GetTelemetryMetadataResponse$ = [3, n0, _GTMRe,
|
|
@@ -617,36 +673,12 @@ export var GetTelemetryMetadataResponse$ = [3, n0, _GTMRe,
|
|
|
617
673
|
];
|
|
618
674
|
export var InspectorServiceAttributes$ = [3, n0, _ISA,
|
|
619
675
|
0,
|
|
620
|
-
[_sV,
|
|
676
|
+
[_sV, _aRAs, _rPAu],
|
|
621
677
|
[1, 0, 0], 1
|
|
622
678
|
];
|
|
623
|
-
export var InternalException$ = [-3, n0, _IE,
|
|
624
|
-
{ [_e]: _ser },
|
|
625
|
-
[_m, _cR],
|
|
626
|
-
[0, 2], 2
|
|
627
|
-
];
|
|
628
|
-
TypeRegistry.for(n0).registerError(InternalException$, InternalException);
|
|
629
|
-
export var InvalidCrossAccountRoleException$ = [-3, n0, _ICARE,
|
|
630
|
-
{ [_e]: _c },
|
|
631
|
-
[_m, _eC, _cR],
|
|
632
|
-
[0, 0, 2], 3
|
|
633
|
-
];
|
|
634
|
-
TypeRegistry.for(n0).registerError(InvalidCrossAccountRoleException$, InvalidCrossAccountRoleException);
|
|
635
|
-
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
636
|
-
{ [_e]: _c },
|
|
637
|
-
[_m, _eC, _cR],
|
|
638
|
-
[0, 0, 2], 3
|
|
639
|
-
];
|
|
640
|
-
TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
641
|
-
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
642
|
-
{ [_e]: _c },
|
|
643
|
-
[_m, _eC, _cR],
|
|
644
|
-
[0, 0, 2], 3
|
|
645
|
-
];
|
|
646
|
-
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
647
679
|
export var ListAssessmentRunAgentsRequest$ = [3, n0, _LARAR,
|
|
648
680
|
0,
|
|
649
|
-
[
|
|
681
|
+
[_aRAs, _fi, _nT, _mR],
|
|
650
682
|
[0, () => AgentFilter$, 0, 1], 1
|
|
651
683
|
];
|
|
652
684
|
export var ListAssessmentRunAgentsResponse$ = [3, n0, _LARARi,
|
|
@@ -661,7 +693,7 @@ export var ListAssessmentRunsRequest$ = [3, n0, _LARR,
|
|
|
661
693
|
];
|
|
662
694
|
export var ListAssessmentRunsResponse$ = [3, n0, _LARRi,
|
|
663
695
|
0,
|
|
664
|
-
[
|
|
696
|
+
[_aRA, _nT],
|
|
665
697
|
[64 | 0, 0], 1
|
|
666
698
|
];
|
|
667
699
|
export var ListAssessmentTargetsRequest$ = [3, n0, _LATR,
|
|
@@ -696,7 +728,7 @@ export var ListEventSubscriptionsResponse$ = [3, n0, _LESRi,
|
|
|
696
728
|
];
|
|
697
729
|
export var ListExclusionsRequest$ = [3, n0, _LER,
|
|
698
730
|
0,
|
|
699
|
-
[
|
|
731
|
+
[_aRAs, _nT, _mR],
|
|
700
732
|
[0, 0, 1], 1
|
|
701
733
|
];
|
|
702
734
|
export var ListExclusionsResponse$ = [3, n0, _LERi,
|
|
@@ -706,7 +738,7 @@ export var ListExclusionsResponse$ = [3, n0, _LERi,
|
|
|
706
738
|
];
|
|
707
739
|
export var ListFindingsRequest$ = [3, n0, _LFR,
|
|
708
740
|
0,
|
|
709
|
-
[
|
|
741
|
+
[_aRA, _fi, _nT, _mR],
|
|
710
742
|
[64 | 0, () => FindingFilter$, 0, 1]
|
|
711
743
|
];
|
|
712
744
|
export var ListFindingsResponse$ = [3, n0, _LFRi,
|
|
@@ -739,12 +771,6 @@ export var NetworkInterface$ = [3, n0, _NI,
|
|
|
739
771
|
[_nII, _sI, _vI, _pDN, _pIA, _pIAr, _pDNu, _pI, _iApv, _sG],
|
|
740
772
|
[0, 0, 0, 0, 0, () => PrivateIpAddresses, 0, 0, 64 | 0, () => SecurityGroups]
|
|
741
773
|
];
|
|
742
|
-
export var NoSuchEntityException$ = [-3, n0, _NSEE,
|
|
743
|
-
{ [_e]: _c },
|
|
744
|
-
[_m, _eC, _cR],
|
|
745
|
-
[0, 0, 2], 3
|
|
746
|
-
];
|
|
747
|
-
TypeRegistry.for(n0).registerError(NoSuchEntityException$, NoSuchEntityException);
|
|
748
774
|
export var PreviewAgentsRequest$ = [3, n0, _PAR,
|
|
749
775
|
0,
|
|
750
776
|
[_pAA, _nT, _mR],
|
|
@@ -755,12 +781,6 @@ export var PreviewAgentsResponse$ = [3, n0, _PARr,
|
|
|
755
781
|
[_aP, _nT],
|
|
756
782
|
[() => AgentPreviewList, 0], 1
|
|
757
783
|
];
|
|
758
|
-
export var PreviewGenerationInProgressException$ = [-3, n0, _PGIPE,
|
|
759
|
-
{ [_e]: _c },
|
|
760
|
-
[_m],
|
|
761
|
-
[0], 1
|
|
762
|
-
];
|
|
763
|
-
TypeRegistry.for(n0).registerError(PreviewGenerationInProgressException$, PreviewGenerationInProgressException);
|
|
764
784
|
export var PrivateIp$ = [3, n0, _PI,
|
|
765
785
|
0,
|
|
766
786
|
[_pDN, _pIA],
|
|
@@ -806,12 +826,6 @@ export var SecurityGroup$ = [3, n0, _SG,
|
|
|
806
826
|
[_gN, _gI],
|
|
807
827
|
[0, 0]
|
|
808
828
|
];
|
|
809
|
-
export var ServiceTemporarilyUnavailableException$ = [-3, n0, _STUE,
|
|
810
|
-
{ [_e]: _ser, [_hE]: 503 },
|
|
811
|
-
[_m, _cR],
|
|
812
|
-
[0, 2], 2
|
|
813
|
-
];
|
|
814
|
-
TypeRegistry.for(n0).registerError(ServiceTemporarilyUnavailableException$, ServiceTemporarilyUnavailableException);
|
|
815
829
|
export var SetTagsForResourceRequest$ = [3, n0, _STFRR,
|
|
816
830
|
0,
|
|
817
831
|
[_rAes, _t],
|
|
@@ -824,12 +838,12 @@ export var StartAssessmentRunRequest$ = [3, n0, _SARR,
|
|
|
824
838
|
];
|
|
825
839
|
export var StartAssessmentRunResponse$ = [3, n0, _SARRt,
|
|
826
840
|
0,
|
|
827
|
-
[
|
|
841
|
+
[_aRAs],
|
|
828
842
|
[0], 1
|
|
829
843
|
];
|
|
830
844
|
export var StopAssessmentRunRequest$ = [3, n0, _SARRto,
|
|
831
845
|
0,
|
|
832
|
-
[
|
|
846
|
+
[_aRAs, _sAt],
|
|
833
847
|
[0, 0], 1
|
|
834
848
|
];
|
|
835
849
|
export var SubscribeToEventRequest$ = [3, n0, _STER,
|
|
@@ -862,20 +876,12 @@ export var UnsubscribeFromEventRequest$ = [3, n0, _UFER,
|
|
|
862
876
|
[_rAes, _ev, _tA],
|
|
863
877
|
[0, 0, 0], 3
|
|
864
878
|
];
|
|
865
|
-
export var UnsupportedFeatureException$ = [-3, n0, _UFE,
|
|
866
|
-
{ [_e]: _c },
|
|
867
|
-
[_m, _cR],
|
|
868
|
-
[0, 2], 2
|
|
869
|
-
];
|
|
870
|
-
TypeRegistry.for(n0).registerError(UnsupportedFeatureException$, UnsupportedFeatureException);
|
|
871
879
|
export var UpdateAssessmentTargetRequest$ = [3, n0, _UATR,
|
|
872
880
|
0,
|
|
873
881
|
[_aTAs, _aTN, _rGA],
|
|
874
882
|
[0, 0, 0], 2
|
|
875
883
|
];
|
|
876
884
|
var __Unit = "unit";
|
|
877
|
-
export var InspectorServiceException$ = [-3, _sm, "InspectorServiceException", 0, [], []];
|
|
878
|
-
TypeRegistry.for(_sm).registerError(InspectorServiceException$, InspectorServiceException);
|
|
879
885
|
var AddRemoveAttributesFindingArnList = 64 | 0;
|
|
880
886
|
var AgentAlreadyRunningAssessmentList = [1, n0, _AARAL,
|
|
881
887
|
0, () => AgentAlreadyRunningAssessment$
|
|
@@ -1,15 +1,31 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var InspectorServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var AgentsAlreadyRunningAssessmentException$: StaticErrorSchema;
|
|
6
|
+
export declare var AssessmentRunInProgressException$: StaticErrorSchema;
|
|
7
|
+
export declare var InternalException$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidCrossAccountRoleException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
10
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
11
|
+
export declare var NoSuchEntityException$: StaticErrorSchema;
|
|
12
|
+
export declare var PreviewGenerationInProgressException$: StaticErrorSchema;
|
|
13
|
+
export declare var ServiceTemporarilyUnavailableException$: StaticErrorSchema;
|
|
14
|
+
export declare var UnsupportedFeatureException$: StaticErrorSchema;
|
|
15
|
+
/**
|
|
16
|
+
* TypeRegistry instances containing modeled errors.
|
|
17
|
+
* @internal
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
21
|
export declare var AddAttributesToFindingsRequest$: StaticStructureSchema;
|
|
4
22
|
export declare var AddAttributesToFindingsResponse$: StaticStructureSchema;
|
|
5
23
|
export declare var AgentAlreadyRunningAssessment$: StaticStructureSchema;
|
|
6
24
|
export declare var AgentFilter$: StaticStructureSchema;
|
|
7
25
|
export declare var AgentPreview$: StaticStructureSchema;
|
|
8
|
-
export declare var AgentsAlreadyRunningAssessmentException$: StaticErrorSchema;
|
|
9
26
|
export declare var AssessmentRun$: StaticStructureSchema;
|
|
10
27
|
export declare var AssessmentRunAgent$: StaticStructureSchema;
|
|
11
28
|
export declare var AssessmentRunFilter$: StaticStructureSchema;
|
|
12
|
-
export declare var AssessmentRunInProgressException$: StaticErrorSchema;
|
|
13
29
|
export declare var AssessmentRunNotification$: StaticStructureSchema;
|
|
14
30
|
export declare var AssessmentRunStateChange$: StaticStructureSchema;
|
|
15
31
|
export declare var AssessmentTarget$: StaticStructureSchema;
|
|
@@ -58,10 +74,6 @@ export declare var GetExclusionsPreviewResponse$: StaticStructureSchema;
|
|
|
58
74
|
export declare var GetTelemetryMetadataRequest$: StaticStructureSchema;
|
|
59
75
|
export declare var GetTelemetryMetadataResponse$: StaticStructureSchema;
|
|
60
76
|
export declare var InspectorServiceAttributes$: StaticStructureSchema;
|
|
61
|
-
export declare var InternalException$: StaticErrorSchema;
|
|
62
|
-
export declare var InvalidCrossAccountRoleException$: StaticErrorSchema;
|
|
63
|
-
export declare var InvalidInputException$: StaticErrorSchema;
|
|
64
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
65
77
|
export declare var ListAssessmentRunAgentsRequest$: StaticStructureSchema;
|
|
66
78
|
export declare var ListAssessmentRunAgentsResponse$: StaticStructureSchema;
|
|
67
79
|
export declare var ListAssessmentRunsRequest$: StaticStructureSchema;
|
|
@@ -81,10 +93,8 @@ export declare var ListRulesPackagesResponse$: StaticStructureSchema;
|
|
|
81
93
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
82
94
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
83
95
|
export declare var NetworkInterface$: StaticStructureSchema;
|
|
84
|
-
export declare var NoSuchEntityException$: StaticErrorSchema;
|
|
85
96
|
export declare var PreviewAgentsRequest$: StaticStructureSchema;
|
|
86
97
|
export declare var PreviewAgentsResponse$: StaticStructureSchema;
|
|
87
|
-
export declare var PreviewGenerationInProgressException$: StaticErrorSchema;
|
|
88
98
|
export declare var PrivateIp$: StaticStructureSchema;
|
|
89
99
|
export declare var RegisterCrossAccountAccessRoleRequest$: StaticStructureSchema;
|
|
90
100
|
export declare var RemoveAttributesFromFindingsRequest$: StaticStructureSchema;
|
|
@@ -94,7 +104,6 @@ export declare var ResourceGroupTag$: StaticStructureSchema;
|
|
|
94
104
|
export declare var RulesPackage$: StaticStructureSchema;
|
|
95
105
|
export declare var Scope$: StaticStructureSchema;
|
|
96
106
|
export declare var SecurityGroup$: StaticStructureSchema;
|
|
97
|
-
export declare var ServiceTemporarilyUnavailableException$: StaticErrorSchema;
|
|
98
107
|
export declare var SetTagsForResourceRequest$: StaticStructureSchema;
|
|
99
108
|
export declare var StartAssessmentRunRequest$: StaticStructureSchema;
|
|
100
109
|
export declare var StartAssessmentRunResponse$: StaticStructureSchema;
|
|
@@ -105,9 +114,7 @@ export declare var Tag$: StaticStructureSchema;
|
|
|
105
114
|
export declare var TelemetryMetadata$: StaticStructureSchema;
|
|
106
115
|
export declare var TimestampRange$: StaticStructureSchema;
|
|
107
116
|
export declare var UnsubscribeFromEventRequest$: StaticStructureSchema;
|
|
108
|
-
export declare var UnsupportedFeatureException$: StaticErrorSchema;
|
|
109
117
|
export declare var UpdateAssessmentTargetRequest$: StaticStructureSchema;
|
|
110
|
-
export declare var InspectorServiceException$: StaticErrorSchema;
|
|
111
118
|
export declare var AddAttributesToFindings$: StaticOperationSchema;
|
|
112
119
|
export declare var CreateAssessmentTarget$: StaticOperationSchema;
|
|
113
120
|
export declare var CreateAssessmentTemplate$: StaticOperationSchema;
|
|
@@ -1,19 +1,30 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var InspectorServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var AgentsAlreadyRunningAssessmentException$: StaticErrorSchema;
|
|
10
|
+
export declare var AssessmentRunInProgressException$: StaticErrorSchema;
|
|
11
|
+
export declare var InternalException$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidCrossAccountRoleException$: StaticErrorSchema;
|
|
13
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
14
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
15
|
+
export declare var NoSuchEntityException$: StaticErrorSchema;
|
|
16
|
+
export declare var PreviewGenerationInProgressException$: StaticErrorSchema;
|
|
17
|
+
export declare var ServiceTemporarilyUnavailableException$: StaticErrorSchema;
|
|
18
|
+
export declare var UnsupportedFeatureException$: StaticErrorSchema;
|
|
19
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
20
|
export declare var AddAttributesToFindingsRequest$: StaticStructureSchema;
|
|
8
21
|
export declare var AddAttributesToFindingsResponse$: StaticStructureSchema;
|
|
9
22
|
export declare var AgentAlreadyRunningAssessment$: StaticStructureSchema;
|
|
10
23
|
export declare var AgentFilter$: StaticStructureSchema;
|
|
11
24
|
export declare var AgentPreview$: StaticStructureSchema;
|
|
12
|
-
export declare var AgentsAlreadyRunningAssessmentException$: StaticErrorSchema;
|
|
13
25
|
export declare var AssessmentRun$: StaticStructureSchema;
|
|
14
26
|
export declare var AssessmentRunAgent$: StaticStructureSchema;
|
|
15
27
|
export declare var AssessmentRunFilter$: StaticStructureSchema;
|
|
16
|
-
export declare var AssessmentRunInProgressException$: StaticErrorSchema;
|
|
17
28
|
export declare var AssessmentRunNotification$: StaticStructureSchema;
|
|
18
29
|
export declare var AssessmentRunStateChange$: StaticStructureSchema;
|
|
19
30
|
export declare var AssessmentTarget$: StaticStructureSchema;
|
|
@@ -62,10 +73,6 @@ export declare var GetExclusionsPreviewResponse$: StaticStructureSchema;
|
|
|
62
73
|
export declare var GetTelemetryMetadataRequest$: StaticStructureSchema;
|
|
63
74
|
export declare var GetTelemetryMetadataResponse$: StaticStructureSchema;
|
|
64
75
|
export declare var InspectorServiceAttributes$: StaticStructureSchema;
|
|
65
|
-
export declare var InternalException$: StaticErrorSchema;
|
|
66
|
-
export declare var InvalidCrossAccountRoleException$: StaticErrorSchema;
|
|
67
|
-
export declare var InvalidInputException$: StaticErrorSchema;
|
|
68
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
69
76
|
export declare var ListAssessmentRunAgentsRequest$: StaticStructureSchema;
|
|
70
77
|
export declare var ListAssessmentRunAgentsResponse$: StaticStructureSchema;
|
|
71
78
|
export declare var ListAssessmentRunsRequest$: StaticStructureSchema;
|
|
@@ -85,10 +92,8 @@ export declare var ListRulesPackagesResponse$: StaticStructureSchema;
|
|
|
85
92
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
86
93
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
87
94
|
export declare var NetworkInterface$: StaticStructureSchema;
|
|
88
|
-
export declare var NoSuchEntityException$: StaticErrorSchema;
|
|
89
95
|
export declare var PreviewAgentsRequest$: StaticStructureSchema;
|
|
90
96
|
export declare var PreviewAgentsResponse$: StaticStructureSchema;
|
|
91
|
-
export declare var PreviewGenerationInProgressException$: StaticErrorSchema;
|
|
92
97
|
export declare var PrivateIp$: StaticStructureSchema;
|
|
93
98
|
export declare var RegisterCrossAccountAccessRoleRequest$: StaticStructureSchema;
|
|
94
99
|
export declare var RemoveAttributesFromFindingsRequest$: StaticStructureSchema;
|
|
@@ -98,7 +103,6 @@ export declare var ResourceGroupTag$: StaticStructureSchema;
|
|
|
98
103
|
export declare var RulesPackage$: StaticStructureSchema;
|
|
99
104
|
export declare var Scope$: StaticStructureSchema;
|
|
100
105
|
export declare var SecurityGroup$: StaticStructureSchema;
|
|
101
|
-
export declare var ServiceTemporarilyUnavailableException$: StaticErrorSchema;
|
|
102
106
|
export declare var SetTagsForResourceRequest$: StaticStructureSchema;
|
|
103
107
|
export declare var StartAssessmentRunRequest$: StaticStructureSchema;
|
|
104
108
|
export declare var StartAssessmentRunResponse$: StaticStructureSchema;
|
|
@@ -109,9 +113,7 @@ export declare var Tag$: StaticStructureSchema;
|
|
|
109
113
|
export declare var TelemetryMetadata$: StaticStructureSchema;
|
|
110
114
|
export declare var TimestampRange$: StaticStructureSchema;
|
|
111
115
|
export declare var UnsubscribeFromEventRequest$: StaticStructureSchema;
|
|
112
|
-
export declare var UnsupportedFeatureException$: StaticErrorSchema;
|
|
113
116
|
export declare var UpdateAssessmentTargetRequest$: StaticStructureSchema;
|
|
114
|
-
export declare var InspectorServiceException$: StaticErrorSchema;
|
|
115
117
|
export declare var AddAttributesToFindings$: StaticOperationSchema;
|
|
116
118
|
export declare var CreateAssessmentTarget$: StaticOperationSchema;
|
|
117
119
|
export declare var CreateAssessmentTemplate$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-inspector",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|