@aws-sdk/client-inspector 3.716.0 → 3.723.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
@@ -202,7 +202,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
202
202
  }, "resolveRuntimeExtensions");
203
203
 
204
204
  // src/InspectorClient.ts
205
- var _InspectorClient = class _InspectorClient extends import_smithy_client.Client {
205
+ var InspectorClient = class extends import_smithy_client.Client {
206
+ static {
207
+ __name(this, "InspectorClient");
208
+ }
209
+ /**
210
+ * The resolved configuration of InspectorClient class. This is resolved and normalized from the {@link InspectorClientConfig | constructor configuration interface}.
211
+ */
212
+ config;
206
213
  constructor(...[configuration]) {
207
214
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
208
215
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -212,7 +219,7 @@ var _InspectorClient = class _InspectorClient extends import_smithy_client.Clien
212
219
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
213
220
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
214
221
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
215
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
222
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
216
223
  super(_config_8);
217
224
  this.config = _config_8;
218
225
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -240,8 +247,6 @@ var _InspectorClient = class _InspectorClient extends import_smithy_client.Clien
240
247
  super.destroy();
241
248
  }
242
249
  };
243
- __name(_InspectorClient, "InspectorClient");
244
- var InspectorClient = _InspectorClient;
245
250
 
246
251
  // src/Inspector.ts
247
252
 
@@ -258,7 +263,10 @@ var import_core2 = require("@aws-sdk/core");
258
263
 
259
264
  // src/models/InspectorServiceException.ts
260
265
 
261
- var _InspectorServiceException = class _InspectorServiceException extends import_smithy_client.ServiceException {
266
+ var InspectorServiceException = class _InspectorServiceException extends import_smithy_client.ServiceException {
267
+ static {
268
+ __name(this, "InspectorServiceException");
269
+ }
262
270
  /**
263
271
  * @internal
264
272
  */
@@ -267,8 +275,6 @@ var _InspectorServiceException = class _InspectorServiceException extends import
267
275
  Object.setPrototypeOf(this, _InspectorServiceException.prototype);
268
276
  }
269
277
  };
270
- __name(_InspectorServiceException, "InspectorServiceException");
271
- var InspectorServiceException = _InspectorServiceException;
272
278
 
273
279
  // src/models/models_0.ts
274
280
  var AccessDeniedErrorCode = {
@@ -281,7 +287,22 @@ var AccessDeniedErrorCode = {
281
287
  ACCESS_DENIED_TO_RULES_PACKAGE: "ACCESS_DENIED_TO_RULES_PACKAGE",
282
288
  ACCESS_DENIED_TO_SNS_TOPIC: "ACCESS_DENIED_TO_SNS_TOPIC"
283
289
  };
284
- var _AccessDeniedException = class _AccessDeniedException extends InspectorServiceException {
290
+ var AccessDeniedException = class _AccessDeniedException extends InspectorServiceException {
291
+ static {
292
+ __name(this, "AccessDeniedException");
293
+ }
294
+ name = "AccessDeniedException";
295
+ $fault = "client";
296
+ /**
297
+ * <p>Code that indicates the type of error that is generated.</p>
298
+ * @public
299
+ */
300
+ errorCode;
301
+ /**
302
+ * <p>You can immediately retry your request.</p>
303
+ * @public
304
+ */
305
+ canRetry;
285
306
  /**
286
307
  * @internal
287
308
  */
@@ -291,15 +312,11 @@ var _AccessDeniedException = class _AccessDeniedException extends InspectorServi
291
312
  $fault: "client",
292
313
  ...opts
293
314
  });
294
- this.name = "AccessDeniedException";
295
- this.$fault = "client";
296
315
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
297
316
  this.errorCode = opts.errorCode;
298
317
  this.canRetry = opts.canRetry;
299
318
  }
300
319
  };
301
- __name(_AccessDeniedException, "AccessDeniedException");
302
- var AccessDeniedException = _AccessDeniedException;
303
320
  var FailedItemErrorCode = {
304
321
  ACCESS_DENIED: "ACCESS_DENIED",
305
322
  DUPLICATE_ARN: "DUPLICATE_ARN",
@@ -308,7 +325,17 @@ var FailedItemErrorCode = {
308
325
  ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
309
326
  LIMIT_EXCEEDED: "LIMIT_EXCEEDED"
310
327
  };
311
- var _InternalException = class _InternalException extends InspectorServiceException {
328
+ var InternalException = class _InternalException extends InspectorServiceException {
329
+ static {
330
+ __name(this, "InternalException");
331
+ }
332
+ name = "InternalException";
333
+ $fault = "server";
334
+ /**
335
+ * <p>You can immediately retry your request.</p>
336
+ * @public
337
+ */
338
+ canRetry;
312
339
  /**
313
340
  * @internal
314
341
  */
@@ -318,14 +345,10 @@ var _InternalException = class _InternalException extends InspectorServiceExcept
318
345
  $fault: "server",
319
346
  ...opts
320
347
  });
321
- this.name = "InternalException";
322
- this.$fault = "server";
323
348
  Object.setPrototypeOf(this, _InternalException.prototype);
324
349
  this.canRetry = opts.canRetry;
325
350
  }
326
351
  };
327
- __name(_InternalException, "InternalException");
328
- var InternalException = _InternalException;
329
352
  var InvalidInputErrorCode = {
330
353
  ASSESSMENT_TARGET_NAME_ALREADY_TAKEN: "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
331
354
  ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN: "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
@@ -382,7 +405,22 @@ var InvalidInputErrorCode = {
382
405
  INVALID_USER_ATTRIBUTE_KEY: "INVALID_USER_ATTRIBUTE_KEY",
383
406
  INVALID_USER_ATTRIBUTE_VALUE: "INVALID_USER_ATTRIBUTE_VALUE"
384
407
  };
385
- var _InvalidInputException = class _InvalidInputException extends InspectorServiceException {
408
+ var InvalidInputException = class _InvalidInputException extends InspectorServiceException {
409
+ static {
410
+ __name(this, "InvalidInputException");
411
+ }
412
+ name = "InvalidInputException";
413
+ $fault = "client";
414
+ /**
415
+ * <p>Code that indicates the type of error that is generated.</p>
416
+ * @public
417
+ */
418
+ errorCode;
419
+ /**
420
+ * <p>You can immediately retry your request.</p>
421
+ * @public
422
+ */
423
+ canRetry;
386
424
  /**
387
425
  * @internal
388
426
  */
@@ -392,15 +430,11 @@ var _InvalidInputException = class _InvalidInputException extends InspectorServi
392
430
  $fault: "client",
393
431
  ...opts
394
432
  });
395
- this.name = "InvalidInputException";
396
- this.$fault = "client";
397
433
  Object.setPrototypeOf(this, _InvalidInputException.prototype);
398
434
  this.errorCode = opts.errorCode;
399
435
  this.canRetry = opts.canRetry;
400
436
  }
401
437
  };
402
- __name(_InvalidInputException, "InvalidInputException");
403
- var InvalidInputException = _InvalidInputException;
404
438
  var NoSuchEntityErrorCode = {
405
439
  ASSESSMENT_RUN_DOES_NOT_EXIST: "ASSESSMENT_RUN_DOES_NOT_EXIST",
406
440
  ASSESSMENT_TARGET_DOES_NOT_EXIST: "ASSESSMENT_TARGET_DOES_NOT_EXIST",
@@ -411,7 +445,22 @@ var NoSuchEntityErrorCode = {
411
445
  RULES_PACKAGE_DOES_NOT_EXIST: "RULES_PACKAGE_DOES_NOT_EXIST",
412
446
  SNS_TOPIC_DOES_NOT_EXIST: "SNS_TOPIC_DOES_NOT_EXIST"
413
447
  };
414
- var _NoSuchEntityException = class _NoSuchEntityException extends InspectorServiceException {
448
+ var NoSuchEntityException = class _NoSuchEntityException extends InspectorServiceException {
449
+ static {
450
+ __name(this, "NoSuchEntityException");
451
+ }
452
+ name = "NoSuchEntityException";
453
+ $fault = "client";
454
+ /**
455
+ * <p>Code that indicates the type of error that is generated.</p>
456
+ * @public
457
+ */
458
+ errorCode;
459
+ /**
460
+ * <p>You can immediately retry your request.</p>
461
+ * @public
462
+ */
463
+ canRetry;
415
464
  /**
416
465
  * @internal
417
466
  */
@@ -421,16 +470,22 @@ var _NoSuchEntityException = class _NoSuchEntityException extends InspectorServi
421
470
  $fault: "client",
422
471
  ...opts
423
472
  });
424
- this.name = "NoSuchEntityException";
425
- this.$fault = "client";
426
473
  Object.setPrototypeOf(this, _NoSuchEntityException.prototype);
427
474
  this.errorCode = opts.errorCode;
428
475
  this.canRetry = opts.canRetry;
429
476
  }
430
477
  };
431
- __name(_NoSuchEntityException, "NoSuchEntityException");
432
- var NoSuchEntityException = _NoSuchEntityException;
433
- var _ServiceTemporarilyUnavailableException = class _ServiceTemporarilyUnavailableException extends InspectorServiceException {
478
+ var ServiceTemporarilyUnavailableException = class _ServiceTemporarilyUnavailableException extends InspectorServiceException {
479
+ static {
480
+ __name(this, "ServiceTemporarilyUnavailableException");
481
+ }
482
+ name = "ServiceTemporarilyUnavailableException";
483
+ $fault = "server";
484
+ /**
485
+ * <p>You can wait and then retry your request.</p>
486
+ * @public
487
+ */
488
+ canRetry;
434
489
  /**
435
490
  * @internal
436
491
  */
@@ -440,14 +495,10 @@ var _ServiceTemporarilyUnavailableException = class _ServiceTemporarilyUnavailab
440
495
  $fault: "server",
441
496
  ...opts
442
497
  });
443
- this.name = "ServiceTemporarilyUnavailableException";
444
- this.$fault = "server";
445
498
  Object.setPrototypeOf(this, _ServiceTemporarilyUnavailableException.prototype);
446
499
  this.canRetry = opts.canRetry;
447
500
  }
448
501
  };
449
- __name(_ServiceTemporarilyUnavailableException, "ServiceTemporarilyUnavailableException");
450
- var ServiceTemporarilyUnavailableException = _ServiceTemporarilyUnavailableException;
451
502
  var AgentHealthCode = {
452
503
  IDLE: "IDLE",
453
504
  RUNNING: "RUNNING",
@@ -461,7 +512,27 @@ var AgentHealth = {
461
512
  UNHEALTHY: "UNHEALTHY",
462
513
  UNKNOWN: "UNKNOWN"
463
514
  };
464
- var _AgentsAlreadyRunningAssessmentException = class _AgentsAlreadyRunningAssessmentException extends InspectorServiceException {
515
+ var AgentsAlreadyRunningAssessmentException = class _AgentsAlreadyRunningAssessmentException extends InspectorServiceException {
516
+ static {
517
+ __name(this, "AgentsAlreadyRunningAssessmentException");
518
+ }
519
+ name = "AgentsAlreadyRunningAssessmentException";
520
+ $fault = "client";
521
+ /**
522
+ * <p></p>
523
+ * @public
524
+ */
525
+ agents;
526
+ /**
527
+ * <p></p>
528
+ * @public
529
+ */
530
+ agentsTruncated;
531
+ /**
532
+ * <p>You can immediately retry your request.</p>
533
+ * @public
534
+ */
535
+ canRetry;
465
536
  /**
466
537
  * @internal
467
538
  */
@@ -471,16 +542,12 @@ var _AgentsAlreadyRunningAssessmentException = class _AgentsAlreadyRunningAssess
471
542
  $fault: "client",
472
543
  ...opts
473
544
  });
474
- this.name = "AgentsAlreadyRunningAssessmentException";
475
- this.$fault = "client";
476
545
  Object.setPrototypeOf(this, _AgentsAlreadyRunningAssessmentException.prototype);
477
546
  this.agents = opts.agents;
478
547
  this.agentsTruncated = opts.agentsTruncated;
479
548
  this.canRetry = opts.canRetry;
480
549
  }
481
550
  };
482
- __name(_AgentsAlreadyRunningAssessmentException, "AgentsAlreadyRunningAssessmentException");
483
- var AgentsAlreadyRunningAssessmentException = _AgentsAlreadyRunningAssessmentException;
484
551
  var Severity = {
485
552
  HIGH: "High",
486
553
  INFORMATIONAL: "Informational",
@@ -516,7 +583,28 @@ var AssessmentRunState = {
516
583
  START_EVALUATING_RULES_PENDING: "START_EVALUATING_RULES_PENDING",
517
584
  STOP_DATA_COLLECTION_PENDING: "STOP_DATA_COLLECTION_PENDING"
518
585
  };
519
- var _AssessmentRunInProgressException = class _AssessmentRunInProgressException extends InspectorServiceException {
586
+ var AssessmentRunInProgressException = class _AssessmentRunInProgressException extends InspectorServiceException {
587
+ static {
588
+ __name(this, "AssessmentRunInProgressException");
589
+ }
590
+ name = "AssessmentRunInProgressException";
591
+ $fault = "client";
592
+ /**
593
+ * <p>The ARNs of the assessment runs that are currently in progress.</p>
594
+ * @public
595
+ */
596
+ assessmentRunArns;
597
+ /**
598
+ * <p>Boolean value that indicates whether the ARN list of the assessment runs is
599
+ * truncated.</p>
600
+ * @public
601
+ */
602
+ assessmentRunArnsTruncated;
603
+ /**
604
+ * <p>You can immediately retry your request.</p>
605
+ * @public
606
+ */
607
+ canRetry;
520
608
  /**
521
609
  * @internal
522
610
  */
@@ -526,16 +614,12 @@ var _AssessmentRunInProgressException = class _AssessmentRunInProgressException
526
614
  $fault: "client",
527
615
  ...opts
528
616
  });
529
- this.name = "AssessmentRunInProgressException";
530
- this.$fault = "client";
531
617
  Object.setPrototypeOf(this, _AssessmentRunInProgressException.prototype);
532
618
  this.assessmentRunArns = opts.assessmentRunArns;
533
619
  this.assessmentRunArnsTruncated = opts.assessmentRunArnsTruncated;
534
620
  this.canRetry = opts.canRetry;
535
621
  }
536
622
  };
537
- __name(_AssessmentRunInProgressException, "AssessmentRunInProgressException");
538
- var AssessmentRunInProgressException = _AssessmentRunInProgressException;
539
623
  var AssetType = {
540
624
  EC2_INSTANCE: "ec2-instance"
541
625
  };
@@ -543,7 +627,22 @@ var InvalidCrossAccountRoleErrorCode = {
543
627
  ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP: "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP",
544
628
  ROLE_DOES_NOT_HAVE_CORRECT_POLICY: "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"
545
629
  };
546
- var _InvalidCrossAccountRoleException = class _InvalidCrossAccountRoleException extends InspectorServiceException {
630
+ var InvalidCrossAccountRoleException = class _InvalidCrossAccountRoleException extends InspectorServiceException {
631
+ static {
632
+ __name(this, "InvalidCrossAccountRoleException");
633
+ }
634
+ name = "InvalidCrossAccountRoleException";
635
+ $fault = "client";
636
+ /**
637
+ * <p>Code that indicates the type of error that is generated.</p>
638
+ * @public
639
+ */
640
+ errorCode;
641
+ /**
642
+ * <p>You can immediately retry your request.</p>
643
+ * @public
644
+ */
645
+ canRetry;
547
646
  /**
548
647
  * @internal
549
648
  */
@@ -553,15 +652,11 @@ var _InvalidCrossAccountRoleException = class _InvalidCrossAccountRoleException
553
652
  $fault: "client",
554
653
  ...opts
555
654
  });
556
- this.name = "InvalidCrossAccountRoleException";
557
- this.$fault = "client";
558
655
  Object.setPrototypeOf(this, _InvalidCrossAccountRoleException.prototype);
559
656
  this.errorCode = opts.errorCode;
560
657
  this.canRetry = opts.canRetry;
561
658
  }
562
659
  };
563
- __name(_InvalidCrossAccountRoleException, "InvalidCrossAccountRoleException");
564
- var InvalidCrossAccountRoleException = _InvalidCrossAccountRoleException;
565
660
  var LimitExceededErrorCode = {
566
661
  ASSESSMENT_RUN_LIMIT_EXCEEDED: "ASSESSMENT_RUN_LIMIT_EXCEEDED",
567
662
  ASSESSMENT_TARGET_LIMIT_EXCEEDED: "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
@@ -569,7 +664,22 @@ var LimitExceededErrorCode = {
569
664
  EVENT_SUBSCRIPTION_LIMIT_EXCEEDED: "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED",
570
665
  RESOURCE_GROUP_LIMIT_EXCEEDED: "RESOURCE_GROUP_LIMIT_EXCEEDED"
571
666
  };
572
- var _LimitExceededException = class _LimitExceededException extends InspectorServiceException {
667
+ var LimitExceededException = class _LimitExceededException extends InspectorServiceException {
668
+ static {
669
+ __name(this, "LimitExceededException");
670
+ }
671
+ name = "LimitExceededException";
672
+ $fault = "client";
673
+ /**
674
+ * <p>Code that indicates the type of error that is generated.</p>
675
+ * @public
676
+ */
677
+ errorCode;
678
+ /**
679
+ * <p>You can immediately retry your request.</p>
680
+ * @public
681
+ */
682
+ canRetry;
573
683
  /**
574
684
  * @internal
575
685
  */
@@ -579,16 +689,17 @@ var _LimitExceededException = class _LimitExceededException extends InspectorSer
579
689
  $fault: "client",
580
690
  ...opts
581
691
  });
582
- this.name = "LimitExceededException";
583
- this.$fault = "client";
584
692
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
585
693
  this.errorCode = opts.errorCode;
586
694
  this.canRetry = opts.canRetry;
587
695
  }
588
696
  };
589
- __name(_LimitExceededException, "LimitExceededException");
590
- var LimitExceededException = _LimitExceededException;
591
- var _PreviewGenerationInProgressException = class _PreviewGenerationInProgressException extends InspectorServiceException {
697
+ var PreviewGenerationInProgressException = class _PreviewGenerationInProgressException extends InspectorServiceException {
698
+ static {
699
+ __name(this, "PreviewGenerationInProgressException");
700
+ }
701
+ name = "PreviewGenerationInProgressException";
702
+ $fault = "client";
592
703
  /**
593
704
  * @internal
594
705
  */
@@ -598,13 +709,9 @@ var _PreviewGenerationInProgressException = class _PreviewGenerationInProgressEx
598
709
  $fault: "client",
599
710
  ...opts
600
711
  });
601
- this.name = "PreviewGenerationInProgressException";
602
- this.$fault = "client";
603
712
  Object.setPrototypeOf(this, _PreviewGenerationInProgressException.prototype);
604
713
  }
605
714
  };
606
- __name(_PreviewGenerationInProgressException, "PreviewGenerationInProgressException");
607
- var PreviewGenerationInProgressException = _PreviewGenerationInProgressException;
608
715
  var Locale = {
609
716
  EN_US: "EN_US"
610
717
  };
@@ -625,7 +732,13 @@ var ReportStatus = {
625
732
  FAILED: "FAILED",
626
733
  WORK_IN_PROGRESS: "WORK_IN_PROGRESS"
627
734
  };
628
- var _UnsupportedFeatureException = class _UnsupportedFeatureException extends InspectorServiceException {
735
+ var UnsupportedFeatureException = class _UnsupportedFeatureException extends InspectorServiceException {
736
+ static {
737
+ __name(this, "UnsupportedFeatureException");
738
+ }
739
+ name = "UnsupportedFeatureException";
740
+ $fault = "client";
741
+ canRetry;
629
742
  /**
630
743
  * @internal
631
744
  */
@@ -635,14 +748,10 @@ var _UnsupportedFeatureException = class _UnsupportedFeatureException extends In
635
748
  $fault: "client",
636
749
  ...opts
637
750
  });
638
- this.name = "UnsupportedFeatureException";
639
- this.$fault = "client";
640
751
  Object.setPrototypeOf(this, _UnsupportedFeatureException.prototype);
641
752
  this.canRetry = opts.canRetry;
642
753
  }
643
754
  };
644
- __name(_UnsupportedFeatureException, "UnsupportedFeatureException");
645
- var UnsupportedFeatureException = _UnsupportedFeatureException;
646
755
  var PreviewStatus = {
647
756
  COMPLETED: "COMPLETED",
648
757
  WORK_IN_PROGRESS: "WORK_IN_PROGRESS"
@@ -1751,519 +1860,556 @@ function sharedHeaders(operation) {
1751
1860
  __name(sharedHeaders, "sharedHeaders");
1752
1861
 
1753
1862
  // src/commands/AddAttributesToFindingsCommand.ts
1754
- var _AddAttributesToFindingsCommand = class _AddAttributesToFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1863
+ var AddAttributesToFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1755
1864
  return [
1756
1865
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1757
1866
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1758
1867
  ];
1759
1868
  }).s("InspectorService", "AddAttributesToFindings", {}).n("InspectorClient", "AddAttributesToFindingsCommand").f(void 0, void 0).ser(se_AddAttributesToFindingsCommand).de(de_AddAttributesToFindingsCommand).build() {
1869
+ static {
1870
+ __name(this, "AddAttributesToFindingsCommand");
1871
+ }
1760
1872
  };
