@aws-sdk/client-codeguru-security 3.1075.0 → 3.1076.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 CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultCodeGuruSecurityHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { BatchGetFindings$, CreateScan$, CreateUploadUrl$, GetAccountConfiguration$, GetFindings$, GetMetricsSummary$, GetScan$, ListFindingsMetrics$, ListScans$, ListTagsForResource$, TagResource$, UntagResource$, UpdateAccountConfiguration$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { CodeGuruSecurityServiceException } = require("./models/CodeGuruSecurityServiceException");
18
- exports.CodeGuruSecurityServiceException = CodeGuruSecurityServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultCodeGuruSecurityHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "codeguru-security",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultCodeGuruSecurityHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,765 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://codeguru-security-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://codeguru-security-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://codeguru-security.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://codeguru-security.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class CodeGuruSecurityServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, CodeGuruSecurityServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends CodeGuruSecurityServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ errorCode;
143
+ resourceId;
144
+ resourceType;
145
+ constructor(opts) {
146
+ super({
147
+ name: "AccessDeniedException",
148
+ $fault: "client",
149
+ ...opts,
150
+ });
151
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
152
+ this.errorCode = opts.errorCode;
153
+ this.resourceId = opts.resourceId;
154
+ this.resourceType = opts.resourceType;
155
+ }
156
+ }
157
+ class InternalServerException extends CodeGuruSecurityServiceException {
158
+ name = "InternalServerException";
159
+ $fault = "server";
160
+ $retryable = {};
161
+ error;
162
+ constructor(opts) {
163
+ super({
164
+ name: "InternalServerException",
165
+ $fault: "server",
166
+ ...opts,
167
+ });
168
+ Object.setPrototypeOf(this, InternalServerException.prototype);
169
+ this.error = opts.error;
170
+ }
171
+ }
172
+ class ThrottlingException extends CodeGuruSecurityServiceException {
173
+ name = "ThrottlingException";
174
+ $fault = "client";
175
+ $retryable = {
176
+ throttling: true,
177
+ };
178
+ errorCode;
179
+ serviceCode;
180
+ quotaCode;
181
+ constructor(opts) {
182
+ super({
183
+ name: "ThrottlingException",
184
+ $fault: "client",
185
+ ...opts,
186
+ });
187
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
188
+ this.errorCode = opts.errorCode;
189
+ this.serviceCode = opts.serviceCode;
190
+ this.quotaCode = opts.quotaCode;
191
+ }
192
+ }
193
+ class ValidationException extends CodeGuruSecurityServiceException {
194
+ name = "ValidationException";
195
+ $fault = "client";
196
+ errorCode;
197
+ reason;
198
+ fieldList;
199
+ constructor(opts) {
200
+ super({
201
+ name: "ValidationException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, ValidationException.prototype);
206
+ this.errorCode = opts.errorCode;
207
+ this.reason = opts.reason;
208
+ this.fieldList = opts.fieldList;
209
+ }
210
+ }
211
+ class ConflictException extends CodeGuruSecurityServiceException {
212
+ name = "ConflictException";
213
+ $fault = "client";
214
+ errorCode;
215
+ resourceId;
216
+ resourceType;
217
+ constructor(opts) {
218
+ super({
219
+ name: "ConflictException",
220
+ $fault: "client",
221
+ ...opts,
222
+ });
223
+ Object.setPrototypeOf(this, ConflictException.prototype);
224
+ this.errorCode = opts.errorCode;
225
+ this.resourceId = opts.resourceId;
226
+ this.resourceType = opts.resourceType;
227
+ }
228
+ }
229
+ class ResourceNotFoundException extends CodeGuruSecurityServiceException {
230
+ name = "ResourceNotFoundException";
231
+ $fault = "client";
232
+ errorCode;
233
+ resourceId;
234
+ resourceType;
235
+ constructor(opts) {
236
+ super({
237
+ name: "ResourceNotFoundException",
238
+ $fault: "client",
239
+ ...opts,
240
+ });
241
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
242
+ this.errorCode = opts.errorCode;
243
+ this.resourceId = opts.resourceId;
244
+ this.resourceType = opts.resourceType;
245
+ }
246
+ }
247
+
248
+ const _ADE = "AccessDeniedException";
249
+ const _AFM = "AccountFindingsMetric";
250
+ const _BGF = "BatchGetFindings";
251
+ const _BGFE = "BatchGetFindingsError";
252
+ const _BGFEa = "BatchGetFindingsErrors";
253
+ const _BGFR = "BatchGetFindingsRequest";
254
+ const _BGFRa = "BatchGetFindingsResponse";
255
+ const _CE = "ConflictException";
256
+ const _CL = "CodeLine";
257
+ const _CS = "CodeSnippet";
258
+ const _CSR = "CreateScanRequest";
259
+ const _CSRr = "CreateScanResponse";
260
+ const _CSr = "CreateScan";
261
+ const _CUU = "CreateUploadUrl";
262
+ const _CUUR = "CreateUploadUrlRequest";
263
+ const _CUURr = "CreateUploadUrlResponse";
264
+ const _CWFN = "CategoryWithFindingNum";
265
+ const _CWMF = "CategoriesWithMostFindings";
266
+ const _EC = "EncryptionConfig";
267
+ const _F = "Finding";
268
+ const _FI = "FindingIdentifier";
269
+ const _FIi = "FindingIdentifiers";
270
+ const _FML = "FindingsMetricList";
271
+ const _FMVPS = "FindingMetricsValuePerSeverity";
272
+ const _FP = "FilePath";
273
+ const _Fi = "Findings";
274
+ const _GAC = "GetAccountConfiguration";
275
+ const _GACR = "GetAccountConfigurationRequest";
276
+ const _GACRe = "GetAccountConfigurationResponse";
277
+ const _GF = "GetFindings";
278
+ const _GFR = "GetFindingsRequest";
279
+ const _GFRe = "GetFindingsResponse";
280
+ const _GMS = "GetMetricsSummary";
281
+ const _GMSR = "GetMetricsSummaryRequest";
282
+ const _GMSRe = "GetMetricsSummaryResponse";
283
+ const _GS = "GetScan";
284
+ const _GSR = "GetScanRequest";
285
+ const _GSRe = "GetScanResponse";
286
+ const _ISE = "InternalServerException";
287
+ const _LFM = "ListFindingsMetrics";
288
+ const _LFMR = "ListFindingsMetricsRequest";
289
+ const _LFMRi = "ListFindingsMetricsResponse";
290
+ const _LS = "ListScans";
291
+ const _LSR = "ListScansRequest";
292
+ const _LSRi = "ListScansResponse";
293
+ const _LTFR = "ListTagsForResource";
294
+ const _LTFRR = "ListTagsForResourceRequest";
295
+ const _LTFRRi = "ListTagsForResourceResponse";
296
+ const _MS = "MetricsSummary";
297
+ const _R = "Recommendation";
298
+ const _RHM = "RequestHeaderMap";
299
+ const _RI = "ResourceId";
300
+ const _RNFE = "ResourceNotFoundException";
301
+ const _Re = "Remediation";
302
+ const _Res = "Resource";
303
+ const _SF = "SuggestedFix";
304
+ const _SFu = "SuggestedFixes";
305
+ const _SNWFN = "ScanNameWithFindingNum";
306
+ const _SS = "ScanSummary";
307
+ const _SSc = "ScanSummaries";
308
+ const _SU = "S3Url";
309
+ const _SWMOCF = "ScansWithMostOpenCriticalFindings";
310
+ const _SWMOF = "ScansWithMostOpenFindings";
311
+ const _TE = "ThrottlingException";
312
+ const _TR = "TagResource";
313
+ const _TRR = "TagResourceRequest";
314
+ const _TRRa = "TagResourceResponse";
315
+ const _UAC = "UpdateAccountConfiguration";
316
+ const _UACR = "UpdateAccountConfigurationRequest";
317
+ const _UACRp = "UpdateAccountConfigurationResponse";
318
+ const _UR = "UntagResource";
319
+ const _URR = "UntagResourceRequest";
320
+ const _URRn = "UntagResourceResponse";
321
+ const _V = "Vulnerability";
322
+ const _VE = "ValidationException";
323
+ const _VEF = "ValidationExceptionField";
324
+ const _VEFL = "ValidationExceptionFieldList";
325
+ const _aT = "analysisType";
326
+ const _c = "client";
327
+ const _cA = "createdAt";
328
+ const _cAI = "codeArtifactId";
329
+ const _cF = "closedFindings";
330
+ const _cN = "categoryName";
331
+ const _cS = "codeSnippet";
332
+ const _cT = "clientToken";
333
+ const _cWMF = "categoriesWithMostFindings";
334
+ const _co = "content";
335
+ const _cod = "code";
336
+ const _cr = "critical";
337
+ const _d = "date";
338
+ const _dI = "detectorId";
339
+ const _dN = "detectorName";
340
+ const _dT = "detectorTags";
341
+ const _de = "description";
342
+ const _e = "error";
343
+ const _eC = "errorCode";
344
+ const _eCn = "encryptionConfig";
345
+ const _eD = "endDate";
346
+ const _eL = "endLine";
347
+ const _eM = "errorMessage";
348
+ const _f = "findings";
349
+ const _fF = "failedFindings";
350
+ const _fI = "findingId";
351
+ const _fIi = "findingIdentifiers";
352
+ const _fL = "fieldList";
353
+ const _fM = "findingsMetrics";
354
+ const _fN = "findingNumber";
355
+ const _fP = "filePath";
356
+ const _gI = "generatorId";
357
+ const _h = "high";
358
+ const _hE = "httpError";
359
+ const _hQ = "httpQuery";
360
+ const _ht = "http";
361
+ const _i = "id";
362
+ const _iC = "itemCount";
363
+ const _in = "info";
364
+ const _kKA = "kmsKeyArn";
365
+ const _l = "low";
366
+ const _m = "message";
367
+ const _mR = "maxResults";
368
+ const _mS = "metricsSummary";
369
+ const _mTTC = "meanTimeToClose";
370
+ const _me = "medium";
371
+ const _n = "number";
372
+ const _nF = "newFindings";
373
+ const _nOR = "numberOfRevisions";
374
+ const _nT = "nextToken";
375
+ const _na = "name";
376
+ const _oF = "openFindings";
377
+ const _p = "path";
378
+ const _qC = "quotaCode";
379
+ const _r = "reason";
380
+ const _rA = "resourceArn";
381
+ const _rH = "requestHeaders";
382
+ const _rI = "resourceId";
383
+ const _rIu = "runId";
384
+ const _rIul = "ruleId";
385
+ const _rT = "resourceType";
386
+ const _rU = "referenceUrls";
387
+ const _rV = "relatedVulnerabilities";
388
+ const _re = "resource";
389
+ const _rec = "recommendation";
390
+ const _rem = "remediation";
391
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codegurusecurity";
392
+ const _sC = "serviceCode";
393
+ const _sD = "startDate";
394
+ const _sF = "suggestedFixes";
395
+ const _sL = "startLine";
396
+ const _sN = "scanName";
397
+ const _sNA = "scanNameArn";
398
+ const _sRI = "subResourceId";
399
+ const _sS = "scanState";
400
+ const _sT = "scanType";
401
+ const _sU = "s3Url";
402
+ const _sWMOCF = "scansWithMostOpenCriticalFindings";
403
+ const _sWMOF = "scansWithMostOpenFindings";
404
+ const _se = "server";
405
+ const _sev = "severity";
406
+ const _st = "status";
407
+ const _su = "summaries";
408
+ const _t = "tags";
409
+ const _tK = "tagKeys";
410
+ const _te = "text";
411
+ const _ti = "title";
412
+ const _ty = "type";
413
+ const _u = "url";
414
+ const _uA = "updatedAt";
415
+ const _v = "vulnerability";
416
+ const n0 = "com.amazonaws.codegurusecurity";
417
+ const _s_registry = TypeRegistry.for(_s);
418
+ var CodeGuruSecurityServiceException$ = [-3, _s, "CodeGuruSecurityServiceException", 0, [], []];
419
+ _s_registry.registerError(CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException);
420
+ const n0_registry = TypeRegistry.for(n0);
421
+ var AccessDeniedException$ = [-3, n0, _ADE,
422
+ { [_e]: _c, [_hE]: 403 },
423
+ [_eC, _m, _rI, _rT],
424
+ [0, 0, 0, 0], 2
425
+ ];
426
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
427
+ var ConflictException$ = [-3, n0, _CE,
428
+ { [_e]: _c, [_hE]: 409 },
429
+ [_eC, _m, _rI, _rT],
430
+ [0, 0, 0, 0], 4
431
+ ];
432
+ n0_registry.registerError(ConflictException$, ConflictException);
433
+ var InternalServerException$ = [-3, n0, _ISE,
434
+ { [_e]: _se, [_hE]: 500 },
435
+ [_e, _m],
436
+ [0, 0]
437
+ ];
438
+ n0_registry.registerError(InternalServerException$, InternalServerException);
439
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
440
+ { [_e]: _c, [_hE]: 404 },
441
+ [_eC, _m, _rI, _rT],
442
+ [0, 0, 0, 0], 4
443
+ ];
444
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
445
+ var ThrottlingException$ = [-3, n0, _TE,
446
+ { [_e]: _c, [_hE]: 429 },
447
+ [_eC, _m, _sC, _qC],
448
+ [0, 0, 0, 0], 2
449
+ ];
450
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
451
+ var ValidationException$ = [-3, n0, _VE,
452
+ { [_e]: _c, [_hE]: 400 },
453
+ [_eC, _m, _r, _fL],
454
+ [0, 0, 0, () => ValidationExceptionFieldList], 3
455
+ ];
456
+ n0_registry.registerError(ValidationException$, ValidationException);
457
+ const errorTypeRegistries = [
458
+ _s_registry,
459
+ n0_registry,
460
+ ];
461
+ var S3Url = [0, n0, _SU, 8, 0];
462
+ var AccountFindingsMetric$ = [3, n0, _AFM,
463
+ 0,
464
+ [_d, _nF, _cF, _oF, _mTTC],
465
+ [4, () => FindingMetricsValuePerSeverity$, () => FindingMetricsValuePerSeverity$, () => FindingMetricsValuePerSeverity$, () => FindingMetricsValuePerSeverity$]
466
+ ];
467
+ var BatchGetFindingsError$ = [3, n0, _BGFE,
468
+ 0,
469
+ [_sN, _fI, _eC, _m],
470
+ [0, 0, 0, 0], 4
471
+ ];
472
+ var BatchGetFindingsRequest$ = [3, n0, _BGFR,
473
+ 0,
474
+ [_fIi],
475
+ [() => FindingIdentifiers], 1
476
+ ];
477
+ var BatchGetFindingsResponse$ = [3, n0, _BGFRa,
478
+ 0,
479
+ [_f, _fF],
480
+ [() => Findings, () => BatchGetFindingsErrors], 2
481
+ ];
482
+ var CategoryWithFindingNum$ = [3, n0, _CWFN,
483
+ 0,
484
+ [_cN, _fN],
485
+ [0, 1]
486
+ ];
487
+ var CodeLine$ = [3, n0, _CL,
488
+ 0,
489
+ [_n, _co],
490
+ [1, 0]
491
+ ];
492
+ var CreateScanRequest$ = [3, n0, _CSR,
493
+ 0,
494
+ [_rI, _sN, _cT, _sT, _aT, _t],
495
+ [() => ResourceId$, 0, [0, 4], 0, 0, 128 | 0], 2
496
+ ];
497
+ var CreateScanResponse$ = [3, n0, _CSRr,
498
+ 0,
499
+ [_sN, _rIu, _rI, _sS, _sNA],
500
+ [0, 0, () => ResourceId$, 0, 0], 4
501
+ ];
502
+ var CreateUploadUrlRequest$ = [3, n0, _CUUR,
503
+ 0,
504
+ [_sN],
505
+ [0], 1
506
+ ];
507
+ var CreateUploadUrlResponse$ = [3, n0, _CUURr,
508
+ 0,
509
+ [_sU, _rH, _cAI],
510
+ [[() => S3Url, 0], [() => RequestHeaderMap, 0], 0], 3
511
+ ];
512
+ var EncryptionConfig$ = [3, n0, _EC,
513
+ 0,
514
+ [_kKA],
515
+ [0]
516
+ ];
517
+ var FilePath$ = [3, n0, _FP,
518
+ 0,
519
+ [_na, _p, _sL, _eL, _cS],
520
+ [0, 0, 1, 1, () => CodeSnippet]
521
+ ];
522
+ var Finding$ = [3, n0, _F,
523
+ 0,
524
+ [_cA, _de, _gI, _i, _uA, _ty, _st, _re, _v, _sev, _rem, _ti, _dT, _dI, _dN, _rIul],
525
+ [4, 0, 0, 0, 4, 0, 0, () => Resource$, () => Vulnerability$, 0, () => Remediation$, 0, 64 | 0, 0, 0, 0]
526
+ ];
527
+ var FindingIdentifier$ = [3, n0, _FI,
528
+ 0,
529
+ [_sN, _fI],
530
+ [0, 0], 2
531
+ ];
532
+ var FindingMetricsValuePerSeverity$ = [3, n0, _FMVPS,
533
+ 0,
534
+ [_in, _l, _me, _h, _cr],
535
+ [1, 1, 1, 1, 1]
536
+ ];
537
+ var GetAccountConfigurationRequest$ = [3, n0, _GACR,
538
+ 0,
539
+ [],
540
+ []
541
+ ];
542
+ var GetAccountConfigurationResponse$ = [3, n0, _GACRe,
543
+ 0,
544
+ [_eCn],
545
+ [() => EncryptionConfig$], 1
546
+ ];
547
+ var GetFindingsRequest$ = [3, n0, _GFR,
548
+ 0,
549
+ [_sN, _nT, _mR, _st],
550
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }]], 1
551
+ ];
552
+ var GetFindingsResponse$ = [3, n0, _GFRe,
553
+ 0,
554
+ [_f, _nT],
555
+ [() => Findings, 0]
556
+ ];
557
+ var GetMetricsSummaryRequest$ = [3, n0, _GMSR,
558
+ 0,
559
+ [_d],
560
+ [[4, { [_hQ]: _d }]], 1
561
+ ];
562
+ var GetMetricsSummaryResponse$ = [3, n0, _GMSRe,
563
+ 0,
564
+ [_mS],
565
+ [() => MetricsSummary$]
566
+ ];
567
+ var GetScanRequest$ = [3, n0, _GSR,
568
+ 0,
569
+ [_sN, _rIu],
570
+ [[0, 1], [0, { [_hQ]: _rIu }]], 1
571
+ ];
572
+ var GetScanResponse$ = [3, n0, _GSRe,
573
+ 0,
574
+ [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
575
+ [0, 0, 0, 4, 0, 4, 1, 0, 0], 5
576
+ ];
577
+ var ListFindingsMetricsRequest$ = [3, n0, _LFMR,
578
+ 0,
579
+ [_sD, _eD, _nT, _mR],
580
+ [[4, { [_hQ]: _sD }], [4, { [_hQ]: _eD }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
581
+ ];
582
+ var ListFindingsMetricsResponse$ = [3, n0, _LFMRi,
583
+ 0,
584
+ [_fM, _nT],
585
+ [() => FindingsMetricList, 0]
586
+ ];
587
+ var ListScansRequest$ = [3, n0, _LSR,
588
+ 0,
589
+ [_nT, _mR],
590
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
591
+ ];
592
+ var ListScansResponse$ = [3, n0, _LSRi,
593
+ 0,
594
+ [_su, _nT],
595
+ [() => ScanSummaries, 0]
596
+ ];
597
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
598
+ 0,
599
+ [_rA],
600
+ [[0, 1]], 1
601
+ ];
602
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
603
+ 0,
604
+ [_t],
605
+ [128 | 0]
606
+ ];
607
+ var MetricsSummary$ = [3, n0, _MS,
608
+ 0,
609
+ [_d, _oF, _cWMF, _sWMOF, _sWMOCF],
610
+ [4, () => FindingMetricsValuePerSeverity$, () => CategoriesWithMostFindings, () => ScansWithMostOpenFindings, () => ScansWithMostOpenCriticalFindings]
611
+ ];
612
+ var Recommendation$ = [3, n0, _R,
613
+ 0,
614
+ [_te, _u],
615
+ [0, 0]
616
+ ];
617
+ var Remediation$ = [3, n0, _Re,
618
+ 0,
619
+ [_rec, _sF],
620
+ [() => Recommendation$, () => SuggestedFixes]
621
+ ];
622
+ var Resource$ = [3, n0, _Res,
623
+ 0,
624
+ [_i, _sRI],
625
+ [0, 0]
626
+ ];
627
+ var ScanNameWithFindingNum$ = [3, n0, _SNWFN,
628
+ 0,
629
+ [_sN, _fN],
630
+ [0, 1]
631
+ ];
632
+ var ScanSummary$ = [3, n0, _SS,
633
+ 0,
634
+ [_sS, _cA, _sN, _rIu, _uA, _sNA],
635
+ [0, 4, 0, 0, 4, 0], 4
636
+ ];
637
+ var SuggestedFix$ = [3, n0, _SF,
638
+ 0,
639
+ [_de, _cod],
640
+ [0, 0]
641
+ ];
642
+ var TagResourceRequest$ = [3, n0, _TRR,
643
+ 0,
644
+ [_rA, _t],
645
+ [[0, 1], 128 | 0], 2
646
+ ];
647
+ var TagResourceResponse$ = [3, n0, _TRRa,
648
+ 0,
649
+ [],
650
+ []
651
+ ];
652
+ var UntagResourceRequest$ = [3, n0, _URR,
653
+ 0,
654
+ [_rA, _tK],
655
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
656
+ ];
657
+ var UntagResourceResponse$ = [3, n0, _URRn,
658
+ 0,
659
+ [],
660
+ []
661
+ ];
662
+ var UpdateAccountConfigurationRequest$ = [3, n0, _UACR,
663
+ 0,
664
+ [_eCn],
665
+ [() => EncryptionConfig$], 1
666
+ ];
667
+ var UpdateAccountConfigurationResponse$ = [3, n0, _UACRp,
668
+ 0,
669
+ [_eCn],
670
+ [() => EncryptionConfig$], 1
671
+ ];
672
+ var ValidationExceptionField$ = [3, n0, _VEF,
673
+ 0,
674
+ [_na, _m],
675
+ [0, 0], 2
676
+ ];
677
+ var Vulnerability$ = [3, n0, _V,
678
+ 0,
679
+ [_rU, _rV, _i, _fP, _iC],
680
+ [64 | 0, 64 | 0, 0, () => FilePath$, 1]
681
+ ];
682
+ var BatchGetFindingsErrors = [1, n0, _BGFEa,
683
+ 0, () => BatchGetFindingsError$
684
+ ];
685
+ var CategoriesWithMostFindings = [1, n0, _CWMF,
686
+ 0, () => CategoryWithFindingNum$
687
+ ];
688
+ var CodeSnippet = [1, n0, _CS,
689
+ 0, () => CodeLine$
690
+ ];
691
+ var FindingIdentifiers = [1, n0, _FIi,
692
+ 0, () => FindingIdentifier$
693
+ ];
694
+ var Findings = [1, n0, _Fi,
695
+ 0, () => Finding$
696
+ ];
697
+ var FindingsMetricList = [1, n0, _FML,
698
+ 0, () => AccountFindingsMetric$
699
+ ];
700
+ var ScanSummaries = [1, n0, _SSc,
701
+ 0, () => ScanSummary$
702
+ ];
703
+ var ScansWithMostOpenCriticalFindings = [1, n0, _SWMOCF,
704
+ 0, () => ScanNameWithFindingNum$
705
+ ];
706
+ var ScansWithMostOpenFindings = [1, n0, _SWMOF,
707
+ 0, () => ScanNameWithFindingNum$
708
+ ];
709
+ var SuggestedFixes = [1, n0, _SFu,
710
+ 0, () => SuggestedFix$
711
+ ];
712
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
713
+ 0, () => ValidationExceptionField$
714
+ ];
715
+ var RequestHeaderMap = [2, n0, _RHM,
716
+ 8, 0, 0
717
+ ];
718
+ var ResourceId$ = [4, n0, _RI,
719
+ 0,
720
+ [_cAI],
721
+ [0]
722
+ ];
723
+ var BatchGetFindings$ = [9, n0, _BGF,
724
+ { [_ht]: ["POST", "/batchGetFindings", 200] }, () => BatchGetFindingsRequest$, () => BatchGetFindingsResponse$
725
+ ];
726
+ var CreateScan$ = [9, n0, _CSr,
727
+ { [_ht]: ["POST", "/scans", 200] }, () => CreateScanRequest$, () => CreateScanResponse$
728
+ ];
729
+ var CreateUploadUrl$ = [9, n0, _CUU,
730
+ { [_ht]: ["POST", "/uploadUrl", 200] }, () => CreateUploadUrlRequest$, () => CreateUploadUrlResponse$
731
+ ];
732
+ var GetAccountConfiguration$ = [9, n0, _GAC,
733
+ { [_ht]: ["GET", "/accountConfiguration/get", 200] }, () => GetAccountConfigurationRequest$, () => GetAccountConfigurationResponse$
734
+ ];
735
+ var GetFindings$ = [9, n0, _GF,
736
+ { [_ht]: ["GET", "/findings/{scanName}", 200] }, () => GetFindingsRequest$, () => GetFindingsResponse$
737
+ ];
738
+ var GetMetricsSummary$ = [9, n0, _GMS,
739
+ { [_ht]: ["GET", "/metrics/summary", 200] }, () => GetMetricsSummaryRequest$, () => GetMetricsSummaryResponse$
740
+ ];
741
+ var GetScan$ = [9, n0, _GS,
742
+ { [_ht]: ["GET", "/scans/{scanName}", 200] }, () => GetScanRequest$, () => GetScanResponse$
743
+ ];
744
+ var ListFindingsMetrics$ = [9, n0, _LFM,
745
+ { [_ht]: ["GET", "/metrics/findings", 200] }, () => ListFindingsMetricsRequest$, () => ListFindingsMetricsResponse$
746
+ ];
747
+ var ListScans$ = [9, n0, _LS,
748
+ { [_ht]: ["GET", "/scans", 200] }, () => ListScansRequest$, () => ListScansResponse$
749
+ ];
750
+ var ListTagsForResource$ = [9, n0, _LTFR,
751
+ { [_ht]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
752
+ ];
753
+ var TagResource$ = [9, n0, _TR,
754
+ { [_ht]: ["POST", "/tags/{resourceArn}", 204] }, () => TagResourceRequest$, () => TagResourceResponse$
755
+ ];
756
+ var UntagResource$ = [9, n0, _UR,
757
+ { [_ht]: ["DELETE", "/tags/{resourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$
758
+ ];
759
+ var UpdateAccountConfiguration$ = [9, n0, _UAC,
760
+ { [_ht]: ["PUT", "/updateAccountConfiguration", 200] }, () => UpdateAccountConfigurationRequest$, () => UpdateAccountConfigurationResponse$
761
+ ];
762
+
763
+ const getRuntimeConfig$1 = (config) => {
764
+ return {
765
+ apiVersion: "2018-05-10",
766
+ base64Decoder: config?.base64Decoder ?? fromBase64,
767
+ base64Encoder: config?.base64Encoder ?? toBase64,
768
+ disableHostPrefix: config?.disableHostPrefix ?? false,
769
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
770
+ extensions: config?.extensions ?? [],
771
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCodeGuruSecurityHttpAuthSchemeProvider,
772
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
773
+ {
774
+ schemeId: "aws.auth#sigv4",
775
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
776
+ signer: new AwsSdkSigV4Signer(),
777
+ },
778
+ ],
779
+ logger: config?.logger ?? new NoOpLogger(),
780
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
781
+ protocolSettings: config?.protocolSettings ?? {
782
+ defaultNamespace: "com.amazonaws.codegurusecurity",
783
+ errorTypeRegistries,
784
+ version: "2018-05-10",
785
+ serviceTarget: "AwsCodeGuruSecurity",
786
+ },
787
+ serviceId: config?.serviceId ?? "CodeGuru Security",
788
+ urlParser: config?.urlParser ?? parseUrl,
789
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
790
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
791
+ };
792
+ };
793
+
794
+ const getRuntimeConfig = (config) => {
795
+ emitWarningIfUnsupportedVersion(process.version);
796
+ const defaultsMode = resolveDefaultsModeConfig(config);
797
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
798
+ const clientSharedValues = getRuntimeConfig$1(config);
799
+ emitWarningIfUnsupportedVersion$1(process.version);
800
+ const loaderConfig = {
801
+ profile: config?.profile,
802
+ logger: clientSharedValues.logger,
803
+ };
804
+ return {
805
+ ...clientSharedValues,
806
+ ...config,
807
+ runtime: "node",
808
+ defaultsMode,
809
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
810
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
811
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
812
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
813
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
814
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
815
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
816
+ retryMode: config?.retryMode ??
817
+ loadConfig({
818
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
819
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
820
+ }, config),
821
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
822
+ streamCollector: config?.streamCollector ?? streamCollector,
823
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
824
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
825
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
826
+ };
827
+ };
828
+
34
829
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
830
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
831
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -337,28 +1132,101 @@ const ScanState = {
337
1132
  SUCCESSFUL: "Successful",
338
1133
  };
339
1134
 
1135
+ exports.AccessDeniedException = AccessDeniedException;
1136
+ exports.AccessDeniedException$ = AccessDeniedException$;
1137
+ exports.AccountFindingsMetric$ = AccountFindingsMetric$;
340
1138
  exports.AnalysisType = AnalysisType;
1139
+ exports.BatchGetFindings$ = BatchGetFindings$;
341
1140
  exports.BatchGetFindingsCommand = BatchGetFindingsCommand;
1141
+ exports.BatchGetFindingsError$ = BatchGetFindingsError$;
1142
+ exports.BatchGetFindingsRequest$ = BatchGetFindingsRequest$;
1143
+ exports.BatchGetFindingsResponse$ = BatchGetFindingsResponse$;
1144
+ exports.CategoryWithFindingNum$ = CategoryWithFindingNum$;
342
1145
  exports.CodeGuruSecurity = CodeGuruSecurity;
343
1146
  exports.CodeGuruSecurityClient = CodeGuruSecurityClient;
1147
+ exports.CodeGuruSecurityServiceException = CodeGuruSecurityServiceException;
1148
+ exports.CodeGuruSecurityServiceException$ = CodeGuruSecurityServiceException$;
1149
+ exports.CodeLine$ = CodeLine$;
1150
+ exports.ConflictException = ConflictException;
1151
+ exports.ConflictException$ = ConflictException$;
1152
+ exports.CreateScan$ = CreateScan$;
344
1153
  exports.CreateScanCommand = CreateScanCommand;
1154
+ exports.CreateScanRequest$ = CreateScanRequest$;
1155
+ exports.CreateScanResponse$ = CreateScanResponse$;
1156
+ exports.CreateUploadUrl$ = CreateUploadUrl$;
345
1157
  exports.CreateUploadUrlCommand = CreateUploadUrlCommand;
1158
+ exports.CreateUploadUrlRequest$ = CreateUploadUrlRequest$;
1159
+ exports.CreateUploadUrlResponse$ = CreateUploadUrlResponse$;
1160
+ exports.EncryptionConfig$ = EncryptionConfig$;
346
1161
  exports.ErrorCode = ErrorCode;
1162
+ exports.FilePath$ = FilePath$;
1163
+ exports.Finding$ = Finding$;
1164
+ exports.FindingIdentifier$ = FindingIdentifier$;
1165
+ exports.FindingMetricsValuePerSeverity$ = FindingMetricsValuePerSeverity$;
1166
+ exports.GetAccountConfiguration$ = GetAccountConfiguration$;
347
1167
  exports.GetAccountConfigurationCommand = GetAccountConfigurationCommand;
1168
+ exports.GetAccountConfigurationRequest$ = GetAccountConfigurationRequest$;
1169
+ exports.GetAccountConfigurationResponse$ = GetAccountConfigurationResponse$;
1170
+ exports.GetFindings$ = GetFindings$;
348
1171
  exports.GetFindingsCommand = GetFindingsCommand;
1172
+ exports.GetFindingsRequest$ = GetFindingsRequest$;
1173
+ exports.GetFindingsResponse$ = GetFindingsResponse$;
1174
+ exports.GetMetricsSummary$ = GetMetricsSummary$;
349
1175
  exports.GetMetricsSummaryCommand = GetMetricsSummaryCommand;
1176
+ exports.GetMetricsSummaryRequest$ = GetMetricsSummaryRequest$;
1177
+ exports.GetMetricsSummaryResponse$ = GetMetricsSummaryResponse$;
1178
+ exports.GetScan$ = GetScan$;
350
1179
  exports.GetScanCommand = GetScanCommand;
1180
+ exports.GetScanRequest$ = GetScanRequest$;
1181
+ exports.GetScanResponse$ = GetScanResponse$;
1182
+ exports.InternalServerException = InternalServerException;
1183
+ exports.InternalServerException$ = InternalServerException$;
1184
+ exports.ListFindingsMetrics$ = ListFindingsMetrics$;
351
1185
  exports.ListFindingsMetricsCommand = ListFindingsMetricsCommand;
1186
+ exports.ListFindingsMetricsRequest$ = ListFindingsMetricsRequest$;
1187
+ exports.ListFindingsMetricsResponse$ = ListFindingsMetricsResponse$;
1188
+ exports.ListScans$ = ListScans$;
352
1189
  exports.ListScansCommand = ListScansCommand;
1190
+ exports.ListScansRequest$ = ListScansRequest$;
1191
+ exports.ListScansResponse$ = ListScansResponse$;
1192
+ exports.ListTagsForResource$ = ListTagsForResource$;
353
1193
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1194
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1195
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1196
+ exports.MetricsSummary$ = MetricsSummary$;
1197
+ exports.Recommendation$ = Recommendation$;
1198
+ exports.Remediation$ = Remediation$;
1199
+ exports.Resource$ = Resource$;
1200
+ exports.ResourceId$ = ResourceId$;
1201
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1202
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1203
+ exports.ScanNameWithFindingNum$ = ScanNameWithFindingNum$;
354
1204
  exports.ScanState = ScanState;
1205
+ exports.ScanSummary$ = ScanSummary$;
355
1206
  exports.ScanType = ScanType;
356
1207
  exports.Severity = Severity;
357
1208
  exports.Status = Status;
1209
+ exports.SuggestedFix$ = SuggestedFix$;
1210
+ exports.TagResource$ = TagResource$;
358
1211
  exports.TagResourceCommand = TagResourceCommand;
1212
+ exports.TagResourceRequest$ = TagResourceRequest$;
1213
+ exports.TagResourceResponse$ = TagResourceResponse$;
1214
+ exports.ThrottlingException = ThrottlingException;
1215
+ exports.ThrottlingException$ = ThrottlingException$;
1216
+ exports.UntagResource$ = UntagResource$;
359
1217
  exports.UntagResourceCommand = UntagResourceCommand;
1218
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1219
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1220
+ exports.UpdateAccountConfiguration$ = UpdateAccountConfiguration$;
360
1221
  exports.UpdateAccountConfigurationCommand = UpdateAccountConfigurationCommand;
1222
+ exports.UpdateAccountConfigurationRequest$ = UpdateAccountConfigurationRequest$;
1223
+ exports.UpdateAccountConfigurationResponse$ = UpdateAccountConfigurationResponse$;
1224
+ exports.ValidationException = ValidationException;
1225
+ exports.ValidationException$ = ValidationException$;
1226
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
361
1227
  exports.ValidationExceptionReason = ValidationExceptionReason;
1228
+ exports.Vulnerability$ = Vulnerability$;
1229
+ exports.errorTypeRegistries = errorTypeRegistries;
362
1230
  exports.paginateGetFindings = paginateGetFindings;
363
1231
  exports.paginateListFindingsMetrics = paginateListFindingsMetrics;
364
1232
  exports.paginateListScans = paginateListScans;