@aws-sdk/client-cloudwatch-events 3.52.0 → 3.53.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
@@ -2,3 +2,4 @@ export * from "./CloudWatchEvents";
2
2
  export * from "./CloudWatchEventsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var CloudWatchEventsServiceException = (function (_super) {
4
+ __extends(CloudWatchEventsServiceException, _super);
5
+ function CloudWatchEventsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CloudWatchEventsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return CloudWatchEventsServiceException;
11
+ }(__ServiceException));
12
+ export { CloudWatchEventsServiceException };
@@ -1,8 +1,69 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
2
3
  export var ActivateEventSourceRequest;
3
4
  (function (ActivateEventSourceRequest) {
4
5
  ActivateEventSourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
6
  })(ActivateEventSourceRequest || (ActivateEventSourceRequest = {}));
7
+ var ConcurrentModificationException = (function (_super) {
8
+ __extends(ConcurrentModificationException, _super);
9
+ function ConcurrentModificationException(opts) {
10
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
11
+ _this.name = "ConcurrentModificationException";
12
+ _this.$fault = "client";
13
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
14
+ return _this;
15
+ }
16
+ return ConcurrentModificationException;
17
+ }(__BaseException));
18
+ export { ConcurrentModificationException };
19
+ var InternalException = (function (_super) {
20
+ __extends(InternalException, _super);
21
+ function InternalException(opts) {
22
+ var _this = _super.call(this, __assign({ name: "InternalException", $fault: "server" }, opts)) || this;
23
+ _this.name = "InternalException";
24
+ _this.$fault = "server";
25
+ Object.setPrototypeOf(_this, InternalException.prototype);
26
+ return _this;
27
+ }
28
+ return InternalException;
29
+ }(__BaseException));
30
+ export { InternalException };
31
+ var InvalidStateException = (function (_super) {
32
+ __extends(InvalidStateException, _super);
33
+ function InvalidStateException(opts) {
34
+ var _this = _super.call(this, __assign({ name: "InvalidStateException", $fault: "client" }, opts)) || this;
35
+ _this.name = "InvalidStateException";
36
+ _this.$fault = "client";
37
+ Object.setPrototypeOf(_this, InvalidStateException.prototype);
38
+ return _this;
39
+ }
40
+ return InvalidStateException;
41
+ }(__BaseException));
42
+ export { InvalidStateException };
43
+ var OperationDisabledException = (function (_super) {
44
+ __extends(OperationDisabledException, _super);
45
+ function OperationDisabledException(opts) {
46
+ var _this = _super.call(this, __assign({ name: "OperationDisabledException", $fault: "client" }, opts)) || this;
47
+ _this.name = "OperationDisabledException";
48
+ _this.$fault = "client";
49
+ Object.setPrototypeOf(_this, OperationDisabledException.prototype);
50
+ return _this;
51
+ }
52
+ return OperationDisabledException;
53
+ }(__BaseException));
54
+ export { OperationDisabledException };
55
+ var ResourceNotFoundException = (function (_super) {
56
+ __extends(ResourceNotFoundException, _super);
57
+ function ResourceNotFoundException(opts) {
58
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
59
+ _this.name = "ResourceNotFoundException";
60
+ _this.$fault = "client";
61
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
62
+ return _this;
63
+ }
64
+ return ResourceNotFoundException;
65
+ }(__BaseException));
66
+ export { ResourceNotFoundException };
6
67
  export var ApiDestinationState;
7
68
  (function (ApiDestinationState) {
8
69
  ApiDestinationState["ACTIVE"] = "ACTIVE";
@@ -57,6 +118,18 @@ export var CancelReplayResponse;
57
118
  (function (CancelReplayResponse) {
58
119
  CancelReplayResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
59
120
  })(CancelReplayResponse || (CancelReplayResponse = {}));
121
+ var IllegalStatusException = (function (_super) {
122
+ __extends(IllegalStatusException, _super);
123
+ function IllegalStatusException(opts) {
124
+ var _this = _super.call(this, __assign({ name: "IllegalStatusException", $fault: "client" }, opts)) || this;
125
+ _this.name = "IllegalStatusException";
126
+ _this.$fault = "client";
127
+ Object.setPrototypeOf(_this, IllegalStatusException.prototype);
128
+ return _this;
129
+ }
130
+ return IllegalStatusException;
131
+ }(__BaseException));
132
+ export { IllegalStatusException };
60
133
  export var CreateApiDestinationRequest;
61
134
  (function (CreateApiDestinationRequest) {
62
135
  CreateApiDestinationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -65,6 +138,30 @@ export var CreateApiDestinationResponse;
65
138
  (function (CreateApiDestinationResponse) {
66
139
  CreateApiDestinationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
67
140
  })(CreateApiDestinationResponse || (CreateApiDestinationResponse = {}));
141
+ var LimitExceededException = (function (_super) {
142
+ __extends(LimitExceededException, _super);
143
+ function LimitExceededException(opts) {
144
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
145
+ _this.name = "LimitExceededException";
146
+ _this.$fault = "client";
147
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
148
+ return _this;
149
+ }
150
+ return LimitExceededException;
151
+ }(__BaseException));
152
+ export { LimitExceededException };
153
+ var ResourceAlreadyExistsException = (function (_super) {
154
+ __extends(ResourceAlreadyExistsException, _super);
155
+ function ResourceAlreadyExistsException(opts) {
156
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
157
+ _this.name = "ResourceAlreadyExistsException";
158
+ _this.$fault = "client";
159
+ Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
160
+ return _this;
161
+ }
162
+ return ResourceAlreadyExistsException;
163
+ }(__BaseException));
164
+ export { ResourceAlreadyExistsException };
68
165
  export var CreateArchiveRequest;
69
166
  (function (CreateArchiveRequest) {
70
167
  CreateArchiveRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -73,6 +170,18 @@ export var CreateArchiveResponse;
73
170
  (function (CreateArchiveResponse) {
74
171
  CreateArchiveResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
75
172
  })(CreateArchiveResponse || (CreateArchiveResponse = {}));
173
+ var InvalidEventPatternException = (function (_super) {
174
+ __extends(InvalidEventPatternException, _super);
175
+ function InvalidEventPatternException(opts) {
176
+ var _this = _super.call(this, __assign({ name: "InvalidEventPatternException", $fault: "client" }, opts)) || this;
177
+ _this.name = "InvalidEventPatternException";
178
+ _this.$fault = "client";
179
+ Object.setPrototypeOf(_this, InvalidEventPatternException.prototype);
180
+ return _this;
181
+ }
182
+ return InvalidEventPatternException;
183
+ }(__BaseException));
184
+ export { InvalidEventPatternException };
76
185
  export var ConnectionAuthorizationType;
77
186
  (function (ConnectionAuthorizationType) {
78
187
  ConnectionAuthorizationType["API_KEY"] = "API_KEY";
@@ -207,6 +316,18 @@ export var DeleteRuleRequest;
207
316
  (function (DeleteRuleRequest) {
208
317
  DeleteRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
209
318
  })(DeleteRuleRequest || (DeleteRuleRequest = {}));
319
+ var ManagedRuleException = (function (_super) {
320
+ __extends(ManagedRuleException, _super);
321
+ function ManagedRuleException(opts) {
322
+ var _this = _super.call(this, __assign({ name: "ManagedRuleException", $fault: "client" }, opts)) || this;
323
+ _this.name = "ManagedRuleException";
324
+ _this.$fault = "client";
325
+ Object.setPrototypeOf(_this, ManagedRuleException.prototype);
326
+ return _this;
327
+ }
328
+ return ManagedRuleException;
329
+ }(__BaseException));
330
+ export { ManagedRuleException };
210
331
  export var DescribeApiDestinationRequest;
211
332
  (function (DescribeApiDestinationRequest) {
212
333
  DescribeApiDestinationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -575,6 +696,18 @@ export var PutPartnerEventsResponse;
575
696
  (function (PutPartnerEventsResponse) {
576
697
  PutPartnerEventsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
577
698
  })(PutPartnerEventsResponse || (PutPartnerEventsResponse = {}));
699
+ var PolicyLengthExceededException = (function (_super) {
700
+ __extends(PolicyLengthExceededException, _super);
701
+ function PolicyLengthExceededException(opts) {
702
+ var _this = _super.call(this, __assign({ name: "PolicyLengthExceededException", $fault: "client" }, opts)) || this;
703
+ _this.name = "PolicyLengthExceededException";
704
+ _this.$fault = "client";
705
+ Object.setPrototypeOf(_this, PolicyLengthExceededException.prototype);
706
+ return _this;
707
+ }
708
+ return PolicyLengthExceededException;
709
+ }(__BaseException));
710
+ export { PolicyLengthExceededException };
578
711
  export var Condition;
579
712
  (function (Condition) {
580
713
  Condition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };