@aws-sdk/client-inspector2 3.51.0 → 3.54.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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./Inspector2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { Inspector2ServiceException } from "./models/Inspector2ServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var Inspector2ServiceException = (function (_super) {
4
+ __extends(Inspector2ServiceException, _super);
5
+ function Inspector2ServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, Inspector2ServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return Inspector2ServiceException;
11
+ }(__ServiceException));
12
+ export { Inspector2ServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
2
15
  export var Status;
3
16
  (function (Status) {
4
17
  Status["DISABLED"] = "DISABLED";
@@ -328,6 +341,32 @@ export var AssociateMemberResponse;
328
341
  (function (AssociateMemberResponse) {
329
342
  AssociateMemberResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
330
343
  })(AssociateMemberResponse || (AssociateMemberResponse = {}));
344
+ var InternalServerException = (function (_super) {
345
+ __extends(InternalServerException, _super);
346
+ function InternalServerException(opts) {
347
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
348
+ _this.name = "InternalServerException";
349
+ _this.$fault = "server";
350
+ _this.$retryable = {};
351
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
352
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
353
+ return _this;
354
+ }
355
+ return InternalServerException;
356
+ }(__BaseException));
357
+ export { InternalServerException };
358
+ var ThrottlingException = (function (_super) {
359
+ __extends(ThrottlingException, _super);
360
+ function ThrottlingException(opts) {
361
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
362
+ _this.name = "ThrottlingException";
363
+ _this.$fault = "client";
364
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
365
+ return _this;
366
+ }
367
+ return ThrottlingException;
368
+ }(__BaseException));
369
+ export { ThrottlingException };
331
370
  export var ValidationExceptionField;
332
371
  (function (ValidationExceptionField) {
333
372
  ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -338,6 +377,20 @@ export var ValidationExceptionReason;
338
377
  ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
339
378
  ValidationExceptionReason["OTHER"] = "OTHER";
340
379
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
380
+ var ValidationException = (function (_super) {
381
+ __extends(ValidationException, _super);
382
+ function ValidationException(opts) {
383
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
384
+ _this.name = "ValidationException";
385
+ _this.$fault = "client";
386
+ Object.setPrototypeOf(_this, ValidationException.prototype);
387
+ _this.reason = opts.reason;
388
+ _this.fields = opts.fields;
389
+ return _this;
390
+ }
391
+ return ValidationException;
392
+ }(__BaseException));
393
+ export { ValidationException };
341
394
  export var AutoEnable;
342
395
  (function (AutoEnable) {
343
396
  AutoEnable.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -350,6 +403,18 @@ export var AwsEcrContainerImageDetails;
350
403
  (function (AwsEcrContainerImageDetails) {
351
404
  AwsEcrContainerImageDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
352
405
  })(AwsEcrContainerImageDetails || (AwsEcrContainerImageDetails = {}));
406
+ var BadRequestException = (function (_super) {
407
+ __extends(BadRequestException, _super);
408
+ function BadRequestException(opts) {
409
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
410
+ _this.name = "BadRequestException";
411
+ _this.$fault = "client";
412
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
413
+ return _this;
414
+ }
415
+ return BadRequestException;
416
+ }(__BaseException));
417
+ export { BadRequestException };
353
418
  export var BatchGetAccountStatusRequest;
354
419
  (function (BatchGetAccountStatusRequest) {
355
420
  BatchGetAccountStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -362,6 +427,18 @@ export var BatchGetAccountStatusResponse;
362
427
  (function (BatchGetAccountStatusResponse) {
363
428
  BatchGetAccountStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
364
429
  })(BatchGetAccountStatusResponse || (BatchGetAccountStatusResponse = {}));
430
+ var ResourceNotFoundException = (function (_super) {
431
+ __extends(ResourceNotFoundException, _super);
432
+ function ResourceNotFoundException(opts) {
433
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
434
+ _this.name = "ResourceNotFoundException";
435
+ _this.$fault = "client";
436
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
437
+ return _this;
438
+ }
439
+ return ResourceNotFoundException;
440
+ }(__BaseException));
441
+ export { ResourceNotFoundException };
365
442
  export var BatchGetFreeTrialInfoRequest;
366
443
  (function (BatchGetFreeTrialInfoRequest) {
367
444
  BatchGetFreeTrialInfoRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -405,6 +482,20 @@ export var CancelFindingsReportResponse;
405
482
  (function (CancelFindingsReportResponse) {
406
483
  CancelFindingsReportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
407
484
  })(CancelFindingsReportResponse || (CancelFindingsReportResponse = {}));
485
+ var ConflictException = (function (_super) {
486
+ __extends(ConflictException, _super);
487
+ function ConflictException(opts) {
488
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
489
+ _this.name = "ConflictException";
490
+ _this.$fault = "client";
491
+ Object.setPrototypeOf(_this, ConflictException.prototype);
492
+ _this.resourceId = opts.resourceId;
493
+ _this.resourceType = opts.resourceType;
494
+ return _this;
495
+ }
496
+ return ConflictException;
497
+ }(__BaseException));
498
+ export { ConflictException };
408
499
  export var GroupKey;
409
500
  (function (GroupKey) {
410
501
  GroupKey["ACCOUNT_ID"] = "ACCOUNT_ID";
@@ -539,6 +630,19 @@ export var CreateFilterResponse;
539
630
  (function (CreateFilterResponse) {
540
631
  CreateFilterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
541
632
  })(CreateFilterResponse || (CreateFilterResponse = {}));
633
+ var ServiceQuotaExceededException = (function (_super) {
634
+ __extends(ServiceQuotaExceededException, _super);
635
+ function ServiceQuotaExceededException(opts) {
636
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
637
+ _this.name = "ServiceQuotaExceededException";
638
+ _this.$fault = "client";
639
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
640
+ _this.resourceId = opts.resourceId;
641
+ return _this;
642
+ }
643
+ return ServiceQuotaExceededException;
644
+ }(__BaseException));
645
+ export { ServiceQuotaExceededException };
542
646
  export var ReportFormat;
543
647
  (function (ReportFormat) {
544
648
  ReportFormat["CSV"] = "CSV";