@aws-sdk/client-budgets 3.105.0 → 3.112.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/CHANGELOG.md +27 -0
- package/README.md +1 -1
- package/dist-cjs/models/models_0.js +16 -2
- package/dist-cjs/protocols/Aws_json1_1.js +83 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +153 -47
- package/dist-types/Budgets.d.ts +3 -3
- package/dist-types/BudgetsClient.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +29 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-budgets
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-budgets:** Add a budgets ThrottlingException. Update the CostFilters value pattern. ([3f98cfc](https://github.com/aws/aws-sdk-js-v3/commit/3f98cfcc9e1df215c877462f02c7d40ab763691b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-budgets
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
34
|
|
|
8
35
|
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>
|
|
12
|
+
<p>Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature. </p>
|
|
13
13
|
<p>Budgets provide you with a way to see the following information:</p>
|
|
14
14
|
<ul>
|
|
15
15
|
<li>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateSubscriberResponse = exports.UpdateSubscriberRequest = exports.UpdateNotificationResponse = exports.UpdateNotificationRequest = exports.UpdateBudgetActionResponse = exports.UpdateBudgetActionRequest = exports.UpdateBudgetResponse = exports.UpdateBudgetRequest = exports.ExecuteBudgetActionResponse = exports.ExecuteBudgetActionRequest = exports.ExecutionType = exports.DescribeSubscribersForNotificationResponse = exports.DescribeSubscribersForNotificationRequest = exports.DescribeNotificationsForBudgetResponse = exports.DescribeNotificationsForBudgetRequest = exports.DescribeBudgetsResponse = exports.DescribeBudgetsRequest = exports.DescribeBudgetPerformanceHistoryResponse = exports.BudgetPerformanceHistory = exports.BudgetedAndActualAmounts = exports.DescribeBudgetPerformanceHistoryRequest = exports.ExpiredNextTokenException = exports.DescribeBudgetNotificationsForAccountResponse = exports.BudgetNotificationsForAccount = exports.DescribeBudgetNotificationsForAccountRequest = exports.DescribeBudgetActionsForBudgetResponse = exports.DescribeBudgetActionsForBudgetRequest = exports.DescribeBudgetActionsForAccountResponse = exports.DescribeBudgetActionsForAccountRequest = exports.InvalidNextTokenException = exports.DescribeBudgetActionHistoriesResponse = exports.DescribeBudgetActionHistoriesRequest = exports.DescribeBudgetActionResponse = exports.DescribeBudgetActionRequest = exports.DescribeBudgetResponse = exports.DescribeBudgetRequest = exports.DeleteSubscriberResponse = exports.DeleteSubscriberRequest = exports.DeleteNotificationResponse = exports.DeleteNotificationRequest = void 0;
|
|
3
|
+
exports.DeleteBudgetActionResponse = exports.DeleteBudgetActionRequest = exports.DeleteBudgetResponse = exports.DeleteBudgetRequest = exports.CreateSubscriberResponse = exports.CreateSubscriberRequest = exports.CreateNotificationResponse = exports.CreateNotificationRequest = exports.NotFoundException = exports.CreateBudgetActionResponse = exports.CreateBudgetActionRequest = exports.ThrottlingException = exports.InvalidParameterException = exports.InternalErrorException = exports.DuplicateRecordException = exports.CreationLimitExceededException = exports.CreateBudgetResponse = exports.CreateBudgetRequest = exports.NotificationWithSubscribers = exports.Notification = exports.NotificationState = exports.ComparisonOperator = exports.Budget = exports.TimeUnit = exports.TimePeriod = exports.CostTypes = exports.CalculatedSpend = exports.BudgetType = exports.Spend = exports.AutoAdjustData = exports.HistoricalOptions = exports.AutoAdjustType = exports.ActionHistory = exports.EventType = exports.ActionHistoryDetails = exports.Action = exports.Subscriber = exports.SubscriptionType = exports.ActionStatus = exports.NotificationType = exports.Definition = exports.SsmActionDefinition = exports.ActionSubType = exports.ScpActionDefinition = exports.IamActionDefinition = exports.ApprovalModel = exports.ActionType = exports.ActionThreshold = exports.ThresholdType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateSubscriberResponse = exports.UpdateSubscriberRequest = exports.UpdateNotificationResponse = exports.UpdateNotificationRequest = exports.UpdateBudgetActionResponse = exports.UpdateBudgetActionRequest = exports.UpdateBudgetResponse = exports.UpdateBudgetRequest = exports.ExecuteBudgetActionResponse = exports.ExecuteBudgetActionRequest = exports.ExecutionType = exports.DescribeSubscribersForNotificationResponse = exports.DescribeSubscribersForNotificationRequest = exports.DescribeNotificationsForBudgetResponse = exports.DescribeNotificationsForBudgetRequest = exports.DescribeBudgetsResponse = exports.DescribeBudgetsRequest = exports.DescribeBudgetPerformanceHistoryResponse = exports.BudgetPerformanceHistory = exports.BudgetedAndActualAmounts = exports.DescribeBudgetPerformanceHistoryRequest = exports.ExpiredNextTokenException = exports.DescribeBudgetNotificationsForAccountResponse = exports.BudgetNotificationsForAccount = exports.DescribeBudgetNotificationsForAccountRequest = exports.DescribeBudgetActionsForBudgetResponse = exports.DescribeBudgetActionsForBudgetRequest = exports.DescribeBudgetActionsForAccountResponse = exports.DescribeBudgetActionsForAccountRequest = exports.InvalidNextTokenException = exports.DescribeBudgetActionHistoriesResponse = exports.DescribeBudgetActionHistoriesRequest = exports.DescribeBudgetActionResponse = exports.DescribeBudgetActionRequest = exports.DescribeBudgetResponse = exports.DescribeBudgetRequest = exports.DeleteSubscriberResponse = exports.DeleteSubscriberRequest = exports.DeleteNotificationResponse = exports.DeleteNotificationRequest = exports.ResourceLockedException = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const BudgetsServiceException_1 = require("./BudgetsServiceException");
|
|
7
7
|
class AccessDeniedException extends BudgetsServiceException_1.BudgetsServiceException {
|
|
@@ -285,6 +285,20 @@ class InvalidParameterException extends BudgetsServiceException_1.BudgetsService
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
exports.InvalidParameterException = InvalidParameterException;
|
|
288
|
+
class ThrottlingException extends BudgetsServiceException_1.BudgetsServiceException {
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "ThrottlingException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts,
|
|
294
|
+
});
|
|
295
|
+
this.name = "ThrottlingException";
|
|
296
|
+
this.$fault = "client";
|
|
297
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
298
|
+
this.Message = opts.Message;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
exports.ThrottlingException = ThrottlingException;
|
|
288
302
|
var CreateBudgetActionRequest;
|
|
289
303
|
(function (CreateBudgetActionRequest) {
|
|
290
304
|
CreateBudgetActionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -273,6 +273,9 @@ const deserializeAws_json1_1CreateBudgetCommandError = async (output, context) =
|
|
|
273
273
|
case "InvalidParameterException":
|
|
274
274
|
case "com.amazonaws.budgets#InvalidParameterException":
|
|
275
275
|
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
276
|
+
case "ThrottlingException":
|
|
277
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
278
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
276
279
|
default:
|
|
277
280
|
const parsedBody = parsedOutput.body;
|
|
278
281
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -324,6 +327,9 @@ const deserializeAws_json1_1CreateBudgetActionCommandError = async (output, cont
|
|
|
324
327
|
case "NotFoundException":
|
|
325
328
|
case "com.amazonaws.budgets#NotFoundException":
|
|
326
329
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
330
|
+
case "ThrottlingException":
|
|
331
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
332
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
327
333
|
default:
|
|
328
334
|
const parsedBody = parsedOutput.body;
|
|
329
335
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -375,6 +381,9 @@ const deserializeAws_json1_1CreateNotificationCommandError = async (output, cont
|
|
|
375
381
|
case "NotFoundException":
|
|
376
382
|
case "com.amazonaws.budgets#NotFoundException":
|
|
377
383
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
384
|
+
case "ThrottlingException":
|
|
385
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
386
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
378
387
|
default:
|
|
379
388
|
const parsedBody = parsedOutput.body;
|
|
380
389
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -426,6 +435,9 @@ const deserializeAws_json1_1CreateSubscriberCommandError = async (output, contex
|
|
|
426
435
|
case "NotFoundException":
|
|
427
436
|
case "com.amazonaws.budgets#NotFoundException":
|
|
428
437
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
438
|
+
case "ThrottlingException":
|
|
439
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
440
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
429
441
|
default:
|
|
430
442
|
const parsedBody = parsedOutput.body;
|
|
431
443
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -471,6 +483,9 @@ const deserializeAws_json1_1DeleteBudgetCommandError = async (output, context) =
|
|
|
471
483
|
case "NotFoundException":
|
|
472
484
|
case "com.amazonaws.budgets#NotFoundException":
|
|
473
485
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
486
|
+
case "ThrottlingException":
|
|
487
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
488
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
474
489
|
default:
|
|
475
490
|
const parsedBody = parsedOutput.body;
|
|
476
491
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -519,6 +534,9 @@ const deserializeAws_json1_1DeleteBudgetActionCommandError = async (output, cont
|
|
|
519
534
|
case "ResourceLockedException":
|
|
520
535
|
case "com.amazonaws.budgets#ResourceLockedException":
|
|
521
536
|
throw await deserializeAws_json1_1ResourceLockedExceptionResponse(parsedOutput, context);
|
|
537
|
+
case "ThrottlingException":
|
|
538
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
539
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
522
540
|
default:
|
|
523
541
|
const parsedBody = parsedOutput.body;
|
|
524
542
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -564,6 +582,9 @@ const deserializeAws_json1_1DeleteNotificationCommandError = async (output, cont
|
|
|
564
582
|
case "NotFoundException":
|
|
565
583
|
case "com.amazonaws.budgets#NotFoundException":
|
|
566
584
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
585
|
+
case "ThrottlingException":
|
|
586
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
587
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
567
588
|
default:
|
|
568
589
|
const parsedBody = parsedOutput.body;
|
|
569
590
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -609,6 +630,9 @@ const deserializeAws_json1_1DeleteSubscriberCommandError = async (output, contex
|
|
|
609
630
|
case "NotFoundException":
|
|
610
631
|
case "com.amazonaws.budgets#NotFoundException":
|
|
611
632
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
633
|
+
case "ThrottlingException":
|
|
634
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
635
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
612
636
|
default:
|
|
613
637
|
const parsedBody = parsedOutput.body;
|
|
614
638
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -654,6 +678,9 @@ const deserializeAws_json1_1DescribeBudgetCommandError = async (output, context)
|
|
|
654
678
|
case "NotFoundException":
|
|
655
679
|
case "com.amazonaws.budgets#NotFoundException":
|
|
656
680
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
681
|
+
case "ThrottlingException":
|
|
682
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
683
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
657
684
|
default:
|
|
658
685
|
const parsedBody = parsedOutput.body;
|
|
659
686
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -699,6 +726,9 @@ const deserializeAws_json1_1DescribeBudgetActionCommandError = async (output, co
|
|
|
699
726
|
case "NotFoundException":
|
|
700
727
|
case "com.amazonaws.budgets#NotFoundException":
|
|
701
728
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
729
|
+
case "ThrottlingException":
|
|
730
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
731
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
702
732
|
default:
|
|
703
733
|
const parsedBody = parsedOutput.body;
|
|
704
734
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -747,6 +777,9 @@ const deserializeAws_json1_1DescribeBudgetActionHistoriesCommandError = async (o
|
|
|
747
777
|
case "NotFoundException":
|
|
748
778
|
case "com.amazonaws.budgets#NotFoundException":
|
|
749
779
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
780
|
+
case "ThrottlingException":
|
|
781
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
782
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
750
783
|
default:
|
|
751
784
|
const parsedBody = parsedOutput.body;
|
|
752
785
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -792,6 +825,9 @@ const deserializeAws_json1_1DescribeBudgetActionsForAccountCommandError = async
|
|
|
792
825
|
case "InvalidParameterException":
|
|
793
826
|
case "com.amazonaws.budgets#InvalidParameterException":
|
|
794
827
|
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
828
|
+
case "ThrottlingException":
|
|
829
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
830
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
795
831
|
default:
|
|
796
832
|
const parsedBody = parsedOutput.body;
|
|
797
833
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -840,6 +876,9 @@ const deserializeAws_json1_1DescribeBudgetActionsForBudgetCommandError = async (
|
|
|
840
876
|
case "NotFoundException":
|
|
841
877
|
case "com.amazonaws.budgets#NotFoundException":
|
|
842
878
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
879
|
+
case "ThrottlingException":
|
|
880
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
881
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
843
882
|
default:
|
|
844
883
|
const parsedBody = parsedOutput.body;
|
|
845
884
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -891,6 +930,9 @@ const deserializeAws_json1_1DescribeBudgetNotificationsForAccountCommandError =
|
|
|
891
930
|
case "NotFoundException":
|
|
892
931
|
case "com.amazonaws.budgets#NotFoundException":
|
|
893
932
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
933
|
+
case "ThrottlingException":
|
|
934
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
935
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
894
936
|
default:
|
|
895
937
|
const parsedBody = parsedOutput.body;
|
|
896
938
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -942,6 +984,9 @@ const deserializeAws_json1_1DescribeBudgetPerformanceHistoryCommandError = async
|
|
|
942
984
|
case "NotFoundException":
|
|
943
985
|
case "com.amazonaws.budgets#NotFoundException":
|
|
944
986
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
987
|
+
case "ThrottlingException":
|
|
988
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
989
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
945
990
|
default:
|
|
946
991
|
const parsedBody = parsedOutput.body;
|
|
947
992
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -993,6 +1038,9 @@ const deserializeAws_json1_1DescribeBudgetsCommandError = async (output, context
|
|
|
993
1038
|
case "NotFoundException":
|
|
994
1039
|
case "com.amazonaws.budgets#NotFoundException":
|
|
995
1040
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
1041
|
+
case "ThrottlingException":
|
|
1042
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1043
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
996
1044
|
default:
|
|
997
1045
|
const parsedBody = parsedOutput.body;
|
|
998
1046
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1044,6 +1092,9 @@ const deserializeAws_json1_1DescribeNotificationsForBudgetCommandError = async (
|
|
|
1044
1092
|
case "NotFoundException":
|
|
1045
1093
|
case "com.amazonaws.budgets#NotFoundException":
|
|
1046
1094
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
1095
|
+
case "ThrottlingException":
|
|
1096
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1097
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1047
1098
|
default:
|
|
1048
1099
|
const parsedBody = parsedOutput.body;
|
|
1049
1100
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1095,6 +1146,9 @@ const deserializeAws_json1_1DescribeSubscribersForNotificationCommandError = asy
|
|
|
1095
1146
|
case "NotFoundException":
|
|
1096
1147
|
case "com.amazonaws.budgets#NotFoundException":
|
|
1097
1148
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
1149
|
+
case "ThrottlingException":
|
|
1150
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1151
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1098
1152
|
default:
|
|
1099
1153
|
const parsedBody = parsedOutput.body;
|
|
1100
1154
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1143,6 +1197,9 @@ const deserializeAws_json1_1ExecuteBudgetActionCommandError = async (output, con
|
|
|
1143
1197
|
case "ResourceLockedException":
|
|
1144
1198
|
case "com.amazonaws.budgets#ResourceLockedException":
|
|
1145
1199
|
throw await deserializeAws_json1_1ResourceLockedExceptionResponse(parsedOutput, context);
|
|
1200
|
+
case "ThrottlingException":
|
|
1201
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1202
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1146
1203
|
default:
|
|
1147
1204
|
const parsedBody = parsedOutput.body;
|
|
1148
1205
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1188,6 +1245,9 @@ const deserializeAws_json1_1UpdateBudgetCommandError = async (output, context) =
|
|
|
1188
1245
|
case "NotFoundException":
|
|
1189
1246
|
case "com.amazonaws.budgets#NotFoundException":
|
|
1190
1247
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
1248
|
+
case "ThrottlingException":
|
|
1249
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1250
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1191
1251
|
default:
|
|
1192
1252
|
const parsedBody = parsedOutput.body;
|
|
1193
1253
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1236,6 +1296,9 @@ const deserializeAws_json1_1UpdateBudgetActionCommandError = async (output, cont
|
|
|
1236
1296
|
case "ResourceLockedException":
|
|
1237
1297
|
case "com.amazonaws.budgets#ResourceLockedException":
|
|
1238
1298
|
throw await deserializeAws_json1_1ResourceLockedExceptionResponse(parsedOutput, context);
|
|
1299
|
+
case "ThrottlingException":
|
|
1300
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1301
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1239
1302
|
default:
|
|
1240
1303
|
const parsedBody = parsedOutput.body;
|
|
1241
1304
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1284,6 +1347,9 @@ const deserializeAws_json1_1UpdateNotificationCommandError = async (output, cont
|
|
|
1284
1347
|
case "NotFoundException":
|
|
1285
1348
|
case "com.amazonaws.budgets#NotFoundException":
|
|
1286
1349
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
1350
|
+
case "ThrottlingException":
|
|
1351
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1352
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1287
1353
|
default:
|
|
1288
1354
|
const parsedBody = parsedOutput.body;
|
|
1289
1355
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1332,6 +1398,9 @@ const deserializeAws_json1_1UpdateSubscriberCommandError = async (output, contex
|
|
|
1332
1398
|
case "NotFoundException":
|
|
1333
1399
|
case "com.amazonaws.budgets#NotFoundException":
|
|
1334
1400
|
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
1401
|
+
case "ThrottlingException":
|
|
1402
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1403
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1335
1404
|
default:
|
|
1336
1405
|
const parsedBody = parsedOutput.body;
|
|
1337
1406
|
response = new BudgetsServiceException_1.BudgetsServiceException({
|
|
@@ -1423,6 +1492,15 @@ const deserializeAws_json1_1ResourceLockedExceptionResponse = async (parsedOutpu
|
|
|
1423
1492
|
});
|
|
1424
1493
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1425
1494
|
};
|
|
1495
|
+
const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1496
|
+
const body = parsedOutput.body;
|
|
1497
|
+
const deserialized = deserializeAws_json1_1ThrottlingException(body, context);
|
|
1498
|
+
const exception = new models_0_1.ThrottlingException({
|
|
1499
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1500
|
+
...deserialized,
|
|
1501
|
+
});
|
|
1502
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1503
|
+
};
|
|
1426
1504
|
const serializeAws_json1_1ActionThreshold = (input, context) => {
|
|
1427
1505
|
return {
|
|
1428
1506
|
...(input.ActionThresholdType !== undefined &&
|
|
@@ -2460,6 +2538,11 @@ const deserializeAws_json1_1TargetIds = (output, context) => {
|
|
|
2460
2538
|
});
|
|
2461
2539
|
return retVal;
|
|
2462
2540
|
};
|
|
2541
|
+
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
2542
|
+
return {
|
|
2543
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2463
2546
|
const deserializeAws_json1_1TimePeriod = (output, context) => {
|
|
2464
2547
|
return {
|
|
2465
2548
|
End: output.End !== undefined && output.End !== null
|
|
@@ -232,6 +232,19 @@ var InvalidParameterException = (function (_super) {
|
|
|
232
232
|
return InvalidParameterException;
|
|
233
233
|
}(__BaseException));
|
|
234
234
|
export { InvalidParameterException };
|
|
235
|
+
var ThrottlingException = (function (_super) {
|
|
236
|
+
__extends(ThrottlingException, _super);
|
|
237
|
+
function ThrottlingException(opts) {
|
|
238
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
239
|
+
_this.name = "ThrottlingException";
|
|
240
|
+
_this.$fault = "client";
|
|
241
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
242
|
+
_this.Message = opts.Message;
|
|
243
|
+
return _this;
|
|
244
|
+
}
|
|
245
|
+
return ThrottlingException;
|
|
246
|
+
}(__BaseException));
|
|
247
|
+
export { ThrottlingException };
|
|
235
248
|
export var CreateBudgetActionRequest;
|
|
236
249
|
(function (CreateBudgetActionRequest) {
|
|
237
250
|
CreateBudgetActionRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Subscribers && { Subscribers: obj.Subscribers.map(function (item) { return Subscriber.filterSensitiveLog(item); }) }))); };
|
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { BudgetsServiceException as __BaseException } from "../models/BudgetsServiceException";
|
|
5
|
-
import { AccessDeniedException, CreationLimitExceededException, DuplicateRecordException, ExpiredNextTokenException, InternalErrorException, InvalidNextTokenException, InvalidParameterException, NotFoundException, ResourceLockedException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, CreationLimitExceededException, DuplicateRecordException, ExpiredNextTokenException, InternalErrorException, InvalidNextTokenException, InvalidParameterException, NotFoundException, ResourceLockedException, ThrottlingException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1CreateBudgetCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7
7
|
var headers, body;
|
|
8
8
|
return __generator(this, function (_a) {
|
|
@@ -299,8 +299,10 @@ var deserializeAws_json1_1CreateBudgetCommandError = function (output, context)
|
|
|
299
299
|
case "com.amazonaws.budgets#InternalErrorException": return [3, 8];
|
|
300
300
|
case "InvalidParameterException": return [3, 10];
|
|
301
301
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
302
|
+
case "ThrottlingException": return [3, 12];
|
|
303
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
302
304
|
}
|
|
303
|
-
return [3,
|
|
305
|
+
return [3, 14];
|
|
304
306
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
305
307
|
case 3: throw _d.sent();
|
|
306
308
|
case 4: return [4, deserializeAws_json1_1CreationLimitExceededExceptionResponse(parsedOutput, context)];
|
|
@@ -311,7 +313,9 @@ var deserializeAws_json1_1CreateBudgetCommandError = function (output, context)
|
|
|
311
313
|
case 9: throw _d.sent();
|
|
312
314
|
case 10: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
313
315
|
case 11: throw _d.sent();
|
|
314
|
-
case 12:
|
|
316
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
317
|
+
case 13: throw _d.sent();
|
|
318
|
+
case 14:
|
|
315
319
|
parsedBody = parsedOutput.body;
|
|
316
320
|
response = new __BaseException({
|
|
317
321
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -367,8 +371,10 @@ var deserializeAws_json1_1CreateBudgetActionCommandError = function (output, con
|
|
|
367
371
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
368
372
|
case "NotFoundException": return [3, 12];
|
|
369
373
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
374
|
+
case "ThrottlingException": return [3, 14];
|
|
375
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
370
376
|
}
|
|
371
|
-
return [3,
|
|
377
|
+
return [3, 16];
|
|
372
378
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
373
379
|
case 3: throw _d.sent();
|
|
374
380
|
case 4: return [4, deserializeAws_json1_1CreationLimitExceededExceptionResponse(parsedOutput, context)];
|
|
@@ -381,7 +387,9 @@ var deserializeAws_json1_1CreateBudgetActionCommandError = function (output, con
|
|
|
381
387
|
case 11: throw _d.sent();
|
|
382
388
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
383
389
|
case 13: throw _d.sent();
|
|
384
|
-
case 14:
|
|
390
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
391
|
+
case 15: throw _d.sent();
|
|
392
|
+
case 16:
|
|
385
393
|
parsedBody = parsedOutput.body;
|
|
386
394
|
response = new __BaseException({
|
|
387
395
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -437,8 +445,10 @@ var deserializeAws_json1_1CreateNotificationCommandError = function (output, con
|
|
|
437
445
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
438
446
|
case "NotFoundException": return [3, 12];
|
|
439
447
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
448
|
+
case "ThrottlingException": return [3, 14];
|
|
449
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
440
450
|
}
|
|
441
|
-
return [3,
|
|
451
|
+
return [3, 16];
|
|
442
452
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
443
453
|
case 3: throw _d.sent();
|
|
444
454
|
case 4: return [4, deserializeAws_json1_1CreationLimitExceededExceptionResponse(parsedOutput, context)];
|
|
@@ -451,7 +461,9 @@ var deserializeAws_json1_1CreateNotificationCommandError = function (output, con
|
|
|
451
461
|
case 11: throw _d.sent();
|
|
452
462
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
453
463
|
case 13: throw _d.sent();
|
|
454
|
-
case 14:
|
|
464
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
465
|
+
case 15: throw _d.sent();
|
|
466
|
+
case 16:
|
|
455
467
|
parsedBody = parsedOutput.body;
|
|
456
468
|
response = new __BaseException({
|
|
457
469
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -507,8 +519,10 @@ var deserializeAws_json1_1CreateSubscriberCommandError = function (output, conte
|
|
|
507
519
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
508
520
|
case "NotFoundException": return [3, 12];
|
|
509
521
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
522
|
+
case "ThrottlingException": return [3, 14];
|
|
523
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
510
524
|
}
|
|
511
|
-
return [3,
|
|
525
|
+
return [3, 16];
|
|
512
526
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
513
527
|
case 3: throw _d.sent();
|
|
514
528
|
case 4: return [4, deserializeAws_json1_1CreationLimitExceededExceptionResponse(parsedOutput, context)];
|
|
@@ -521,7 +535,9 @@ var deserializeAws_json1_1CreateSubscriberCommandError = function (output, conte
|
|
|
521
535
|
case 11: throw _d.sent();
|
|
522
536
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
523
537
|
case 13: throw _d.sent();
|
|
524
|
-
case 14:
|
|
538
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
539
|
+
case 15: throw _d.sent();
|
|
540
|
+
case 16:
|
|
525
541
|
parsedBody = parsedOutput.body;
|
|
526
542
|
response = new __BaseException({
|
|
527
543
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -573,8 +589,10 @@ var deserializeAws_json1_1DeleteBudgetCommandError = function (output, context)
|
|
|
573
589
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 6];
|
|
574
590
|
case "NotFoundException": return [3, 8];
|
|
575
591
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
592
|
+
case "ThrottlingException": return [3, 10];
|
|
593
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
576
594
|
}
|
|
577
|
-
return [3,
|
|
595
|
+
return [3, 12];
|
|
578
596
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
579
597
|
case 3: throw _d.sent();
|
|
580
598
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -583,7 +601,9 @@ var deserializeAws_json1_1DeleteBudgetCommandError = function (output, context)
|
|
|
583
601
|
case 7: throw _d.sent();
|
|
584
602
|
case 8: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
585
603
|
case 9: throw _d.sent();
|
|
586
|
-
case 10:
|
|
604
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
605
|
+
case 11: throw _d.sent();
|
|
606
|
+
case 12:
|
|
587
607
|
parsedBody = parsedOutput.body;
|
|
588
608
|
response = new __BaseException({
|
|
589
609
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -637,8 +657,10 @@ var deserializeAws_json1_1DeleteBudgetActionCommandError = function (output, con
|
|
|
637
657
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
638
658
|
case "ResourceLockedException": return [3, 10];
|
|
639
659
|
case "com.amazonaws.budgets#ResourceLockedException": return [3, 10];
|
|
660
|
+
case "ThrottlingException": return [3, 12];
|
|
661
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
640
662
|
}
|
|
641
|
-
return [3,
|
|
663
|
+
return [3, 14];
|
|
642
664
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
643
665
|
case 3: throw _d.sent();
|
|
644
666
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -649,7 +671,9 @@ var deserializeAws_json1_1DeleteBudgetActionCommandError = function (output, con
|
|
|
649
671
|
case 9: throw _d.sent();
|
|
650
672
|
case 10: return [4, deserializeAws_json1_1ResourceLockedExceptionResponse(parsedOutput, context)];
|
|
651
673
|
case 11: throw _d.sent();
|
|
652
|
-
case 12:
|
|
674
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
675
|
+
case 13: throw _d.sent();
|
|
676
|
+
case 14:
|
|
653
677
|
parsedBody = parsedOutput.body;
|
|
654
678
|
response = new __BaseException({
|
|
655
679
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -701,8 +725,10 @@ var deserializeAws_json1_1DeleteNotificationCommandError = function (output, con
|
|
|
701
725
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 6];
|
|
702
726
|
case "NotFoundException": return [3, 8];
|
|
703
727
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
728
|
+
case "ThrottlingException": return [3, 10];
|
|
729
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
704
730
|
}
|
|
705
|
-
return [3,
|
|
731
|
+
return [3, 12];
|
|
706
732
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
707
733
|
case 3: throw _d.sent();
|
|
708
734
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -711,7 +737,9 @@ var deserializeAws_json1_1DeleteNotificationCommandError = function (output, con
|
|
|
711
737
|
case 7: throw _d.sent();
|
|
712
738
|
case 8: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
713
739
|
case 9: throw _d.sent();
|
|
714
|
-
case 10:
|
|
740
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
741
|
+
case 11: throw _d.sent();
|
|
742
|
+
case 12:
|
|
715
743
|
parsedBody = parsedOutput.body;
|
|
716
744
|
response = new __BaseException({
|
|
717
745
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -763,8 +791,10 @@ var deserializeAws_json1_1DeleteSubscriberCommandError = function (output, conte
|
|
|
763
791
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 6];
|
|
764
792
|
case "NotFoundException": return [3, 8];
|
|
765
793
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
794
|
+
case "ThrottlingException": return [3, 10];
|
|
795
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
766
796
|
}
|
|
767
|
-
return [3,
|
|
797
|
+
return [3, 12];
|
|
768
798
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
769
799
|
case 3: throw _d.sent();
|
|
770
800
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -773,7 +803,9 @@ var deserializeAws_json1_1DeleteSubscriberCommandError = function (output, conte
|
|
|
773
803
|
case 7: throw _d.sent();
|
|
774
804
|
case 8: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
775
805
|
case 9: throw _d.sent();
|
|
776
|
-
case 10:
|
|
806
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
807
|
+
case 11: throw _d.sent();
|
|
808
|
+
case 12:
|
|
777
809
|
parsedBody = parsedOutput.body;
|
|
778
810
|
response = new __BaseException({
|
|
779
811
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -825,8 +857,10 @@ var deserializeAws_json1_1DescribeBudgetCommandError = function (output, context
|
|
|
825
857
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 6];
|
|
826
858
|
case "NotFoundException": return [3, 8];
|
|
827
859
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
860
|
+
case "ThrottlingException": return [3, 10];
|
|
861
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
828
862
|
}
|
|
829
|
-
return [3,
|
|
863
|
+
return [3, 12];
|
|
830
864
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
831
865
|
case 3: throw _d.sent();
|
|
832
866
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -835,7 +869,9 @@ var deserializeAws_json1_1DescribeBudgetCommandError = function (output, context
|
|
|
835
869
|
case 7: throw _d.sent();
|
|
836
870
|
case 8: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
837
871
|
case 9: throw _d.sent();
|
|
838
|
-
case 10:
|
|
872
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
873
|
+
case 11: throw _d.sent();
|
|
874
|
+
case 12:
|
|
839
875
|
parsedBody = parsedOutput.body;
|
|
840
876
|
response = new __BaseException({
|
|
841
877
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -887,8 +923,10 @@ var deserializeAws_json1_1DescribeBudgetActionCommandError = function (output, c
|
|
|
887
923
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 6];
|
|
888
924
|
case "NotFoundException": return [3, 8];
|
|
889
925
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
926
|
+
case "ThrottlingException": return [3, 10];
|
|
927
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
890
928
|
}
|
|
891
|
-
return [3,
|
|
929
|
+
return [3, 12];
|
|
892
930
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
893
931
|
case 3: throw _d.sent();
|
|
894
932
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -897,7 +935,9 @@ var deserializeAws_json1_1DescribeBudgetActionCommandError = function (output, c
|
|
|
897
935
|
case 7: throw _d.sent();
|
|
898
936
|
case 8: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
899
937
|
case 9: throw _d.sent();
|
|
900
|
-
case 10:
|
|
938
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
939
|
+
case 11: throw _d.sent();
|
|
940
|
+
case 12:
|
|
901
941
|
parsedBody = parsedOutput.body;
|
|
902
942
|
response = new __BaseException({
|
|
903
943
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -951,8 +991,10 @@ var deserializeAws_json1_1DescribeBudgetActionHistoriesCommandError = function (
|
|
|
951
991
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 8];
|
|
952
992
|
case "NotFoundException": return [3, 10];
|
|
953
993
|
case "com.amazonaws.budgets#NotFoundException": return [3, 10];
|
|
994
|
+
case "ThrottlingException": return [3, 12];
|
|
995
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
954
996
|
}
|
|
955
|
-
return [3,
|
|
997
|
+
return [3, 14];
|
|
956
998
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
957
999
|
case 3: throw _d.sent();
|
|
958
1000
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -963,7 +1005,9 @@ var deserializeAws_json1_1DescribeBudgetActionHistoriesCommandError = function (
|
|
|
963
1005
|
case 9: throw _d.sent();
|
|
964
1006
|
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
965
1007
|
case 11: throw _d.sent();
|
|
966
|
-
case 12:
|
|
1008
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1009
|
+
case 13: throw _d.sent();
|
|
1010
|
+
case 14:
|
|
967
1011
|
parsedBody = parsedOutput.body;
|
|
968
1012
|
response = new __BaseException({
|
|
969
1013
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1015,8 +1059,10 @@ var deserializeAws_json1_1DescribeBudgetActionsForAccountCommandError = function
|
|
|
1015
1059
|
case "com.amazonaws.budgets#InvalidNextTokenException": return [3, 6];
|
|
1016
1060
|
case "InvalidParameterException": return [3, 8];
|
|
1017
1061
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 8];
|
|
1062
|
+
case "ThrottlingException": return [3, 10];
|
|
1063
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
1018
1064
|
}
|
|
1019
|
-
return [3,
|
|
1065
|
+
return [3, 12];
|
|
1020
1066
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1021
1067
|
case 3: throw _d.sent();
|
|
1022
1068
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -1025,7 +1071,9 @@ var deserializeAws_json1_1DescribeBudgetActionsForAccountCommandError = function
|
|
|
1025
1071
|
case 7: throw _d.sent();
|
|
1026
1072
|
case 8: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
1027
1073
|
case 9: throw _d.sent();
|
|
1028
|
-
case 10:
|
|
1074
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1075
|
+
case 11: throw _d.sent();
|
|
1076
|
+
case 12:
|
|
1029
1077
|
parsedBody = parsedOutput.body;
|
|
1030
1078
|
response = new __BaseException({
|
|
1031
1079
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1079,8 +1127,10 @@ var deserializeAws_json1_1DescribeBudgetActionsForBudgetCommandError = function
|
|
|
1079
1127
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 8];
|
|
1080
1128
|
case "NotFoundException": return [3, 10];
|
|
1081
1129
|
case "com.amazonaws.budgets#NotFoundException": return [3, 10];
|
|
1130
|
+
case "ThrottlingException": return [3, 12];
|
|
1131
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
1082
1132
|
}
|
|
1083
|
-
return [3,
|
|
1133
|
+
return [3, 14];
|
|
1084
1134
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1085
1135
|
case 3: throw _d.sent();
|
|
1086
1136
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -1091,7 +1141,9 @@ var deserializeAws_json1_1DescribeBudgetActionsForBudgetCommandError = function
|
|
|
1091
1141
|
case 9: throw _d.sent();
|
|
1092
1142
|
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1093
1143
|
case 11: throw _d.sent();
|
|
1094
|
-
case 12:
|
|
1144
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1145
|
+
case 13: throw _d.sent();
|
|
1146
|
+
case 14:
|
|
1095
1147
|
parsedBody = parsedOutput.body;
|
|
1096
1148
|
response = new __BaseException({
|
|
1097
1149
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1147,8 +1199,10 @@ var deserializeAws_json1_1DescribeBudgetNotificationsForAccountCommandError = fu
|
|
|
1147
1199
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
1148
1200
|
case "NotFoundException": return [3, 12];
|
|
1149
1201
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
1202
|
+
case "ThrottlingException": return [3, 14];
|
|
1203
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
1150
1204
|
}
|
|
1151
|
-
return [3,
|
|
1205
|
+
return [3, 16];
|
|
1152
1206
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1153
1207
|
case 3: throw _d.sent();
|
|
1154
1208
|
case 4: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
@@ -1161,7 +1215,9 @@ var deserializeAws_json1_1DescribeBudgetNotificationsForAccountCommandError = fu
|
|
|
1161
1215
|
case 11: throw _d.sent();
|
|
1162
1216
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1163
1217
|
case 13: throw _d.sent();
|
|
1164
|
-
case 14:
|
|
1218
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1219
|
+
case 15: throw _d.sent();
|
|
1220
|
+
case 16:
|
|
1165
1221
|
parsedBody = parsedOutput.body;
|
|
1166
1222
|
response = new __BaseException({
|
|
1167
1223
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1217,8 +1273,10 @@ var deserializeAws_json1_1DescribeBudgetPerformanceHistoryCommandError = functio
|
|
|
1217
1273
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
1218
1274
|
case "NotFoundException": return [3, 12];
|
|
1219
1275
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
1276
|
+
case "ThrottlingException": return [3, 14];
|
|
1277
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
1220
1278
|
}
|
|
1221
|
-
return [3,
|
|
1279
|
+
return [3, 16];
|
|
1222
1280
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1223
1281
|
case 3: throw _d.sent();
|
|
1224
1282
|
case 4: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
@@ -1231,7 +1289,9 @@ var deserializeAws_json1_1DescribeBudgetPerformanceHistoryCommandError = functio
|
|
|
1231
1289
|
case 11: throw _d.sent();
|
|
1232
1290
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1233
1291
|
case 13: throw _d.sent();
|
|
1234
|
-
case 14:
|
|
1292
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1293
|
+
case 15: throw _d.sent();
|
|
1294
|
+
case 16:
|
|
1235
1295
|
parsedBody = parsedOutput.body;
|
|
1236
1296
|
response = new __BaseException({
|
|
1237
1297
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1287,8 +1347,10 @@ var deserializeAws_json1_1DescribeBudgetsCommandError = function (output, contex
|
|
|
1287
1347
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
1288
1348
|
case "NotFoundException": return [3, 12];
|
|
1289
1349
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
1350
|
+
case "ThrottlingException": return [3, 14];
|
|
1351
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
1290
1352
|
}
|
|
1291
|
-
return [3,
|
|
1353
|
+
return [3, 16];
|
|
1292
1354
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1293
1355
|
case 3: throw _d.sent();
|
|
1294
1356
|
case 4: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
@@ -1301,7 +1363,9 @@ var deserializeAws_json1_1DescribeBudgetsCommandError = function (output, contex
|
|
|
1301
1363
|
case 11: throw _d.sent();
|
|
1302
1364
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1303
1365
|
case 13: throw _d.sent();
|
|
1304
|
-
case 14:
|
|
1366
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1367
|
+
case 15: throw _d.sent();
|
|
1368
|
+
case 16:
|
|
1305
1369
|
parsedBody = parsedOutput.body;
|
|
1306
1370
|
response = new __BaseException({
|
|
1307
1371
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1357,8 +1421,10 @@ var deserializeAws_json1_1DescribeNotificationsForBudgetCommandError = function
|
|
|
1357
1421
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
1358
1422
|
case "NotFoundException": return [3, 12];
|
|
1359
1423
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
1424
|
+
case "ThrottlingException": return [3, 14];
|
|
1425
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
1360
1426
|
}
|
|
1361
|
-
return [3,
|
|
1427
|
+
return [3, 16];
|
|
1362
1428
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1363
1429
|
case 3: throw _d.sent();
|
|
1364
1430
|
case 4: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
@@ -1371,7 +1437,9 @@ var deserializeAws_json1_1DescribeNotificationsForBudgetCommandError = function
|
|
|
1371
1437
|
case 11: throw _d.sent();
|
|
1372
1438
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1373
1439
|
case 13: throw _d.sent();
|
|
1374
|
-
case 14:
|
|
1440
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1441
|
+
case 15: throw _d.sent();
|
|
1442
|
+
case 16:
|
|
1375
1443
|
parsedBody = parsedOutput.body;
|
|
1376
1444
|
response = new __BaseException({
|
|
1377
1445
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1427,8 +1495,10 @@ var deserializeAws_json1_1DescribeSubscribersForNotificationCommandError = funct
|
|
|
1427
1495
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
1428
1496
|
case "NotFoundException": return [3, 12];
|
|
1429
1497
|
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
1498
|
+
case "ThrottlingException": return [3, 14];
|
|
1499
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 14];
|
|
1430
1500
|
}
|
|
1431
|
-
return [3,
|
|
1501
|
+
return [3, 16];
|
|
1432
1502
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1433
1503
|
case 3: throw _d.sent();
|
|
1434
1504
|
case 4: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
@@ -1441,7 +1511,9 @@ var deserializeAws_json1_1DescribeSubscribersForNotificationCommandError = funct
|
|
|
1441
1511
|
case 11: throw _d.sent();
|
|
1442
1512
|
case 12: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1443
1513
|
case 13: throw _d.sent();
|
|
1444
|
-
case 14:
|
|
1514
|
+
case 14: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1515
|
+
case 15: throw _d.sent();
|
|
1516
|
+
case 16:
|
|
1445
1517
|
parsedBody = parsedOutput.body;
|
|
1446
1518
|
response = new __BaseException({
|
|
1447
1519
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1495,8 +1567,10 @@ var deserializeAws_json1_1ExecuteBudgetActionCommandError = function (output, co
|
|
|
1495
1567
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
1496
1568
|
case "ResourceLockedException": return [3, 10];
|
|
1497
1569
|
case "com.amazonaws.budgets#ResourceLockedException": return [3, 10];
|
|
1570
|
+
case "ThrottlingException": return [3, 12];
|
|
1571
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
1498
1572
|
}
|
|
1499
|
-
return [3,
|
|
1573
|
+
return [3, 14];
|
|
1500
1574
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1501
1575
|
case 3: throw _d.sent();
|
|
1502
1576
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -1507,7 +1581,9 @@ var deserializeAws_json1_1ExecuteBudgetActionCommandError = function (output, co
|
|
|
1507
1581
|
case 9: throw _d.sent();
|
|
1508
1582
|
case 10: return [4, deserializeAws_json1_1ResourceLockedExceptionResponse(parsedOutput, context)];
|
|
1509
1583
|
case 11: throw _d.sent();
|
|
1510
|
-
case 12:
|
|
1584
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1585
|
+
case 13: throw _d.sent();
|
|
1586
|
+
case 14:
|
|
1511
1587
|
parsedBody = parsedOutput.body;
|
|
1512
1588
|
response = new __BaseException({
|
|
1513
1589
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1559,8 +1635,10 @@ var deserializeAws_json1_1UpdateBudgetCommandError = function (output, context)
|
|
|
1559
1635
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 6];
|
|
1560
1636
|
case "NotFoundException": return [3, 8];
|
|
1561
1637
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
1638
|
+
case "ThrottlingException": return [3, 10];
|
|
1639
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 10];
|
|
1562
1640
|
}
|
|
1563
|
-
return [3,
|
|
1641
|
+
return [3, 12];
|
|
1564
1642
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1565
1643
|
case 3: throw _d.sent();
|
|
1566
1644
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -1569,7 +1647,9 @@ var deserializeAws_json1_1UpdateBudgetCommandError = function (output, context)
|
|
|
1569
1647
|
case 7: throw _d.sent();
|
|
1570
1648
|
case 8: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1571
1649
|
case 9: throw _d.sent();
|
|
1572
|
-
case 10:
|
|
1650
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1651
|
+
case 11: throw _d.sent();
|
|
1652
|
+
case 12:
|
|
1573
1653
|
parsedBody = parsedOutput.body;
|
|
1574
1654
|
response = new __BaseException({
|
|
1575
1655
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1623,8 +1703,10 @@ var deserializeAws_json1_1UpdateBudgetActionCommandError = function (output, con
|
|
|
1623
1703
|
case "com.amazonaws.budgets#NotFoundException": return [3, 8];
|
|
1624
1704
|
case "ResourceLockedException": return [3, 10];
|
|
1625
1705
|
case "com.amazonaws.budgets#ResourceLockedException": return [3, 10];
|
|
1706
|
+
case "ThrottlingException": return [3, 12];
|
|
1707
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
1626
1708
|
}
|
|
1627
|
-
return [3,
|
|
1709
|
+
return [3, 14];
|
|
1628
1710
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1629
1711
|
case 3: throw _d.sent();
|
|
1630
1712
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -1635,7 +1717,9 @@ var deserializeAws_json1_1UpdateBudgetActionCommandError = function (output, con
|
|
|
1635
1717
|
case 9: throw _d.sent();
|
|
1636
1718
|
case 10: return [4, deserializeAws_json1_1ResourceLockedExceptionResponse(parsedOutput, context)];
|
|
1637
1719
|
case 11: throw _d.sent();
|
|
1638
|
-
case 12:
|
|
1720
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1721
|
+
case 13: throw _d.sent();
|
|
1722
|
+
case 14:
|
|
1639
1723
|
parsedBody = parsedOutput.body;
|
|
1640
1724
|
response = new __BaseException({
|
|
1641
1725
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1689,8 +1773,10 @@ var deserializeAws_json1_1UpdateNotificationCommandError = function (output, con
|
|
|
1689
1773
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 8];
|
|
1690
1774
|
case "NotFoundException": return [3, 10];
|
|
1691
1775
|
case "com.amazonaws.budgets#NotFoundException": return [3, 10];
|
|
1776
|
+
case "ThrottlingException": return [3, 12];
|
|
1777
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
1692
1778
|
}
|
|
1693
|
-
return [3,
|
|
1779
|
+
return [3, 14];
|
|
1694
1780
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1695
1781
|
case 3: throw _d.sent();
|
|
1696
1782
|
case 4: return [4, deserializeAws_json1_1DuplicateRecordExceptionResponse(parsedOutput, context)];
|
|
@@ -1701,7 +1787,9 @@ var deserializeAws_json1_1UpdateNotificationCommandError = function (output, con
|
|
|
1701
1787
|
case 9: throw _d.sent();
|
|
1702
1788
|
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1703
1789
|
case 11: throw _d.sent();
|
|
1704
|
-
case 12:
|
|
1790
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1791
|
+
case 13: throw _d.sent();
|
|
1792
|
+
case 14:
|
|
1705
1793
|
parsedBody = parsedOutput.body;
|
|
1706
1794
|
response = new __BaseException({
|
|
1707
1795
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1755,8 +1843,10 @@ var deserializeAws_json1_1UpdateSubscriberCommandError = function (output, conte
|
|
|
1755
1843
|
case "com.amazonaws.budgets#InvalidParameterException": return [3, 8];
|
|
1756
1844
|
case "NotFoundException": return [3, 10];
|
|
1757
1845
|
case "com.amazonaws.budgets#NotFoundException": return [3, 10];
|
|
1846
|
+
case "ThrottlingException": return [3, 12];
|
|
1847
|
+
case "com.amazonaws.budgets#ThrottlingException": return [3, 12];
|
|
1758
1848
|
}
|
|
1759
|
-
return [3,
|
|
1849
|
+
return [3, 14];
|
|
1760
1850
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1761
1851
|
case 3: throw _d.sent();
|
|
1762
1852
|
case 4: return [4, deserializeAws_json1_1DuplicateRecordExceptionResponse(parsedOutput, context)];
|
|
@@ -1767,7 +1857,9 @@ var deserializeAws_json1_1UpdateSubscriberCommandError = function (output, conte
|
|
|
1767
1857
|
case 9: throw _d.sent();
|
|
1768
1858
|
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1769
1859
|
case 11: throw _d.sent();
|
|
1770
|
-
case 12:
|
|
1860
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1861
|
+
case 13: throw _d.sent();
|
|
1862
|
+
case 14:
|
|
1771
1863
|
parsedBody = parsedOutput.body;
|
|
1772
1864
|
response = new __BaseException({
|
|
1773
1865
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1859,6 +1951,15 @@ var deserializeAws_json1_1ResourceLockedExceptionResponse = function (parsedOutp
|
|
|
1859
1951
|
return [2, __decorateServiceException(exception, body)];
|
|
1860
1952
|
});
|
|
1861
1953
|
}); };
|
|
1954
|
+
var deserializeAws_json1_1ThrottlingExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1955
|
+
var body, deserialized, exception;
|
|
1956
|
+
return __generator(this, function (_a) {
|
|
1957
|
+
body = parsedOutput.body;
|
|
1958
|
+
deserialized = deserializeAws_json1_1ThrottlingException(body, context);
|
|
1959
|
+
exception = new ThrottlingException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1960
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1961
|
+
});
|
|
1962
|
+
}); };
|
|
1862
1963
|
var serializeAws_json1_1ActionThreshold = function (input, context) {
|
|
1863
1964
|
return __assign(__assign({}, (input.ActionThresholdType !== undefined &&
|
|
1864
1965
|
input.ActionThresholdType !== null && { ActionThresholdType: input.ActionThresholdType })), (input.ActionThresholdValue !== undefined &&
|
|
@@ -2704,6 +2805,11 @@ var deserializeAws_json1_1TargetIds = function (output, context) {
|
|
|
2704
2805
|
});
|
|
2705
2806
|
return retVal;
|
|
2706
2807
|
};
|
|
2808
|
+
var deserializeAws_json1_1ThrottlingException = function (output, context) {
|
|
2809
|
+
return {
|
|
2810
|
+
Message: __expectString(output.Message),
|
|
2811
|
+
};
|
|
2812
|
+
};
|
|
2707
2813
|
var deserializeAws_json1_1TimePeriod = function (output, context) {
|
|
2708
2814
|
return {
|
|
2709
2815
|
End: output.End !== undefined && output.End !== null
|
package/dist-types/Budgets.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { UpdateBudgetCommandInput, UpdateBudgetCommandOutput } from "./commands/
|
|
|
24
24
|
import { UpdateNotificationCommandInput, UpdateNotificationCommandOutput } from "./commands/UpdateNotificationCommand";
|
|
25
25
|
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./commands/UpdateSubscriberCommand";
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature. </p>
|
|
28
28
|
* <p>Budgets provide you with a way to see the following information:</p>
|
|
29
29
|
* <ul>
|
|
30
30
|
* <li>
|
|
@@ -60,13 +60,13 @@ import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./c
|
|
|
60
60
|
* </li>
|
|
61
61
|
* </ul>
|
|
62
62
|
* <p>Service Endpoint</p>
|
|
63
|
-
*
|
|
63
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
64
64
|
* <ul>
|
|
65
65
|
* <li>
|
|
66
66
|
* <p>https://budgets.amazonaws.com</p>
|
|
67
67
|
* </li>
|
|
68
68
|
* </ul>
|
|
69
|
-
*
|
|
69
|
+
* <p>For information about costs that are associated with the Amazon Web Services Budgets API, see <a href="https://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost Management Pricing</a>.</p>
|
|
70
70
|
*/
|
|
71
71
|
export declare class Budgets extends BudgetsClient {
|
|
72
72
|
/**
|
|
@@ -149,7 +149,7 @@ declare type BudgetsClientResolvedConfigType = __SmithyResolvedConfiguration<__H
|
|
|
149
149
|
export interface BudgetsClientResolvedConfig extends BudgetsClientResolvedConfigType {
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* <p>
|
|
152
|
+
* <p>Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature. </p>
|
|
153
153
|
* <p>Budgets provide you with a way to see the following information:</p>
|
|
154
154
|
* <ul>
|
|
155
155
|
* <li>
|
|
@@ -185,13 +185,13 @@ export interface BudgetsClientResolvedConfig extends BudgetsClientResolvedConfig
|
|
|
185
185
|
* </li>
|
|
186
186
|
* </ul>
|
|
187
187
|
* <p>Service Endpoint</p>
|
|
188
|
-
*
|
|
188
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
189
189
|
* <ul>
|
|
190
190
|
* <li>
|
|
191
191
|
* <p>https://budgets.amazonaws.com</p>
|
|
192
192
|
* </li>
|
|
193
193
|
* </ul>
|
|
194
|
-
*
|
|
194
|
+
* <p>For information about costs that are associated with the Amazon Web Services Budgets API, see <a href="https://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost Management Pricing</a>.</p>
|
|
195
195
|
*/
|
|
196
196
|
export declare class BudgetsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BudgetsClientResolvedConfig> {
|
|
197
197
|
/**
|
|
@@ -828,6 +828,23 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
828
828
|
*/
|
|
829
829
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
830
830
|
}
|
|
831
|
+
/**
|
|
832
|
+
* <p>
|
|
833
|
+
* The number of API requests has exceeded the maximum allowed API request throttling limit for the account.
|
|
834
|
+
* </p>
|
|
835
|
+
*/
|
|
836
|
+
export declare class ThrottlingException extends __BaseException {
|
|
837
|
+
readonly name: "ThrottlingException";
|
|
838
|
+
readonly $fault: "client";
|
|
839
|
+
/**
|
|
840
|
+
* <p>The error message the exception carries.</p>
|
|
841
|
+
*/
|
|
842
|
+
Message?: string;
|
|
843
|
+
/**
|
|
844
|
+
* @internal
|
|
845
|
+
*/
|
|
846
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
847
|
+
}
|
|
831
848
|
export interface CreateBudgetActionRequest {
|
|
832
849
|
/**
|
|
833
850
|
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
@@ -406,6 +406,15 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
406
406
|
|
|
407
407
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
408
408
|
}
|
|
409
|
+
|
|
410
|
+
export declare class ThrottlingException extends __BaseException {
|
|
411
|
+
readonly name: "ThrottlingException";
|
|
412
|
+
readonly $fault: "client";
|
|
413
|
+
|
|
414
|
+
Message?: string;
|
|
415
|
+
|
|
416
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
417
|
+
}
|
|
409
418
|
export interface CreateBudgetActionRequest {
|
|
410
419
|
|
|
411
420
|
AccountId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-budgets",
|
|
3
3
|
"description": "AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.112.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.112.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.112.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.110.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.110.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.110.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.110.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.110.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.110.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.110.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.110.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.110.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.110.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.110.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.110.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.110.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.110.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.110.0",
|
|
40
|
+
"@aws-sdk/types": "3.110.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.110.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.110.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.110.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.110.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.110.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|