@aws-sdk/client-budgets 3.379.1 → 3.383.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 +327 -89
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = "budgets", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: "booleanEquals", [y]: [{ [z]: "UseFIPS" }, true] }, m = { [x]: "booleanEquals", [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [x]: "getAttr", [y]: [{ [z]: e }, "name"] }, p = { [x]: "booleanEquals", [y]: [{ [z]: "UseFIPS" }, false] }, q = { [x]: "booleanEquals", [y]: [{ [z]: "UseDualStack" }, false] }, r = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsFIPS"] }] }, s = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsDualStack"] }] }, t = [l], u = [m], v = [{ [z]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: a, [y]: [k] }], type: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: k, properties: n, headers: n }, type: d }] }, { conditions: [{ [x]: a, [y]: v }], type: b, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: e }], type: b, rules: [{ conditions: [{ [x]: f, [y]: [o, "aws"] }, p, q], endpoint: { url: "https://budgets.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "us-east-1" }] }, headers: n }, type: d }, { conditions: [{ [x]: f, [y]: [o, "aws-cn"] }, p, q], endpoint: { url: "https://budgets.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "cn-northwest-1" }] }, headers: n }, type: d }, { conditions: [l, m], type: b, rules: [{ conditions: [r, s], type: b, rules: [{ endpoint: { url: "https://budgets-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ endpoint: { url: "https://budgets-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: u, type: b, rules: [{ conditions: [s], type: b, rules: [{ endpoint: { url: "https://budgets.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://budgets.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = "budgets", i = { [w]: false, "type": "String" }, j = { [w]: true, "default": false, "type": "Boolean" }, k = { [z]: "Endpoint" }, l = { [x]: "booleanEquals", [y]: [{ [z]: "UseFIPS" }, true] }, m = { [x]: "booleanEquals", [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [x]: "getAttr", [y]: [{ [z]: e }, "name"] }, p = { [x]: "booleanEquals", [y]: [{ [z]: "UseFIPS" }, false] }, q = { [x]: "booleanEquals", [y]: [{ [z]: "UseDualStack" }, false] }, r = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsFIPS"] }] }, s = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsDualStack"] }] }, t = [l], u = [m], v = [{ [z]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [x]: a, [y]: [k] }], type: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: k, properties: n, headers: n }, type: d }] }, { conditions: [{ [x]: a, [y]: v }], type: b, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: e }], type: b, rules: [{ conditions: [{ [x]: f, [y]: [o, "aws"] }, p, q], endpoint: { url: "https://budgets.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "us-east-1" }] }, headers: n }, type: d }, { conditions: [{ [x]: f, [y]: [o, "aws-cn"] }, p, q], endpoint: { url: "https://budgets.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "cn-northwest-1" }] }, headers: n }, type: d }, { conditions: [l, m], type: b, rules: [{ conditions: [r, s], type: b, rules: [{ endpoint: { url: "https://budgets-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ endpoint: { url: "https://budgets-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: u, type: b, rules: [{ conditions: [s], type: b, rules: [{ endpoint: { url: "https://budgets.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://budgets.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/dist-types/Budgets.d.ts
CHANGED
|
@@ -166,48 +166,48 @@ export interface Budgets {
|
|
|
166
166
|
/**
|
|
167
167
|
* @public
|
|
168
168
|
* <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>
|
|
169
|
-
*
|
|
170
|
-
*
|
|
169
|
+
* <p>Budgets provide you with a way to see the following information:</p>
|
|
170
|
+
* <ul>
|
|
171
171
|
* <li>
|
|
172
|
-
*
|
|
173
|
-
*
|
|
172
|
+
* <p>How close your plan is to your budgeted amount or to the free tier limits</p>
|
|
173
|
+
* </li>
|
|
174
174
|
* <li>
|
|
175
|
-
*
|
|
176
|
-
*
|
|
175
|
+
* <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p>
|
|
176
|
+
* </li>
|
|
177
177
|
* <li>
|
|
178
|
-
*
|
|
179
|
-
*
|
|
178
|
+
* <p>Your current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month</p>
|
|
179
|
+
* </li>
|
|
180
180
|
* <li>
|
|
181
|
-
*
|
|
182
|
-
*
|
|
181
|
+
* <p>How much of your budget has been used</p>
|
|
182
|
+
* </li>
|
|
183
183
|
* </ul>
|
|
184
|
-
*
|
|
185
|
-
*
|
|
184
|
+
* <p>Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:</p>
|
|
185
|
+
* <ul>
|
|
186
186
|
* <li>
|
|
187
|
-
*
|
|
187
|
+
* <p>
|
|
188
188
|
* <b>Cost budgets</b> - Plan how much you want to spend on a service.</p>
|
|
189
|
-
*
|
|
189
|
+
* </li>
|
|
190
190
|
* <li>
|
|
191
|
-
*
|
|
191
|
+
* <p>
|
|
192
192
|
* <b>Usage budgets</b> - Plan how much you want to use one or more services.</p>
|
|
193
|
-
*
|
|
193
|
+
* </li>
|
|
194
194
|
* <li>
|
|
195
|
-
*
|
|
195
|
+
* <p>
|
|
196
196
|
* <b>RI utilization budgets</b> - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.</p>
|
|
197
|
-
*
|
|
197
|
+
* </li>
|
|
198
198
|
* <li>
|
|
199
|
-
*
|
|
199
|
+
* <p>
|
|
200
200
|
* <b>RI coverage budgets</b> - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.</p>
|
|
201
|
-
*
|
|
201
|
+
* </li>
|
|
202
202
|
* </ul>
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
203
|
+
* <p>Service Endpoint</p>
|
|
204
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
205
|
+
* <ul>
|
|
206
206
|
* <li>
|
|
207
|
-
*
|
|
208
|
-
*
|
|
207
|
+
* <p>https://budgets.amazonaws.com</p>
|
|
208
|
+
* </li>
|
|
209
209
|
* </ul>
|
|
210
|
-
*
|
|
210
|
+
* <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>
|
|
211
211
|
*/
|
|
212
212
|
export declare class Budgets extends BudgetsClient implements Budgets {
|
|
213
213
|
}
|
|
@@ -169,48 +169,48 @@ export interface BudgetsClientResolvedConfig extends BudgetsClientResolvedConfig
|
|
|
169
169
|
/**
|
|
170
170
|
* @public
|
|
171
171
|
* <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>
|
|
172
|
-
*
|
|
173
|
-
*
|
|
172
|
+
* <p>Budgets provide you with a way to see the following information:</p>
|
|
173
|
+
* <ul>
|
|
174
174
|
* <li>
|
|
175
|
-
*
|
|
176
|
-
*
|
|
175
|
+
* <p>How close your plan is to your budgeted amount or to the free tier limits</p>
|
|
176
|
+
* </li>
|
|
177
177
|
* <li>
|
|
178
|
-
*
|
|
179
|
-
*
|
|
178
|
+
* <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p>
|
|
179
|
+
* </li>
|
|
180
180
|
* <li>
|
|
181
|
-
*
|
|
182
|
-
*
|
|
181
|
+
* <p>Your current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month</p>
|
|
182
|
+
* </li>
|
|
183
183
|
* <li>
|
|
184
|
-
*
|
|
185
|
-
*
|
|
184
|
+
* <p>How much of your budget has been used</p>
|
|
185
|
+
* </li>
|
|
186
186
|
* </ul>
|
|
187
|
-
*
|
|
188
|
-
*
|
|
187
|
+
* <p>Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:</p>
|
|
188
|
+
* <ul>
|
|
189
189
|
* <li>
|
|
190
|
-
*
|
|
190
|
+
* <p>
|
|
191
191
|
* <b>Cost budgets</b> - Plan how much you want to spend on a service.</p>
|
|
192
|
-
*
|
|
192
|
+
* </li>
|
|
193
193
|
* <li>
|
|
194
|
-
*
|
|
194
|
+
* <p>
|
|
195
195
|
* <b>Usage budgets</b> - Plan how much you want to use one or more services.</p>
|
|
196
|
-
*
|
|
196
|
+
* </li>
|
|
197
197
|
* <li>
|
|
198
|
-
*
|
|
198
|
+
* <p>
|
|
199
199
|
* <b>RI utilization budgets</b> - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.</p>
|
|
200
|
-
*
|
|
200
|
+
* </li>
|
|
201
201
|
* <li>
|
|
202
|
-
*
|
|
202
|
+
* <p>
|
|
203
203
|
* <b>RI coverage budgets</b> - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.</p>
|
|
204
|
-
*
|
|
204
|
+
* </li>
|
|
205
205
|
* </ul>
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
206
|
+
* <p>Service Endpoint</p>
|
|
207
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
208
|
+
* <ul>
|
|
209
209
|
* <li>
|
|
210
|
-
*
|
|
211
|
-
*
|
|
210
|
+
* <p>https://budgets.amazonaws.com</p>
|
|
211
|
+
* </li>
|
|
212
212
|
* </ul>
|
|
213
|
-
*
|
|
213
|
+
* <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>
|
|
214
214
|
*/
|
|
215
215
|
export declare class BudgetsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BudgetsClientResolvedConfig> {
|
|
216
216
|
/**
|
|
@@ -35,11 +35,11 @@ export interface CreateBudgetActionCommandOutput extends CreateBudgetActionRespo
|
|
|
35
35
|
* const input = { // CreateBudgetActionRequest
|
|
36
36
|
* AccountId: "STRING_VALUE", // required
|
|
37
37
|
* BudgetName: "STRING_VALUE", // required
|
|
38
|
-
* NotificationType: "
|
|
39
|
-
* ActionType: "
|
|
38
|
+
* NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
39
|
+
* ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required
|
|
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 CreateBudgetActionCommandOutput extends CreateBudgetActionRespo
|
|
|
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 CreateBudgetActionCommandOutput extends CreateBudgetActionRespo
|
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
71
|
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
72
|
-
* ApprovalModel: "
|
|
72
|
+
* ApprovalModel: "AUTOMATIC" || "MANUAL", // required
|
|
73
73
|
* Subscribers: [ // Subscribers // required
|
|
74
74
|
* { // Subscriber
|
|
75
|
-
* SubscriptionType: "
|
|
75
|
+
* SubscriptionType: "SNS" || "EMAIL", // required
|
|
76
76
|
* Address: "STRING_VALUE", // required
|
|
77
77
|
* },
|
|
78
78
|
* ],
|
|
@@ -112,9 +112,8 @@ export interface CreateBudgetActionCommandOutput extends CreateBudgetActionRespo
|
|
|
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 CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a budget and, if included, notifications and subscribers. </p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>Only one of <code>BudgetLimit</code> or <code>PlannedBudgetLimits</code> can be present in the syntax at one time. Use the syntax that matches your case. 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_CreateBudget.html#API_CreateBudget_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
|
|
@@ -65,7 +65,7 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
65
65
|
* IncludeDiscount: true || false,
|
|
66
66
|
* UseAmortized: true || false,
|
|
67
67
|
* },
|
|
68
|
-
* TimeUnit: "
|
|
68
|
+
* TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
|
|
69
69
|
* TimePeriod: { // TimePeriod
|
|
70
70
|
* Start: new Date("TIMESTAMP"),
|
|
71
71
|
* End: new Date("TIMESTAMP"),
|
|
@@ -80,10 +80,10 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
80
80
|
* Unit: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
82
|
* },
|
|
83
|
-
* BudgetType: "
|
|
83
|
+
* BudgetType: "USAGE" || "COST" || "RI_UTILIZATION" || "RI_COVERAGE" || "SAVINGS_PLANS_UTILIZATION" || "SAVINGS_PLANS_COVERAGE", // required
|
|
84
84
|
* LastUpdatedTime: new Date("TIMESTAMP"),
|
|
85
85
|
* AutoAdjustData: { // AutoAdjustData
|
|
86
|
-
* AutoAdjustType: "
|
|
86
|
+
* AutoAdjustType: "HISTORICAL" || "FORECAST", // required
|
|
87
87
|
* HistoricalOptions: { // HistoricalOptions
|
|
88
88
|
* BudgetAdjustmentPeriod: Number("int"), // required
|
|
89
89
|
* LookBackAvailablePeriods: Number("int"),
|
|
@@ -94,15 +94,15 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
94
94
|
* NotificationsWithSubscribers: [ // NotificationWithSubscribersList
|
|
95
95
|
* { // NotificationWithSubscribers
|
|
96
96
|
* Notification: { // Notification
|
|
97
|
-
* NotificationType: "
|
|
98
|
-
* ComparisonOperator: "
|
|
97
|
+
* NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
98
|
+
* ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required
|
|
99
99
|
* Threshold: Number("double"), // required
|
|
100
|
-
* ThresholdType: "
|
|
101
|
-
* NotificationState: "
|
|
100
|
+
* ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE",
|
|
101
|
+
* NotificationState: "OK" || "ALARM",
|
|
102
102
|
* },
|
|
103
103
|
* Subscribers: [ // Subscribers // required
|
|
104
104
|
* { // Subscriber
|
|
105
|
-
* SubscriptionType: "
|
|
105
|
+
* SubscriptionType: "SNS" || "EMAIL", // required
|
|
106
106
|
* Address: "STRING_VALUE", // required
|
|
107
107
|
* },
|
|
108
108
|
* ],
|
|
@@ -137,9 +137,8 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
137
137
|
* <p>An error on the client occurred. Typically, the cause is an invalid input value.</p>
|
|
138
138
|
*
|
|
139
139
|
* @throws {@link ThrottlingException} (client fault)
|
|
140
|
-
* <p>
|
|
141
|
-
*
|
|
142
|
-
* </p>
|
|
140
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
141
|
+
* for the account.</p>
|
|
143
142
|
*
|
|
144
143
|
* @throws {@link BudgetsServiceException}
|
|
145
144
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -34,15 +34,15 @@ export interface CreateNotificationCommandOutput extends CreateNotificationRespo
|
|
|
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
|
* Subscribers: [ // Subscribers // required
|
|
44
44
|
* { // Subscriber
|
|
45
|
-
* SubscriptionType: "
|
|
45
|
+
* SubscriptionType: "SNS" || "EMAIL", // required
|
|
46
46
|
* Address: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
@@ -78,9 +78,8 @@ export interface CreateNotificationCommandOutput extends CreateNotificationRespo
|
|
|
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,14 +34,14 @@ export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse,
|
|
|
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
|
* Subscriber: { // Subscriber
|
|
44
|
-
* SubscriptionType: "
|
|
44
|
+
* SubscriptionType: "SNS" || "EMAIL", // required
|
|
45
45
|
* Address: "STRING_VALUE", // required
|
|
46
46
|
* },
|
|
47
47
|
* };
|
|
@@ -76,9 +76,8 @@ export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse,
|
|
|
76
76
|
* <p>We can’t locate the resource that you specified.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
-
* <p>
|
|
80
|
-
*
|
|
81
|
-
* </p>
|
|
79
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
80
|
+
* for the account.</p>
|
|
82
81
|
*
|
|
83
82
|
* @throws {@link BudgetsServiceException}
|
|
84
83
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -45,11 +45,11 @@ export interface DeleteBudgetActionCommandOutput extends DeleteBudgetActionRespo
|
|
|
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 DeleteBudgetActionCommandOutput extends DeleteBudgetActionRespo
|
|
|
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 DeleteBudgetActionCommandOutput extends DeleteBudgetActionRespo
|
|
|
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
|
* // ],
|
|
@@ -115,9 +115,8 @@ export interface DeleteBudgetActionCommandOutput extends DeleteBudgetActionRespo
|
|
|
115
115
|
* particular method for the requested resource. </p>
|
|
116
116
|
*
|
|
117
117
|
* @throws {@link ThrottlingException} (client fault)
|
|
118
|
-
* <p>
|
|
119
|
-
*
|
|
120
|
-
* </p>
|
|
118
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
119
|
+
* for the account.</p>
|
|
121
120
|
*
|
|
122
121
|
* @throws {@link BudgetsServiceException}
|
|
123
122
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -24,9 +24,9 @@ export interface DeleteBudgetCommandOutput extends DeleteBudgetResponse, __Metad
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a budget. You can delete your budget at any time.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>Deleting a budget also deletes the notifications and subscribers that are associated with that budget.</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
|
|
@@ -62,9 +62,8 @@ export interface DeleteBudgetCommandOutput extends DeleteBudgetResponse, __Metad
|
|
|
62
62
|
* <p>We can’t locate the resource that you specified.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
-
* <p>
|
|
66
|
-
*
|
|
67
|
-
* </p>
|
|
65
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
66
|
+
* for the account.</p>
|
|
68
67
|
*
|
|
69
68
|
* @throws {@link BudgetsServiceException}
|
|
70
69
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -24,9 +24,9 @@ export interface DeleteNotificationCommandOutput extends DeleteNotificationRespo
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a notification.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>Deleting a notification also deletes the subscribers that are associated with the notification.</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
|
|
@@ -37,11 +37,11 @@ export interface DeleteNotificationCommandOutput extends DeleteNotificationRespo
|
|
|
37
37
|
* AccountId: "STRING_VALUE", // required
|
|
38
38
|
* BudgetName: "STRING_VALUE", // required
|
|
39
39
|
* Notification: { // Notification
|
|
40
|
-
* NotificationType: "
|
|
41
|
-
* ComparisonOperator: "
|
|
40
|
+
* NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
41
|
+
* ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required
|
|
42
42
|
* Threshold: Number("double"), // required
|
|
43
|
-
* ThresholdType: "
|
|
44
|
-
* NotificationState: "
|
|
43
|
+
* ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE",
|
|
44
|
+
* NotificationState: "OK" || "ALARM",
|
|
45
45
|
* },
|
|
46
46
|
* };
|
|
47
47
|
* const command = new DeleteNotificationCommand(input);
|
|
@@ -69,9 +69,8 @@ export interface DeleteNotificationCommandOutput extends DeleteNotificationRespo
|
|
|
69
69
|
* <p>We can’t locate the resource that you specified.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
-
* <p>
|
|
73
|
-
*
|
|
74
|
-
* </p>
|
|
72
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
73
|
+
* for the account.</p>
|
|
75
74
|
*
|
|
76
75
|
* @throws {@link BudgetsServiceException}
|
|
77
76
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
@@ -24,9 +24,9 @@ export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse,
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a subscriber.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>Deleting the last subscriber to a notification also deletes the notification.</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
|
|
@@ -37,14 +37,14 @@ export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse,
|
|
|
37
37
|
* AccountId: "STRING_VALUE", // required
|
|
38
38
|
* BudgetName: "STRING_VALUE", // required
|
|
39
39
|
* Notification: { // Notification
|
|
40
|
-
* NotificationType: "
|
|
41
|
-
* ComparisonOperator: "
|
|
40
|
+
* NotificationType: "ACTUAL" || "FORECASTED", // required
|
|
41
|
+
* ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required
|
|
42
42
|
* Threshold: Number("double"), // required
|
|
43
|
-
* ThresholdType: "
|
|
44
|
-
* NotificationState: "
|
|
43
|
+
* ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE",
|
|
44
|
+
* NotificationState: "OK" || "ALARM",
|
|
45
45
|
* },
|
|
46
46
|
* Subscriber: { // Subscriber
|
|
47
|
-
* SubscriptionType: "
|
|
47
|
+
* SubscriptionType: "SNS" || "EMAIL", // required
|
|
48
48
|
* Address: "STRING_VALUE", // required
|
|
49
49
|
* },
|
|
50
50
|
* };
|
|
@@ -73,9 +73,8 @@ export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse,
|
|
|
73
73
|
* <p>We can’t locate the resource that you specified.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
-
* <p>
|
|
77
|
-
*
|
|
78
|
-
* </p>
|
|
76
|
+
* <p>The number of API requests has exceeded the maximum allowed API request throttling limit
|
|
77
|
+
* for the account.</p>
|
|
79
78
|
*
|
|
80
79
|
* @throws {@link BudgetsServiceException}
|
|
81
80
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|