@aws-sdk/client-macie2 3.52.0 → 3.54.1

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 "./Macie2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { Macie2ServiceException } from "./models/Macie2ServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var Macie2ServiceException = (function (_super) {
4
+ __extends(Macie2ServiceException, _super);
5
+ function Macie2ServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, Macie2ServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return Macie2ServiceException;
11
+ }(__ServiceException));
12
+ export { Macie2ServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { Macie2ServiceException as __BaseException } from "./Macie2ServiceException";
2
3
  export var AdminStatus;
3
4
  (function (AdminStatus) {
4
5
  AdminStatus["DISABLING_IN_PROGRESS"] = "DISABLING_IN_PROGRESS";
@@ -586,6 +587,90 @@ export var AcceptInvitationResponse;
586
587
  (function (AcceptInvitationResponse) {
587
588
  AcceptInvitationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
588
589
  })(AcceptInvitationResponse || (AcceptInvitationResponse = {}));
590
+ var AccessDeniedException = (function (_super) {
591
+ __extends(AccessDeniedException, _super);
592
+ function AccessDeniedException(opts) {
593
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
594
+ _this.name = "AccessDeniedException";
595
+ _this.$fault = "client";
596
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
597
+ return _this;
598
+ }
599
+ return AccessDeniedException;
600
+ }(__BaseException));
601
+ export { AccessDeniedException };
602
+ var ConflictException = (function (_super) {
603
+ __extends(ConflictException, _super);
604
+ function ConflictException(opts) {
605
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
606
+ _this.name = "ConflictException";
607
+ _this.$fault = "client";
608
+ Object.setPrototypeOf(_this, ConflictException.prototype);
609
+ return _this;
610
+ }
611
+ return ConflictException;
612
+ }(__BaseException));
613
+ export { ConflictException };
614
+ var InternalServerException = (function (_super) {
615
+ __extends(InternalServerException, _super);
616
+ function InternalServerException(opts) {
617
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
618
+ _this.name = "InternalServerException";
619
+ _this.$fault = "server";
620
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
621
+ return _this;
622
+ }
623
+ return InternalServerException;
624
+ }(__BaseException));
625
+ export { InternalServerException };
626
+ var ResourceNotFoundException = (function (_super) {
627
+ __extends(ResourceNotFoundException, _super);
628
+ function ResourceNotFoundException(opts) {
629
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
630
+ _this.name = "ResourceNotFoundException";
631
+ _this.$fault = "client";
632
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
633
+ return _this;
634
+ }
635
+ return ResourceNotFoundException;
636
+ }(__BaseException));
637
+ export { ResourceNotFoundException };
638
+ var ServiceQuotaExceededException = (function (_super) {
639
+ __extends(ServiceQuotaExceededException, _super);
640
+ function ServiceQuotaExceededException(opts) {
641
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
642
+ _this.name = "ServiceQuotaExceededException";
643
+ _this.$fault = "client";
644
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
645
+ return _this;
646
+ }
647
+ return ServiceQuotaExceededException;
648
+ }(__BaseException));
649
+ export { ServiceQuotaExceededException };
650
+ var ThrottlingException = (function (_super) {
651
+ __extends(ThrottlingException, _super);
652
+ function ThrottlingException(opts) {
653
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
654
+ _this.name = "ThrottlingException";
655
+ _this.$fault = "client";
656
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
657
+ return _this;
658
+ }
659
+ return ThrottlingException;
660
+ }(__BaseException));
661
+ export { ThrottlingException };
662
+ var ValidationException = (function (_super) {
663
+ __extends(ValidationException, _super);
664
+ function ValidationException(opts) {
665
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
666
+ _this.name = "ValidationException";
667
+ _this.$fault = "client";
668
+ Object.setPrototypeOf(_this, ValidationException.prototype);
669
+ return _this;
670
+ }
671
+ return ValidationException;
672
+ }(__BaseException));
673
+ export { ValidationException };
589
674
  export var AccountDetail;
590
675
  (function (AccountDetail) {
591
676
  AccountDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };