@aws-sdk/client-guardduty 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 "./GuardDutyClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { GuardDutyServiceException } from "./models/GuardDutyServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var GuardDutyServiceException = (function (_super) {
4
+ __extends(GuardDutyServiceException, _super);
5
+ function GuardDutyServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, GuardDutyServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return GuardDutyServiceException;
11
+ }(__ServiceException));
12
+ export { GuardDutyServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { GuardDutyServiceException as __BaseException } from "./GuardDutyServiceException";
2
3
  export var AcceptInvitationRequest;
3
4
  (function (AcceptInvitationRequest) {
4
5
  AcceptInvitationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -7,6 +8,34 @@ export var AcceptInvitationResponse;
7
8
  (function (AcceptInvitationResponse) {
8
9
  AcceptInvitationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
10
  })(AcceptInvitationResponse || (AcceptInvitationResponse = {}));
11
+ var BadRequestException = (function (_super) {
12
+ __extends(BadRequestException, _super);
13
+ function BadRequestException(opts) {
14
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
15
+ _this.name = "BadRequestException";
16
+ _this.$fault = "client";
17
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
18
+ _this.Message = opts.Message;
19
+ _this.Type = opts.Type;
20
+ return _this;
21
+ }
22
+ return BadRequestException;
23
+ }(__BaseException));
24
+ export { BadRequestException };
25
+ var InternalServerErrorException = (function (_super) {
26
+ __extends(InternalServerErrorException, _super);
27
+ function InternalServerErrorException(opts) {
28
+ var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
29
+ _this.name = "InternalServerErrorException";
30
+ _this.$fault = "server";
31
+ Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
32
+ _this.Message = opts.Message;
33
+ _this.Type = opts.Type;
34
+ return _this;
35
+ }
36
+ return InternalServerErrorException;
37
+ }(__BaseException));
38
+ export { InternalServerErrorException };
10
39
  export var AccessControlList;
11
40
  (function (AccessControlList) {
12
41
  AccessControlList.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };