@aws-sdk/client-cloudwatch 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
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var CloudWatchServiceException = (function (_super) {
4
+ __extends(CloudWatchServiceException, _super);
5
+ function CloudWatchServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CloudWatchServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return CloudWatchServiceException;
11
+ }(__ServiceException));
12
+ export { CloudWatchServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
2
3
  export var AlarmHistoryItem;
3
4
  (function (AlarmHistoryItem) {
4
5
  AlarmHistoryItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -52,6 +53,19 @@ export var CompositeAlarm;
52
53
  (function (CompositeAlarm) {
53
54
  CompositeAlarm.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
54
55
  })(CompositeAlarm || (CompositeAlarm = {}));
56
+ var ConcurrentModificationException = (function (_super) {
57
+ __extends(ConcurrentModificationException, _super);
58
+ function ConcurrentModificationException(opts) {
59
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
60
+ _this.name = "ConcurrentModificationException";
61
+ _this.$fault = "client";
62
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
63
+ _this.Message = opts.Message;
64
+ return _this;
65
+ }
66
+ return ConcurrentModificationException;
67
+ }(__BaseException));
68
+ export { ConcurrentModificationException };
55
69
  export var DashboardEntry;
56
70
  (function (DashboardEntry) {
57
71
  DashboardEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -60,6 +74,31 @@ export var DashboardValidationMessage;
60
74
  (function (DashboardValidationMessage) {
61
75
  DashboardValidationMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
62
76
  })(DashboardValidationMessage || (DashboardValidationMessage = {}));
77
+ var DashboardInvalidInputError = (function (_super) {
78
+ __extends(DashboardInvalidInputError, _super);
79
+ function DashboardInvalidInputError(opts) {
80
+ var _this = _super.call(this, __assign({ name: "DashboardInvalidInputError", $fault: "client" }, opts)) || this;
81
+ _this.name = "DashboardInvalidInputError";
82
+ _this.$fault = "client";
83
+ Object.setPrototypeOf(_this, DashboardInvalidInputError.prototype);
84
+ _this.dashboardValidationMessages = opts.dashboardValidationMessages;
85
+ return _this;
86
+ }
87
+ return DashboardInvalidInputError;
88
+ }(__BaseException));
89
+ export { DashboardInvalidInputError };
90
+ var DashboardNotFoundError = (function (_super) {
91
+ __extends(DashboardNotFoundError, _super);
92
+ function DashboardNotFoundError(opts) {
93
+ var _this = _super.call(this, __assign({ name: "DashboardNotFoundError", $fault: "client" }, opts)) || this;
94
+ _this.name = "DashboardNotFoundError";
95
+ _this.$fault = "client";
96
+ Object.setPrototypeOf(_this, DashboardNotFoundError.prototype);
97
+ return _this;
98
+ }
99
+ return DashboardNotFoundError;
100
+ }(__BaseException));
101
+ export { DashboardNotFoundError };
63
102
  export var Datapoint;
64
103
  (function (Datapoint) {
65
104
  Datapoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -68,6 +107,18 @@ export var DeleteAlarmsInput;
68
107
  (function (DeleteAlarmsInput) {
69
108
  DeleteAlarmsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
109
  })(DeleteAlarmsInput || (DeleteAlarmsInput = {}));
110
+ var ResourceNotFound = (function (_super) {
111
+ __extends(ResourceNotFound, _super);
112
+ function ResourceNotFound(opts) {
113
+ var _this = _super.call(this, __assign({ name: "ResourceNotFound", $fault: "client" }, opts)) || this;
114
+ _this.name = "ResourceNotFound";
115
+ _this.$fault = "client";
116
+ Object.setPrototypeOf(_this, ResourceNotFound.prototype);
117
+ return _this;
118
+ }
119
+ return ResourceNotFound;
120
+ }(__BaseException));
121
+ export { ResourceNotFound };
71
122
  export var DeleteAnomalyDetectorInput;
72
123
  (function (DeleteAnomalyDetectorInput) {
73
124
  DeleteAnomalyDetectorInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -76,6 +127,70 @@ export var DeleteAnomalyDetectorOutput;
76
127
  (function (DeleteAnomalyDetectorOutput) {
77
128
  DeleteAnomalyDetectorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
78
129
  })(DeleteAnomalyDetectorOutput || (DeleteAnomalyDetectorOutput = {}));
130
+ var InternalServiceFault = (function (_super) {
131
+ __extends(InternalServiceFault, _super);
132
+ function InternalServiceFault(opts) {
133
+ var _this = _super.call(this, __assign({ name: "InternalServiceFault", $fault: "server" }, opts)) || this;
134
+ _this.name = "InternalServiceFault";
135
+ _this.$fault = "server";
136
+ Object.setPrototypeOf(_this, InternalServiceFault.prototype);
137
+ _this.Message = opts.Message;
138
+ return _this;
139
+ }
140
+ return InternalServiceFault;
141
+ }(__BaseException));
142
+ export { InternalServiceFault };
143
+ var InvalidParameterCombinationException = (function (_super) {
144
+ __extends(InvalidParameterCombinationException, _super);
145
+ function InvalidParameterCombinationException(opts) {
146
+ var _this = _super.call(this, __assign({ name: "InvalidParameterCombinationException", $fault: "client" }, opts)) || this;
147
+ _this.name = "InvalidParameterCombinationException";
148
+ _this.$fault = "client";
149
+ Object.setPrototypeOf(_this, InvalidParameterCombinationException.prototype);
150
+ return _this;
151
+ }
152
+ return InvalidParameterCombinationException;
153
+ }(__BaseException));
154
+ export { InvalidParameterCombinationException };
155
+ var InvalidParameterValueException = (function (_super) {
156
+ __extends(InvalidParameterValueException, _super);
157
+ function InvalidParameterValueException(opts) {
158
+ var _this = _super.call(this, __assign({ name: "InvalidParameterValueException", $fault: "client" }, opts)) || this;
159
+ _this.name = "InvalidParameterValueException";
160
+ _this.$fault = "client";
161
+ Object.setPrototypeOf(_this, InvalidParameterValueException.prototype);
162
+ return _this;
163
+ }
164
+ return InvalidParameterValueException;
165
+ }(__BaseException));
166
+ export { InvalidParameterValueException };
167
+ var MissingRequiredParameterException = (function (_super) {
168
+ __extends(MissingRequiredParameterException, _super);
169
+ function MissingRequiredParameterException(opts) {
170
+ var _this = _super.call(this, __assign({ name: "MissingRequiredParameterException", $fault: "client" }, opts)) || this;
171
+ _this.name = "MissingRequiredParameterException";
172
+ _this.$fault = "client";
173
+ Object.setPrototypeOf(_this, MissingRequiredParameterException.prototype);
174
+ return _this;
175
+ }
176
+ return MissingRequiredParameterException;
177
+ }(__BaseException));
178
+ export { MissingRequiredParameterException };
179
+ var ResourceNotFoundException = (function (_super) {
180
+ __extends(ResourceNotFoundException, _super);
181
+ function ResourceNotFoundException(opts) {
182
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
183
+ _this.name = "ResourceNotFoundException";
184
+ _this.$fault = "client";
185
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
186
+ _this.ResourceType = opts.ResourceType;
187
+ _this.ResourceId = opts.ResourceId;
188
+ _this.Message = opts.Message;
189
+ return _this;
190
+ }
191
+ return ResourceNotFoundException;
192
+ }(__BaseException));
193
+ export { ResourceNotFoundException };
79
194
  export var DeleteDashboardsInput;
80
195
  (function (DeleteDashboardsInput) {
81
196
  DeleteDashboardsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -113,6 +228,18 @@ export var DescribeAlarmHistoryOutput;
113
228
  (function (DescribeAlarmHistoryOutput) {
114
229
  DescribeAlarmHistoryOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
230
  })(DescribeAlarmHistoryOutput || (DescribeAlarmHistoryOutput = {}));
231
+ var InvalidNextToken = (function (_super) {
232
+ __extends(InvalidNextToken, _super);
233
+ function InvalidNextToken(opts) {
234
+ var _this = _super.call(this, __assign({ name: "InvalidNextToken", $fault: "client" }, opts)) || this;
235
+ _this.name = "InvalidNextToken";
236
+ _this.$fault = "client";
237
+ Object.setPrototypeOf(_this, InvalidNextToken.prototype);
238
+ return _this;
239
+ }
240
+ return InvalidNextToken;
241
+ }(__BaseException));
242
+ export { InvalidNextToken };
116
243
  export var DescribeAlarmsInput;
117
244
  (function (DescribeAlarmsInput) {
118
245
  DescribeAlarmsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -181,6 +308,19 @@ export var EnableInsightRulesOutput;
181
308
  (function (EnableInsightRulesOutput) {
182
309
  EnableInsightRulesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
310
  })(EnableInsightRulesOutput || (EnableInsightRulesOutput = {}));
311
+ var LimitExceededException = (function (_super) {
312
+ __extends(LimitExceededException, _super);
313
+ function LimitExceededException(opts) {
314
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
315
+ _this.name = "LimitExceededException";
316
+ _this.$fault = "client";
317
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
318
+ _this.Message = opts.Message;
319
+ return _this;
320
+ }
321
+ return LimitExceededException;
322
+ }(__BaseException));
323
+ export { LimitExceededException };
184
324
  export var GetDashboardInput;
185
325
  (function (GetDashboardInput) {
186
326
  GetDashboardInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -320,6 +460,18 @@ export var PutAnomalyDetectorOutput;
320
460
  (function (PutAnomalyDetectorOutput) {
321
461
  PutAnomalyDetectorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
322
462
  })(PutAnomalyDetectorOutput || (PutAnomalyDetectorOutput = {}));
463
+ var LimitExceededFault = (function (_super) {
464
+ __extends(LimitExceededFault, _super);
465
+ function LimitExceededFault(opts) {
466
+ var _this = _super.call(this, __assign({ name: "LimitExceededFault", $fault: "client" }, opts)) || this;
467
+ _this.name = "LimitExceededFault";
468
+ _this.$fault = "client";
469
+ Object.setPrototypeOf(_this, LimitExceededFault.prototype);
470
+ return _this;
471
+ }
472
+ return LimitExceededFault;
473
+ }(__BaseException));
474
+ export { LimitExceededFault };
323
475
  export var PutCompositeAlarmInput;
324
476
  (function (PutCompositeAlarmInput) {
325
477
  PutCompositeAlarmInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -364,6 +516,18 @@ export var PutMetricStreamOutput;
364
516
  (function (PutMetricStreamOutput) {
365
517
  PutMetricStreamOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
366
518
  })(PutMetricStreamOutput || (PutMetricStreamOutput = {}));
519
+ var InvalidFormatFault = (function (_super) {
520
+ __extends(InvalidFormatFault, _super);
521
+ function InvalidFormatFault(opts) {
522
+ var _this = _super.call(this, __assign({ name: "InvalidFormatFault", $fault: "client" }, opts)) || this;
523
+ _this.name = "InvalidFormatFault";
524
+ _this.$fault = "client";
525
+ Object.setPrototypeOf(_this, InvalidFormatFault.prototype);
526
+ return _this;
527
+ }
528
+ return InvalidFormatFault;
529
+ }(__BaseException));
530
+ export { InvalidFormatFault };
367
531
  export var SetAlarmStateInput;
368
532
  (function (SetAlarmStateInput) {
369
533
  SetAlarmStateInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };