@aws-sdk/client-budgets 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
@@ -3,3 +3,4 @@ export * from "./BudgetsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { BudgetsServiceException } from "./models/BudgetsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var BudgetsServiceException = (function (_super) {
4
+ __extends(BudgetsServiceException, _super);
5
+ function BudgetsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, BudgetsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return BudgetsServiceException;
11
+ }(__ServiceException));
12
+ export { BudgetsServiceException };
@@ -1,5 +1,19 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { BudgetsServiceException as __BaseException } from "./BudgetsServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ _this.Message = opts.Message;
12
+ return _this;
13
+ }
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
3
17
  export var ThresholdType;
4
18
  (function (ThresholdType) {
5
19
  ThresholdType["ABSOLUTE_VALUE"] = "ABSOLUTE_VALUE";
@@ -166,6 +180,58 @@ export var CreateBudgetResponse;
166
180
  (function (CreateBudgetResponse) {
167
181
  CreateBudgetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
168
182
  })(CreateBudgetResponse || (CreateBudgetResponse = {}));
183
+ var CreationLimitExceededException = (function (_super) {
184
+ __extends(CreationLimitExceededException, _super);
185
+ function CreationLimitExceededException(opts) {
186
+ var _this = _super.call(this, __assign({ name: "CreationLimitExceededException", $fault: "client" }, opts)) || this;
187
+ _this.name = "CreationLimitExceededException";
188
+ _this.$fault = "client";
189
+ Object.setPrototypeOf(_this, CreationLimitExceededException.prototype);
190
+ _this.Message = opts.Message;
191
+ return _this;
192
+ }
193
+ return CreationLimitExceededException;
194
+ }(__BaseException));
195
+ export { CreationLimitExceededException };
196
+ var DuplicateRecordException = (function (_super) {
197
+ __extends(DuplicateRecordException, _super);
198
+ function DuplicateRecordException(opts) {
199
+ var _this = _super.call(this, __assign({ name: "DuplicateRecordException", $fault: "client" }, opts)) || this;
200
+ _this.name = "DuplicateRecordException";
201
+ _this.$fault = "client";
202
+ Object.setPrototypeOf(_this, DuplicateRecordException.prototype);
203
+ _this.Message = opts.Message;
204
+ return _this;
205
+ }
206
+ return DuplicateRecordException;
207
+ }(__BaseException));
208
+ export { DuplicateRecordException };
209
+ var InternalErrorException = (function (_super) {
210
+ __extends(InternalErrorException, _super);
211
+ function InternalErrorException(opts) {
212
+ var _this = _super.call(this, __assign({ name: "InternalErrorException", $fault: "server" }, opts)) || this;
213
+ _this.name = "InternalErrorException";
214
+ _this.$fault = "server";
215
+ Object.setPrototypeOf(_this, InternalErrorException.prototype);
216
+ _this.Message = opts.Message;
217
+ return _this;
218
+ }
219
+ return InternalErrorException;
220
+ }(__BaseException));
221
+ export { InternalErrorException };
222
+ var InvalidParameterException = (function (_super) {
223
+ __extends(InvalidParameterException, _super);
224
+ function InvalidParameterException(opts) {
225
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
226
+ _this.name = "InvalidParameterException";
227
+ _this.$fault = "client";
228
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
229
+ _this.Message = opts.Message;
230
+ return _this;
231
+ }
232
+ return InvalidParameterException;
233
+ }(__BaseException));
234
+ export { InvalidParameterException };
169
235
  export var CreateBudgetActionRequest;
170
236
  (function (CreateBudgetActionRequest) {
171
237
  CreateBudgetActionRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Subscribers && { Subscribers: obj.Subscribers.map(function (item) { return Subscriber.filterSensitiveLog(item); }) }))); };
@@ -174,6 +240,19 @@ export var CreateBudgetActionResponse;
174
240
  (function (CreateBudgetActionResponse) {
175
241
  CreateBudgetActionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
176
242
  })(CreateBudgetActionResponse || (CreateBudgetActionResponse = {}));
243
+ var NotFoundException = (function (_super) {
244
+ __extends(NotFoundException, _super);
245
+ function NotFoundException(opts) {
246
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
247
+ _this.name = "NotFoundException";
248
+ _this.$fault = "client";
249
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
250
+ _this.Message = opts.Message;
251
+ return _this;
252
+ }
253
+ return NotFoundException;
254
+ }(__BaseException));
255
+ export { NotFoundException };
177
256
  export var CreateNotificationRequest;
178
257
  (function (CreateNotificationRequest) {
179
258
  CreateNotificationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Subscribers && { Subscribers: obj.Subscribers.map(function (item) { return Subscriber.filterSensitiveLog(item); }) }))); };
@@ -206,6 +285,19 @@ export var DeleteBudgetActionResponse;
206
285
  (function (DeleteBudgetActionResponse) {
207
286
  DeleteBudgetActionResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Action && { Action: Action.filterSensitiveLog(obj.Action) }))); };
208
287
  })(DeleteBudgetActionResponse || (DeleteBudgetActionResponse = {}));
288
+ var ResourceLockedException = (function (_super) {
289
+ __extends(ResourceLockedException, _super);
290
+ function ResourceLockedException(opts) {
291
+ var _this = _super.call(this, __assign({ name: "ResourceLockedException", $fault: "client" }, opts)) || this;
292
+ _this.name = "ResourceLockedException";
293
+ _this.$fault = "client";
294
+ Object.setPrototypeOf(_this, ResourceLockedException.prototype);
295
+ _this.Message = opts.Message;
296
+ return _this;
297
+ }
298
+ return ResourceLockedException;
299
+ }(__BaseException));
300
+ export { ResourceLockedException };
209
301
  export var DeleteNotificationRequest;
210
302
  (function (DeleteNotificationRequest) {
211
303
  DeleteNotificationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -246,6 +338,19 @@ export var DescribeBudgetActionHistoriesResponse;
246
338
  (function (DescribeBudgetActionHistoriesResponse) {
247
339
  DescribeBudgetActionHistoriesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
248
340
  })(DescribeBudgetActionHistoriesResponse || (DescribeBudgetActionHistoriesResponse = {}));
341
+ var InvalidNextTokenException = (function (_super) {
342
+ __extends(InvalidNextTokenException, _super);
343
+ function InvalidNextTokenException(opts) {
344
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
345
+ _this.name = "InvalidNextTokenException";
346
+ _this.$fault = "client";
347
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
348
+ _this.Message = opts.Message;
349
+ return _this;
350
+ }
351
+ return InvalidNextTokenException;
352
+ }(__BaseException));
353
+ export { InvalidNextTokenException };
249
354
  export var DescribeBudgetActionsForAccountRequest;
250
355
  (function (DescribeBudgetActionsForAccountRequest) {
251
356
  DescribeBudgetActionsForAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -274,6 +379,19 @@ export var DescribeBudgetNotificationsForAccountResponse;
274
379
  (function (DescribeBudgetNotificationsForAccountResponse) {
275
380
  DescribeBudgetNotificationsForAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
276
381
  })(DescribeBudgetNotificationsForAccountResponse || (DescribeBudgetNotificationsForAccountResponse = {}));
382
+ var ExpiredNextTokenException = (function (_super) {
383
+ __extends(ExpiredNextTokenException, _super);
384
+ function ExpiredNextTokenException(opts) {
385
+ var _this = _super.call(this, __assign({ name: "ExpiredNextTokenException", $fault: "client" }, opts)) || this;
386
+ _this.name = "ExpiredNextTokenException";
387
+ _this.$fault = "client";
388
+ Object.setPrototypeOf(_this, ExpiredNextTokenException.prototype);
389
+ _this.Message = opts.Message;
390
+ return _this;
391
+ }
392
+ return ExpiredNextTokenException;
393
+ }(__BaseException));
394
+ export { ExpiredNextTokenException };
277
395
  export var DescribeBudgetPerformanceHistoryRequest;
278
396
  (function (DescribeBudgetPerformanceHistoryRequest) {
279
397
  DescribeBudgetPerformanceHistoryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };