@aws-sdk/client-budgets 3.382.0 → 3.385.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/Budgets.d.ts +26 -26
- package/dist-types/BudgetsClient.d.ts +26 -26
- package/dist-types/commands/CreateBudgetActionCommand.d.ts +8 -9
- package/dist-types/commands/CreateBudgetCommand.d.ts +13 -14
- package/dist-types/commands/CreateNotificationCommand.d.ts +7 -8
- package/dist-types/commands/CreateSubscriberCommand.d.ts +7 -8
- package/dist-types/commands/DeleteBudgetActionCommand.d.ts +9 -10
- package/dist-types/commands/DeleteBudgetCommand.d.ts +5 -6
- package/dist-types/commands/DeleteNotificationCommand.d.ts +9 -10
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +10 -11
- package/dist-types/commands/DescribeBudgetActionCommand.d.ts +9 -10
- package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +11 -12
- package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +9 -10
- package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +9 -10
- package/dist-types/commands/DescribeBudgetCommand.d.ts +8 -9
- package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +6 -7
- package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +4 -5
- package/dist-types/commands/DescribeBudgetsCommand.d.ts +8 -9
- package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +6 -7
- package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +7 -8
- package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +4 -5
- package/dist-types/commands/UpdateBudgetActionCommand.d.ts +21 -22
- package/dist-types/commands/UpdateBudgetCommand.d.ts +8 -9
- package/dist-types/commands/UpdateNotificationCommand.d.ts +10 -11
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +8 -9
- package/dist-types/index.d.ts +26 -26
- package/dist-types/models/models_0.d.ts +106 -89
- package/package.json +3 -3
|
@@ -45,11 +45,11 @@ export interface DescribeBudgetActionCommandOutput extends DescribeBudgetActionR
|
|
|
45
45
|
* // Action: { // Action
|
|
46
46
|
* // ActionId: "STRING_VALUE", // required
|
|
47
47
|
* // BudgetName: "STRING_VALUE", // required
|
|
48
|
-
* // NotificationType: "
|
|
49
|
-
* // ActionType: "
|
|
48
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
49
|
+
* // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
50
50
|
* // ActionThreshold: { // ActionThreshold
|
|
51
51
|
* // ActionThresholdValue: Number("double"), // required
|
|
52
|
-
* // ActionThresholdType: "
|
|
52
|
+
* // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
53
53
|
* // },
|
|
54
54
|
* // Definition: { // Definition
|
|
55
55
|
* // IamActionDefinition: { // IamActionDefinition
|
|
@@ -71,7 +71,7 @@ export interface DescribeBudgetActionCommandOutput extends DescribeBudgetActionR
|
|
|
71
71
|
* // ],
|
|
72
72
|
* // },
|
|
73
73
|
* // SsmActionDefinition: { // SsmActionDefinition
|
|
74
|
-
* // ActionSubType: "
|
|
74
|
+
* // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
75
75
|
* // Region: "STRING_VALUE", // required
|
|
76
76
|
* // InstanceIds: [ // InstanceIds // required
|
|
77
77
|
* // "STRING_VALUE",
|
|
@@ -79,11 +79,11 @@ export interface DescribeBudgetActionCommandOutput extends DescribeBudgetActionR
|
|
|
79
79
|
* // },
|
|
80
80
|
* // },
|
|
81
81
|
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
82
|
-
* // ApprovalModel: "
|
|
83
|
-
* // Status: "
|
|
82
|
+
* // ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
83
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
84
84
|
* // Subscribers: [ // Subscribers // required
|
|
85
85
|
* // { // Subscriber
|
|
86
|
-
* // SubscriptionType: "
|
|
86
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
87
87
|
* // Address: "STRING_VALUE", // required
|
|
88
88
|
* // },
|
|
89
89
|
* // ],
|
|
@@ -111,9 +111,8 @@ export interface DescribeBudgetActionCommandOutput extends DescribeBudgetActionR
|
|
|
111
111
|
* <p>We can’t locate the resource that you specified.</p>
|
|
112
112
|
*
|
|
113
113
|
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
-
* <p>
|
|
115
|
-
*
|
|
116
|
-
* </p>
|
|
114
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
115
|
+
* for the account.</p>
|
|
117
116
|
*
|
|
118
117
|
* @throws {@link BudgetsServiceException}
|
|
119
118
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -49,18 +49,18 @@ export interface DescribeBudgetActionHistoriesCommandOutput extends DescribeBudg
|
|
|
49
49
|
* // ActionHistories: [ // ActionHistories // required
|
|
50
50
|
* // { // ActionHistory
|
|
51
51
|
* // Timestamp: new Date("TIMESTAMP"), // required
|
|
52
|
-
* // Status: "
|
|
53
|
-
* // EventType: "
|
|
52
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
53
|
+
* // EventType: "SYSTEM" || "CREATE_ACTION" || "DELETE_ACTION" || "UPDATE_ACTION" || "EXECUTE_ACTION", // required
|
|
54
54
|
* // ActionHistoryDetails: { // ActionHistoryDetails
|
|
55
55
|
* // Message: "STRING_VALUE", // required
|
|
56
56
|
* // Action: { // Action
|
|
57
57
|
* // ActionId: "STRING_VALUE", // required
|
|
58
58
|
* // BudgetName: "STRING_VALUE", // required
|
|
59
|
-
* // NotificationType: "
|
|
60
|
-
* // ActionType: "
|
|
59
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
60
|
+
* // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
61
61
|
* // ActionThreshold: { // ActionThreshold
|
|
62
62
|
* // ActionThresholdValue: Number("double"), // required
|
|
63
|
-
* // ActionThresholdType: "
|
|
63
|
+
* // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
64
64
|
* // },
|
|
65
65
|
* // Definition: { // Definition
|
|
66
66
|
* // IamActionDefinition: { // IamActionDefinition
|
|
@@ -82,7 +82,7 @@ export interface DescribeBudgetActionHistoriesCommandOutput extends DescribeBudg
|
|
|
82
82
|
* // ],
|
|
83
83
|
* // },
|
|
84
84
|
* // SsmActionDefinition: { // SsmActionDefinition
|
|
85
|
-
* // ActionSubType: "
|
|
85
|
+
* // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
86
86
|
* // Region: "STRING_VALUE", // required
|
|
87
87
|
* // InstanceIds: [ // InstanceIds // required
|
|
88
88
|
* // "STRING_VALUE",
|
|
@@ -90,11 +90,11 @@ export interface DescribeBudgetActionHistoriesCommandOutput extends DescribeBudg
|
|
|
90
90
|
* // },
|
|
91
91
|
* // },
|
|
92
92
|
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
93
|
-
* // ApprovalModel: "
|
|
94
|
-
* // Status: "
|
|
93
|
+
* // ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
94
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
95
95
|
* // Subscribers: [ // Subscribers // required
|
|
96
96
|
* // { // Subscriber
|
|
97
|
-
* // SubscriptionType: "
|
|
97
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
98
98
|
* // Address: "STRING_VALUE", // required
|
|
99
99
|
* // },
|
|
100
100
|
* // ],
|
|
@@ -129,9 +129,8 @@ export interface DescribeBudgetActionHistoriesCommandOutput extends DescribeBudg
|
|
|
129
129
|
* <p>We can’t locate the resource that you specified.</p>
|
|
130
130
|
*
|
|
131
131
|
* @throws {@link ThrottlingException} (client fault)
|
|
132
|
-
* <p>
|
|
133
|
-
*
|
|
134
|
-
* </p>
|
|
132
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
133
|
+
* for the account.</p>
|
|
135
134
|
*
|
|
136
135
|
* @throws {@link BudgetsServiceException}
|
|
137
136
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -44,11 +44,11 @@ export interface DescribeBudgetActionsForAccountCommandOutput extends DescribeBu
|
|
|
44
44
|
* // { // Action
|
|
45
45
|
* // ActionId: "STRING_VALUE", // required
|
|
46
46
|
* // BudgetName: "STRING_VALUE", // required
|
|
47
|
-
* // NotificationType: "
|
|
48
|
-
* // ActionType: "
|
|
47
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
48
|
+
* // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
49
49
|
* // ActionThreshold: { // ActionThreshold
|
|
50
50
|
* // ActionThresholdValue: Number("double"), // required
|
|
51
|
-
* // ActionThresholdType: "
|
|
51
|
+
* // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
52
52
|
* // },
|
|
53
53
|
* // Definition: { // Definition
|
|
54
54
|
* // IamActionDefinition: { // IamActionDefinition
|
|
@@ -70,7 +70,7 @@ export interface DescribeBudgetActionsForAccountCommandOutput extends DescribeBu
|
|
|
70
70
|
* // ],
|
|
71
71
|
* // },
|
|
72
72
|
* // SsmActionDefinition: { // SsmActionDefinition
|
|
73
|
-
* // ActionSubType: "
|
|
73
|
+
* // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
74
74
|
* // Region: "STRING_VALUE", // required
|
|
75
75
|
* // InstanceIds: [ // InstanceIds // required
|
|
76
76
|
* // "STRING_VALUE",
|
|
@@ -78,11 +78,11 @@ export interface DescribeBudgetActionsForAccountCommandOutput extends DescribeBu
|
|
|
78
78
|
* // },
|
|
79
79
|
* // },
|
|
80
80
|
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
81
|
-
* // ApprovalModel: "
|
|
82
|
-
* // Status: "
|
|
81
|
+
* // ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
82
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
83
83
|
* // Subscribers: [ // Subscribers // required
|
|
84
84
|
* // { // Subscriber
|
|
85
|
-
* // SubscriptionType: "
|
|
85
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
86
86
|
* // Address: "STRING_VALUE", // required
|
|
87
87
|
* // },
|
|
88
88
|
* // ],
|
|
@@ -112,9 +112,8 @@ export interface DescribeBudgetActionsForAccountCommandOutput extends DescribeBu
|
|
|
112
112
|
* <p>An error on the client occurred. Typically, the cause is an invalid input value.</p>
|
|
113
113
|
*
|
|
114
114
|
* @throws {@link ThrottlingException} (client fault)
|
|
115
|
-
* <p>
|
|
116
|
-
*
|
|
117
|
-
* </p>
|
|
115
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
116
|
+
* for the account.</p>
|
|
118
117
|
*
|
|
119
118
|
* @throws {@link BudgetsServiceException}
|
|
120
119
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -45,11 +45,11 @@ export interface DescribeBudgetActionsForBudgetCommandOutput extends DescribeBud
|
|
|
45
45
|
* // { // Action
|
|
46
46
|
* // ActionId: "STRING_VALUE", // required
|
|
47
47
|
* // BudgetName: "STRING_VALUE", // required
|
|
48
|
-
* // NotificationType: "
|
|
49
|
-
* // ActionType: "
|
|
48
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
49
|
+
* // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
50
50
|
* // ActionThreshold: { // ActionThreshold
|
|
51
51
|
* // ActionThresholdValue: Number("double"), // required
|
|
52
|
-
* // ActionThresholdType: "
|
|
52
|
+
* // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
53
53
|
* // },
|
|
54
54
|
* // Definition: { // Definition
|
|
55
55
|
* // IamActionDefinition: { // IamActionDefinition
|
|
@@ -71,7 +71,7 @@ export interface DescribeBudgetActionsForBudgetCommandOutput extends DescribeBud
|
|
|
71
71
|
* // ],
|
|
72
72
|
* // },
|
|
73
73
|
* // SsmActionDefinition: { // SsmActionDefinition
|
|
74
|
-
* // ActionSubType: "
|
|
74
|
+
* // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
75
75
|
* // Region: "STRING_VALUE", // required
|
|
76
76
|
* // InstanceIds: [ // InstanceIds // required
|
|
77
77
|
* // "STRING_VALUE",
|
|
@@ -79,11 +79,11 @@ export interface DescribeBudgetActionsForBudgetCommandOutput extends DescribeBud
|
|
|
79
79
|
* // },
|
|
80
80
|
* // },
|
|
81
81
|
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
82
|
-
* // ApprovalModel: "
|
|
83
|
-
* // Status: "
|
|
82
|
+
* // ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
83
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
84
84
|
* // Subscribers: [ // Subscribers // required
|
|
85
85
|
* // { // Subscriber
|
|
86
|
-
* // SubscriptionType: "
|
|
86
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
87
87
|
* // Address: "STRING_VALUE", // required
|
|
88
88
|
* // },
|
|
89
89
|
* // ],
|
|
@@ -116,9 +116,8 @@ export interface DescribeBudgetActionsForBudgetCommandOutput extends DescribeBud
|
|
|
116
116
|
* <p>We can’t locate the resource that you specified.</p>
|
|
117
117
|
*
|
|
118
118
|
* @throws {@link ThrottlingException} (client fault)
|
|
119
|
-
* <p>
|
|
120
|
-
*
|
|
121
|
-
* </p>
|
|
119
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
120
|
+
* for the account.</p>
|
|
122
121
|
*
|
|
123
122
|
* @throws {@link BudgetsServiceException}
|
|
124
123
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -24,9 +24,9 @@ export interface DescribeBudgetCommandOutput extends DescribeBudgetResponse, __M
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes a budget.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudget.html#API_DescribeBudget_Examples">Examples</a> section. </p>
|
|
29
|
+
* </important>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -70,7 +70,7 @@ export interface DescribeBudgetCommandOutput extends DescribeBudgetResponse, __M
|
|
|
70
70
|
* // IncludeDiscount: true || false,
|
|
71
71
|
* // UseAmortized: true || false,
|
|
72
72
|
* // },
|
|
73
|
-
* // TimeUnit: "
|
|
73
|
+
* // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
|
|
74
74
|
* // TimePeriod: { // TimePeriod
|
|
75
75
|
* // Start: new Date("TIMESTAMP"),
|
|
76
76
|
* // End: new Date("TIMESTAMP"),
|
|
@@ -85,10 +85,10 @@ export interface DescribeBudgetCommandOutput extends DescribeBudgetResponse, __M
|
|
|
85
85
|
* // Unit: "STRING_VALUE", // required
|
|
86
86
|
* // },
|
|
87
87
|
* // },
|
|
88
|
-
* // BudgetType: "
|
|
88
|
+
* // BudgetType: "USAGE" || "COST" || "RI_UTILIZATION" || "RI_COVERAGE" || "SAVINGS_PLANS_UTILIZATION" || "SAVINGS_PLANS_COVERAGE", // required
|
|
89
89
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
90
90
|
* // AutoAdjustData: { // AutoAdjustData
|
|
91
|
-
* // AutoAdjustType: "
|
|
91
|
+
* // AutoAdjustType: "HISTORICAL" || "FORECAST", // required
|
|
92
92
|
* // HistoricalOptions: { // HistoricalOptions
|
|
93
93
|
* // BudgetAdjustmentPeriod: Number("int"), // required
|
|
94
94
|
* // LookBackAvailablePeriods: Number("int"),
|
|
@@ -119,9 +119,8 @@ export interface DescribeBudgetCommandOutput extends DescribeBudgetResponse, __M
|
|
|
119
119
|
* <p>We can’t locate the resource that you specified.</p>
|
|
120
120
|
*
|
|
121
121
|
* @throws {@link ThrottlingException} (client fault)
|
|
122
|
-
* <p>
|
|
123
|
-
*
|
|
124
|
-
* </p>
|
|
122
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
123
|
+
* for the account.</p>
|
|
125
124
|
*
|
|
126
125
|
* @throws {@link BudgetsServiceException}
|
|
127
126
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -44,11 +44,11 @@ export interface DescribeBudgetNotificationsForAccountCommandOutput extends Desc
|
|
|
44
44
|
* // { // BudgetNotificationsForAccount
|
|
45
45
|
* // Notifications: [ // Notifications
|
|
46
46
|
* // { // Notification
|
|
47
|
-
* // NotificationType: "
|
|
48
|
-
* // ComparisonOperator: "
|
|
47
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
48
|
+
* // ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required
|
|
49
49
|
* // Threshold: Number("double"), // required
|
|
50
|
-
* // ThresholdType: "
|
|
51
|
-
* // NotificationState: "
|
|
50
|
+
* // ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE",
|
|
51
|
+
* // NotificationState: "OK" || "ALARM",
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
54
54
|
* // BudgetName: "STRING_VALUE",
|
|
@@ -84,9 +84,8 @@ export interface DescribeBudgetNotificationsForAccountCommandOutput extends Desc
|
|
|
84
84
|
* <p>We can’t locate the resource that you specified.</p>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
-
* <p>
|
|
88
|
-
*
|
|
89
|
-
* </p>
|
|
87
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
88
|
+
* for the account.</p>
|
|
90
89
|
*
|
|
91
90
|
* @throws {@link BudgetsServiceException}
|
|
92
91
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -45,7 +45,7 @@ export interface DescribeBudgetPerformanceHistoryCommandOutput extends DescribeB
|
|
|
45
45
|
* // { // DescribeBudgetPerformanceHistoryResponse
|
|
46
46
|
* // BudgetPerformanceHistory: { // BudgetPerformanceHistory
|
|
47
47
|
* // BudgetName: "STRING_VALUE",
|
|
48
|
-
* // BudgetType: "
|
|
48
|
+
* // BudgetType: "USAGE" || "COST" || "RI_UTILIZATION" || "RI_COVERAGE" || "SAVINGS_PLANS_UTILIZATION" || "SAVINGS_PLANS_COVERAGE",
|
|
49
49
|
* // CostFilters: { // CostFilters
|
|
50
50
|
* // "<keys>": [ // DimensionValues
|
|
51
51
|
* // "STRING_VALUE",
|
|
@@ -64,7 +64,7 @@ export interface DescribeBudgetPerformanceHistoryCommandOutput extends DescribeB
|
|
|
64
64
|
* // IncludeDiscount: true || false,
|
|
65
65
|
* // UseAmortized: true || false,
|
|
66
66
|
* // },
|
|
67
|
-
* // TimeUnit: "
|
|
67
|
+
* // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY",
|
|
68
68
|
* // BudgetedAndActualAmountsList: [ // BudgetedAndActualAmountsList
|
|
69
69
|
* // { // BudgetedAndActualAmounts
|
|
70
70
|
* // BudgetedAmount: { // Spend
|
|
@@ -112,9 +112,8 @@ export interface DescribeBudgetPerformanceHistoryCommandOutput extends DescribeB
|
|
|
112
112
|
* <p>We can’t locate the resource that you specified.</p>
|
|
113
113
|
*
|
|
114
114
|
* @throws {@link ThrottlingException} (client fault)
|
|
115
|
-
* <p>
|
|
116
|
-
*
|
|
117
|
-
* </p>
|
|
115
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
116
|
+
* for the account.</p>
|
|
118
117
|
*
|
|
119
118
|
* @throws {@link BudgetsServiceException}
|
|
120
119
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -24,9 +24,9 @@ export interface DescribeBudgetsCommandOutput extends DescribeBudgetsResponse, _
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists the budgets that are associated with an account.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudgets.html#API_DescribeBudgets_Examples">Examples</a> section. </p>
|
|
29
|
+
* </important>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -72,7 +72,7 @@ export interface DescribeBudgetsCommandOutput extends DescribeBudgetsResponse, _
|
|
|
72
72
|
* // IncludeDiscount: true || false,
|
|
73
73
|
* // UseAmortized: true || false,
|
|
74
74
|
* // },
|
|
75
|
-
* // TimeUnit: "
|
|
75
|
+
* // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
|
|
76
76
|
* // TimePeriod: { // TimePeriod
|
|
77
77
|
* // Start: new Date("TIMESTAMP"),
|
|
78
78
|
* // End: new Date("TIMESTAMP"),
|
|
@@ -87,10 +87,10 @@ export interface DescribeBudgetsCommandOutput extends DescribeBudgetsResponse, _
|
|
|
87
87
|
* // Unit: "STRING_VALUE", // required
|
|
88
88
|
* // },
|
|
89
89
|
* // },
|
|
90
|
-
* // BudgetType: "
|
|
90
|
+
* // BudgetType: "USAGE" || "COST" || "RI_UTILIZATION" || "RI_COVERAGE" || "SAVINGS_PLANS_UTILIZATION" || "SAVINGS_PLANS_COVERAGE", // required
|
|
91
91
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
92
92
|
* // AutoAdjustData: { // AutoAdjustData
|
|
93
|
-
* // AutoAdjustType: "
|
|
93
|
+
* // AutoAdjustType: "HISTORICAL" || "FORECAST", // required
|
|
94
94
|
* // HistoricalOptions: { // HistoricalOptions
|
|
95
95
|
* // BudgetAdjustmentPeriod: Number("int"), // required
|
|
96
96
|
* // LookBackAvailablePeriods: Number("int"),
|
|
@@ -129,9 +129,8 @@ export interface DescribeBudgetsCommandOutput extends DescribeBudgetsResponse, _
|
|
|
129
129
|
* <p>We can’t locate the resource that you specified.</p>
|
|
130
130
|
*
|
|
131
131
|
* @throws {@link ThrottlingException} (client fault)
|
|
132
|
-
* <p>
|
|
133
|
-
*
|
|
134
|
-
* </p>
|
|
132
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
133
|
+
* for the account.</p>
|
|
135
134
|
*
|
|
136
135
|
* @throws {@link BudgetsServiceException}
|
|
137
136
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -41,11 +41,11 @@ export interface DescribeNotificationsForBudgetCommandOutput extends DescribeNot
|
|
|
41
41
|
* // { // DescribeNotificationsForBudgetResponse
|
|
42
42
|
* // Notifications: [ // Notifications
|
|
43
43
|
* // { // Notification
|
|
44
|
-
* // NotificationType: "
|
|
45
|
-
* // ComparisonOperator: "
|
|
44
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
45
|
+
* // ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required
|
|
46
46
|
* // Threshold: Number("double"), // required
|
|
47
|
-
* // ThresholdType: "
|
|
48
|
-
* // NotificationState: "
|
|
47
|
+
* // ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE",
|
|
48
|
+
* // NotificationState: "OK" || "ALARM",
|
|
49
49
|
* // },
|
|
50
50
|
* // ],
|
|
51
51
|
* // NextToken: "STRING_VALUE",
|
|
@@ -78,9 +78,8 @@ export interface DescribeNotificationsForBudgetCommandOutput extends DescribeNot
|
|
|
78
78
|
* <p>We can’t locate the resource that you specified.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
-
* <p>
|
|
82
|
-
*
|
|
83
|
-
* </p>
|
|
81
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
82
|
+
* for the account.</p>
|
|
84
83
|
*
|
|
85
84
|
* @throws {@link BudgetsServiceException}
|
|
86
85
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -34,11 +34,11 @@ export interface DescribeSubscribersForNotificationCommandOutput extends Describ
|
|
|
34
34
|
* AccountId: "STRING_VALUE", // required
|
|
35
35
|
* BudgetName: "STRING_VALUE", // required
|
|
36
36
|
* Notification: { // Notification
|
|
37
|
-
* NotificationType: "
|
|
38
|
-
* ComparisonOperator: "
|
|
37
|
+
* NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
38
|
+
* ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required
|
|
39
39
|
* Threshold: Number("double"), // required
|
|
40
|
-
* ThresholdType: "
|
|
41
|
-
* NotificationState: "
|
|
40
|
+
* ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE",
|
|
41
|
+
* NotificationState: "OK" || "ALARM",
|
|
42
42
|
* },
|
|
43
43
|
* MaxResults: Number("int"),
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
@@ -48,7 +48,7 @@ export interface DescribeSubscribersForNotificationCommandOutput extends Describ
|
|
|
48
48
|
* // { // DescribeSubscribersForNotificationResponse
|
|
49
49
|
* // Subscribers: [ // Subscribers
|
|
50
50
|
* // { // Subscriber
|
|
51
|
-
* // SubscriptionType: "
|
|
51
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
52
52
|
* // Address: "STRING_VALUE", // required
|
|
53
53
|
* // },
|
|
54
54
|
* // ],
|
|
@@ -82,9 +82,8 @@ export interface DescribeSubscribersForNotificationCommandOutput extends Describ
|
|
|
82
82
|
* <p>We can’t locate the resource that you specified.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
-
* <p>
|
|
86
|
-
*
|
|
87
|
-
* </p>
|
|
85
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
86
|
+
* for the account.</p>
|
|
88
87
|
*
|
|
89
88
|
* @throws {@link BudgetsServiceException}
|
|
90
89
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -36,7 +36,7 @@ export interface ExecuteBudgetActionCommandOutput extends ExecuteBudgetActionRes
|
|
|
36
36
|
* AccountId: "STRING_VALUE", // required
|
|
37
37
|
* BudgetName: "STRING_VALUE", // required
|
|
38
38
|
* ActionId: "STRING_VALUE", // required
|
|
39
|
-
* ExecutionType: "
|
|
39
|
+
* ExecutionType: "APPROVE_BUDGET_ACTION" || "RETRY_BUDGET_ACTION" || "REVERSE_BUDGET_ACTION" || "RESET_BUDGET_ACTION", // required
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ExecuteBudgetActionCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
@@ -44,7 +44,7 @@ export interface ExecuteBudgetActionCommandOutput extends ExecuteBudgetActionRes
|
|
|
44
44
|
* // AccountId: "STRING_VALUE", // required
|
|
45
45
|
* // BudgetName: "STRING_VALUE", // required
|
|
46
46
|
* // ActionId: "STRING_VALUE", // required
|
|
47
|
-
* // ExecutionType: "
|
|
47
|
+
* // ExecutionType: "APPROVE_BUDGET_ACTION" || "RETRY_BUDGET_ACTION" || "REVERSE_BUDGET_ACTION" || "RESET_BUDGET_ACTION", // required
|
|
48
48
|
* // };
|
|
49
49
|
*
|
|
50
50
|
* ```
|
|
@@ -72,9 +72,8 @@ export interface ExecuteBudgetActionCommandOutput extends ExecuteBudgetActionRes
|
|
|
72
72
|
* particular method for the requested resource. </p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
-
* <p>
|
|
76
|
-
*
|
|
77
|
-
* </p>
|
|
75
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
76
|
+
* for the account.</p>
|
|
78
77
|
*
|
|
79
78
|
* @throws {@link BudgetsServiceException}
|
|
80
79
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -36,10 +36,10 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
36
36
|
* AccountId: "STRING_VALUE", // required
|
|
37
37
|
* BudgetName: "STRING_VALUE", // required
|
|
38
38
|
* ActionId: "STRING_VALUE", // required
|
|
39
|
-
* NotificationType: "
|
|
39
|
+
* NotificationType: "ACTUAL" || "FORECASTED",
|
|
40
40
|
* ActionThreshold: { // ActionThreshold
|
|
41
41
|
* ActionThresholdValue: Number("double"), // required
|
|
42
|
-
* ActionThresholdType: "
|
|
42
|
+
* ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* Definition: { // Definition
|
|
45
45
|
* IamActionDefinition: { // IamActionDefinition
|
|
@@ -61,7 +61,7 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
61
61
|
* ],
|
|
62
62
|
* },
|
|
63
63
|
* SsmActionDefinition: { // SsmActionDefinition
|
|
64
|
-
* ActionSubType: "
|
|
64
|
+
* ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
65
65
|
* Region: "STRING_VALUE", // required
|
|
66
66
|
* InstanceIds: [ // InstanceIds // required
|
|
67
67
|
* "STRING_VALUE",
|
|
@@ -69,10 +69,10 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
71
|
* ExecutionRoleArn: "STRING_VALUE",
|
|
72
|
-
* ApprovalModel: "
|
|
72
|
+
* ApprovalModel: "AUTOMATIC" || "MANUAL",
|
|
73
73
|
* Subscribers: [ // Subscribers
|
|
74
74
|
* { // Subscriber
|
|
75
|
-
* SubscriptionType: "
|
|
75
|
+
* SubscriptionType: "SNS" || "EMAIL", // required
|
|
76
76
|
* Address: "STRING_VALUE", // required
|
|
77
77
|
* },
|
|
78
78
|
* ],
|
|
@@ -85,11 +85,11 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
85
85
|
* // OldAction: { // Action
|
|
86
86
|
* // ActionId: "STRING_VALUE", // required
|
|
87
87
|
* // BudgetName: "STRING_VALUE", // required
|
|
88
|
-
* // NotificationType: "
|
|
89
|
-
* // ActionType: "
|
|
88
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
89
|
+
* // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
90
90
|
* // ActionThreshold: { // ActionThreshold
|
|
91
91
|
* // ActionThresholdValue: Number("double"), // required
|
|
92
|
-
* // ActionThresholdType: "
|
|
92
|
+
* // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
93
93
|
* // },
|
|
94
94
|
* // Definition: { // Definition
|
|
95
95
|
* // IamActionDefinition: { // IamActionDefinition
|
|
@@ -111,7 +111,7 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
111
111
|
* // ],
|
|
112
112
|
* // },
|
|
113
113
|
* // SsmActionDefinition: { // SsmActionDefinition
|
|
114
|
-
* // ActionSubType: "
|
|
114
|
+
* // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
115
115
|
* // Region: "STRING_VALUE", // required
|
|
116
116
|
* // InstanceIds: [ // InstanceIds // required
|
|
117
117
|
* // "STRING_VALUE",
|
|
@@ -119,11 +119,11 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
119
119
|
* // },
|
|
120
120
|
* // },
|
|
121
121
|
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
122
|
-
* // ApprovalModel: "
|
|
123
|
-
* // Status: "
|
|
122
|
+
* // ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
123
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
124
124
|
* // Subscribers: [ // Subscribers // required
|
|
125
125
|
* // { // Subscriber
|
|
126
|
-
* // SubscriptionType: "
|
|
126
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
127
127
|
* // Address: "STRING_VALUE", // required
|
|
128
128
|
* // },
|
|
129
129
|
* // ],
|
|
@@ -131,11 +131,11 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
131
131
|
* // NewAction: {
|
|
132
132
|
* // ActionId: "STRING_VALUE", // required
|
|
133
133
|
* // BudgetName: "STRING_VALUE", // required
|
|
134
|
-
* // NotificationType: "
|
|
135
|
-
* // ActionType: "
|
|
134
|
+
* // NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
135
|
+
* // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
136
136
|
* // ActionThreshold: {
|
|
137
137
|
* // ActionThresholdValue: Number("double"), // required
|
|
138
|
-
* // ActionThresholdType: "
|
|
138
|
+
* // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required
|
|
139
139
|
* // },
|
|
140
140
|
* // Definition: {
|
|
141
141
|
* // IamActionDefinition: {
|
|
@@ -157,7 +157,7 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
157
157
|
* // ],
|
|
158
158
|
* // },
|
|
159
159
|
* // SsmActionDefinition: {
|
|
160
|
-
* // ActionSubType: "
|
|
160
|
+
* // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required
|
|
161
161
|
* // Region: "STRING_VALUE", // required
|
|
162
162
|
* // InstanceIds: [ // required
|
|
163
163
|
* // "STRING_VALUE",
|
|
@@ -165,11 +165,11 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
165
165
|
* // },
|
|
166
166
|
* // },
|
|
167
167
|
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
168
|
-
* // ApprovalModel: "
|
|
169
|
-
* // Status: "
|
|
168
|
+
* // ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
169
|
+
* // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required
|
|
170
170
|
* // Subscribers: [ // required
|
|
171
171
|
* // {
|
|
172
|
-
* // SubscriptionType: "
|
|
172
|
+
* // SubscriptionType: "SNS" || "EMAIL", // required
|
|
173
173
|
* // Address: "STRING_VALUE", // required
|
|
174
174
|
* // },
|
|
175
175
|
* // ],
|
|
@@ -201,9 +201,8 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
201
201
|
* particular method for the requested resource. </p>
|
|
202
202
|
*
|
|
203
203
|
* @throws {@link ThrottlingException} (client fault)
|
|
204
|
-
* <p>
|
|
205
|
-
*
|
|
206
|
-
* </p>
|
|
204
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
205
|
+
* for the account.</p>
|
|
207
206
|
*
|
|
208
207
|
* @throws {@link BudgetsServiceException}
|
|
209
208
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|