@aws-sdk/client-budgets 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/BudgetsClient.js +13 -13
- package/dist/cjs/BudgetsClient.js.map +1 -1
- package/dist/cjs/commands/CreateBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/CreateBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBudgetCommand.js +3 -3
- package/dist/cjs/commands/CreateBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateNotificationCommand.js +3 -3
- package/dist/cjs/commands/CreateNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateSubscriberCommand.js +3 -3
- package/dist/cjs/commands/CreateSubscriberCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/DeleteBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBudgetCommand.js +3 -3
- package/dist/cjs/commands/DeleteBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteNotificationCommand.js +3 -3
- package/dist/cjs/commands/DeleteNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSubscriberCommand.js +3 -3
- package/dist/cjs/commands/DeleteSubscriberCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionHistoriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionHistoriesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionsForAccountCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionsForAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionsForBudgetCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionsForBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetPerformanceHistoryCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetPerformanceHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetsCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeNotificationsForBudgetCommand.js +3 -3
- package/dist/cjs/commands/DescribeNotificationsForBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSubscribersForNotificationCommand.js +3 -3
- package/dist/cjs/commands/DescribeSubscribersForNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/ExecuteBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/UpdateBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBudgetCommand.js +3 -3
- package/dist/cjs/commands/UpdateBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateNotificationCommand.js +3 -3
- package/dist/cjs/commands/UpdateNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSubscriberCommand.js +3 -3
- package/dist/cjs/commands/UpdateSubscriberCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +33 -33
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +87 -83
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Budgets.js +1 -46
- package/dist/es/Budgets.js.map +1 -1
- package/dist/es/BudgetsClient.js +1 -51
- package/dist/es/BudgetsClient.js.map +1 -1
- package/dist/es/commands/CreateBudgetActionCommand.js +2 -29
- package/dist/es/commands/CreateBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/CreateBudgetCommand.js +2 -30
- package/dist/es/commands/CreateBudgetCommand.js.map +1 -1
- package/dist/es/commands/CreateNotificationCommand.js +2 -27
- package/dist/es/commands/CreateNotificationCommand.js.map +1 -1
- package/dist/es/commands/CreateSubscriberCommand.js +2 -27
- package/dist/es/commands/CreateSubscriberCommand.js.map +1 -1
- package/dist/es/commands/DeleteBudgetActionCommand.js +2 -29
- package/dist/es/commands/DeleteBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/DeleteBudgetCommand.js +2 -30
- package/dist/es/commands/DeleteBudgetCommand.js.map +1 -1
- package/dist/es/commands/DeleteNotificationCommand.js +2 -30
- package/dist/es/commands/DeleteNotificationCommand.js.map +1 -1
- package/dist/es/commands/DeleteSubscriberCommand.js +2 -30
- package/dist/es/commands/DeleteSubscriberCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionHistoriesCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionHistoriesCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionsForAccountCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionsForAccountCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionsForBudgetCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionsForBudgetCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetCommand.js +2 -30
- package/dist/es/commands/DescribeBudgetCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetPerformanceHistoryCommand.js +2 -27
- package/dist/es/commands/DescribeBudgetPerformanceHistoryCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetsCommand.js +2 -30
- package/dist/es/commands/DescribeBudgetsCommand.js.map +1 -1
- package/dist/es/commands/DescribeNotificationsForBudgetCommand.js +2 -27
- package/dist/es/commands/DescribeNotificationsForBudgetCommand.js.map +1 -1
- package/dist/es/commands/DescribeSubscribersForNotificationCommand.js +2 -27
- package/dist/es/commands/DescribeSubscribersForNotificationCommand.js.map +1 -1
- package/dist/es/commands/ExecuteBudgetActionCommand.js +2 -29
- package/dist/es/commands/ExecuteBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/UpdateBudgetActionCommand.js +2 -29
- package/dist/es/commands/UpdateBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/UpdateBudgetCommand.js +2 -30
- package/dist/es/commands/UpdateBudgetCommand.js.map +1 -1
- package/dist/es/commands/UpdateNotificationCommand.js +2 -27
- package/dist/es/commands/UpdateNotificationCommand.js.map +1 -1
- package/dist/es/commands/UpdateSubscriberCommand.js +2 -27
- package/dist/es/commands/UpdateSubscriberCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -213
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeBudgetActionHistoriesPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetActionHistoriesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetActionsForAccountPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetActionsForAccountPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetActionsForBudgetPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetActionsForBudgetPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetPerformanceHistoryPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetPerformanceHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetsPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeNotificationsForBudgetPaginator.js +16 -28
- package/dist/es/pagination/DescribeNotificationsForBudgetPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeSubscribersForNotificationPaginator.js +16 -28
- package/dist/es/pagination/DescribeSubscribersForNotificationPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +614 -615
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_json1_1.ts +13 -4
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -2065,7 +2065,7 @@ const serializeAws_json1_1ActionThreshold = (input, context) => {
|
|
|
2065
2065
|
...(input.ActionThresholdType !== undefined &&
|
|
2066
2066
|
input.ActionThresholdType !== null && { ActionThresholdType: input.ActionThresholdType }),
|
|
2067
2067
|
...(input.ActionThresholdValue !== undefined &&
|
|
2068
|
-
input.ActionThresholdValue !== null && { ActionThresholdValue:
|
|
2068
|
+
input.ActionThresholdValue !== null && { ActionThresholdValue: smithy_client_1.serializeFloat(input.ActionThresholdValue) }),
|
|
2069
2069
|
};
|
|
2070
2070
|
};
|
|
2071
2071
|
const serializeAws_json1_1Budget = (input, context) => {
|
|
@@ -2362,7 +2362,7 @@ const serializeAws_json1_1Notification = (input, context) => {
|
|
|
2362
2362
|
input.NotificationState !== null && { NotificationState: input.NotificationState }),
|
|
2363
2363
|
...(input.NotificationType !== undefined &&
|
|
2364
2364
|
input.NotificationType !== null && { NotificationType: input.NotificationType }),
|
|
2365
|
-
...(input.Threshold !== undefined && input.Threshold !== null && { Threshold:
|
|
2365
|
+
...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: smithy_client_1.serializeFloat(input.Threshold) }),
|
|
2366
2366
|
...(input.ThresholdType !== undefined && input.ThresholdType !== null && { ThresholdType: input.ThresholdType }),
|
|
2367
2367
|
};
|
|
2368
2368
|
};
|
|
@@ -2524,24 +2524,24 @@ const serializeAws_json1_1Users = (input, context) => {
|
|
|
2524
2524
|
};
|
|
2525
2525
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
2526
2526
|
return {
|
|
2527
|
-
Message:
|
|
2527
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2528
2528
|
};
|
|
2529
2529
|
};
|
|
2530
2530
|
const deserializeAws_json1_1Action = (output, context) => {
|
|
2531
2531
|
return {
|
|
2532
|
-
ActionId:
|
|
2532
|
+
ActionId: smithy_client_1.expectString(output.ActionId),
|
|
2533
2533
|
ActionThreshold: output.ActionThreshold !== undefined && output.ActionThreshold !== null
|
|
2534
2534
|
? deserializeAws_json1_1ActionThreshold(output.ActionThreshold, context)
|
|
2535
2535
|
: undefined,
|
|
2536
|
-
ActionType:
|
|
2537
|
-
ApprovalModel:
|
|
2538
|
-
BudgetName:
|
|
2536
|
+
ActionType: smithy_client_1.expectString(output.ActionType),
|
|
2537
|
+
ApprovalModel: smithy_client_1.expectString(output.ApprovalModel),
|
|
2538
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2539
2539
|
Definition: output.Definition !== undefined && output.Definition !== null
|
|
2540
2540
|
? deserializeAws_json1_1Definition(output.Definition, context)
|
|
2541
2541
|
: undefined,
|
|
2542
|
-
ExecutionRoleArn:
|
|
2543
|
-
NotificationType:
|
|
2544
|
-
Status:
|
|
2542
|
+
ExecutionRoleArn: smithy_client_1.expectString(output.ExecutionRoleArn),
|
|
2543
|
+
NotificationType: smithy_client_1.expectString(output.NotificationType),
|
|
2544
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2545
2545
|
Subscribers: output.Subscribers !== undefined && output.Subscribers !== null
|
|
2546
2546
|
? deserializeAws_json1_1Subscribers(output.Subscribers, context)
|
|
2547
2547
|
: undefined,
|
|
@@ -2562,10 +2562,10 @@ const deserializeAws_json1_1ActionHistory = (output, context) => {
|
|
|
2562
2562
|
ActionHistoryDetails: output.ActionHistoryDetails !== undefined && output.ActionHistoryDetails !== null
|
|
2563
2563
|
? deserializeAws_json1_1ActionHistoryDetails(output.ActionHistoryDetails, context)
|
|
2564
2564
|
: undefined,
|
|
2565
|
-
EventType:
|
|
2566
|
-
Status:
|
|
2565
|
+
EventType: smithy_client_1.expectString(output.EventType),
|
|
2566
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2567
2567
|
Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
|
|
2568
|
-
?
|
|
2568
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
|
|
2569
2569
|
: undefined,
|
|
2570
2570
|
};
|
|
2571
2571
|
};
|
|
@@ -2574,7 +2574,7 @@ const deserializeAws_json1_1ActionHistoryDetails = (output, context) => {
|
|
|
2574
2574
|
Action: output.Action !== undefined && output.Action !== null
|
|
2575
2575
|
? deserializeAws_json1_1Action(output.Action, context)
|
|
2576
2576
|
: undefined,
|
|
2577
|
-
Message:
|
|
2577
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2578
2578
|
};
|
|
2579
2579
|
};
|
|
2580
2580
|
const deserializeAws_json1_1Actions = (output, context) => {
|
|
@@ -2589,8 +2589,8 @@ const deserializeAws_json1_1Actions = (output, context) => {
|
|
|
2589
2589
|
};
|
|
2590
2590
|
const deserializeAws_json1_1ActionThreshold = (output, context) => {
|
|
2591
2591
|
return {
|
|
2592
|
-
ActionThresholdType:
|
|
2593
|
-
ActionThresholdValue:
|
|
2592
|
+
ActionThresholdType: smithy_client_1.expectString(output.ActionThresholdType),
|
|
2593
|
+
ActionThresholdValue: smithy_client_1.limitedParseDouble(output.ActionThresholdValue),
|
|
2594
2594
|
};
|
|
2595
2595
|
};
|
|
2596
2596
|
const deserializeAws_json1_1Budget = (output, context) => {
|
|
@@ -2598,8 +2598,8 @@ const deserializeAws_json1_1Budget = (output, context) => {
|
|
|
2598
2598
|
BudgetLimit: output.BudgetLimit !== undefined && output.BudgetLimit !== null
|
|
2599
2599
|
? deserializeAws_json1_1Spend(output.BudgetLimit, context)
|
|
2600
2600
|
: undefined,
|
|
2601
|
-
BudgetName:
|
|
2602
|
-
BudgetType:
|
|
2601
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2602
|
+
BudgetType: smithy_client_1.expectString(output.BudgetType),
|
|
2603
2603
|
CalculatedSpend: output.CalculatedSpend !== undefined && output.CalculatedSpend !== null
|
|
2604
2604
|
? deserializeAws_json1_1CalculatedSpend(output.CalculatedSpend, context)
|
|
2605
2605
|
: undefined,
|
|
@@ -2610,7 +2610,7 @@ const deserializeAws_json1_1Budget = (output, context) => {
|
|
|
2610
2610
|
? deserializeAws_json1_1CostTypes(output.CostTypes, context)
|
|
2611
2611
|
: undefined,
|
|
2612
2612
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
2613
|
-
?
|
|
2613
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
|
|
2614
2614
|
: undefined,
|
|
2615
2615
|
PlannedBudgetLimits: output.PlannedBudgetLimits !== undefined && output.PlannedBudgetLimits !== null
|
|
2616
2616
|
? deserializeAws_json1_1PlannedBudgetLimits(output.PlannedBudgetLimits, context)
|
|
@@ -2618,7 +2618,7 @@ const deserializeAws_json1_1Budget = (output, context) => {
|
|
|
2618
2618
|
TimePeriod: output.TimePeriod !== undefined && output.TimePeriod !== null
|
|
2619
2619
|
? deserializeAws_json1_1TimePeriod(output.TimePeriod, context)
|
|
2620
2620
|
: undefined,
|
|
2621
|
-
TimeUnit:
|
|
2621
|
+
TimeUnit: smithy_client_1.expectString(output.TimeUnit),
|
|
2622
2622
|
};
|
|
2623
2623
|
};
|
|
2624
2624
|
const deserializeAws_json1_1BudgetedAndActualAmounts = (output, context) => {
|
|
@@ -2646,8 +2646,8 @@ const deserializeAws_json1_1BudgetedAndActualAmountsList = (output, context) =>
|
|
|
2646
2646
|
};
|
|
2647
2647
|
const deserializeAws_json1_1BudgetPerformanceHistory = (output, context) => {
|
|
2648
2648
|
return {
|
|
2649
|
-
BudgetName:
|
|
2650
|
-
BudgetType:
|
|
2649
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2650
|
+
BudgetType: smithy_client_1.expectString(output.BudgetType),
|
|
2651
2651
|
BudgetedAndActualAmountsList: output.BudgetedAndActualAmountsList !== undefined && output.BudgetedAndActualAmountsList !== null
|
|
2652
2652
|
? deserializeAws_json1_1BudgetedAndActualAmountsList(output.BudgetedAndActualAmountsList, context)
|
|
2653
2653
|
: undefined,
|
|
@@ -2657,7 +2657,7 @@ const deserializeAws_json1_1BudgetPerformanceHistory = (output, context) => {
|
|
|
2657
2657
|
CostTypes: output.CostTypes !== undefined && output.CostTypes !== null
|
|
2658
2658
|
? deserializeAws_json1_1CostTypes(output.CostTypes, context)
|
|
2659
2659
|
: undefined,
|
|
2660
|
-
TimeUnit:
|
|
2660
|
+
TimeUnit: smithy_client_1.expectString(output.TimeUnit),
|
|
2661
2661
|
};
|
|
2662
2662
|
};
|
|
2663
2663
|
const deserializeAws_json1_1Budgets = (output, context) => {
|
|
@@ -2693,24 +2693,24 @@ const deserializeAws_json1_1CostFilters = (output, context) => {
|
|
|
2693
2693
|
};
|
|
2694
2694
|
const deserializeAws_json1_1CostTypes = (output, context) => {
|
|
2695
2695
|
return {
|
|
2696
|
-
IncludeCredit:
|
|
2697
|
-
IncludeDiscount:
|
|
2698
|
-
IncludeOtherSubscription:
|
|
2699
|
-
IncludeRecurring:
|
|
2700
|
-
IncludeRefund:
|
|
2701
|
-
IncludeSubscription:
|
|
2702
|
-
IncludeSupport:
|
|
2703
|
-
IncludeTax:
|
|
2704
|
-
IncludeUpfront:
|
|
2705
|
-
UseAmortized:
|
|
2706
|
-
UseBlended:
|
|
2696
|
+
IncludeCredit: smithy_client_1.expectBoolean(output.IncludeCredit),
|
|
2697
|
+
IncludeDiscount: smithy_client_1.expectBoolean(output.IncludeDiscount),
|
|
2698
|
+
IncludeOtherSubscription: smithy_client_1.expectBoolean(output.IncludeOtherSubscription),
|
|
2699
|
+
IncludeRecurring: smithy_client_1.expectBoolean(output.IncludeRecurring),
|
|
2700
|
+
IncludeRefund: smithy_client_1.expectBoolean(output.IncludeRefund),
|
|
2701
|
+
IncludeSubscription: smithy_client_1.expectBoolean(output.IncludeSubscription),
|
|
2702
|
+
IncludeSupport: smithy_client_1.expectBoolean(output.IncludeSupport),
|
|
2703
|
+
IncludeTax: smithy_client_1.expectBoolean(output.IncludeTax),
|
|
2704
|
+
IncludeUpfront: smithy_client_1.expectBoolean(output.IncludeUpfront),
|
|
2705
|
+
UseAmortized: smithy_client_1.expectBoolean(output.UseAmortized),
|
|
2706
|
+
UseBlended: smithy_client_1.expectBoolean(output.UseBlended),
|
|
2707
2707
|
};
|
|
2708
2708
|
};
|
|
2709
2709
|
const deserializeAws_json1_1CreateBudgetActionResponse = (output, context) => {
|
|
2710
2710
|
return {
|
|
2711
|
-
AccountId:
|
|
2712
|
-
ActionId:
|
|
2713
|
-
BudgetName:
|
|
2711
|
+
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
2712
|
+
ActionId: smithy_client_1.expectString(output.ActionId),
|
|
2713
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2714
2714
|
};
|
|
2715
2715
|
};
|
|
2716
2716
|
const deserializeAws_json1_1CreateBudgetResponse = (output, context) => {
|
|
@@ -2724,7 +2724,7 @@ const deserializeAws_json1_1CreateSubscriberResponse = (output, context) => {
|
|
|
2724
2724
|
};
|
|
2725
2725
|
const deserializeAws_json1_1CreationLimitExceededException = (output, context) => {
|
|
2726
2726
|
return {
|
|
2727
|
-
Message:
|
|
2727
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2728
2728
|
};
|
|
2729
2729
|
};
|
|
2730
2730
|
const deserializeAws_json1_1Definition = (output, context) => {
|
|
@@ -2742,11 +2742,11 @@ const deserializeAws_json1_1Definition = (output, context) => {
|
|
|
2742
2742
|
};
|
|
2743
2743
|
const deserializeAws_json1_1DeleteBudgetActionResponse = (output, context) => {
|
|
2744
2744
|
return {
|
|
2745
|
-
AccountId:
|
|
2745
|
+
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
2746
2746
|
Action: output.Action !== undefined && output.Action !== null
|
|
2747
2747
|
? deserializeAws_json1_1Action(output.Action, context)
|
|
2748
2748
|
: undefined,
|
|
2749
|
-
BudgetName:
|
|
2749
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2750
2750
|
};
|
|
2751
2751
|
};
|
|
2752
2752
|
const deserializeAws_json1_1DeleteBudgetResponse = (output, context) => {
|
|
@@ -2763,16 +2763,16 @@ const deserializeAws_json1_1DescribeBudgetActionHistoriesResponse = (output, con
|
|
|
2763
2763
|
ActionHistories: output.ActionHistories !== undefined && output.ActionHistories !== null
|
|
2764
2764
|
? deserializeAws_json1_1ActionHistories(output.ActionHistories, context)
|
|
2765
2765
|
: undefined,
|
|
2766
|
-
NextToken:
|
|
2766
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2767
2767
|
};
|
|
2768
2768
|
};
|
|
2769
2769
|
const deserializeAws_json1_1DescribeBudgetActionResponse = (output, context) => {
|
|
2770
2770
|
return {
|
|
2771
|
-
AccountId:
|
|
2771
|
+
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
2772
2772
|
Action: output.Action !== undefined && output.Action !== null
|
|
2773
2773
|
? deserializeAws_json1_1Action(output.Action, context)
|
|
2774
2774
|
: undefined,
|
|
2775
|
-
BudgetName:
|
|
2775
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2776
2776
|
};
|
|
2777
2777
|
};
|
|
2778
2778
|
const deserializeAws_json1_1DescribeBudgetActionsForAccountResponse = (output, context) => {
|
|
@@ -2780,7 +2780,7 @@ const deserializeAws_json1_1DescribeBudgetActionsForAccountResponse = (output, c
|
|
|
2780
2780
|
Actions: output.Actions !== undefined && output.Actions !== null
|
|
2781
2781
|
? deserializeAws_json1_1Actions(output.Actions, context)
|
|
2782
2782
|
: undefined,
|
|
2783
|
-
NextToken:
|
|
2783
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2784
2784
|
};
|
|
2785
2785
|
};
|
|
2786
2786
|
const deserializeAws_json1_1DescribeBudgetActionsForBudgetResponse = (output, context) => {
|
|
@@ -2788,7 +2788,7 @@ const deserializeAws_json1_1DescribeBudgetActionsForBudgetResponse = (output, co
|
|
|
2788
2788
|
Actions: output.Actions !== undefined && output.Actions !== null
|
|
2789
2789
|
? deserializeAws_json1_1Actions(output.Actions, context)
|
|
2790
2790
|
: undefined,
|
|
2791
|
-
NextToken:
|
|
2791
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2792
2792
|
};
|
|
2793
2793
|
};
|
|
2794
2794
|
const deserializeAws_json1_1DescribeBudgetPerformanceHistoryResponse = (output, context) => {
|
|
@@ -2796,7 +2796,7 @@ const deserializeAws_json1_1DescribeBudgetPerformanceHistoryResponse = (output,
|
|
|
2796
2796
|
BudgetPerformanceHistory: output.BudgetPerformanceHistory !== undefined && output.BudgetPerformanceHistory !== null
|
|
2797
2797
|
? deserializeAws_json1_1BudgetPerformanceHistory(output.BudgetPerformanceHistory, context)
|
|
2798
2798
|
: undefined,
|
|
2799
|
-
NextToken:
|
|
2799
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2800
2800
|
};
|
|
2801
2801
|
};
|
|
2802
2802
|
const deserializeAws_json1_1DescribeBudgetResponse = (output, context) => {
|
|
@@ -2811,12 +2811,12 @@ const deserializeAws_json1_1DescribeBudgetsResponse = (output, context) => {
|
|
|
2811
2811
|
Budgets: output.Budgets !== undefined && output.Budgets !== null
|
|
2812
2812
|
? deserializeAws_json1_1Budgets(output.Budgets, context)
|
|
2813
2813
|
: undefined,
|
|
2814
|
-
NextToken:
|
|
2814
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2815
2815
|
};
|
|
2816
2816
|
};
|
|
2817
2817
|
const deserializeAws_json1_1DescribeNotificationsForBudgetResponse = (output, context) => {
|
|
2818
2818
|
return {
|
|
2819
|
-
NextToken:
|
|
2819
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2820
2820
|
Notifications: output.Notifications !== undefined && output.Notifications !== null
|
|
2821
2821
|
? deserializeAws_json1_1Notifications(output.Notifications, context)
|
|
2822
2822
|
: undefined,
|
|
@@ -2824,7 +2824,7 @@ const deserializeAws_json1_1DescribeNotificationsForBudgetResponse = (output, co
|
|
|
2824
2824
|
};
|
|
2825
2825
|
const deserializeAws_json1_1DescribeSubscribersForNotificationResponse = (output, context) => {
|
|
2826
2826
|
return {
|
|
2827
|
-
NextToken:
|
|
2827
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2828
2828
|
Subscribers: output.Subscribers !== undefined && output.Subscribers !== null
|
|
2829
2829
|
? deserializeAws_json1_1Subscribers(output.Subscribers, context)
|
|
2830
2830
|
: undefined,
|
|
@@ -2837,25 +2837,25 @@ const deserializeAws_json1_1DimensionValues = (output, context) => {
|
|
|
2837
2837
|
if (entry === null) {
|
|
2838
2838
|
return null;
|
|
2839
2839
|
}
|
|
2840
|
-
return
|
|
2840
|
+
return smithy_client_1.expectString(entry);
|
|
2841
2841
|
});
|
|
2842
2842
|
};
|
|
2843
2843
|
const deserializeAws_json1_1DuplicateRecordException = (output, context) => {
|
|
2844
2844
|
return {
|
|
2845
|
-
Message:
|
|
2845
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2846
2846
|
};
|
|
2847
2847
|
};
|
|
2848
2848
|
const deserializeAws_json1_1ExecuteBudgetActionResponse = (output, context) => {
|
|
2849
2849
|
return {
|
|
2850
|
-
AccountId:
|
|
2851
|
-
ActionId:
|
|
2852
|
-
BudgetName:
|
|
2853
|
-
ExecutionType:
|
|
2850
|
+
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
2851
|
+
ActionId: smithy_client_1.expectString(output.ActionId),
|
|
2852
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
2853
|
+
ExecutionType: smithy_client_1.expectString(output.ExecutionType),
|
|
2854
2854
|
};
|
|
2855
2855
|
};
|
|
2856
2856
|
const deserializeAws_json1_1ExpiredNextTokenException = (output, context) => {
|
|
2857
2857
|
return {
|
|
2858
|
-
Message:
|
|
2858
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2859
2859
|
};
|
|
2860
2860
|
};
|
|
2861
2861
|
const deserializeAws_json1_1Groups = (output, context) => {
|
|
@@ -2865,7 +2865,7 @@ const deserializeAws_json1_1Groups = (output, context) => {
|
|
|
2865
2865
|
if (entry === null) {
|
|
2866
2866
|
return null;
|
|
2867
2867
|
}
|
|
2868
|
-
return
|
|
2868
|
+
return smithy_client_1.expectString(entry);
|
|
2869
2869
|
});
|
|
2870
2870
|
};
|
|
2871
2871
|
const deserializeAws_json1_1IamActionDefinition = (output, context) => {
|
|
@@ -2873,7 +2873,7 @@ const deserializeAws_json1_1IamActionDefinition = (output, context) => {
|
|
|
2873
2873
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
2874
2874
|
? deserializeAws_json1_1Groups(output.Groups, context)
|
|
2875
2875
|
: undefined,
|
|
2876
|
-
PolicyArn:
|
|
2876
|
+
PolicyArn: smithy_client_1.expectString(output.PolicyArn),
|
|
2877
2877
|
Roles: output.Roles !== undefined && output.Roles !== null
|
|
2878
2878
|
? deserializeAws_json1_1Roles(output.Roles, context)
|
|
2879
2879
|
: undefined,
|
|
@@ -2889,36 +2889,36 @@ const deserializeAws_json1_1InstanceIds = (output, context) => {
|
|
|
2889
2889
|
if (entry === null) {
|
|
2890
2890
|
return null;
|
|
2891
2891
|
}
|
|
2892
|
-
return
|
|
2892
|
+
return smithy_client_1.expectString(entry);
|
|
2893
2893
|
});
|
|
2894
2894
|
};
|
|
2895
2895
|
const deserializeAws_json1_1InternalErrorException = (output, context) => {
|
|
2896
2896
|
return {
|
|
2897
|
-
Message:
|
|
2897
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2898
2898
|
};
|
|
2899
2899
|
};
|
|
2900
2900
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
2901
2901
|
return {
|
|
2902
|
-
Message:
|
|
2902
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2903
2903
|
};
|
|
2904
2904
|
};
|
|
2905
2905
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
2906
2906
|
return {
|
|
2907
|
-
Message:
|
|
2907
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2908
2908
|
};
|
|
2909
2909
|
};
|
|
2910
2910
|
const deserializeAws_json1_1NotFoundException = (output, context) => {
|
|
2911
2911
|
return {
|
|
2912
|
-
Message:
|
|
2912
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2913
2913
|
};
|
|
2914
2914
|
};
|
|
2915
2915
|
const deserializeAws_json1_1Notification = (output, context) => {
|
|
2916
2916
|
return {
|
|
2917
|
-
ComparisonOperator:
|
|
2918
|
-
NotificationState:
|
|
2919
|
-
NotificationType:
|
|
2920
|
-
Threshold:
|
|
2921
|
-
ThresholdType:
|
|
2917
|
+
ComparisonOperator: smithy_client_1.expectString(output.ComparisonOperator),
|
|
2918
|
+
NotificationState: smithy_client_1.expectString(output.NotificationState),
|
|
2919
|
+
NotificationType: smithy_client_1.expectString(output.NotificationType),
|
|
2920
|
+
Threshold: smithy_client_1.limitedParseDouble(output.Threshold),
|
|
2921
|
+
ThresholdType: smithy_client_1.expectString(output.ThresholdType),
|
|
2922
2922
|
};
|
|
2923
2923
|
};
|
|
2924
2924
|
const deserializeAws_json1_1Notifications = (output, context) => {
|
|
@@ -2944,7 +2944,7 @@ const deserializeAws_json1_1PlannedBudgetLimits = (output, context) => {
|
|
|
2944
2944
|
};
|
|
2945
2945
|
const deserializeAws_json1_1ResourceLockedException = (output, context) => {
|
|
2946
2946
|
return {
|
|
2947
|
-
Message:
|
|
2947
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2948
2948
|
};
|
|
2949
2949
|
};
|
|
2950
2950
|
const deserializeAws_json1_1Roles = (output, context) => {
|
|
@@ -2954,12 +2954,12 @@ const deserializeAws_json1_1Roles = (output, context) => {
|
|
|
2954
2954
|
if (entry === null) {
|
|
2955
2955
|
return null;
|
|
2956
2956
|
}
|
|
2957
|
-
return
|
|
2957
|
+
return smithy_client_1.expectString(entry);
|
|
2958
2958
|
});
|
|
2959
2959
|
};
|
|
2960
2960
|
const deserializeAws_json1_1ScpActionDefinition = (output, context) => {
|
|
2961
2961
|
return {
|
|
2962
|
-
PolicyId:
|
|
2962
|
+
PolicyId: smithy_client_1.expectString(output.PolicyId),
|
|
2963
2963
|
TargetIds: output.TargetIds !== undefined && output.TargetIds !== null
|
|
2964
2964
|
? deserializeAws_json1_1TargetIds(output.TargetIds, context)
|
|
2965
2965
|
: undefined,
|
|
@@ -2967,23 +2967,23 @@ const deserializeAws_json1_1ScpActionDefinition = (output, context) => {
|
|
|
2967
2967
|
};
|
|
2968
2968
|
const deserializeAws_json1_1Spend = (output, context) => {
|
|
2969
2969
|
return {
|
|
2970
|
-
Amount:
|
|
2971
|
-
Unit:
|
|
2970
|
+
Amount: smithy_client_1.expectString(output.Amount),
|
|
2971
|
+
Unit: smithy_client_1.expectString(output.Unit),
|
|
2972
2972
|
};
|
|
2973
2973
|
};
|
|
2974
2974
|
const deserializeAws_json1_1SsmActionDefinition = (output, context) => {
|
|
2975
2975
|
return {
|
|
2976
|
-
ActionSubType:
|
|
2976
|
+
ActionSubType: smithy_client_1.expectString(output.ActionSubType),
|
|
2977
2977
|
InstanceIds: output.InstanceIds !== undefined && output.InstanceIds !== null
|
|
2978
2978
|
? deserializeAws_json1_1InstanceIds(output.InstanceIds, context)
|
|
2979
2979
|
: undefined,
|
|
2980
|
-
Region:
|
|
2980
|
+
Region: smithy_client_1.expectString(output.Region),
|
|
2981
2981
|
};
|
|
2982
2982
|
};
|
|
2983
2983
|
const deserializeAws_json1_1Subscriber = (output, context) => {
|
|
2984
2984
|
return {
|
|
2985
|
-
Address:
|
|
2986
|
-
SubscriptionType:
|
|
2985
|
+
Address: smithy_client_1.expectString(output.Address),
|
|
2986
|
+
SubscriptionType: smithy_client_1.expectString(output.SubscriptionType),
|
|
2987
2987
|
};
|
|
2988
2988
|
};
|
|
2989
2989
|
const deserializeAws_json1_1Subscribers = (output, context) => {
|
|
@@ -3003,19 +3003,23 @@ const deserializeAws_json1_1TargetIds = (output, context) => {
|
|
|
3003
3003
|
if (entry === null) {
|
|
3004
3004
|
return null;
|
|
3005
3005
|
}
|
|
3006
|
-
return
|
|
3006
|
+
return smithy_client_1.expectString(entry);
|
|
3007
3007
|
});
|
|
3008
3008
|
};
|
|
3009
3009
|
const deserializeAws_json1_1TimePeriod = (output, context) => {
|
|
3010
3010
|
return {
|
|
3011
|
-
End: output.End !== undefined && output.End !== null
|
|
3012
|
-
|
|
3011
|
+
End: output.End !== undefined && output.End !== null
|
|
3012
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.End)))
|
|
3013
|
+
: undefined,
|
|
3014
|
+
Start: output.Start !== undefined && output.Start !== null
|
|
3015
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Start)))
|
|
3016
|
+
: undefined,
|
|
3013
3017
|
};
|
|
3014
3018
|
};
|
|
3015
3019
|
const deserializeAws_json1_1UpdateBudgetActionResponse = (output, context) => {
|
|
3016
3020
|
return {
|
|
3017
|
-
AccountId:
|
|
3018
|
-
BudgetName:
|
|
3021
|
+
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
3022
|
+
BudgetName: smithy_client_1.expectString(output.BudgetName),
|
|
3019
3023
|
NewAction: output.NewAction !== undefined && output.NewAction !== null
|
|
3020
3024
|
? deserializeAws_json1_1Action(output.NewAction, context)
|
|
3021
3025
|
: undefined,
|
|
@@ -3040,7 +3044,7 @@ const deserializeAws_json1_1Users = (output, context) => {
|
|
|
3040
3044
|
if (entry === null) {
|
|
3041
3045
|
return null;
|
|
3042
3046
|
}
|
|
3043
|
-
return
|
|
3047
|
+
return smithy_client_1.expectString(entry);
|
|
3044
3048
|
});
|
|
3045
3049
|
};
|
|
3046
3050
|
const deserializeMetadata = (output) => {
|