@aws-sdk/client-codeguru-security 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist-cjs/index.js +720 -693
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/CodeGuruSecurityClient.js +2 -0
  4. package/dist-es/commands/BatchGetFindingsCommand.js +3 -9
  5. package/dist-es/commands/CreateScanCommand.js +3 -9
  6. package/dist-es/commands/CreateUploadUrlCommand.js +3 -10
  7. package/dist-es/commands/GetAccountConfigurationCommand.js +3 -9
  8. package/dist-es/commands/GetFindingsCommand.js +3 -9
  9. package/dist-es/commands/GetMetricsSummaryCommand.js +3 -9
  10. package/dist-es/commands/GetScanCommand.js +3 -9
  11. package/dist-es/commands/ListFindingsMetricsCommand.js +3 -9
  12. package/dist-es/commands/ListScansCommand.js +3 -9
  13. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/commands/UpdateAccountConfigurationCommand.js +3 -9
  17. package/dist-es/models/models_0.js +0 -6
  18. package/dist-es/runtimeConfig.shared.js +2 -0
  19. package/dist-es/schemas/schemas_0.js +687 -0
  20. package/dist-types/CodeGuruSecurityClient.d.ts +10 -1
  21. package/dist-types/models/models_0.d.ts +0 -4
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  23. package/dist-types/runtimeConfig.d.ts +1 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +85 -0
  27. package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +4 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +0 -3
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -0
  34. package/package.json +2 -3
  35. package/dist-es/protocols/Aws_restJson1.js +0 -586
  36. package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -161
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class CodeGuruSecurityClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class CodeGuruSecurityClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class CodeGuruSecurityServiceException extends smithyClient.ServiceException {
113
+ let CodeGuruSecurityServiceException$1 = class CodeGuruSecurityServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, CodeGuruSecurityServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends CodeGuruSecurityServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends CodeGuruSecurityServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  errorCode;
@@ -135,7 +134,7 @@ class AccessDeniedException extends CodeGuruSecurityServiceException {
135
134
  this.resourceId = opts.resourceId;
136
135
  this.resourceType = opts.resourceType;
137
136
  }
138
- }
137
+ };
139
138
  const AnalysisType = {
140
139
  ALL: "All",
141
140
  SECURITY: "Security",
@@ -159,7 +158,7 @@ const Status = {
159
158
  CLOSED: "Closed",
160
159
  OPEN: "Open",
161
160
  };
162
- class InternalServerException extends CodeGuruSecurityServiceException {
161
+ let InternalServerException$1 = class InternalServerException extends CodeGuruSecurityServiceException$1 {
163
162
  name = "InternalServerException";
164
163
  $fault = "server";
165
164
  $retryable = {};
@@ -173,8 +172,8 @@ class InternalServerException extends CodeGuruSecurityServiceException {
173
172
  Object.setPrototypeOf(this, InternalServerException.prototype);
174
173
  this.error = opts.error;
175
174
  }
176
- }
177
- class ThrottlingException extends CodeGuruSecurityServiceException {
175
+ };
176
+ let ThrottlingException$1 = class ThrottlingException extends CodeGuruSecurityServiceException$1 {
178
177
  name = "ThrottlingException";
179
178
  $fault = "client";
180
179
  $retryable = {
@@ -194,7 +193,7 @@ class ThrottlingException extends CodeGuruSecurityServiceException {
194
193
  this.serviceCode = opts.serviceCode;
195
194
  this.quotaCode = opts.quotaCode;
196
195
  }
197
- }
196
+ };
198
197
  const ValidationExceptionReason = {
199
198
  CANNOT_PARSE: "cannotParse",
200
199
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
@@ -202,7 +201,7 @@ const ValidationExceptionReason = {
202
201
  OTHER: "other",
203
202
  UNKNOWN_OPERATION: "unknownOperation",
204
203
  };
205
- class ValidationException extends CodeGuruSecurityServiceException {
204
+ let ValidationException$1 = class ValidationException extends CodeGuruSecurityServiceException$1 {
206
205
  name = "ValidationException";
207
206
  $fault = "client";
208
207
  errorCode;
@@ -219,8 +218,8 @@ class ValidationException extends CodeGuruSecurityServiceException {
219
218
  this.reason = opts.reason;
220
219
  this.fieldList = opts.fieldList;
221
220
  }
222
- }
223
- class ConflictException extends CodeGuruSecurityServiceException {
221
+ };
222
+ let ConflictException$1 = class ConflictException extends CodeGuruSecurityServiceException$1 {
224
223
  name = "ConflictException";
225
224
  $fault = "client";
226
225
  errorCode;
@@ -237,7 +236,7 @@ class ConflictException extends CodeGuruSecurityServiceException {
237
236
  this.resourceId = opts.resourceId;
238
237
  this.resourceType = opts.resourceType;
239
238
  }
240
- }
239
+ };
241
240
  exports.ResourceId = void 0;
242
241
  (function (ResourceId) {
243
242
  ResourceId.visit = (value, visitor) => {
@@ -255,7 +254,7 @@ const ScanState = {
255
254
  IN_PROGRESS: "InProgress",
256
255
  SUCCESSFUL: "Successful",
257
256
  };
258
- class ResourceNotFoundException extends CodeGuruSecurityServiceException {
257
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodeGuruSecurityServiceException$1 {
259
258
  name = "ResourceNotFoundException";
260
259
  $fault = "client";
261
260
  errorCode;
@@ -272,607 +271,696 @@ class ResourceNotFoundException extends CodeGuruSecurityServiceException {
272
271
  this.resourceId = opts.resourceId;
273
272
  this.resourceType = opts.resourceType;
274
273
  }
275
- }
276
- const CreateUploadUrlResponseFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- ...(obj.s3Url && { s3Url: smithyClient.SENSITIVE_STRING }),
279
- ...(obj.requestHeaders && { requestHeaders: smithyClient.SENSITIVE_STRING }),
280
- });
281
-
282
- const se_BatchGetFindingsCommand = async (input, context) => {
283
- const b = core.requestBuilder(input, context);
284
- const headers = {
285
- "content-type": "application/json",
286
- };
287
- b.bp("/batchGetFindings");
288
- let body;
289
- body = JSON.stringify(smithyClient.take(input, {
290
- findingIdentifiers: (_) => smithyClient._json(_),
291
- }));
292
- b.m("POST").h(headers).b(body);
293
- return b.build();
294
- };
295
- const se_CreateScanCommand = async (input, context) => {
296
- const b = core.requestBuilder(input, context);
297
- const headers = {
298
- "content-type": "application/json",
299
- };
300
- b.bp("/scans");
301
- let body;
302
- body = JSON.stringify(smithyClient.take(input, {
303
- analysisType: [],
304
- clientToken: [true, (_) => _ ?? uuid.v4()],
305
- resourceId: (_) => smithyClient._json(_),
306
- scanName: [],
307
- scanType: [],
308
- tags: (_) => smithyClient._json(_),
309
- }));
310
- b.m("POST").h(headers).b(body);
311
- return b.build();
312
- };
313
- const se_CreateUploadUrlCommand = async (input, context) => {
314
- const b = core.requestBuilder(input, context);
315
- const headers = {
316
- "content-type": "application/json",
317
- };
318
- b.bp("/uploadUrl");
319
- let body;
320
- body = JSON.stringify(smithyClient.take(input, {
321
- scanName: [],
322
- }));
323
- b.m("POST").h(headers).b(body);
324
- return b.build();
325
- };
326
- const se_GetAccountConfigurationCommand = async (input, context) => {
327
- const b = core.requestBuilder(input, context);
328
- const headers = {};
329
- b.bp("/accountConfiguration/get");
330
- let body;
331
- b.m("GET").h(headers).b(body);
332
- return b.build();
333
- };
334
- const se_GetFindingsCommand = async (input, context) => {
335
- const b = core.requestBuilder(input, context);
336
- const headers = {};
337
- b.bp("/findings/{scanName}");
338
- b.p("scanName", () => input.scanName, "{scanName}", false);
339
- const query = smithyClient.map({
340
- [_nT]: [, input[_nT]],
341
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
342
- [_s]: [, input[_s]],
343
- });
344
- let body;
345
- b.m("GET").h(headers).q(query).b(body);
346
- return b.build();
347
- };
348
- const se_GetMetricsSummaryCommand = async (input, context) => {
349
- const b = core.requestBuilder(input, context);
350
- const headers = {};
351
- b.bp("/metrics/summary");
352
- const query = smithyClient.map({
353
- [_d]: [smithyClient.expectNonNull(input.date, `date`) != null, () => smithyClient.serializeDateTime(input[_d]).toString()],
354
- });
355
- let body;
356
- b.m("GET").h(headers).q(query).b(body);
357
- return b.build();
358
- };
359
- const se_GetScanCommand = async (input, context) => {
360
- const b = core.requestBuilder(input, context);
361
- const headers = {};
362
- b.bp("/scans/{scanName}");
363
- b.p("scanName", () => input.scanName, "{scanName}", false);
364
- const query = smithyClient.map({
365
- [_rI]: [, input[_rI]],
366
- });
367
- let body;
368
- b.m("GET").h(headers).q(query).b(body);
369
- return b.build();
370
- };
371
- const se_ListFindingsMetricsCommand = async (input, context) => {
372
- const b = core.requestBuilder(input, context);
373
- const headers = {};
374
- b.bp("/metrics/findings");
375
- const query = smithyClient.map({
376
- [_nT]: [, input[_nT]],
377
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
378
- [_sD]: [smithyClient.expectNonNull(input.startDate, `startDate`) != null, () => smithyClient.serializeDateTime(input[_sD]).toString()],
379
- [_eD]: [smithyClient.expectNonNull(input.endDate, `endDate`) != null, () => smithyClient.serializeDateTime(input[_eD]).toString()],
380
- });
381
- let body;
382
- b.m("GET").h(headers).q(query).b(body);
383
- return b.build();
384
- };
385
- const se_ListScansCommand = async (input, context) => {
386
- const b = core.requestBuilder(input, context);
387
- const headers = {};
388
- b.bp("/scans");
389
- const query = smithyClient.map({
390
- [_nT]: [, input[_nT]],
391
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
392
- });
393
- let body;
394
- b.m("GET").h(headers).q(query).b(body);
395
- return b.build();
396
- };
397
- const se_ListTagsForResourceCommand = async (input, context) => {
398
- const b = core.requestBuilder(input, context);
399
- const headers = {};
400
- b.bp("/tags/{resourceArn}");
401
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
402
- let body;
403
- b.m("GET").h(headers).b(body);
404
- return b.build();
405
- };
406
- const se_TagResourceCommand = async (input, context) => {
407
- const b = core.requestBuilder(input, context);
408
- const headers = {
409
- "content-type": "application/json",
410
- };
411
- b.bp("/tags/{resourceArn}");
412
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
413
- let body;
414
- body = JSON.stringify(smithyClient.take(input, {
415
- tags: (_) => smithyClient._json(_),
416
- }));
417
- b.m("POST").h(headers).b(body);
418
- return b.build();
419
- };
420
- const se_UntagResourceCommand = async (input, context) => {
421
- const b = core.requestBuilder(input, context);
422
- const headers = {};
423
- b.bp("/tags/{resourceArn}");
424
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
425
- const query = smithyClient.map({
426
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
427
- });
428
- let body;
429
- b.m("DELETE").h(headers).q(query).b(body);
430
- return b.build();
431
- };
432
- const se_UpdateAccountConfigurationCommand = async (input, context) => {
433
- const b = core.requestBuilder(input, context);
434
- const headers = {
435
- "content-type": "application/json",
436
- };
437
- b.bp("/updateAccountConfiguration");
438
- let body;
439
- body = JSON.stringify(smithyClient.take(input, {
440
- encryptionConfig: (_) => smithyClient._json(_),
441
- }));
442
- b.m("PUT").h(headers).b(body);
443
- return b.build();
444
- };
445
- const de_BatchGetFindingsCommand = async (output, context) => {
446
- if (output.statusCode !== 200 && output.statusCode >= 300) {
447
- return de_CommandError(output, context);
448
- }
449
- const contents = smithyClient.map({
450
- $metadata: deserializeMetadata(output),
451
- });
452
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
453
- const doc = smithyClient.take(data, {
454
- failedFindings: smithyClient._json,
455
- findings: (_) => de_Findings(_),
456
- });
457
- Object.assign(contents, doc);
458
- return contents;
459
- };
460
- const de_CreateScanCommand = async (output, context) => {
461
- if (output.statusCode !== 200 && output.statusCode >= 300) {
462
- return de_CommandError(output, context);
463
- }
464
- const contents = smithyClient.map({
465
- $metadata: deserializeMetadata(output),
466
- });
467
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
468
- const doc = smithyClient.take(data, {
469
- resourceId: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
470
- runId: smithyClient.expectString,
471
- scanName: smithyClient.expectString,
472
- scanNameArn: smithyClient.expectString,
473
- scanState: smithyClient.expectString,
474
- });
475
- Object.assign(contents, doc);
476
- return contents;
477
- };
478
- const de_CreateUploadUrlCommand = async (output, context) => {
479
- if (output.statusCode !== 200 && output.statusCode >= 300) {
480
- return de_CommandError(output, context);
481
- }
482
- const contents = smithyClient.map({
483
- $metadata: deserializeMetadata(output),
484
- });
485
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
486
- const doc = smithyClient.take(data, {
487
- codeArtifactId: smithyClient.expectString,
488
- requestHeaders: smithyClient._json,
489
- s3Url: smithyClient.expectString,
490
- });
491
- Object.assign(contents, doc);
492
- return contents;
493
- };
494
- const de_GetAccountConfigurationCommand = async (output, context) => {
495
- if (output.statusCode !== 200 && output.statusCode >= 300) {
496
- return de_CommandError(output, context);
497
- }
498
- const contents = smithyClient.map({
499
- $metadata: deserializeMetadata(output),
500
- });
501
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
502
- const doc = smithyClient.take(data, {
503
- encryptionConfig: smithyClient._json,
504
- });
505
- Object.assign(contents, doc);
506
- return contents;
507
- };
508
- const de_GetFindingsCommand = async (output, context) => {
509
- if (output.statusCode !== 200 && output.statusCode >= 300) {
510
- return de_CommandError(output, context);
511
- }
512
- const contents = smithyClient.map({
513
- $metadata: deserializeMetadata(output),
514
- });
515
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
516
- const doc = smithyClient.take(data, {
517
- findings: (_) => de_Findings(_),
518
- nextToken: smithyClient.expectString,
519
- });
520
- Object.assign(contents, doc);
521
- return contents;
522
- };
523
- const de_GetMetricsSummaryCommand = async (output, context) => {
524
- if (output.statusCode !== 200 && output.statusCode >= 300) {
525
- return de_CommandError(output, context);
526
- }
527
- const contents = smithyClient.map({
528
- $metadata: deserializeMetadata(output),
529
- });
530
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
531
- const doc = smithyClient.take(data, {
532
- metricsSummary: (_) => de_MetricsSummary(_),
533
- });
534
- Object.assign(contents, doc);
535
- return contents;
536
274
  };
537
- const de_GetScanCommand = async (output, context) => {
538
- if (output.statusCode !== 200 && output.statusCode >= 300) {
539
- return de_CommandError(output, context);
540
- }
541
- const contents = smithyClient.map({
542
- $metadata: deserializeMetadata(output),
543
- });
544
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
545
- const doc = smithyClient.take(data, {
546
- analysisType: smithyClient.expectString,
547
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
548
- errorMessage: smithyClient.expectString,
549
- numberOfRevisions: smithyClient.expectLong,
550
- runId: smithyClient.expectString,
551
- scanName: smithyClient.expectString,
552
- scanNameArn: smithyClient.expectString,
553
- scanState: smithyClient.expectString,
554
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
555
- });
556
- Object.assign(contents, doc);
557
- return contents;
558
- };
559
- const de_ListFindingsMetricsCommand = async (output, context) => {
560
- if (output.statusCode !== 200 && output.statusCode >= 300) {
561
- return de_CommandError(output, context);
562
- }
563
- const contents = smithyClient.map({
564
- $metadata: deserializeMetadata(output),
565
- });
566
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
567
- const doc = smithyClient.take(data, {
568
- findingsMetrics: (_) => de_FindingsMetricList(_),
569
- nextToken: smithyClient.expectString,
570
- });
571
- Object.assign(contents, doc);
572
- return contents;
573
- };
574
- const de_ListScansCommand = async (output, context) => {
575
- if (output.statusCode !== 200 && output.statusCode >= 300) {
576
- return de_CommandError(output, context);
577
- }
578
- const contents = smithyClient.map({
579
- $metadata: deserializeMetadata(output),
580
- });
581
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
582
- const doc = smithyClient.take(data, {
583
- nextToken: smithyClient.expectString,
584
- summaries: (_) => de_ScanSummaries(_),
585
- });
586
- Object.assign(contents, doc);
587
- return contents;
588
- };
589
- const de_ListTagsForResourceCommand = async (output, context) => {
590
- if (output.statusCode !== 200 && output.statusCode >= 300) {
591
- return de_CommandError(output, context);
592
- }
593
- const contents = smithyClient.map({
594
- $metadata: deserializeMetadata(output),
595
- });
596
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
597
- const doc = smithyClient.take(data, {
598
- tags: smithyClient._json,
599
- });
600
- Object.assign(contents, doc);
601
- return contents;
602
- };
603
- const de_TagResourceCommand = async (output, context) => {
604
- if (output.statusCode !== 204 && output.statusCode >= 300) {
605
- return de_CommandError(output, context);
606
- }
607
- const contents = smithyClient.map({
608
- $metadata: deserializeMetadata(output),
609
- });
610
- await smithyClient.collectBody(output.body, context);
611
- return contents;
612
- };
613
- const de_UntagResourceCommand = async (output, context) => {
614
- if (output.statusCode !== 204 && output.statusCode >= 300) {
615
- return de_CommandError(output, context);
616
- }
617
- const contents = smithyClient.map({
618
- $metadata: deserializeMetadata(output),
619
- });
620
- await smithyClient.collectBody(output.body, context);
621
- return contents;
622
- };
623
- const de_UpdateAccountConfigurationCommand = async (output, context) => {
624
- if (output.statusCode !== 200 && output.statusCode >= 300) {
625
- return de_CommandError(output, context);
626
- }
627
- const contents = smithyClient.map({
628
- $metadata: deserializeMetadata(output),
629
- });
630
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
631
- const doc = smithyClient.take(data, {
632
- encryptionConfig: smithyClient._json,
633
- });
634
- Object.assign(contents, doc);
635
- return contents;
636
- };
637
- const de_CommandError = async (output, context) => {
638
- const parsedOutput = {
639
- ...output,
640
- body: await core$1.parseJsonErrorBody(output.body, context),
641
- };
642
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
643
- switch (errorCode) {
644
- case "AccessDeniedException":
645
- case "com.amazonaws.codegurusecurity#AccessDeniedException":
646
- throw await de_AccessDeniedExceptionRes(parsedOutput);
647
- case "InternalServerException":
648
- case "com.amazonaws.codegurusecurity#InternalServerException":
649
- throw await de_InternalServerExceptionRes(parsedOutput);
650
- case "ThrottlingException":
651
- case "com.amazonaws.codegurusecurity#ThrottlingException":
652
- throw await de_ThrottlingExceptionRes(parsedOutput);
653
- case "ValidationException":
654
- case "com.amazonaws.codegurusecurity#ValidationException":
655
- throw await de_ValidationExceptionRes(parsedOutput);
656
- case "ConflictException":
657
- case "com.amazonaws.codegurusecurity#ConflictException":
658
- throw await de_ConflictExceptionRes(parsedOutput);
659
- case "ResourceNotFoundException":
660
- case "com.amazonaws.codegurusecurity#ResourceNotFoundException":
661
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
662
- default:
663
- const parsedBody = parsedOutput.body;
664
- return throwDefaultError({
665
- output,
666
- parsedBody,
667
- errorCode,
668
- });
669
- }
670
- };
671
- const throwDefaultError = smithyClient.withBaseException(CodeGuruSecurityServiceException);
672
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
673
- const contents = smithyClient.map({});
674
- const data = parsedOutput.body;
675
- const doc = smithyClient.take(data, {
676
- errorCode: smithyClient.expectString,
677
- message: smithyClient.expectString,
678
- resourceId: smithyClient.expectString,
679
- resourceType: smithyClient.expectString,
680
- });
681
- Object.assign(contents, doc);
682
- const exception = new AccessDeniedException({
683
- $metadata: deserializeMetadata(parsedOutput),
684
- ...contents,
685
- });
686
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
687
- };
688
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
689
- const contents = smithyClient.map({});
690
- const data = parsedOutput.body;
691
- const doc = smithyClient.take(data, {
692
- errorCode: smithyClient.expectString,
693
- message: smithyClient.expectString,
694
- resourceId: smithyClient.expectString,
695
- resourceType: smithyClient.expectString,
696
- });
697
- Object.assign(contents, doc);
698
- const exception = new ConflictException({
699
- $metadata: deserializeMetadata(parsedOutput),
700
- ...contents,
701
- });
702
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
703
- };
704
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
705
- const contents = smithyClient.map({});
706
- const data = parsedOutput.body;
707
- const doc = smithyClient.take(data, {
708
- error: smithyClient.expectString,
709
- message: smithyClient.expectString,
710
- });
711
- Object.assign(contents, doc);
712
- const exception = new InternalServerException({
713
- $metadata: deserializeMetadata(parsedOutput),
714
- ...contents,
715
- });
716
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
717
- };
718
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
719
- const contents = smithyClient.map({});
720
- const data = parsedOutput.body;
721
- const doc = smithyClient.take(data, {
722
- errorCode: smithyClient.expectString,
723
- message: smithyClient.expectString,
724
- resourceId: smithyClient.expectString,
725
- resourceType: smithyClient.expectString,
726
- });
727
- Object.assign(contents, doc);
728
- const exception = new ResourceNotFoundException({
729
- $metadata: deserializeMetadata(parsedOutput),
730
- ...contents,
731
- });
732
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
733
- };
734
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
735
- const contents = smithyClient.map({});
736
- const data = parsedOutput.body;
737
- const doc = smithyClient.take(data, {
738
- errorCode: smithyClient.expectString,
739
- message: smithyClient.expectString,
740
- quotaCode: smithyClient.expectString,
741
- serviceCode: smithyClient.expectString,
742
- });
743
- Object.assign(contents, doc);
744
- const exception = new ThrottlingException({
745
- $metadata: deserializeMetadata(parsedOutput),
746
- ...contents,
747
- });
748
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
749
- };
750
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
751
- const contents = smithyClient.map({});
752
- const data = parsedOutput.body;
753
- const doc = smithyClient.take(data, {
754
- errorCode: smithyClient.expectString,
755
- fieldList: smithyClient._json,
756
- message: smithyClient.expectString,
757
- reason: smithyClient.expectString,
758
- });
759
- Object.assign(contents, doc);
760
- const exception = new ValidationException({
761
- $metadata: deserializeMetadata(parsedOutput),
762
- ...contents,
763
- });
764
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
765
- };
766
- const de_AccountFindingsMetric = (output, context) => {
767
- return smithyClient.take(output, {
768
- closedFindings: (_) => de_FindingMetricsValuePerSeverity(_),
769
- date: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
770
- meanTimeToClose: (_) => de_FindingMetricsValuePerSeverity(_),
771
- newFindings: (_) => de_FindingMetricsValuePerSeverity(_),
772
- openFindings: (_) => de_FindingMetricsValuePerSeverity(_),
773
- });
774
- };
775
- const de_Finding = (output, context) => {
776
- return smithyClient.take(output, {
777
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
778
- description: smithyClient.expectString,
779
- detectorId: smithyClient.expectString,
780
- detectorName: smithyClient.expectString,
781
- detectorTags: smithyClient._json,
782
- generatorId: smithyClient.expectString,
783
- id: smithyClient.expectString,
784
- remediation: smithyClient._json,
785
- resource: smithyClient._json,
786
- ruleId: smithyClient.expectString,
787
- severity: smithyClient.expectString,
788
- status: smithyClient.expectString,
789
- title: smithyClient.expectString,
790
- type: smithyClient.expectString,
791
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
792
- vulnerability: smithyClient._json,
793
- });
794
- };
795
- const de_FindingMetricsValuePerSeverity = (output, context) => {
796
- return smithyClient.take(output, {
797
- critical: smithyClient.limitedParseDouble,
798
- high: smithyClient.limitedParseDouble,
799
- info: smithyClient.limitedParseDouble,
800
- low: smithyClient.limitedParseDouble,
801
- medium: smithyClient.limitedParseDouble,
802
- });
803
- };
804
- const de_Findings = (output, context) => {
805
- const retVal = (output || [])
806
- .filter((e) => e != null)
807
- .map((entry) => {
808
- return de_Finding(entry);
809
- });
810
- return retVal;
811
- };
812
- const de_FindingsMetricList = (output, context) => {
813
- const retVal = (output || [])
814
- .filter((e) => e != null)
815
- .map((entry) => {
816
- return de_AccountFindingsMetric(entry);
817
- });
818
- return retVal;
819
- };
820
- const de_MetricsSummary = (output, context) => {
821
- return smithyClient.take(output, {
822
- categoriesWithMostFindings: smithyClient._json,
823
- date: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
824
- openFindings: (_) => de_FindingMetricsValuePerSeverity(_),
825
- scansWithMostOpenCriticalFindings: smithyClient._json,
826
- scansWithMostOpenFindings: smithyClient._json,
827
- });
828
- };
829
- const de_ScanSummaries = (output, context) => {
830
- const retVal = (output || [])
831
- .filter((e) => e != null)
832
- .map((entry) => {
833
- return de_ScanSummary(entry);
834
- });
835
- return retVal;
836
- };
837
- const de_ScanSummary = (output, context) => {
838
- return smithyClient.take(output, {
839
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
840
- runId: smithyClient.expectString,
841
- scanName: smithyClient.expectString,
842
- scanNameArn: smithyClient.expectString,
843
- scanState: smithyClient.expectString,
844
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
845
- });
846
- };
847
- const deserializeMetadata = (output) => ({
848
- httpStatusCode: output.statusCode,
849
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
850
- extendedRequestId: output.headers["x-amz-id-2"],
851
- cfId: output.headers["x-amz-cf-id"],
852
- });
275
+
276
+ const _ADE = "AccessDeniedException";
277
+ const _AFM = "AccountFindingsMetric";
278
+ const _BGF = "BatchGetFindings";
279
+ const _BGFE = "BatchGetFindingsError";
280
+ const _BGFEa = "BatchGetFindingsErrors";
281
+ const _BGFR = "BatchGetFindingsRequest";
282
+ const _BGFRa = "BatchGetFindingsResponse";
283
+ const _CE = "ConflictException";
284
+ const _CL = "CodeLine";
285
+ const _CS = "CodeSnippet";
286
+ const _CSR = "CreateScanRequest";
287
+ const _CSRr = "CreateScanResponse";
288
+ const _CSr = "CreateScan";
289
+ const _CUU = "CreateUploadUrl";
290
+ const _CUUR = "CreateUploadUrlRequest";
291
+ const _CUURr = "CreateUploadUrlResponse";
292
+ const _CWFN = "CategoryWithFindingNum";
293
+ const _CWMF = "CategoriesWithMostFindings";
294
+ const _EC = "EncryptionConfig";
295
+ const _F = "Finding";
296
+ const _FI = "FindingIdentifier";
297
+ const _FIi = "FindingIdentifiers";
298
+ const _FML = "FindingsMetricList";
299
+ const _FMVPS = "FindingMetricsValuePerSeverity";
300
+ const _FP = "FilePath";
301
+ const _Fi = "Findings";
302
+ const _GAC = "GetAccountConfiguration";
303
+ const _GACR = "GetAccountConfigurationRequest";
304
+ const _GACRe = "GetAccountConfigurationResponse";
305
+ const _GF = "GetFindings";
306
+ const _GFR = "GetFindingsRequest";
307
+ const _GFRe = "GetFindingsResponse";
308
+ const _GMS = "GetMetricsSummary";
309
+ const _GMSR = "GetMetricsSummaryRequest";
310
+ const _GMSRe = "GetMetricsSummaryResponse";
311
+ const _GS = "GetScan";
312
+ const _GSR = "GetScanRequest";
313
+ const _GSRe = "GetScanResponse";
314
+ const _ISE = "InternalServerException";
315
+ const _LFM = "ListFindingsMetrics";
316
+ const _LFMR = "ListFindingsMetricsRequest";
317
+ const _LFMRi = "ListFindingsMetricsResponse";
318
+ const _LS = "ListScans";
319
+ const _LSR = "ListScansRequest";
320
+ const _LSRi = "ListScansResponse";
321
+ const _LTFR = "ListTagsForResource";
322
+ const _LTFRR = "ListTagsForResourceRequest";
323
+ const _LTFRRi = "ListTagsForResourceResponse";
324
+ const _MS = "MetricsSummary";
325
+ const _R = "Recommendation";
326
+ const _RHM = "RequestHeaderMap";
327
+ const _RI = "ResourceId";
328
+ const _RNFE = "ResourceNotFoundException";
329
+ const _Re = "Remediation";
330
+ const _Res = "Resource";
331
+ const _SF = "SuggestedFix";
332
+ const _SFu = "SuggestedFixes";
333
+ const _SNWFN = "ScanNameWithFindingNum";
334
+ const _SS = "ScanSummary";
335
+ const _SSc = "ScanSummaries";
336
+ const _SU = "S3Url";
337
+ const _SWMOCF = "ScansWithMostOpenCriticalFindings";
338
+ const _SWMOF = "ScansWithMostOpenFindings";
339
+ const _TE = "ThrottlingException";
340
+ const _TR = "TagResource";
341
+ const _TRR = "TagResourceRequest";
342
+ const _TRRa = "TagResourceResponse";
343
+ const _UAC = "UpdateAccountConfiguration";
344
+ const _UACR = "UpdateAccountConfigurationRequest";
345
+ const _UACRp = "UpdateAccountConfigurationResponse";
346
+ const _UR = "UntagResource";
347
+ const _URR = "UntagResourceRequest";
348
+ const _URRn = "UntagResourceResponse";
349
+ const _V = "Vulnerability";
350
+ const _VE = "ValidationException";
351
+ const _VEF = "ValidationExceptionField";
352
+ const _VEFL = "ValidationExceptionFieldList";
353
+ const _aT = "analysisType";
354
+ const _c = "client";
355
+ const _cA = "createdAt";
356
+ const _cAI = "codeArtifactId";
357
+ const _cF = "closedFindings";
358
+ const _cN = "categoryName";
359
+ const _cS = "codeSnippet";
360
+ const _cT = "clientToken";
361
+ const _cWMF = "categoriesWithMostFindings";
362
+ const _co = "content";
363
+ const _cod = "code";
364
+ const _cr = "critical";
853
365
  const _d = "date";
366
+ const _dI = "detectorId";
367
+ const _dN = "detectorName";
368
+ const _dT = "detectorTags";
369
+ const _de = "description";
370
+ const _e = "error";
371
+ const _eC = "errorCode";
372
+ const _eCn = "encryptionConfig";
854
373
  const _eD = "endDate";
374
+ const _eL = "endLine";
375
+ const _eM = "errorMessage";
376
+ const _f = "findings";
377
+ const _fF = "failedFindings";
378
+ const _fI = "findingId";
379
+ const _fIi = "findingIdentifiers";
380
+ const _fL = "fieldList";
381
+ const _fM = "findingsMetrics";
382
+ const _fN = "findingNumber";
383
+ const _fP = "filePath";
384
+ const _gI = "generatorId";
385
+ const _h = "high";
386
+ const _hE = "httpError";
387
+ const _hQ = "httpQuery";
388
+ const _ht = "http";
389
+ const _i = "id";
390
+ const _iC = "itemCount";
391
+ const _in = "info";
392
+ const _kKA = "kmsKeyArn";
393
+ const _l = "low";
394
+ const _m = "message";
855
395
  const _mR = "maxResults";
396
+ const _mS = "metricsSummary";
397
+ const _mTTC = "meanTimeToClose";
398
+ const _me = "medium";
399
+ const _n = "number";
400
+ const _nF = "newFindings";
401
+ const _nOR = "numberOfRevisions";
856
402
  const _nT = "nextToken";
857
- const _rI = "runId";
403
+ const _na = "name";
404
+ const _oF = "openFindings";
405
+ const _p = "path";
406
+ const _qC = "quotaCode";
407
+ const _r = "resource";
408
+ const _rA = "resourceArn";
409
+ const _rH = "requestHeaders";
410
+ const _rI = "resourceId";
411
+ const _rIu = "runId";
412
+ const _rIul = "ruleId";
413
+ const _rT = "resourceType";
414
+ const _rU = "referenceUrls";
415
+ const _rV = "relatedVulnerabilities";
416
+ const _re = "remediation";
417
+ const _rea = "reason";
418
+ const _rec = "recommendation";
858
419
  const _s = "status";
420
+ const _sC = "serviceCode";
859
421
  const _sD = "startDate";
422
+ const _sF = "suggestedFixes";
423
+ const _sL = "startLine";
424
+ const _sN = "scanName";
425
+ const _sNA = "scanNameArn";
426
+ const _sRI = "subResourceId";
427
+ const _sS = "scanState";
428
+ const _sT = "scanType";
429
+ const _sU = "s3Url";
430
+ const _sWMOCF = "scansWithMostOpenCriticalFindings";
431
+ const _sWMOF = "scansWithMostOpenFindings";
432
+ const _se = "severity";
433
+ const _ser = "server";
434
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.codegurusecurity";
435
+ const _su = "summaries";
436
+ const _t = "tags";
860
437
  const _tK = "tagKeys";
438
+ const _te = "text";
439
+ const _ti = "title";
440
+ const _ty = "type";
441
+ const _u = "url";
442
+ const _uA = "updatedAt";
443
+ const _v = "vulnerability";
444
+ const n0 = "com.amazonaws.codegurusecurity";
445
+ var S3Url = [0, n0, _SU, 8, 0];
446
+ var AccessDeniedException = [
447
+ -3,
448
+ n0,
449
+ _ADE,
450
+ {
451
+ [_e]: _c,
452
+ [_hE]: 403,
453
+ },
454
+ [_eC, _m, _rI, _rT],
455
+ [0, 0, 0, 0],
456
+ ];
457
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
458
+ var AccountFindingsMetric = [
459
+ 3,
460
+ n0,
461
+ _AFM,
462
+ 0,
463
+ [_d, _nF, _cF, _oF, _mTTC],
464
+ [
465
+ 4,
466
+ () => FindingMetricsValuePerSeverity,
467
+ () => FindingMetricsValuePerSeverity,
468
+ () => FindingMetricsValuePerSeverity,
469
+ () => FindingMetricsValuePerSeverity,
470
+ ],
471
+ ];
472
+ var BatchGetFindingsError = [3, n0, _BGFE, 0, [_sN, _fI, _eC, _m], [0, 0, 0, 0]];
473
+ var BatchGetFindingsRequest = [3, n0, _BGFR, 0, [_fIi], [() => FindingIdentifiers]];
474
+ var BatchGetFindingsResponse = [
475
+ 3,
476
+ n0,
477
+ _BGFRa,
478
+ 0,
479
+ [_f, _fF],
480
+ [() => Findings, () => BatchGetFindingsErrors],
481
+ ];
482
+ var CategoryWithFindingNum = [3, n0, _CWFN, 0, [_cN, _fN], [0, 1]];
483
+ var CodeLine = [3, n0, _CL, 0, [_n, _co], [1, 0]];
484
+ var ConflictException = [
485
+ -3,
486
+ n0,
487
+ _CE,
488
+ {
489
+ [_e]: _c,
490
+ [_hE]: 409,
491
+ },
492
+ [_eC, _m, _rI, _rT],
493
+ [0, 0, 0, 0],
494
+ ];
495
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
496
+ var CreateScanRequest = [
497
+ 3,
498
+ n0,
499
+ _CSR,
500
+ 0,
501
+ [_cT, _rI, _sN, _sT, _aT, _t],
502
+ [[0, 4], () => ResourceId, 0, 0, 0, 128 | 0],
503
+ ];
504
+ var CreateScanResponse = [
505
+ 3,
506
+ n0,
507
+ _CSRr,
508
+ 0,
509
+ [_sN, _rIu, _rI, _sS, _sNA],
510
+ [0, 0, () => ResourceId, 0, 0],
511
+ ];
512
+ var CreateUploadUrlRequest = [3, n0, _CUUR, 0, [_sN], [0]];
513
+ var CreateUploadUrlResponse = [
514
+ 3,
515
+ n0,
516
+ _CUURr,
517
+ 0,
518
+ [_sU, _rH, _cAI],
519
+ [[() => S3Url, 0], [() => RequestHeaderMap, 0], 0],
520
+ ];
521
+ var EncryptionConfig = [3, n0, _EC, 0, [_kKA], [0]];
522
+ var FilePath = [3, n0, _FP, 0, [_na, _p, _sL, _eL, _cS], [0, 0, 1, 1, () => CodeSnippet]];
523
+ var Finding = [
524
+ 3,
525
+ n0,
526
+ _F,
527
+ 0,
528
+ [_cA, _de, _gI, _i, _uA, _ty, _s, _r, _v, _se, _re, _ti, _dT, _dI, _dN, _rIul],
529
+ [4, 0, 0, 0, 4, 0, 0, () => Resource, () => Vulnerability, 0, () => Remediation, 0, 64 | 0, 0, 0, 0],
530
+ ];
531
+ var FindingIdentifier = [3, n0, _FI, 0, [_sN, _fI], [0, 0]];
532
+ var FindingMetricsValuePerSeverity = [
533
+ 3,
534
+ n0,
535
+ _FMVPS,
536
+ 0,
537
+ [_in, _l, _me, _h, _cr],
538
+ [1, 1, 1, 1, 1],
539
+ ];
540
+ var GetAccountConfigurationRequest = [3, n0, _GACR, 0, [], []];
541
+ var GetAccountConfigurationResponse = [
542
+ 3,
543
+ n0,
544
+ _GACRe,
545
+ 0,
546
+ [_eCn],
547
+ [() => EncryptionConfig],
548
+ ];
549
+ var GetFindingsRequest = [
550
+ 3,
551
+ n0,
552
+ _GFR,
553
+ 0,
554
+ [_sN, _nT, _mR, _s],
555
+ [
556
+ [0, 1],
557
+ [
558
+ 0,
559
+ {
560
+ [_hQ]: _nT,
561
+ },
562
+ ],
563
+ [
564
+ 1,
565
+ {
566
+ [_hQ]: _mR,
567
+ },
568
+ ],
569
+ [
570
+ 0,
571
+ {
572
+ [_hQ]: _s,
573
+ },
574
+ ],
575
+ ],
576
+ ];
577
+ var GetFindingsResponse = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
578
+ var GetMetricsSummaryRequest = [
579
+ 3,
580
+ n0,
581
+ _GMSR,
582
+ 0,
583
+ [_d],
584
+ [
585
+ [
586
+ 4,
587
+ {
588
+ [_hQ]: _d,
589
+ },
590
+ ],
591
+ ],
592
+ ];
593
+ var GetMetricsSummaryResponse = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary]];
594
+ var GetScanRequest = [
595
+ 3,
596
+ n0,
597
+ _GSR,
598
+ 0,
599
+ [_sN, _rIu],
600
+ [
601
+ [0, 1],
602
+ [
603
+ 0,
604
+ {
605
+ [_hQ]: _rIu,
606
+ },
607
+ ],
608
+ ],
609
+ ];
610
+ var GetScanResponse = [
611
+ 3,
612
+ n0,
613
+ _GSRe,
614
+ 0,
615
+ [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
616
+ [0, 0, 0, 4, 0, 4, 1, 0, 0],
617
+ ];
618
+ var InternalServerException = [
619
+ -3,
620
+ n0,
621
+ _ISE,
622
+ {
623
+ [_e]: _ser,
624
+ [_hE]: 500,
625
+ },
626
+ [_e, _m],
627
+ [0, 0],
628
+ ];
629
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
630
+ var ListFindingsMetricsRequest = [
631
+ 3,
632
+ n0,
633
+ _LFMR,
634
+ 0,
635
+ [_nT, _mR, _sD, _eD],
636
+ [
637
+ [
638
+ 0,
639
+ {
640
+ [_hQ]: _nT,
641
+ },
642
+ ],
643
+ [
644
+ 1,
645
+ {
646
+ [_hQ]: _mR,
647
+ },
648
+ ],
649
+ [
650
+ 4,
651
+ {
652
+ [_hQ]: _sD,
653
+ },
654
+ ],
655
+ [
656
+ 4,
657
+ {
658
+ [_hQ]: _eD,
659
+ },
660
+ ],
661
+ ],
662
+ ];
663
+ var ListFindingsMetricsResponse = [
664
+ 3,
665
+ n0,
666
+ _LFMRi,
667
+ 0,
668
+ [_fM, _nT],
669
+ [() => FindingsMetricList, 0],
670
+ ];
671
+ var ListScansRequest = [
672
+ 3,
673
+ n0,
674
+ _LSR,
675
+ 0,
676
+ [_nT, _mR],
677
+ [
678
+ [
679
+ 0,
680
+ {
681
+ [_hQ]: _nT,
682
+ },
683
+ ],
684
+ [
685
+ 1,
686
+ {
687
+ [_hQ]: _mR,
688
+ },
689
+ ],
690
+ ],
691
+ ];
692
+ var ListScansResponse = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
693
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
694
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
695
+ var MetricsSummary = [
696
+ 3,
697
+ n0,
698
+ _MS,
699
+ 0,
700
+ [_d, _oF, _cWMF, _sWMOF, _sWMOCF],
701
+ [
702
+ 4,
703
+ () => FindingMetricsValuePerSeverity,
704
+ () => CategoriesWithMostFindings,
705
+ () => ScansWithMostOpenFindings,
706
+ () => ScansWithMostOpenCriticalFindings,
707
+ ],
708
+ ];
709
+ var Recommendation = [3, n0, _R, 0, [_te, _u], [0, 0]];
710
+ var Remediation = [
711
+ 3,
712
+ n0,
713
+ _Re,
714
+ 0,
715
+ [_rec, _sF],
716
+ [() => Recommendation, () => SuggestedFixes],
717
+ ];
718
+ var Resource = [3, n0, _Res, 0, [_i, _sRI], [0, 0]];
719
+ var ResourceNotFoundException = [
720
+ -3,
721
+ n0,
722
+ _RNFE,
723
+ {
724
+ [_e]: _c,
725
+ [_hE]: 404,
726
+ },
727
+ [_eC, _m, _rI, _rT],
728
+ [0, 0, 0, 0],
729
+ ];
730
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
731
+ var ScanNameWithFindingNum = [3, n0, _SNWFN, 0, [_sN, _fN], [0, 1]];
732
+ var ScanSummary = [3, n0, _SS, 0, [_sS, _cA, _uA, _sN, _rIu, _sNA], [0, 4, 4, 0, 0, 0]];
733
+ var SuggestedFix = [3, n0, _SF, 0, [_de, _cod], [0, 0]];
734
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
735
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
736
+ var ThrottlingException = [
737
+ -3,
738
+ n0,
739
+ _TE,
740
+ {
741
+ [_e]: _c,
742
+ [_hE]: 429,
743
+ },
744
+ [_eC, _m, _sC, _qC],
745
+ [0, 0, 0, 0],
746
+ ];
747
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
748
+ var UntagResourceRequest = [
749
+ 3,
750
+ n0,
751
+ _URR,
752
+ 0,
753
+ [_rA, _tK],
754
+ [
755
+ [0, 1],
756
+ [
757
+ 64 | 0,
758
+ {
759
+ [_hQ]: _tK,
760
+ },
761
+ ],
762
+ ],
763
+ ];
764
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
765
+ var UpdateAccountConfigurationRequest = [
766
+ 3,
767
+ n0,
768
+ _UACR,
769
+ 0,
770
+ [_eCn],
771
+ [() => EncryptionConfig],
772
+ ];
773
+ var UpdateAccountConfigurationResponse = [
774
+ 3,
775
+ n0,
776
+ _UACRp,
777
+ 0,
778
+ [_eCn],
779
+ [() => EncryptionConfig],
780
+ ];
781
+ var ValidationException = [
782
+ -3,
783
+ n0,
784
+ _VE,
785
+ {
786
+ [_e]: _c,
787
+ [_hE]: 400,
788
+ },
789
+ [_eC, _m, _rea, _fL],
790
+ [0, 0, 0, () => ValidationExceptionFieldList],
791
+ ];
792
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
793
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_na, _m], [0, 0]];
794
+ var Vulnerability = [
795
+ 3,
796
+ n0,
797
+ _V,
798
+ 0,
799
+ [_rU, _rV, _i, _fP, _iC],
800
+ [64 | 0, 64 | 0, 0, () => FilePath, 1],
801
+ ];
802
+ var CodeGuruSecurityServiceException = [
803
+ -3,
804
+ _sm,
805
+ "CodeGuruSecurityServiceException",
806
+ 0,
807
+ [],
808
+ [],
809
+ ];
810
+ schema.TypeRegistry.for(_sm).registerError(CodeGuruSecurityServiceException, CodeGuruSecurityServiceException$1);
811
+ var BatchGetFindingsErrors = [1, n0, _BGFEa, 0, () => BatchGetFindingsError];
812
+ var CategoriesWithMostFindings = [1, n0, _CWMF, 0, () => CategoryWithFindingNum];
813
+ var CodeSnippet = [1, n0, _CS, 0, () => CodeLine];
814
+ var FindingIdentifiers = [1, n0, _FIi, 0, () => FindingIdentifier];
815
+ var Findings = [1, n0, _Fi, 0, () => Finding];
816
+ var FindingsMetricList = [1, n0, _FML, 0, () => AccountFindingsMetric];
817
+ var ScanSummaries = [1, n0, _SSc, 0, () => ScanSummary];
818
+ var ScansWithMostOpenCriticalFindings = [1, n0, _SWMOCF, 0, () => ScanNameWithFindingNum];
819
+ var ScansWithMostOpenFindings = [1, n0, _SWMOF, 0, () => ScanNameWithFindingNum];
820
+ var SuggestedFixes = [1, n0, _SFu, 0, () => SuggestedFix];
821
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
822
+ var RequestHeaderMap = [2, n0, _RHM, 8, 0, 0];
823
+ var ResourceId = [3, n0, _RI, 0, [_cAI], [0]];
824
+ var BatchGetFindings = [
825
+ 9,
826
+ n0,
827
+ _BGF,
828
+ {
829
+ [_ht]: ["POST", "/batchGetFindings", 200],
830
+ },
831
+ () => BatchGetFindingsRequest,
832
+ () => BatchGetFindingsResponse,
833
+ ];
834
+ var CreateScan = [
835
+ 9,
836
+ n0,
837
+ _CSr,
838
+ {
839
+ [_ht]: ["POST", "/scans", 200],
840
+ },
841
+ () => CreateScanRequest,
842
+ () => CreateScanResponse,
843
+ ];
844
+ var CreateUploadUrl = [
845
+ 9,
846
+ n0,
847
+ _CUU,
848
+ {
849
+ [_ht]: ["POST", "/uploadUrl", 200],
850
+ },
851
+ () => CreateUploadUrlRequest,
852
+ () => CreateUploadUrlResponse,
853
+ ];
854
+ var GetAccountConfiguration = [
855
+ 9,
856
+ n0,
857
+ _GAC,
858
+ {
859
+ [_ht]: ["GET", "/accountConfiguration/get", 200],
860
+ },
861
+ () => GetAccountConfigurationRequest,
862
+ () => GetAccountConfigurationResponse,
863
+ ];
864
+ var GetFindings = [
865
+ 9,
866
+ n0,
867
+ _GF,
868
+ {
869
+ [_ht]: ["GET", "/findings/{scanName}", 200],
870
+ },
871
+ () => GetFindingsRequest,
872
+ () => GetFindingsResponse,
873
+ ];
874
+ var GetMetricsSummary = [
875
+ 9,
876
+ n0,
877
+ _GMS,
878
+ {
879
+ [_ht]: ["GET", "/metrics/summary", 200],
880
+ },
881
+ () => GetMetricsSummaryRequest,
882
+ () => GetMetricsSummaryResponse,
883
+ ];
884
+ var GetScan = [
885
+ 9,
886
+ n0,
887
+ _GS,
888
+ {
889
+ [_ht]: ["GET", "/scans/{scanName}", 200],
890
+ },
891
+ () => GetScanRequest,
892
+ () => GetScanResponse,
893
+ ];
894
+ var ListFindingsMetrics = [
895
+ 9,
896
+ n0,
897
+ _LFM,
898
+ {
899
+ [_ht]: ["GET", "/metrics/findings", 200],
900
+ },
901
+ () => ListFindingsMetricsRequest,
902
+ () => ListFindingsMetricsResponse,
903
+ ];
904
+ var ListScans = [
905
+ 9,
906
+ n0,
907
+ _LS,
908
+ {
909
+ [_ht]: ["GET", "/scans", 200],
910
+ },
911
+ () => ListScansRequest,
912
+ () => ListScansResponse,
913
+ ];
914
+ var ListTagsForResource = [
915
+ 9,
916
+ n0,
917
+ _LTFR,
918
+ {
919
+ [_ht]: ["GET", "/tags/{resourceArn}", 200],
920
+ },
921
+ () => ListTagsForResourceRequest,
922
+ () => ListTagsForResourceResponse,
923
+ ];
924
+ var TagResource = [
925
+ 9,
926
+ n0,
927
+ _TR,
928
+ {
929
+ [_ht]: ["POST", "/tags/{resourceArn}", 204],
930
+ },
931
+ () => TagResourceRequest,
932
+ () => TagResourceResponse,
933
+ ];
934
+ var UntagResource = [
935
+ 9,
936
+ n0,
937
+ _UR,
938
+ {
939
+ [_ht]: ["DELETE", "/tags/{resourceArn}", 204],
940
+ },
941
+ () => UntagResourceRequest,
942
+ () => UntagResourceResponse,
943
+ ];
944
+ var UpdateAccountConfiguration = [
945
+ 9,
946
+ n0,
947
+ _UAC,
948
+ {
949
+ [_ht]: ["PUT", "/updateAccountConfiguration", 200],
950
+ },
951
+ () => UpdateAccountConfigurationRequest,
952
+ () => UpdateAccountConfigurationResponse,
953
+ ];
861
954
 
862
955
  class BatchGetFindingsCommand extends smithyClient.Command
863
956
  .classBuilder()
864
957
  .ep(commonParams)
865
958
  .m(function (Command, cs, config, o) {
866
- return [
867
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
868
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
869
- ];
959
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
870
960
  })
871
961
  .s("AwsCodeGuruSecurity", "BatchGetFindings", {})
872
962
  .n("CodeGuruSecurityClient", "BatchGetFindingsCommand")
873
- .f(void 0, void 0)
874
- .ser(se_BatchGetFindingsCommand)
875
- .de(de_BatchGetFindingsCommand)
963
+ .sc(BatchGetFindings)
876
964
  .build() {
877
965
  }
878
966
 
@@ -880,16 +968,11 @@ class CreateScanCommand extends smithyClient.Command
880
968
  .classBuilder()
881
969
  .ep(commonParams)
882
970
  .m(function (Command, cs, config, o) {
883
- return [
884
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
885
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
886
- ];
971
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
972
  })
888
973
  .s("AwsCodeGuruSecurity", "CreateScan", {})
889
974
  .n("CodeGuruSecurityClient", "CreateScanCommand")
890
- .f(void 0, void 0)
891
- .ser(se_CreateScanCommand)
892
- .de(de_CreateScanCommand)
975
+ .sc(CreateScan)
893
976
  .build() {
894
977
  }
895
978
 
@@ -897,16 +980,11 @@ class CreateUploadUrlCommand extends smithyClient.Command
897
980
  .classBuilder()
898
981
  .ep(commonParams)
899
982
  .m(function (Command, cs, config, o) {
900
- return [
901
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
902
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
903
- ];
983
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
904
984
  })
905
985
  .s("AwsCodeGuruSecurity", "CreateUploadUrl", {})
906
986
  .n("CodeGuruSecurityClient", "CreateUploadUrlCommand")
907
- .f(void 0, CreateUploadUrlResponseFilterSensitiveLog)
908
- .ser(se_CreateUploadUrlCommand)
909
- .de(de_CreateUploadUrlCommand)
987
+ .sc(CreateUploadUrl)
910
988
  .build() {
911
989
  }
912
990
 
@@ -914,16 +992,11 @@ class GetAccountConfigurationCommand extends smithyClient.Command
914
992
  .classBuilder()
915
993
  .ep(commonParams)
916
994
  .m(function (Command, cs, config, o) {
917
- return [
918
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
919
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
920
- ];
995
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
921
996
  })
922
997
  .s("AwsCodeGuruSecurity", "GetAccountConfiguration", {})
923
998
  .n("CodeGuruSecurityClient", "GetAccountConfigurationCommand")
924
- .f(void 0, void 0)
925
- .ser(se_GetAccountConfigurationCommand)
926
- .de(de_GetAccountConfigurationCommand)
999
+ .sc(GetAccountConfiguration)
927
1000
  .build() {
928
1001
  }
929
1002
 
@@ -931,16 +1004,11 @@ class GetFindingsCommand extends smithyClient.Command
931
1004
  .classBuilder()
932
1005
  .ep(commonParams)
933
1006
  .m(function (Command, cs, config, o) {
934
- return [
935
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
936
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
937
- ];
1007
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
938
1008
  })
939
1009
  .s("AwsCodeGuruSecurity", "GetFindings", {})
940
1010
  .n("CodeGuruSecurityClient", "GetFindingsCommand")
941
- .f(void 0, void 0)
942
- .ser(se_GetFindingsCommand)
943
- .de(de_GetFindingsCommand)
1011
+ .sc(GetFindings)
944
1012
  .build() {
945
1013
  }
946
1014
 
@@ -948,16 +1016,11 @@ class GetMetricsSummaryCommand extends smithyClient.Command
948
1016
  .classBuilder()
949
1017
  .ep(commonParams)
950
1018
  .m(function (Command, cs, config, o) {
951
- return [
952
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
953
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
954
- ];
1019
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
955
1020
  })
956
1021
  .s("AwsCodeGuruSecurity", "GetMetricsSummary", {})
957
1022
  .n("CodeGuruSecurityClient", "GetMetricsSummaryCommand")
958
- .f(void 0, void 0)
959
- .ser(se_GetMetricsSummaryCommand)
960
- .de(de_GetMetricsSummaryCommand)
1023
+ .sc(GetMetricsSummary)
961
1024
  .build() {
962
1025
  }
963
1026
 
@@ -965,16 +1028,11 @@ class GetScanCommand extends smithyClient.Command
965
1028
  .classBuilder()
966
1029
  .ep(commonParams)
967
1030
  .m(function (Command, cs, config, o) {
968
- return [
969
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
970
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
971
- ];
1031
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
972
1032
  })
973
1033
  .s("AwsCodeGuruSecurity", "GetScan", {})
974
1034
  .n("CodeGuruSecurityClient", "GetScanCommand")
975
- .f(void 0, void 0)
976
- .ser(se_GetScanCommand)
977
- .de(de_GetScanCommand)
1035
+ .sc(GetScan)
978
1036
  .build() {
979
1037
  }
980
1038
 
@@ -982,16 +1040,11 @@ class ListFindingsMetricsCommand extends smithyClient.Command
982
1040
  .classBuilder()
983
1041
  .ep(commonParams)
984
1042
  .m(function (Command, cs, config, o) {
985
- return [
986
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
987
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
988
- ];
1043
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
989
1044
  })
990
1045
  .s("AwsCodeGuruSecurity", "ListFindingsMetrics", {})
991
1046
  .n("CodeGuruSecurityClient", "ListFindingsMetricsCommand")
992
- .f(void 0, void 0)
993
- .ser(se_ListFindingsMetricsCommand)
994
- .de(de_ListFindingsMetricsCommand)
1047
+ .sc(ListFindingsMetrics)
995
1048
  .build() {
996
1049
  }
997
1050
 
@@ -999,16 +1052,11 @@ class ListScansCommand extends smithyClient.Command
999
1052
  .classBuilder()
1000
1053
  .ep(commonParams)
1001
1054
  .m(function (Command, cs, config, o) {
1002
- return [
1003
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1004
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1005
- ];
1055
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1006
1056
  })
1007
1057
  .s("AwsCodeGuruSecurity", "ListScans", {})
1008
1058
  .n("CodeGuruSecurityClient", "ListScansCommand")
1009
- .f(void 0, void 0)
1010
- .ser(se_ListScansCommand)
1011
- .de(de_ListScansCommand)
1059
+ .sc(ListScans)
1012
1060
  .build() {
1013
1061
  }
1014
1062
 
@@ -1016,16 +1064,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1016
1064
  .classBuilder()
1017
1065
  .ep(commonParams)
1018
1066
  .m(function (Command, cs, config, o) {
1019
- return [
1020
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1021
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1022
- ];
1067
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1023
1068
  })
1024
1069
  .s("AwsCodeGuruSecurity", "ListTagsForResource", {})
1025
1070
  .n("CodeGuruSecurityClient", "ListTagsForResourceCommand")
1026
- .f(void 0, void 0)
1027
- .ser(se_ListTagsForResourceCommand)
1028
- .de(de_ListTagsForResourceCommand)
1071
+ .sc(ListTagsForResource)
1029
1072
  .build() {
1030
1073
  }
1031
1074
 
@@ -1033,16 +1076,11 @@ class TagResourceCommand extends smithyClient.Command
1033
1076
  .classBuilder()
1034
1077
  .ep(commonParams)
1035
1078
  .m(function (Command, cs, config, o) {
1036
- return [
1037
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1038
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1039
- ];
1079
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1040
1080
  })
1041
1081
  .s("AwsCodeGuruSecurity", "TagResource", {})
1042
1082
  .n("CodeGuruSecurityClient", "TagResourceCommand")
1043
- .f(void 0, void 0)
1044
- .ser(se_TagResourceCommand)
1045
- .de(de_TagResourceCommand)
1083
+ .sc(TagResource)
1046
1084
  .build() {
1047
1085
  }
1048
1086
 
@@ -1050,16 +1088,11 @@ class UntagResourceCommand extends smithyClient.Command
1050
1088
  .classBuilder()
1051
1089
  .ep(commonParams)
1052
1090
  .m(function (Command, cs, config, o) {
1053
- return [
1054
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1055
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1056
- ];
1091
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1057
1092
  })
1058
1093
  .s("AwsCodeGuruSecurity", "UntagResource", {})
1059
1094
  .n("CodeGuruSecurityClient", "UntagResourceCommand")
1060
- .f(void 0, void 0)
1061
- .ser(se_UntagResourceCommand)
1062
- .de(de_UntagResourceCommand)
1095
+ .sc(UntagResource)
1063
1096
  .build() {
1064
1097
  }
1065
1098
 
@@ -1067,16 +1100,11 @@ class UpdateAccountConfigurationCommand extends smithyClient.Command
1067
1100
  .classBuilder()
1068
1101
  .ep(commonParams)
1069
1102
  .m(function (Command, cs, config, o) {
1070
- return [
1071
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1072
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1073
- ];
1103
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1074
1104
  })
1075
1105
  .s("AwsCodeGuruSecurity", "UpdateAccountConfiguration", {})
1076
1106
  .n("CodeGuruSecurityClient", "UpdateAccountConfigurationCommand")
1077
- .f(void 0, void 0)
1078
- .ser(se_UpdateAccountConfigurationCommand)
1079
- .de(de_UpdateAccountConfigurationCommand)
1107
+ .sc(UpdateAccountConfiguration)
1080
1108
  .build() {
1081
1109
  }
1082
1110
 
@@ -1113,35 +1141,34 @@ Object.defineProperty(exports, "__Client", {
1113
1141
  enumerable: true,
1114
1142
  get: function () { return smithyClient.Client; }
1115
1143
  });
1116
- exports.AccessDeniedException = AccessDeniedException;
1144
+ exports.AccessDeniedException = AccessDeniedException$1;
1117
1145
  exports.AnalysisType = AnalysisType;
1118
1146
  exports.BatchGetFindingsCommand = BatchGetFindingsCommand;
1119
1147
  exports.CodeGuruSecurity = CodeGuruSecurity;
1120
1148
  exports.CodeGuruSecurityClient = CodeGuruSecurityClient;
1121
- exports.CodeGuruSecurityServiceException = CodeGuruSecurityServiceException;
1122
- exports.ConflictException = ConflictException;
1149
+ exports.CodeGuruSecurityServiceException = CodeGuruSecurityServiceException$1;
1150
+ exports.ConflictException = ConflictException$1;
1123
1151
  exports.CreateScanCommand = CreateScanCommand;
1124
1152
  exports.CreateUploadUrlCommand = CreateUploadUrlCommand;
1125
- exports.CreateUploadUrlResponseFilterSensitiveLog = CreateUploadUrlResponseFilterSensitiveLog;
1126
1153
  exports.ErrorCode = ErrorCode;
1127
1154
  exports.GetAccountConfigurationCommand = GetAccountConfigurationCommand;
1128
1155
  exports.GetFindingsCommand = GetFindingsCommand;
1129
1156
  exports.GetMetricsSummaryCommand = GetMetricsSummaryCommand;
1130
1157
  exports.GetScanCommand = GetScanCommand;
1131
- exports.InternalServerException = InternalServerException;
1158
+ exports.InternalServerException = InternalServerException$1;
1132
1159
  exports.ListFindingsMetricsCommand = ListFindingsMetricsCommand;
1133
1160
  exports.ListScansCommand = ListScansCommand;
1134
1161
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1135
- exports.ResourceNotFoundException = ResourceNotFoundException;
1162
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1136
1163
  exports.ScanState = ScanState;
1137
1164
  exports.ScanType = ScanType;
1138
1165
  exports.Severity = Severity;
1139
1166
  exports.Status = Status;
1140
1167
  exports.TagResourceCommand = TagResourceCommand;
1141
- exports.ThrottlingException = ThrottlingException;
1168
+ exports.ThrottlingException = ThrottlingException$1;
1142
1169
  exports.UntagResourceCommand = UntagResourceCommand;
1143
1170
  exports.UpdateAccountConfigurationCommand = UpdateAccountConfigurationCommand;
1144
- exports.ValidationException = ValidationException;
1171
+ exports.ValidationException = ValidationException$1;
1145
1172
  exports.ValidationExceptionReason = ValidationExceptionReason;
1146
1173
  exports.paginateGetFindings = paginateGetFindings;
1147
1174
  exports.paginateListFindingsMetrics = paginateListFindingsMetrics;