1761
- __name(_AddAttributesToFindingsCommand, "AddAttributesToFindingsCommand");
1762
- var AddAttributesToFindingsCommand = _AddAttributesToFindingsCommand;
1763
1873
 
1764
1874
  // src/commands/CreateAssessmentTargetCommand.ts
1765
1875
 
1766
1876
 
1767
1877
 
1768
- var _CreateAssessmentTargetCommand = class _CreateAssessmentTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1878
+ var CreateAssessmentTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1769
1879
  return [
1770
1880
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1771
1881
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1772
1882
  ];
1773
1883
  }).s("InspectorService", "CreateAssessmentTarget", {}).n("InspectorClient", "CreateAssessmentTargetCommand").f(void 0, void 0).ser(se_CreateAssessmentTargetCommand).de(de_CreateAssessmentTargetCommand).build() {
1884
+ static {
1885
+ __name(this, "CreateAssessmentTargetCommand");
1886
+ }
1774
1887
  };
1775
- __name(_CreateAssessmentTargetCommand, "CreateAssessmentTargetCommand");
1776
- var CreateAssessmentTargetCommand = _CreateAssessmentTargetCommand;
1777
1888
 
1778
1889
  // src/commands/CreateAssessmentTemplateCommand.ts
1779
1890
 
1780
1891
 
1781
1892
 
1782
- var _CreateAssessmentTemplateCommand = class _CreateAssessmentTemplateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1893
+ var CreateAssessmentTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1783
1894
  return [
1784
1895
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1785
1896
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1786
1897
  ];
1787
1898
  }).s("InspectorService", "CreateAssessmentTemplate", {}).n("InspectorClient", "CreateAssessmentTemplateCommand").f(void 0, void 0).ser(se_CreateAssessmentTemplateCommand).de(de_CreateAssessmentTemplateCommand).build() {
1899
+ static {
1900
+ __name(this, "CreateAssessmentTemplateCommand");
1901
+ }
1788
1902
  };
1789
- __name(_CreateAssessmentTemplateCommand, "CreateAssessmentTemplateCommand");
1790
- var CreateAssessmentTemplateCommand = _CreateAssessmentTemplateCommand;
1791
1903
 
1792
1904
  // src/commands/CreateExclusionsPreviewCommand.ts
1793
1905
 
1794
1906
 
1795
1907
 
1796
- var _CreateExclusionsPreviewCommand = class _CreateExclusionsPreviewCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1908
+ var CreateExclusionsPreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1797
1909
  return [
1798
1910
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1799
1911
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1800
1912
  ];
1801
1913
  }).s("InspectorService", "CreateExclusionsPreview", {}).n("InspectorClient", "CreateExclusionsPreviewCommand").f(void 0, void 0).ser(se_CreateExclusionsPreviewCommand).de(de_CreateExclusionsPreviewCommand).build() {
1914
+ static {
1915
+ __name(this, "CreateExclusionsPreviewCommand");
1916
+ }
1802
1917
  };
1803
- __name(_CreateExclusionsPreviewCommand, "CreateExclusionsPreviewCommand");
1804
- var CreateExclusionsPreviewCommand = _CreateExclusionsPreviewCommand;
1805
1918
 
1806
1919
  // src/commands/CreateResourceGroupCommand.ts
1807
1920
 
1808
1921
 
1809
1922
 
1810
- var _CreateResourceGroupCommand = class _CreateResourceGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1923
+ var CreateResourceGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1811
1924
  return [
1812
1925
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1813
1926
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1814
1927
  ];
1815
1928
  }).s("InspectorService", "CreateResourceGroup", {}).n("InspectorClient", "CreateResourceGroupCommand").f(void 0, void 0).ser(se_CreateResourceGroupCommand).de(de_CreateResourceGroupCommand).build() {
1929
+ static {
1930
+ __name(this, "CreateResourceGroupCommand");
1931
+ }
1816
1932
  };
1817
- __name(_CreateResourceGroupCommand, "CreateResourceGroupCommand");
1818
- var CreateResourceGroupCommand = _CreateResourceGroupCommand;
1819
1933
 
1820
1934
  // src/commands/DeleteAssessmentRunCommand.ts
1821
1935
 
1822
1936
 
1823
1937
 
1824
- var _DeleteAssessmentRunCommand = class _DeleteAssessmentRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1938
+ var DeleteAssessmentRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1825
1939
  return [
1826
1940
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1827
1941
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1828
1942
  ];
1829
1943
  }).s("InspectorService", "DeleteAssessmentRun", {}).n("InspectorClient", "DeleteAssessmentRunCommand").f(void 0, void 0).ser(se_DeleteAssessmentRunCommand).de(de_DeleteAssessmentRunCommand).build() {
1944
+ static {
1945
+ __name(this, "DeleteAssessmentRunCommand");
1946
+ }
1830
1947
  };
1831
- __name(_DeleteAssessmentRunCommand, "DeleteAssessmentRunCommand");
1832
- var DeleteAssessmentRunCommand = _DeleteAssessmentRunCommand;
1833
1948
 
1834
1949
  // src/commands/DeleteAssessmentTargetCommand.ts
1835
1950
 
1836
1951
 
1837
1952
 
1838
- var _DeleteAssessmentTargetCommand = class _DeleteAssessmentTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1953
+ var DeleteAssessmentTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1839
1954
  return [
1840
1955
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1841
1956
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1842
1957
  ];
1843
1958
  }).s("InspectorService", "DeleteAssessmentTarget", {}).n("InspectorClient", "DeleteAssessmentTargetCommand").f(void 0, void 0).ser(se_DeleteAssessmentTargetCommand).de(de_DeleteAssessmentTargetCommand).build() {
1959
+ static {
1960
+ __name(this, "DeleteAssessmentTargetCommand");
1961
+ }
1844
1962
  };
1845
- __name(_DeleteAssessmentTargetCommand, "DeleteAssessmentTargetCommand");
1846
- var DeleteAssessmentTargetCommand = _DeleteAssessmentTargetCommand;
1847
1963
 
1848
1964
  // src/commands/DeleteAssessmentTemplateCommand.ts
1849
1965
 
1850
1966
 
1851
1967
 
1852
- var _DeleteAssessmentTemplateCommand = class _DeleteAssessmentTemplateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1968
+ var DeleteAssessmentTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1853
1969
  return [
1854
1970
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1855
1971
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1856
1972
  ];
1857
1973
  }).s("InspectorService", "DeleteAssessmentTemplate", {}).n("InspectorClient", "DeleteAssessmentTemplateCommand").f(void 0, void 0).ser(se_DeleteAssessmentTemplateCommand).de(de_DeleteAssessmentTemplateCommand).build() {
1974
+ static {
1975
+ __name(this, "DeleteAssessmentTemplateCommand");
1976
+ }
1858
1977
  };
1859
- __name(_DeleteAssessmentTemplateCommand, "DeleteAssessmentTemplateCommand");
1860
- var DeleteAssessmentTemplateCommand = _DeleteAssessmentTemplateCommand;
1861
1978
 
1862
1979
  // src/commands/DescribeAssessmentRunsCommand.ts
1863
1980
 
1864
1981
 
1865
1982
 
1866
- var _DescribeAssessmentRunsCommand = class _DescribeAssessmentRunsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1983
+ var DescribeAssessmentRunsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1867
1984
  return [
1868
1985
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1869
1986
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1870
1987
  ];
1871
1988
  }).s("InspectorService", "DescribeAssessmentRuns", {}).n("InspectorClient", "DescribeAssessmentRunsCommand").f(void 0, void 0).ser(se_DescribeAssessmentRunsCommand).de(de_DescribeAssessmentRunsCommand).build() {
1989
+ static {
1990
+ __name(this, "DescribeAssessmentRunsCommand");
1991
+ }
1872
1992
  };
1873
- __name(_DescribeAssessmentRunsCommand, "DescribeAssessmentRunsCommand");
1874
- var DescribeAssessmentRunsCommand = _DescribeAssessmentRunsCommand;
1875
1993
 
1876
1994
  // src/commands/DescribeAssessmentTargetsCommand.ts
1877
1995
 
1878
1996
 
1879
1997
 
1880
- var _DescribeAssessmentTargetsCommand = class _DescribeAssessmentTargetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1998
+ var DescribeAssessmentTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1881
1999
  return [
1882
2000
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1883
2001
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1884
2002
  ];
1885
2003
  }).s("InspectorService", "DescribeAssessmentTargets", {}).n("InspectorClient", "DescribeAssessmentTargetsCommand").f(void 0, void 0).ser(se_DescribeAssessmentTargetsCommand).de(de_DescribeAssessmentTargetsCommand).build() {
2004
+ static {
2005
+ __name(this, "DescribeAssessmentTargetsCommand");
2006
+ }
1886
2007
  };
1887
- __name(_DescribeAssessmentTargetsCommand, "DescribeAssessmentTargetsCommand");
1888
- var DescribeAssessmentTargetsCommand = _DescribeAssessmentTargetsCommand;
1889
2008
 
1890
2009
  // src/commands/DescribeAssessmentTemplatesCommand.ts
1891
2010
 
1892
2011
 
1893
2012
 
1894
- var _DescribeAssessmentTemplatesCommand = class _DescribeAssessmentTemplatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2013
+ var DescribeAssessmentTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1895
2014
  return [
1896
2015
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1897
2016
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1898
2017
  ];
1899
2018
  }).s("InspectorService", "DescribeAssessmentTemplates", {}).n("InspectorClient", "DescribeAssessmentTemplatesCommand").f(void 0, void 0).ser(se_DescribeAssessmentTemplatesCommand).de(de_DescribeAssessmentTemplatesCommand).build() {
2019
+ static {
2020
+ __name(this, "DescribeAssessmentTemplatesCommand");
2021
+ }
1900
2022
  };
1901
- __name(_DescribeAssessmentTemplatesCommand, "DescribeAssessmentTemplatesCommand");
1902
- var DescribeAssessmentTemplatesCommand = _DescribeAssessmentTemplatesCommand;
1903
2023
 
1904
2024
  // src/commands/DescribeCrossAccountAccessRoleCommand.ts
1905
2025
 
1906
2026
 
1907
2027
 
1908
- var _DescribeCrossAccountAccessRoleCommand = class _DescribeCrossAccountAccessRoleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2028
+ var DescribeCrossAccountAccessRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1909
2029
  return [
1910
2030
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1911
2031
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1912
2032
  ];
1913
2033
  }).s("InspectorService", "DescribeCrossAccountAccessRole", {}).n("InspectorClient", "DescribeCrossAccountAccessRoleCommand").f(void 0, void 0).ser(se_DescribeCrossAccountAccessRoleCommand).de(de_DescribeCrossAccountAccessRoleCommand).build() {
2034
+ static {
2035
+ __name(this, "DescribeCrossAccountAccessRoleCommand");
2036
+ }
1914
2037
  };
1915
- __name(_DescribeCrossAccountAccessRoleCommand, "DescribeCrossAccountAccessRoleCommand");
1916
- var DescribeCrossAccountAccessRoleCommand = _DescribeCrossAccountAccessRoleCommand;
1917
2038
 
1918
2039
  // src/commands/DescribeExclusionsCommand.ts
1919
2040
 
1920
2041
 
1921
2042
 
1922
- var _DescribeExclusionsCommand = class _DescribeExclusionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2043
+ var DescribeExclusionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1923
2044
  return [
1924
2045
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1925
2046
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1926
2047
  ];
1927
2048
  }).s("InspectorService", "DescribeExclusions", {}).n("InspectorClient", "DescribeExclusionsCommand").f(void 0, void 0).ser(se_DescribeExclusionsCommand).de(de_DescribeExclusionsCommand).build() {
2049
+ static {
2050
+ __name(this, "DescribeExclusionsCommand");
2051
+ }
1928
2052
  };
1929
- __name(_DescribeExclusionsCommand, "DescribeExclusionsCommand");
1930
- var DescribeExclusionsCommand = _DescribeExclusionsCommand;
1931
2053
 
1932
2054
  // src/commands/DescribeFindingsCommand.ts
1933
2055
 
1934
2056
 
1935
2057
 
1936
- var _DescribeFindingsCommand = class _DescribeFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2058
+ var DescribeFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1937
2059
  return [
1938
2060
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1939
2061
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1940
2062
  ];
1941
2063
  }).s("InspectorService", "DescribeFindings", {}).n("InspectorClient", "DescribeFindingsCommand").f(void 0, void 0).ser(se_DescribeFindingsCommand).de(de_DescribeFindingsCommand).build() {
2064
+ static {
2065
+ __name(this, "DescribeFindingsCommand");
2066
+ }
1942
2067
  };
1943
- __name(_DescribeFindingsCommand, "DescribeFindingsCommand");
1944
- var DescribeFindingsCommand = _DescribeFindingsCommand;
1945
2068
 
1946
2069
  // src/commands/DescribeResourceGroupsCommand.ts
1947
2070
 
1948
2071
 
1949
2072
 
1950
- var _DescribeResourceGroupsCommand = class _DescribeResourceGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2073
+ var DescribeResourceGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1951
2074
  return [
1952
2075
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1953
2076
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1954
2077
  ];
1955
2078
  }).s("InspectorService", "DescribeResourceGroups", {}).n("InspectorClient", "DescribeResourceGroupsCommand").f(void 0, void 0).ser(se_DescribeResourceGroupsCommand).de(de_DescribeResourceGroupsCommand).build() {
2079
+ static {
2080
+ __name(this, "DescribeResourceGroupsCommand");
2081
+ }
1956
2082
  };
1957
- __name(_DescribeResourceGroupsCommand, "DescribeResourceGroupsCommand");
1958
- var DescribeResourceGroupsCommand = _DescribeResourceGroupsCommand;
1959
2083
 
1960
2084
  // src/commands/DescribeRulesPackagesCommand.ts
1961
2085
 
1962
2086
 
1963
2087
 
1964
- var _DescribeRulesPackagesCommand = class _DescribeRulesPackagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2088
+ var DescribeRulesPackagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1965
2089
  return [
1966
2090
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1967
2091
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1968
2092
  ];
1969
2093
  }).s("InspectorService", "DescribeRulesPackages", {}).n("InspectorClient", "DescribeRulesPackagesCommand").f(void 0, void 0).ser(se_DescribeRulesPackagesCommand).de(de_DescribeRulesPackagesCommand).build() {
2094
+ static {
2095
+ __name(this, "DescribeRulesPackagesCommand");
2096
+ }
1970
2097
  };
1971
- __name(_DescribeRulesPackagesCommand, "DescribeRulesPackagesCommand");
1972
- var DescribeRulesPackagesCommand = _DescribeRulesPackagesCommand;
1973
2098
 
1974
2099
  // src/commands/GetAssessmentReportCommand.ts
1975
2100
 
1976
2101
 
1977
2102
 
1978
- var _GetAssessmentReportCommand = class _GetAssessmentReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2103
+ var GetAssessmentReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1979
2104
  return [
1980
2105
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1981
2106
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1982
2107
  ];
1983
2108
  }).s("InspectorService", "GetAssessmentReport", {}).n("InspectorClient", "GetAssessmentReportCommand").f(void 0, void 0).ser(se_GetAssessmentReportCommand).de(de_GetAssessmentReportCommand).build() {
2109
+ static {
2110
+ __name(this, "GetAssessmentReportCommand");
2111
+ }
1984
2112
  };
1985
- __name(_GetAssessmentReportCommand, "GetAssessmentReportCommand");
1986
- var GetAssessmentReportCommand = _GetAssessmentReportCommand;
1987
2113
 
1988
2114
  // src/commands/GetExclusionsPreviewCommand.ts
1989
2115
 
1990
2116
 
1991
2117
 
1992
- var _GetExclusionsPreviewCommand = class _GetExclusionsPreviewCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2118
+ var GetExclusionsPreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1993
2119
  return [
1994
2120
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1995
2121
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1996
2122
  ];
1997
2123
  }).s("InspectorService", "GetExclusionsPreview", {}).n("InspectorClient", "GetExclusionsPreviewCommand").f(void 0, void 0).ser(se_GetExclusionsPreviewCommand).de(de_GetExclusionsPreviewCommand).build() {
2124
+ static {
2125
+ __name(this, "GetExclusionsPreviewCommand");
2126
+ }
1998
2127
  };
1999
- __name(_GetExclusionsPreviewCommand, "GetExclusionsPreviewCommand");
2000
- var GetExclusionsPreviewCommand = _GetExclusionsPreviewCommand;
2001
2128
 
2002
2129
  // src/commands/GetTelemetryMetadataCommand.ts
2003
2130
 
2004
2131
 
2005
2132
 
2006
- var _GetTelemetryMetadataCommand = class _GetTelemetryMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2133
+ var GetTelemetryMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2007
2134
  return [
2008
2135
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2009
2136
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2010
2137
  ];
2011
2138
  }).s("InspectorService", "GetTelemetryMetadata", {}).n("InspectorClient", "GetTelemetryMetadataCommand").f(void 0, void 0).ser(se_GetTelemetryMetadataCommand).de(de_GetTelemetryMetadataCommand).build() {
2139
+ static {
2140
+ __name(this, "GetTelemetryMetadataCommand");
2141
+ }
2012
2142
  };
2013
- __name(_GetTelemetryMetadataCommand, "GetTelemetryMetadataCommand");
2014
- var GetTelemetryMetadataCommand = _GetTelemetryMetadataCommand;
2015
2143
 
2016
2144
  // src/commands/ListAssessmentRunAgentsCommand.ts
2017
2145
 
2018
2146
 
2019
2147
 
2020
- var _ListAssessmentRunAgentsCommand = class _ListAssessmentRunAgentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2148
+ var ListAssessmentRunAgentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2021
2149
  return [
2022
2150
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2023
2151
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2024
2152
  ];
2025
2153
  }).s("InspectorService", "ListAssessmentRunAgents", {}).n("InspectorClient", "ListAssessmentRunAgentsCommand").f(void 0, void 0).ser(se_ListAssessmentRunAgentsCommand).de(de_ListAssessmentRunAgentsCommand).build() {
2154
+ static {
2155
+ __name(this, "ListAssessmentRunAgentsCommand");
2156
+ }
2026
2157
  };
2027
- __name(_ListAssessmentRunAgentsCommand, "ListAssessmentRunAgentsCommand");
2028
- var ListAssessmentRunAgentsCommand = _ListAssessmentRunAgentsCommand;
2029
2158
 
2030
2159
  // src/commands/ListAssessmentRunsCommand.ts
2031
2160
 
2032
2161
 
2033
2162
 
2034
- var _ListAssessmentRunsCommand = class _ListAssessmentRunsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2163
+ var ListAssessmentRunsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2035
2164
  return [
2036
2165
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2037
2166
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2038
2167
  ];
2039
2168
  }).s("InspectorService", "ListAssessmentRuns", {}).n("InspectorClient", "ListAssessmentRunsCommand").f(void 0, void 0).ser(se_ListAssessmentRunsCommand).de(de_ListAssessmentRunsCommand).build() {
2169
+ static {
2170
+ __name(this, "ListAssessmentRunsCommand");
2171
+ }
2040
2172
  };
2041
- __name(_ListAssessmentRunsCommand, "ListAssessmentRunsCommand");
2042
- var ListAssessmentRunsCommand = _ListAssessmentRunsCommand;
2043
2173
 
2044
2174
  // src/commands/ListAssessmentTargetsCommand.ts
2045
2175
 
2046
2176
 
2047
2177
 
2048
- var _ListAssessmentTargetsCommand = class _ListAssessmentTargetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2178
+ var ListAssessmentTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2049
2179
  return [
2050
2180
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2051
2181
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2052
2182
  ];
2053
2183
  }).s("InspectorService", "ListAssessmentTargets", {}).n("InspectorClient", "ListAssessmentTargetsCommand").f(void 0, void 0).ser(se_ListAssessmentTargetsCommand).de(de_ListAssessmentTargetsCommand).build() {
2184
+ static {
2185
+ __name(this, "ListAssessmentTargetsCommand");
2186
+ }
2054
2187
  };
2055
- __name(_ListAssessmentTargetsCommand, "ListAssessmentTargetsCommand");
2056
- var ListAssessmentTargetsCommand = _ListAssessmentTargetsCommand;
2057
2188
 
2058
2189
  // src/commands/ListAssessmentTemplatesCommand.ts
2059
2190
 
2060
2191
 
2061
2192
 
2062
- var _ListAssessmentTemplatesCommand = class _ListAssessmentTemplatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2193
+ var ListAssessmentTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2063
2194
  return [
2064
2195
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2065
2196
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2066
2197
  ];
2067
2198
  }).s("InspectorService", "ListAssessmentTemplates", {}).n("InspectorClient", "ListAssessmentTemplatesCommand").f(void 0, void 0).ser(se_ListAssessmentTemplatesCommand).de(de_ListAssessmentTemplatesCommand).build() {
2199
+ static {
2200
+ __name(this, "ListAssessmentTemplatesCommand");
2201
+ }
2068
2202
  };
2069
- __name(_ListAssessmentTemplatesCommand, "ListAssessmentTemplatesCommand");
2070
- var ListAssessmentTemplatesCommand = _ListAssessmentTemplatesCommand;
2071
2203
 
2072
2204
  // src/commands/ListEventSubscriptionsCommand.ts
2073
2205
 
2074
2206
 
2075
2207
 
2076
- var _ListEventSubscriptionsCommand = class _ListEventSubscriptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2208
+ var ListEventSubscriptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2077
2209
  return [
2078
2210
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2079
2211
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2080
2212
  ];
2081
2213
  }).s("InspectorService", "ListEventSubscriptions", {}).n("InspectorClient", "ListEventSubscriptionsCommand").f(void 0, void 0).ser(se_ListEventSubscriptionsCommand).de(de_ListEventSubscriptionsCommand).build() {
2214
+ static {
2215
+ __name(this, "ListEventSubscriptionsCommand");
2216
+ }
2082
2217
  };
2083
- __name(_ListEventSubscriptionsCommand, "ListEventSubscriptionsCommand");
2084
- var ListEventSubscriptionsCommand = _ListEventSubscriptionsCommand;
2085
2218
 
2086
2219
  // src/commands/ListExclusionsCommand.ts
2087
2220
 
2088
2221
 
2089
2222
 
2090
- var _ListExclusionsCommand = class _ListExclusionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2223
+ var ListExclusionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2091
2224
  return [
2092
2225
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2093
2226
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2094
2227
  ];
2095
2228
  }).s("InspectorService", "ListExclusions", {}).n("InspectorClient", "ListExclusionsCommand").f(void 0, void 0).ser(se_ListExclusionsCommand).de(de_ListExclusionsCommand).build() {
2229
+ static {
2230
+ __name(this, "ListExclusionsCommand");
2231
+ }
2096
2232
  };
2097
- __name(_ListExclusionsCommand, "ListExclusionsCommand");
2098
- var ListExclusionsCommand = _ListExclusionsCommand;
2099
2233
 
2100
2234
  // src/commands/ListFindingsCommand.ts
2101
2235
 
2102
2236
 
2103
2237
 
2104
- var _ListFindingsCommand = class _ListFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2238
+ var ListFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2105
2239
  return [
2106
2240
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2107
2241
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2108
2242
  ];
2109
2243
  }).s("InspectorService", "ListFindings", {}).n("InspectorClient", "ListFindingsCommand").f(void 0, void 0).ser(se_ListFindingsCommand).de(de_ListFindingsCommand).build() {
2244
+ static {
2245
+ __name(this, "ListFindingsCommand");
2246
+ }
2110
2247
  };
2111
- __name(_ListFindingsCommand, "ListFindingsCommand");
2112
- var ListFindingsCommand = _ListFindingsCommand;
2113
2248
 
2114
2249
  // src/commands/ListRulesPackagesCommand.ts
2115
2250
 
2116
2251
 
2117
2252
 
2118
- var _ListRulesPackagesCommand = class _ListRulesPackagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2253
+ var ListRulesPackagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2119
2254
  return [
2120
2255
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2121
2256
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2122
2257
  ];
2123
2258
  }).s("InspectorService", "ListRulesPackages", {}).n("InspectorClient", "ListRulesPackagesCommand").f(void 0, void 0).ser(se_ListRulesPackagesCommand).de(de_ListRulesPackagesCommand).build() {
2259
+ static {
2260
+ __name(this, "ListRulesPackagesCommand");
2261
+ }
2124
2262
  };
2125
- __name(_ListRulesPackagesCommand, "ListRulesPackagesCommand");
2126
- var ListRulesPackagesCommand = _ListRulesPackagesCommand;
2127
2263
 
2128
2264
  // src/commands/ListTagsForResourceCommand.ts
2129
2265
 
2130
2266
 
2131
2267
 
2132
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2268
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2133
2269
  return [
2134
2270
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2135
2271
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2136
2272
  ];
2137
2273
  }).s("InspectorService", "ListTagsForResource", {}).n("InspectorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2274
+ static {
2275
+ __name(this, "ListTagsForResourceCommand");
2276
+ }
2138
2277
  };
2139
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2140
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2141
2278
 
2142
2279
  // src/commands/PreviewAgentsCommand.ts
2143
2280
 
2144
2281
 
2145
2282
 
2146
- var _PreviewAgentsCommand = class _PreviewAgentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2283
+ var PreviewAgentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2147
2284
  return [
2148
2285
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2149
2286
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2150
2287
  ];
2151
2288
  }).s("InspectorService", "PreviewAgents", {}).n("InspectorClient", "PreviewAgentsCommand").f(void 0, void 0).ser(se_PreviewAgentsCommand).de(de_PreviewAgentsCommand).build() {
2289
+ static {
2290
+ __name(this, "PreviewAgentsCommand");
2291
+ }
2152
2292
  };
2153
- __name(_PreviewAgentsCommand, "PreviewAgentsCommand");
2154
- var PreviewAgentsCommand = _PreviewAgentsCommand;
2155
2293
 
2156
2294
  // src/commands/RegisterCrossAccountAccessRoleCommand.ts
2157
2295
 
2158
2296
 
2159
2297
 
2160
- var _RegisterCrossAccountAccessRoleCommand = class _RegisterCrossAccountAccessRoleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2298
+ var RegisterCrossAccountAccessRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2161
2299
  return [
2162
2300
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2163
2301
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2164
2302
  ];
2165
2303
  }).s("InspectorService", "RegisterCrossAccountAccessRole", {}).n("InspectorClient", "RegisterCrossAccountAccessRoleCommand").f(void 0, void 0).ser(se_RegisterCrossAccountAccessRoleCommand).de(de_RegisterCrossAccountAccessRoleCommand).build() {
2304
+ static {
2305
+ __name(this, "RegisterCrossAccountAccessRoleCommand");
2306
+ }
2166
2307
  };
2167
- __name(_RegisterCrossAccountAccessRoleCommand, "RegisterCrossAccountAccessRoleCommand");
2168
- var RegisterCrossAccountAccessRoleCommand = _RegisterCrossAccountAccessRoleCommand;
2169
2308
 
2170
2309
  // src/commands/RemoveAttributesFromFindingsCommand.ts
2171
2310
 
2172
2311
 
2173
2312
 
2174
- var _RemoveAttributesFromFindingsCommand = class _RemoveAttributesFromFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2313
+ var RemoveAttributesFromFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2175
2314
  return [
2176
2315
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2177
2316
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2178
2317
  ];
2179
2318
  }).s("InspectorService", "RemoveAttributesFromFindings", {}).n("InspectorClient", "RemoveAttributesFromFindingsCommand").f(void 0, void 0).ser(se_RemoveAttributesFromFindingsCommand).de(de_RemoveAttributesFromFindingsCommand).build() {
2319
+ static {
2320
+ __name(this, "RemoveAttributesFromFindingsCommand");
2321
+ }
2180
2322
  };
2181
- __name(_RemoveAttributesFromFindingsCommand, "RemoveAttributesFromFindingsCommand");
2182
- var RemoveAttributesFromFindingsCommand = _RemoveAttributesFromFindingsCommand;
2183
2323
 
2184
2324
  // src/commands/SetTagsForResourceCommand.ts
2185
2325
 
2186
2326
 
2187
2327
 
2188
- var _SetTagsForResourceCommand = class _SetTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2328
+ var SetTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2189
2329
  return [
2190
2330
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2191
2331
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2192
2332
  ];
2193
2333
  }).s("InspectorService", "SetTagsForResource", {}).n("InspectorClient", "SetTagsForResourceCommand").f(void 0, void 0).ser(se_SetTagsForResourceCommand).de(de_SetTagsForResourceCommand).build() {
2334
+ static {
2335
+ __name(this, "SetTagsForResourceCommand");
2336
+ }
2194
2337
  };
2195
- __name(_SetTagsForResourceCommand, "SetTagsForResourceCommand");
2196
- var SetTagsForResourceCommand = _SetTagsForResourceCommand;
2197
2338
 
2198
2339
  // src/commands/StartAssessmentRunCommand.ts
2199
2340
 
2200
2341
 
2201
2342
 
2202
- var _StartAssessmentRunCommand = class _StartAssessmentRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2343
+ var StartAssessmentRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2203
2344
  return [
2204
2345
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2205
2346
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2206
2347
  ];
2207
2348
  }).s("InspectorService", "StartAssessmentRun", {}).n("InspectorClient", "StartAssessmentRunCommand").f(void 0, void 0).ser(se_StartAssessmentRunCommand).de(de_StartAssessmentRunCommand).build() {
2349
+ static {
2350
+ __name(this, "StartAssessmentRunCommand");
2351
+ }
2208
2352
  };
2209
- __name(_StartAssessmentRunCommand, "StartAssessmentRunCommand");
2210
- var StartAssessmentRunCommand = _StartAssessmentRunCommand;
2211
2353
 
2212
2354
  // src/commands/StopAssessmentRunCommand.ts
2213
2355
 
2214
2356
 
2215
2357
 
2216
- var _StopAssessmentRunCommand = class _StopAssessmentRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2358
+ var StopAssessmentRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2217
2359
  return [
2218
2360
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2219
2361
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2220
2362
  ];
2221
2363
  }).s("InspectorService", "StopAssessmentRun", {}).n("InspectorClient", "StopAssessmentRunCommand").f(void 0, void 0).ser(se_StopAssessmentRunCommand).de(de_StopAssessmentRunCommand).build() {
2364
+ static {
2365
+ __name(this, "StopAssessmentRunCommand");
2366
+ }
2222
2367
  };
2223
- __name(_StopAssessmentRunCommand, "StopAssessmentRunCommand");
2224
- var StopAssessmentRunCommand = _StopAssessmentRunCommand;
2225
2368
 
2226
2369
  // src/commands/SubscribeToEventCommand.ts
2227
2370
 
2228
2371
 
2229
2372
 
2230
- var _SubscribeToEventCommand = class _SubscribeToEventCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2373
+ var SubscribeToEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2231
2374
  return [
2232
2375
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2233
2376
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2234
2377
  ];
2235
2378
  }).s("InspectorService", "SubscribeToEvent", {}).n("InspectorClient", "SubscribeToEventCommand").f(void 0, void 0).ser(se_SubscribeToEventCommand).de(de_SubscribeToEventCommand).build() {
2379
+ static {
2380
+ __name(this, "SubscribeToEventCommand");
2381
+ }
2236
2382
  };
2237
- __name(_SubscribeToEventCommand, "SubscribeToEventCommand");
2238
- var SubscribeToEventCommand = _SubscribeToEventCommand;
2239
2383
 
2240
2384
  // src/commands/UnsubscribeFromEventCommand.ts
2241
2385
 
2242
2386
 
2243
2387
 
2244
- var _UnsubscribeFromEventCommand = class _UnsubscribeFromEventCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2388
+ var UnsubscribeFromEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2245
2389
  return [
2246
2390
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2247
2391
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2248
2392
  ];
2249
2393
  }).s("InspectorService", "UnsubscribeFromEvent", {}).n("InspectorClient", "UnsubscribeFromEventCommand").f(void 0, void 0).ser(se_UnsubscribeFromEventCommand).de(de_UnsubscribeFromEventCommand).build() {
2394
+ static {
2395
+ __name(this, "UnsubscribeFromEventCommand");
2396
+ }
2250
2397
  };
2251
- __name(_UnsubscribeFromEventCommand, "UnsubscribeFromEventCommand");
2252
- var UnsubscribeFromEventCommand = _UnsubscribeFromEventCommand;
2253
2398
 
2254
2399
  // src/commands/UpdateAssessmentTargetCommand.ts
2255
2400
 
2256
2401
 
2257
2402
 
2258
- var _UpdateAssessmentTargetCommand = class _UpdateAssessmentTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2403
+ var UpdateAssessmentTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2259
2404
  return [
2260
2405
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2261
2406
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2262
2407
  ];
2263
2408
  }).s("InspectorService", "UpdateAssessmentTarget", {}).n("InspectorClient", "UpdateAssessmentTargetCommand").f(void 0, void 0).ser(se_UpdateAssessmentTargetCommand).de(de_UpdateAssessmentTargetCommand).build() {
2409
+ static {
2410
+ __name(this, "UpdateAssessmentTargetCommand");
2411
+ }
2264
2412
  };
2265
- __name(_UpdateAssessmentTargetCommand, "UpdateAssessmentTargetCommand");
2266
- var UpdateAssessmentTargetCommand = _UpdateAssessmentTargetCommand;
2267
2413
 
2268
2414
  // src/Inspector.ts
2269
2415
  var commands = {
@@ -2305,10 +2451,11 @@ var commands = {
2305
2451
  UnsubscribeFromEventCommand,
2306
2452
  UpdateAssessmentTargetCommand
2307
2453
  };
2308
- var _Inspector = class _Inspector extends InspectorClient {
2454
+ var Inspector = class extends InspectorClient {
2455
+ static {
2456
+ __name(this, "Inspector");
2457
+ }
2309
2458
  };
2310
- __name(_Inspector, "Inspector");
2311
- var Inspector = _Inspector;
2312
2459
  (0, import_smithy_client.createAggregatedClient)(commands, Inspector);
2313
2460
 
2314
2461
  // src/pagination/GetExclusionsPreviewPaginator.ts