@aws-sdk/client-codeguru-security 3.1067.0 → 3.1069.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.
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateAccountConfigurationResponse$ = exports.UpdateAccountConfigurationRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SuggestedFix$ = exports.ScanSummary$ = exports.ScanNameWithFindingNum$ = exports.Resource$ = exports.Remediation$ = exports.Recommendation$ = exports.MetricsSummary$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListScansResponse$ = exports.ListScansRequest$ = exports.ListFindingsMetricsResponse$ = exports.ListFindingsMetricsRequest$ = exports.GetScanResponse$ = exports.GetScanRequest$ = exports.GetMetricsSummaryResponse$ = exports.GetMetricsSummaryRequest$ = exports.GetFindingsResponse$ = exports.GetFindingsRequest$ = exports.GetAccountConfigurationResponse$ = exports.GetAccountConfigurationRequest$ = exports.FindingMetricsValuePerSeverity$ = exports.FindingIdentifier$ = exports.Finding$ = exports.FilePath$ = exports.EncryptionConfig$ = exports.CreateUploadUrlResponse$ = exports.CreateUploadUrlRequest$ = exports.CreateScanResponse$ = exports.CreateScanRequest$ = exports.CodeLine$ = exports.CategoryWithFindingNum$ = exports.BatchGetFindingsResponse$ = exports.BatchGetFindingsRequest$ = exports.BatchGetFindingsError$ = exports.AccountFindingsMetric$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.CodeGuruSecurityServiceException$ = void 0;
4
- exports.UpdateAccountConfiguration$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListScans$ = exports.ListFindingsMetrics$ = exports.GetScan$ = exports.GetMetricsSummary$ = exports.GetFindings$ = exports.GetAccountConfiguration$ = exports.CreateUploadUrl$ = exports.CreateScan$ = exports.BatchGetFindings$ = exports.ResourceId$ = exports.Vulnerability$ = exports.ValidationExceptionField$ = void 0;
5
1
  const _ADE = "AccessDeniedException";
6
2
  const _AFM = "AccountFindingsMetric";
7
3
  const _BGF = "BatchGetFindings";
@@ -171,356 +167,408 @@ const _u = "url";
171
167
  const _uA = "updatedAt";
172
168
  const _v = "vulnerability";
173
169
  const n0 = "com.amazonaws.codegurusecurity";
174
- const schema_1 = require("@smithy/core/schema");
175
- const CodeGuruSecurityServiceException_1 = require("../models/CodeGuruSecurityServiceException");
176
- const errors_1 = require("../models/errors");
177
- const _s_registry = schema_1.TypeRegistry.for(_s);
178
- exports.CodeGuruSecurityServiceException$ = [-3, _s, "CodeGuruSecurityServiceException", 0, [], []];
179
- _s_registry.registerError(exports.CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException);
180
- const n0_registry = schema_1.TypeRegistry.for(n0);
181
- exports.AccessDeniedException$ = [-3, n0, _ADE,
170
+ const { TypeRegistry } = require("@smithy/core/schema");
171
+ const { CodeGuruSecurityServiceException } = require("../models/CodeGuruSecurityServiceException");
172
+ const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException } = require("../models/errors");
173
+ const _s_registry = TypeRegistry.for(_s);
174
+ const CodeGuruSecurityServiceException$ = [-3, _s, "CodeGuruSecurityServiceException", 0, [], []];
175
+ exports.CodeGuruSecurityServiceException$ = CodeGuruSecurityServiceException$;
176
+ _s_registry.registerError(CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException);
177
+ const n0_registry = TypeRegistry.for(n0);
178
+ const AccessDeniedException$ = [-3, n0, _ADE,
182
179
  { [_e]: _c, [_hE]: 403 },
183
180
  [_eC, _m, _rI, _rT],
184
181
  [0, 0, 0, 0], 2
185
182
  ];
186
- n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
187
- exports.ConflictException$ = [-3, n0, _CE,
183
+ exports.AccessDeniedException$ = AccessDeniedException$;
184
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
185
+ const ConflictException$ = [-3, n0, _CE,
188
186
  { [_e]: _c, [_hE]: 409 },
189
187
  [_eC, _m, _rI, _rT],
190
188
  [0, 0, 0, 0], 4
191
189
  ];
192
- n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
193
- exports.InternalServerException$ = [-3, n0, _ISE,
190
+ exports.ConflictException$ = ConflictException$;
191
+ n0_registry.registerError(ConflictException$, ConflictException);
192
+ const InternalServerException$ = [-3, n0, _ISE,
194
193
  { [_e]: _se, [_hE]: 500 },
195
194
  [_e, _m],
196
195
  [0, 0]
197
196
  ];
198
- n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
199
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
197
+ exports.InternalServerException$ = InternalServerException$;
198
+ n0_registry.registerError(InternalServerException$, InternalServerException);
199
+ const ResourceNotFoundException$ = [-3, n0, _RNFE,
200
200
  { [_e]: _c, [_hE]: 404 },
201
201
  [_eC, _m, _rI, _rT],
202
202
  [0, 0, 0, 0], 4
203
203
  ];
204
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
205
- exports.ThrottlingException$ = [-3, n0, _TE,
204
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
205
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
206
+ const ThrottlingException$ = [-3, n0, _TE,
206
207
  { [_e]: _c, [_hE]: 429 },
207
208
  [_eC, _m, _sC, _qC],
208
209
  [0, 0, 0, 0], 2
209
210
  ];
210
- n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
211
- exports.ValidationException$ = [-3, n0, _VE,
211
+ exports.ThrottlingException$ = ThrottlingException$;
212
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
213
+ const ValidationException$ = [-3, n0, _VE,
212
214
  { [_e]: _c, [_hE]: 400 },
213
215
  [_eC, _m, _r, _fL],
214
216
  [0, 0, 0, () => ValidationExceptionFieldList], 3
215
217
  ];
216
- n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
218
+ exports.ValidationException$ = ValidationException$;
219
+ n0_registry.registerError(ValidationException$, ValidationException);
217
220
  exports.errorTypeRegistries = [
218
221
  _s_registry,
219
222
  n0_registry,
220
223
  ];
221
224
  var S3Url = [0, n0, _SU, 8, 0];
222
- exports.AccountFindingsMetric$ = [3, n0, _AFM,
225
+ const AccountFindingsMetric$ = [3, n0, _AFM,
223
226
  0,
224
227
  [_d, _nF, _cF, _oF, _mTTC],
225
- [4, () => exports.FindingMetricsValuePerSeverity$, () => exports.FindingMetricsValuePerSeverity$, () => exports.FindingMetricsValuePerSeverity$, () => exports.FindingMetricsValuePerSeverity$]
228
+ [4, () => FindingMetricsValuePerSeverity$, () => FindingMetricsValuePerSeverity$, () => FindingMetricsValuePerSeverity$, () => FindingMetricsValuePerSeverity$]
226
229
  ];
227
- exports.BatchGetFindingsError$ = [3, n0, _BGFE,
230
+ exports.AccountFindingsMetric$ = AccountFindingsMetric$;
231
+ const BatchGetFindingsError$ = [3, n0, _BGFE,
228
232
  0,
229
233
  [_sN, _fI, _eC, _m],
230
234
  [0, 0, 0, 0], 4
231
235
  ];
232
- exports.BatchGetFindingsRequest$ = [3, n0, _BGFR,
236
+ exports.BatchGetFindingsError$ = BatchGetFindingsError$;
237
+ const BatchGetFindingsRequest$ = [3, n0, _BGFR,
233
238
  0,
234
239
  [_fIi],
235
240
  [() => FindingIdentifiers], 1
236
241
  ];
237
- exports.BatchGetFindingsResponse$ = [3, n0, _BGFRa,
242
+ exports.BatchGetFindingsRequest$ = BatchGetFindingsRequest$;
243
+ const BatchGetFindingsResponse$ = [3, n0, _BGFRa,
238
244
  0,
239
245
  [_f, _fF],
240
246
  [() => Findings, () => BatchGetFindingsErrors], 2
241
247
  ];
242
- exports.CategoryWithFindingNum$ = [3, n0, _CWFN,
248
+ exports.BatchGetFindingsResponse$ = BatchGetFindingsResponse$;
249
+ const CategoryWithFindingNum$ = [3, n0, _CWFN,
243
250
  0,
244
251
  [_cN, _fN],
245
252
  [0, 1]
246
253
  ];
247
- exports.CodeLine$ = [3, n0, _CL,
254
+ exports.CategoryWithFindingNum$ = CategoryWithFindingNum$;
255
+ const CodeLine$ = [3, n0, _CL,
248
256
  0,
249
257
  [_n, _co],
250
258
  [1, 0]
251
259
  ];
252
- exports.CreateScanRequest$ = [3, n0, _CSR,
260
+ exports.CodeLine$ = CodeLine$;
261
+ const CreateScanRequest$ = [3, n0, _CSR,
253
262
  0,
254
263
  [_rI, _sN, _cT, _sT, _aT, _t],
255
- [() => exports.ResourceId$, 0, [0, 4], 0, 0, 128 | 0], 2
264
+ [() => ResourceId$, 0, [0, 4], 0, 0, 128 | 0], 2
256
265
  ];
257
- exports.CreateScanResponse$ = [3, n0, _CSRr,
266
+ exports.CreateScanRequest$ = CreateScanRequest$;
267
+ const CreateScanResponse$ = [3, n0, _CSRr,
258
268
  0,
259
269
  [_sN, _rIu, _rI, _sS, _sNA],
260
- [0, 0, () => exports.ResourceId$, 0, 0], 4
270
+ [0, 0, () => ResourceId$, 0, 0], 4
261
271
  ];
262
- exports.CreateUploadUrlRequest$ = [3, n0, _CUUR,
272
+ exports.CreateScanResponse$ = CreateScanResponse$;
273
+ const CreateUploadUrlRequest$ = [3, n0, _CUUR,
263
274
  0,
264
275
  [_sN],
265
276
  [0], 1
266
277
  ];
267
- exports.CreateUploadUrlResponse$ = [3, n0, _CUURr,
278
+ exports.CreateUploadUrlRequest$ = CreateUploadUrlRequest$;
279
+ const CreateUploadUrlResponse$ = [3, n0, _CUURr,
268
280
  0,
269
281
  [_sU, _rH, _cAI],
270
282
  [[() => S3Url, 0], [() => RequestHeaderMap, 0], 0], 3
271
283
  ];
272
- exports.EncryptionConfig$ = [3, n0, _EC,
284
+ exports.CreateUploadUrlResponse$ = CreateUploadUrlResponse$;
285
+ const EncryptionConfig$ = [3, n0, _EC,
273
286
  0,
274
287
  [_kKA],
275
288
  [0]
276
289
  ];
277
- exports.FilePath$ = [3, n0, _FP,
290
+ exports.EncryptionConfig$ = EncryptionConfig$;
291
+ const FilePath$ = [3, n0, _FP,
278
292
  0,
279
293
  [_na, _p, _sL, _eL, _cS],
280
294
  [0, 0, 1, 1, () => CodeSnippet]
281
295
  ];
282
- exports.Finding$ = [3, n0, _F,
296
+ exports.FilePath$ = FilePath$;
297
+ const Finding$ = [3, n0, _F,
283
298
  0,
284
299
  [_cA, _de, _gI, _i, _uA, _ty, _st, _re, _v, _sev, _rem, _ti, _dT, _dI, _dN, _rIul],
285
- [4, 0, 0, 0, 4, 0, 0, () => exports.Resource$, () => exports.Vulnerability$, 0, () => exports.Remediation$, 0, 64 | 0, 0, 0, 0]
300
+ [4, 0, 0, 0, 4, 0, 0, () => Resource$, () => Vulnerability$, 0, () => Remediation$, 0, 64 | 0, 0, 0, 0]
286
301
  ];
287
- exports.FindingIdentifier$ = [3, n0, _FI,
302
+ exports.Finding$ = Finding$;
303
+ const FindingIdentifier$ = [3, n0, _FI,
288
304
  0,
289
305
  [_sN, _fI],
290
306
  [0, 0], 2
291
307
  ];
292
- exports.FindingMetricsValuePerSeverity$ = [3, n0, _FMVPS,
308
+ exports.FindingIdentifier$ = FindingIdentifier$;
309
+ const FindingMetricsValuePerSeverity$ = [3, n0, _FMVPS,
293
310
  0,
294
311
  [_in, _l, _me, _h, _cr],
295
312
  [1, 1, 1, 1, 1]
296
313
  ];
297
- exports.GetAccountConfigurationRequest$ = [3, n0, _GACR,
314
+ exports.FindingMetricsValuePerSeverity$ = FindingMetricsValuePerSeverity$;
315
+ const GetAccountConfigurationRequest$ = [3, n0, _GACR,
298
316
  0,
299
317
  [],
300
318
  []
301
319
  ];
302
- exports.GetAccountConfigurationResponse$ = [3, n0, _GACRe,
320
+ exports.GetAccountConfigurationRequest$ = GetAccountConfigurationRequest$;
321
+ const GetAccountConfigurationResponse$ = [3, n0, _GACRe,
303
322
  0,
304
323
  [_eCn],
305
- [() => exports.EncryptionConfig$], 1
324
+ [() => EncryptionConfig$], 1
306
325
  ];
307
- exports.GetFindingsRequest$ = [3, n0, _GFR,
326
+ exports.GetAccountConfigurationResponse$ = GetAccountConfigurationResponse$;
327
+ const GetFindingsRequest$ = [3, n0, _GFR,
308
328
  0,
309
329
  [_sN, _nT, _mR, _st],
310
330
  [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }]], 1
311
331
  ];
312
- exports.GetFindingsResponse$ = [3, n0, _GFRe,
332
+ exports.GetFindingsRequest$ = GetFindingsRequest$;
333
+ const GetFindingsResponse$ = [3, n0, _GFRe,
313
334
  0,
314
335
  [_f, _nT],
315
336
  [() => Findings, 0]
316
337
  ];
317
- exports.GetMetricsSummaryRequest$ = [3, n0, _GMSR,
338
+ exports.GetFindingsResponse$ = GetFindingsResponse$;
339
+ const GetMetricsSummaryRequest$ = [3, n0, _GMSR,
318
340
  0,
319
341
  [_d],
320
342
  [[4, { [_hQ]: _d }]], 1
321
343
  ];
322
- exports.GetMetricsSummaryResponse$ = [3, n0, _GMSRe,
344
+ exports.GetMetricsSummaryRequest$ = GetMetricsSummaryRequest$;
345
+ const GetMetricsSummaryResponse$ = [3, n0, _GMSRe,
323
346
  0,
324
347
  [_mS],
325
- [() => exports.MetricsSummary$]
348
+ [() => MetricsSummary$]
326
349
  ];
327
- exports.GetScanRequest$ = [3, n0, _GSR,
350
+ exports.GetMetricsSummaryResponse$ = GetMetricsSummaryResponse$;
351
+ const GetScanRequest$ = [3, n0, _GSR,
328
352
  0,
329
353
  [_sN, _rIu],
330
354
  [[0, 1], [0, { [_hQ]: _rIu }]], 1
331
355
  ];
332
- exports.GetScanResponse$ = [3, n0, _GSRe,
356
+ exports.GetScanRequest$ = GetScanRequest$;
357
+ const GetScanResponse$ = [3, n0, _GSRe,
333
358
  0,
334
359
  [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
335
360
  [0, 0, 0, 4, 0, 4, 1, 0, 0], 5
336
361
  ];
337
- exports.ListFindingsMetricsRequest$ = [3, n0, _LFMR,
362
+ exports.GetScanResponse$ = GetScanResponse$;
363
+ const ListFindingsMetricsRequest$ = [3, n0, _LFMR,
338
364
  0,
339
365
  [_sD, _eD, _nT, _mR],
340
366
  [[4, { [_hQ]: _sD }], [4, { [_hQ]: _eD }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
341
367
  ];
342
- exports.ListFindingsMetricsResponse$ = [3, n0, _LFMRi,
368
+ exports.ListFindingsMetricsRequest$ = ListFindingsMetricsRequest$;
369
+ const ListFindingsMetricsResponse$ = [3, n0, _LFMRi,
343
370
  0,
344
371
  [_fM, _nT],
345
372
  [() => FindingsMetricList, 0]
346
373
  ];
347
- exports.ListScansRequest$ = [3, n0, _LSR,
374
+ exports.ListFindingsMetricsResponse$ = ListFindingsMetricsResponse$;
375
+ const ListScansRequest$ = [3, n0, _LSR,
348
376
  0,
349
377
  [_nT, _mR],
350
378
  [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
351
379
  ];
352
- exports.ListScansResponse$ = [3, n0, _LSRi,
380
+ exports.ListScansRequest$ = ListScansRequest$;
381
+ const ListScansResponse$ = [3, n0, _LSRi,
353
382
  0,
354
383
  [_su, _nT],
355
384
  [() => ScanSummaries, 0]
356
385
  ];
357
- exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
386
+ exports.ListScansResponse$ = ListScansResponse$;
387
+ const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
358
388
  0,
359
389
  [_rA],
360
390
  [[0, 1]], 1
361
391
  ];
362
- exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
392
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
393
+ const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
363
394
  0,
364
395
  [_t],
365
396
  [128 | 0]
366
397
  ];
367
- exports.MetricsSummary$ = [3, n0, _MS,
398
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
399
+ const MetricsSummary$ = [3, n0, _MS,
368
400
  0,
369
401
  [_d, _oF, _cWMF, _sWMOF, _sWMOCF],
370
- [4, () => exports.FindingMetricsValuePerSeverity$, () => CategoriesWithMostFindings, () => ScansWithMostOpenFindings, () => ScansWithMostOpenCriticalFindings]
402
+ [4, () => FindingMetricsValuePerSeverity$, () => CategoriesWithMostFindings, () => ScansWithMostOpenFindings, () => ScansWithMostOpenCriticalFindings]
371
403
  ];
372
- exports.Recommendation$ = [3, n0, _R,
404
+ exports.MetricsSummary$ = MetricsSummary$;
405
+ const Recommendation$ = [3, n0, _R,
373
406
  0,
374
407
  [_te, _u],
375
408
  [0, 0]
376
409
  ];
377
- exports.Remediation$ = [3, n0, _Re,
410
+ exports.Recommendation$ = Recommendation$;
411
+ const Remediation$ = [3, n0, _Re,
378
412
  0,
379
413
  [_rec, _sF],
380
- [() => exports.Recommendation$, () => SuggestedFixes]
414
+ [() => Recommendation$, () => SuggestedFixes]
381
415
  ];
382
- exports.Resource$ = [3, n0, _Res,
416
+ exports.Remediation$ = Remediation$;
417
+ const Resource$ = [3, n0, _Res,
383
418
  0,
384
419
  [_i, _sRI],
385
420
  [0, 0]
386
421
  ];
387
- exports.ScanNameWithFindingNum$ = [3, n0, _SNWFN,
422
+ exports.Resource$ = Resource$;
423
+ const ScanNameWithFindingNum$ = [3, n0, _SNWFN,
388
424
  0,
389
425
  [_sN, _fN],
390
426
  [0, 1]
391
427
  ];
392
- exports.ScanSummary$ = [3, n0, _SS,
428
+ exports.ScanNameWithFindingNum$ = ScanNameWithFindingNum$;
429
+ const ScanSummary$ = [3, n0, _SS,
393
430
  0,
394
431
  [_sS, _cA, _sN, _rIu, _uA, _sNA],
395
432
  [0, 4, 0, 0, 4, 0], 4
396
433
  ];
397
- exports.SuggestedFix$ = [3, n0, _SF,
434
+ exports.ScanSummary$ = ScanSummary$;
435
+ const SuggestedFix$ = [3, n0, _SF,
398
436
  0,
399
437
  [_de, _cod],
400
438
  [0, 0]
401
439
  ];
402
- exports.TagResourceRequest$ = [3, n0, _TRR,
440
+ exports.SuggestedFix$ = SuggestedFix$;
441
+ const TagResourceRequest$ = [3, n0, _TRR,
403
442
  0,
404
443
  [_rA, _t],
405
444
  [[0, 1], 128 | 0], 2
406
445
  ];
407
- exports.TagResourceResponse$ = [3, n0, _TRRa,
446
+ exports.TagResourceRequest$ = TagResourceRequest$;
447
+ const TagResourceResponse$ = [3, n0, _TRRa,
408
448
  0,
409
449
  [],
410
450
  []
411
451
  ];
412
- exports.UntagResourceRequest$ = [3, n0, _URR,
452
+ exports.TagResourceResponse$ = TagResourceResponse$;
453
+ const UntagResourceRequest$ = [3, n0, _URR,
413
454
  0,
414
455
  [_rA, _tK],
415
456
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
416
457
  ];
417
- exports.UntagResourceResponse$ = [3, n0, _URRn,
458
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
459
+ const UntagResourceResponse$ = [3, n0, _URRn,
418
460
  0,
419
461
  [],
420
462
  []
421
463
  ];
422
- exports.UpdateAccountConfigurationRequest$ = [3, n0, _UACR,
464
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
465
+ const UpdateAccountConfigurationRequest$ = [3, n0, _UACR,
423
466
  0,
424
467
  [_eCn],
425
- [() => exports.EncryptionConfig$], 1
468
+ [() => EncryptionConfig$], 1
426
469
  ];
427
- exports.UpdateAccountConfigurationResponse$ = [3, n0, _UACRp,
470
+ exports.UpdateAccountConfigurationRequest$ = UpdateAccountConfigurationRequest$;
471
+ const UpdateAccountConfigurationResponse$ = [3, n0, _UACRp,
428
472
  0,
429
473
  [_eCn],
430
- [() => exports.EncryptionConfig$], 1
474
+ [() => EncryptionConfig$], 1
431
475
  ];
432
- exports.ValidationExceptionField$ = [3, n0, _VEF,
476
+ exports.UpdateAccountConfigurationResponse$ = UpdateAccountConfigurationResponse$;
477
+ const ValidationExceptionField$ = [3, n0, _VEF,
433
478
  0,
434
479
  [_na, _m],
435
480
  [0, 0], 2
436
481
  ];
437
- exports.Vulnerability$ = [3, n0, _V,
482
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
483
+ const Vulnerability$ = [3, n0, _V,
438
484
  0,
439
485
  [_rU, _rV, _i, _fP, _iC],
440
- [64 | 0, 64 | 0, 0, () => exports.FilePath$, 1]
486
+ [64 | 0, 64 | 0, 0, () => FilePath$, 1]
441
487
  ];
488
+ exports.Vulnerability$ = Vulnerability$;
442
489
  var BatchGetFindingsErrors = [1, n0, _BGFEa,
443
- 0, () => exports.BatchGetFindingsError$
490
+ 0, () => BatchGetFindingsError$
444
491
  ];
445
492
  var CategoriesWithMostFindings = [1, n0, _CWMF,
446
- 0, () => exports.CategoryWithFindingNum$
493
+ 0, () => CategoryWithFindingNum$
447
494
  ];
448
495
  var CodeSnippet = [1, n0, _CS,
449
- 0, () => exports.CodeLine$
496
+ 0, () => CodeLine$
450
497
  ];
451
498
  var DetectorTags = 64 | 0;
452
499
  var FindingIdentifiers = [1, n0, _FIi,
453
- 0, () => exports.FindingIdentifier$
500
+ 0, () => FindingIdentifier$
454
501
  ];
455
502
  var Findings = [1, n0, _Fi,
456
- 0, () => exports.Finding$
503
+ 0, () => Finding$
457
504
  ];
458
505
  var FindingsMetricList = [1, n0, _FML,
459
- 0, () => exports.AccountFindingsMetric$
506
+ 0, () => AccountFindingsMetric$
460
507
  ];
461
508
  var ReferenceUrls = 64 | 0;
462
509
  var RelatedVulnerabilities = 64 | 0;
463
510
  var ScanSummaries = [1, n0, _SSc,
464
- 0, () => exports.ScanSummary$
511
+ 0, () => ScanSummary$
465
512
  ];
466
513
  var ScansWithMostOpenCriticalFindings = [1, n0, _SWMOCF,
467
- 0, () => exports.ScanNameWithFindingNum$
514
+ 0, () => ScanNameWithFindingNum$
468
515
  ];
469
516
  var ScansWithMostOpenFindings = [1, n0, _SWMOF,
470
- 0, () => exports.ScanNameWithFindingNum$
517
+ 0, () => ScanNameWithFindingNum$
471
518
  ];
472
519
  var SuggestedFixes = [1, n0, _SFu,
473
- 0, () => exports.SuggestedFix$
520
+ 0, () => SuggestedFix$
474
521
  ];
475
522
  var TagKeyList = 64 | 0;
476
523
  var ValidationExceptionFieldList = [1, n0, _VEFL,
477
- 0, () => exports.ValidationExceptionField$
524
+ 0, () => ValidationExceptionField$
478
525
  ];
479
526
  var RequestHeaderMap = [2, n0, _RHM,
480
527
  8, 0, 0
481
528
  ];
482
529
  var TagMap = 128 | 0;
483
- exports.ResourceId$ = [4, n0, _RI,
530
+ const ResourceId$ = [4, n0, _RI,
484
531
  0,
485
532
  [_cAI],
486
533
  [0]
487
534
  ];
535
+ exports.ResourceId$ = ResourceId$;
488
536
  exports.BatchGetFindings$ = [9, n0, _BGF,
489
- { [_ht]: ["POST", "/batchGetFindings", 200] }, () => exports.BatchGetFindingsRequest$, () => exports.BatchGetFindingsResponse$
537
+ { [_ht]: ["POST", "/batchGetFindings", 200] }, () => BatchGetFindingsRequest$, () => BatchGetFindingsResponse$
490
538
  ];
491
539
  exports.CreateScan$ = [9, n0, _CSr,
492
- { [_ht]: ["POST", "/scans", 200] }, () => exports.CreateScanRequest$, () => exports.CreateScanResponse$
540
+ { [_ht]: ["POST", "/scans", 200] }, () => CreateScanRequest$, () => CreateScanResponse$
493
541
  ];
494
542
  exports.CreateUploadUrl$ = [9, n0, _CUU,
495
- { [_ht]: ["POST", "/uploadUrl", 200] }, () => exports.CreateUploadUrlRequest$, () => exports.CreateUploadUrlResponse$
543
+ { [_ht]: ["POST", "/uploadUrl", 200] }, () => CreateUploadUrlRequest$, () => CreateUploadUrlResponse$
496
544
  ];
497
545
  exports.GetAccountConfiguration$ = [9, n0, _GAC,
498
- { [_ht]: ["GET", "/accountConfiguration/get", 200] }, () => exports.GetAccountConfigurationRequest$, () => exports.GetAccountConfigurationResponse$
546
+ { [_ht]: ["GET", "/accountConfiguration/get", 200] }, () => GetAccountConfigurationRequest$, () => GetAccountConfigurationResponse$
499
547
  ];
500
548
  exports.GetFindings$ = [9, n0, _GF,
501
- { [_ht]: ["GET", "/findings/{scanName}", 200] }, () => exports.GetFindingsRequest$, () => exports.GetFindingsResponse$
549
+ { [_ht]: ["GET", "/findings/{scanName}", 200] }, () => GetFindingsRequest$, () => GetFindingsResponse$
502
550
  ];
503
551
  exports.GetMetricsSummary$ = [9, n0, _GMS,
504
- { [_ht]: ["GET", "/metrics/summary", 200] }, () => exports.GetMetricsSummaryRequest$, () => exports.GetMetricsSummaryResponse$
552
+ { [_ht]: ["GET", "/metrics/summary", 200] }, () => GetMetricsSummaryRequest$, () => GetMetricsSummaryResponse$
505
553
  ];
506
554
  exports.GetScan$ = [9, n0, _GS,
507
- { [_ht]: ["GET", "/scans/{scanName}", 200] }, () => exports.GetScanRequest$, () => exports.GetScanResponse$
555
+ { [_ht]: ["GET", "/scans/{scanName}", 200] }, () => GetScanRequest$, () => GetScanResponse$
508
556
  ];
509
557
  exports.ListFindingsMetrics$ = [9, n0, _LFM,
510
- { [_ht]: ["GET", "/metrics/findings", 200] }, () => exports.ListFindingsMetricsRequest$, () => exports.ListFindingsMetricsResponse$
558
+ { [_ht]: ["GET", "/metrics/findings", 200] }, () => ListFindingsMetricsRequest$, () => ListFindingsMetricsResponse$
511
559
  ];
512
560
  exports.ListScans$ = [9, n0, _LS,
513
- { [_ht]: ["GET", "/scans", 200] }, () => exports.ListScansRequest$, () => exports.ListScansResponse$
561
+ { [_ht]: ["GET", "/scans", 200] }, () => ListScansRequest$, () => ListScansResponse$
514
562
  ];
515
563
  exports.ListTagsForResource$ = [9, n0, _LTFR,
516
- { [_ht]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
564
+ { [_ht]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
517
565
  ];
518
566
  exports.TagResource$ = [9, n0, _TR,
519
- { [_ht]: ["POST", "/tags/{resourceArn}", 204] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
567
+ { [_ht]: ["POST", "/tags/{resourceArn}", 204] }, () => TagResourceRequest$, () => TagResourceResponse$
520
568
  ];
521
569
  exports.UntagResource$ = [9, n0, _UR,
522
- { [_ht]: ["DELETE", "/tags/{resourceArn}", 204] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
570
+ { [_ht]: ["DELETE", "/tags/{resourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$
523
571
  ];
524
572
  exports.UpdateAccountConfiguration$ = [9, n0, _UAC,
525
- { [_ht]: ["PUT", "/updateAccountConfiguration", 200] }, () => exports.UpdateAccountConfigurationRequest$, () => exports.UpdateAccountConfigurationResponse$
573
+ { [_ht]: ["PUT", "/updateAccountConfiguration", 200] }, () => UpdateAccountConfigurationRequest$, () => UpdateAccountConfigurationResponse$
526
574
  ];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-security",
3
3
  "description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
4
- "version": "3.1067.0",
4
+ "version": "3.1069.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",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo codeguru-security",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
16
  },
17
17
  "main": "./dist-cjs/index.js",
@@ -21,9 +21,9 @@
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.974.20",
25
- "@aws-sdk/credential-provider-node": "^3.972.55",
26
- "@aws-sdk/types": "^3.973.12",
24
+ "@aws-sdk/core": "^3.974.21",
25
+ "@aws-sdk/credential-provider-node": "^3.972.56",
26
+ "@aws-sdk/types": "^3.973.13",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",
29
29
  "@smithy/node-http-handler": "^4.7.6",