@aws-sdk/client-budgets 3.48.0 → 3.52.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/README.md +5 -5
- package/dist-cjs/Budgets.js +15 -0
- package/dist-cjs/commands/DescribeBudgetNotificationsForAccountCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +37 -2
- package/dist-cjs/pagination/DescribeBudgetNotificationsForAccountPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +177 -1
- package/dist-es/Budgets.js +15 -0
- package/dist-es/commands/DescribeBudgetNotificationsForAccountCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +25 -0
- package/dist-es/pagination/DescribeBudgetNotificationsForAccountPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +176 -2
- package/dist-types/Budgets.d.ts +15 -6
- package/dist-types/BudgetsClient.d.ts +8 -7
- package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +37 -0
- package/dist-types/commands/UpdateBudgetCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +283 -177
- package/dist-types/pagination/DescribeBudgetNotificationsForAccountPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/Budgets.d.ts +5 -0
- package/dist-types/ts3.4/BudgetsClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +70 -7
- package/dist-types/ts3.4/pagination/DescribeBudgetNotificationsForAccountPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +40 -34
|
@@ -15,9 +15,7 @@ export declare enum ThresholdType {
|
|
|
15
15
|
PERCENTAGE = "PERCENTAGE"
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* <p>
|
|
19
|
-
* The trigger threshold of the action.
|
|
20
|
-
* </p>
|
|
18
|
+
* <p>The trigger threshold of the action. </p>
|
|
21
19
|
*/
|
|
22
20
|
export interface ActionThreshold {
|
|
23
21
|
/**
|
|
@@ -45,33 +43,23 @@ export declare enum ApprovalModel {
|
|
|
45
43
|
MANUAL = "MANUAL"
|
|
46
44
|
}
|
|
47
45
|
/**
|
|
48
|
-
* <p>
|
|
49
|
-
* The AWS Identity and Access Management (IAM) action definition details.
|
|
50
|
-
* </p>
|
|
46
|
+
* <p>The Identity and Access Management (IAM) action definition details. </p>
|
|
51
47
|
*/
|
|
52
48
|
export interface IamActionDefinition {
|
|
53
49
|
/**
|
|
54
|
-
* <p>
|
|
55
|
-
* The Amazon Resource Name (ARN) of the policy to be attached.
|
|
56
|
-
* </p>
|
|
50
|
+
* <p>The Amazon Resource Name (ARN) of the policy to be attached. </p>
|
|
57
51
|
*/
|
|
58
52
|
PolicyArn: string | undefined;
|
|
59
53
|
/**
|
|
60
|
-
* <p>
|
|
61
|
-
* A list of roles to be attached. There must be at least one role.
|
|
62
|
-
* </p>
|
|
54
|
+
* <p>A list of roles to be attached. There must be at least one role. </p>
|
|
63
55
|
*/
|
|
64
56
|
Roles?: string[];
|
|
65
57
|
/**
|
|
66
|
-
* <p>
|
|
67
|
-
* A list of groups to be attached. There must be at least one group.
|
|
68
|
-
* </p>
|
|
58
|
+
* <p>A list of groups to be attached. There must be at least one group. </p>
|
|
69
59
|
*/
|
|
70
60
|
Groups?: string[];
|
|
71
61
|
/**
|
|
72
|
-
* <p>
|
|
73
|
-
* A list of users to be attached. There must be at least one user.
|
|
74
|
-
* </p>
|
|
62
|
+
* <p>A list of users to be attached. There must be at least one user. </p>
|
|
75
63
|
*/
|
|
76
64
|
Users?: string[];
|
|
77
65
|
}
|
|
@@ -82,21 +70,15 @@ export declare namespace IamActionDefinition {
|
|
|
82
70
|
const filterSensitiveLog: (obj: IamActionDefinition) => any;
|
|
83
71
|
}
|
|
84
72
|
/**
|
|
85
|
-
* <p>
|
|
86
|
-
* The service control policies (SCP) action definition details.
|
|
87
|
-
* </p>
|
|
73
|
+
* <p>The service control policies (SCP) action definition details. </p>
|
|
88
74
|
*/
|
|
89
75
|
export interface ScpActionDefinition {
|
|
90
76
|
/**
|
|
91
|
-
* <p>
|
|
92
|
-
* The policy ID attached.
|
|
93
|
-
* </p>
|
|
77
|
+
* <p>The policy ID attached. </p>
|
|
94
78
|
*/
|
|
95
79
|
PolicyId: string | undefined;
|
|
96
80
|
/**
|
|
97
|
-
* <p>
|
|
98
|
-
* A list of target IDs.
|
|
99
|
-
* </p>
|
|
81
|
+
* <p>A list of target IDs. </p>
|
|
100
82
|
*/
|
|
101
83
|
TargetIds: string[] | undefined;
|
|
102
84
|
}
|
|
@@ -111,27 +93,19 @@ export declare enum ActionSubType {
|
|
|
111
93
|
STOP_RDS = "STOP_RDS_INSTANCES"
|
|
112
94
|
}
|
|
113
95
|
/**
|
|
114
|
-
* <p>
|
|
115
|
-
* The AWS Systems Manager (SSM) action definition details.
|
|
116
|
-
* </p>
|
|
96
|
+
* <p>The Amazon Web Services Systems Manager (SSM) action definition details. </p>
|
|
117
97
|
*/
|
|
118
98
|
export interface SsmActionDefinition {
|
|
119
99
|
/**
|
|
120
|
-
* <p>
|
|
121
|
-
* The action subType.
|
|
122
|
-
* </p>
|
|
100
|
+
* <p>The action subType. </p>
|
|
123
101
|
*/
|
|
124
102
|
ActionSubType: ActionSubType | string | undefined;
|
|
125
103
|
/**
|
|
126
|
-
* <p>
|
|
127
|
-
* The Region to run the SSM document.
|
|
128
|
-
* </p>
|
|
104
|
+
* <p>The Region to run the SSM document. </p>
|
|
129
105
|
*/
|
|
130
106
|
Region: string | undefined;
|
|
131
107
|
/**
|
|
132
|
-
* <p>
|
|
133
|
-
* The EC2 and RDS instance IDs.
|
|
134
|
-
* </p>
|
|
108
|
+
* <p>The EC2 and RDS instance IDs. </p>
|
|
135
109
|
*/
|
|
136
110
|
InstanceIds: string[] | undefined;
|
|
137
111
|
}
|
|
@@ -142,27 +116,19 @@ export declare namespace SsmActionDefinition {
|
|
|
142
116
|
const filterSensitiveLog: (obj: SsmActionDefinition) => any;
|
|
143
117
|
}
|
|
144
118
|
/**
|
|
145
|
-
* <p>
|
|
146
|
-
* Specifies all of the type-specific parameters.
|
|
147
|
-
* </p>
|
|
119
|
+
* <p>Specifies all of the type-specific parameters. </p>
|
|
148
120
|
*/
|
|
149
121
|
export interface Definition {
|
|
150
122
|
/**
|
|
151
|
-
* <p>
|
|
152
|
-
* The AWS Identity and Access Management (IAM) action definition details.
|
|
153
|
-
* </p>
|
|
123
|
+
* <p>The Identity and Access Management (IAM) action definition details. </p>
|
|
154
124
|
*/
|
|
155
125
|
IamActionDefinition?: IamActionDefinition;
|
|
156
126
|
/**
|
|
157
|
-
* <p>
|
|
158
|
-
* The service control policies (SCPs) action definition details.
|
|
159
|
-
* </p>
|
|
127
|
+
* <p>The service control policies (SCPs) action definition details. </p>
|
|
160
128
|
*/
|
|
161
129
|
ScpActionDefinition?: ScpActionDefinition;
|
|
162
130
|
/**
|
|
163
|
-
* <p>
|
|
164
|
-
* The AWS Systems Manager (SSM) action definition details.
|
|
165
|
-
* </p>
|
|
131
|
+
* <p>The Amazon Web Services Systems Manager (SSM) action definition details. </p>
|
|
166
132
|
*/
|
|
167
133
|
SsmActionDefinition?: SsmActionDefinition;
|
|
168
134
|
}
|
|
@@ -194,7 +160,7 @@ export declare enum SubscriptionType {
|
|
|
194
160
|
}
|
|
195
161
|
/**
|
|
196
162
|
* <p>The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.</p>
|
|
197
|
-
* <p>For example, an email subscriber
|
|
163
|
+
* <p>For example, an email subscriber has the following parameters:</p>
|
|
198
164
|
* <ul>
|
|
199
165
|
* <li>
|
|
200
166
|
* <p>A <code>subscriptionType</code> of <code>EMAIL</code>
|
|
@@ -208,11 +174,11 @@ export declare enum SubscriptionType {
|
|
|
208
174
|
*/
|
|
209
175
|
export interface Subscriber {
|
|
210
176
|
/**
|
|
211
|
-
* <p>The type of notification that
|
|
177
|
+
* <p>The type of notification that Amazon Web Services sends to a subscriber.</p>
|
|
212
178
|
*/
|
|
213
179
|
SubscriptionType: SubscriptionType | string | undefined;
|
|
214
180
|
/**
|
|
215
|
-
* <p>The address that
|
|
181
|
+
* <p>The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.</p>
|
|
216
182
|
* <p>When you create a subscriber, the value of <code>Address</code> can't contain line breaks.</p>
|
|
217
183
|
*/
|
|
218
184
|
Address: string | undefined;
|
|
@@ -224,15 +190,11 @@ export declare namespace Subscriber {
|
|
|
224
190
|
const filterSensitiveLog: (obj: Subscriber) => any;
|
|
225
191
|
}
|
|
226
192
|
/**
|
|
227
|
-
* <p>
|
|
228
|
-
* A budget action resource.
|
|
229
|
-
* </p>
|
|
193
|
+
* <p>A budget action resource. </p>
|
|
230
194
|
*/
|
|
231
195
|
export interface Action {
|
|
232
196
|
/**
|
|
233
|
-
* <p>
|
|
234
|
-
* A system-generated universally unique identifier (UUID) for the action.
|
|
235
|
-
* </p>
|
|
197
|
+
* <p>A system-generated universally unique identifier (UUID) for the action. </p>
|
|
236
198
|
*/
|
|
237
199
|
ActionId: string | undefined;
|
|
238
200
|
/**
|
|
@@ -244,39 +206,29 @@ export interface Action {
|
|
|
244
206
|
*/
|
|
245
207
|
NotificationType: NotificationType | string | undefined;
|
|
246
208
|
/**
|
|
247
|
-
* <p>
|
|
248
|
-
*
|
|
249
|
-
* </p>
|
|
209
|
+
* <p>The type of action. This defines the type of tasks that can be carried out by this action.
|
|
210
|
+
* This field also determines the format for definition. </p>
|
|
250
211
|
*/
|
|
251
212
|
ActionType: ActionType | string | undefined;
|
|
252
213
|
/**
|
|
253
|
-
* <p>
|
|
254
|
-
* The trigger threshold of the action.
|
|
255
|
-
* </p>
|
|
214
|
+
* <p>The trigger threshold of the action. </p>
|
|
256
215
|
*/
|
|
257
216
|
ActionThreshold: ActionThreshold | undefined;
|
|
258
217
|
/**
|
|
259
|
-
* <p>
|
|
260
|
-
* Where you specify all of the type-specific parameters.
|
|
261
|
-
* </p>
|
|
218
|
+
* <p>Where you specify all of the type-specific parameters. </p>
|
|
262
219
|
*/
|
|
263
220
|
Definition: Definition | undefined;
|
|
264
221
|
/**
|
|
265
|
-
* <p>
|
|
266
|
-
*
|
|
267
|
-
* </p>
|
|
222
|
+
* <p>The role passed for action execution and reversion. Roles and actions must be in the same
|
|
223
|
+
* account. </p>
|
|
268
224
|
*/
|
|
269
225
|
ExecutionRoleArn: string | undefined;
|
|
270
226
|
/**
|
|
271
|
-
* <p>
|
|
272
|
-
* This specifies if the action needs manual or automatic approval.
|
|
273
|
-
* </p>
|
|
227
|
+
* <p>This specifies if the action needs manual or automatic approval. </p>
|
|
274
228
|
*/
|
|
275
229
|
ApprovalModel: ApprovalModel | string | undefined;
|
|
276
230
|
/**
|
|
277
|
-
* <p>
|
|
278
|
-
* The status of action.
|
|
279
|
-
* </p>
|
|
231
|
+
* <p>The status of the action. </p>
|
|
280
232
|
*/
|
|
281
233
|
Status: ActionStatus | string | undefined;
|
|
282
234
|
/**
|
|
@@ -291,9 +243,7 @@ export declare namespace Action {
|
|
|
291
243
|
const filterSensitiveLog: (obj: Action) => any;
|
|
292
244
|
}
|
|
293
245
|
/**
|
|
294
|
-
* <p>
|
|
295
|
-
* The description of details of the event.
|
|
296
|
-
* </p>
|
|
246
|
+
* <p>The description of the details for the event. </p>
|
|
297
247
|
*/
|
|
298
248
|
export interface ActionHistoryDetails {
|
|
299
249
|
/**
|
|
@@ -301,9 +251,7 @@ export interface ActionHistoryDetails {
|
|
|
301
251
|
*/
|
|
302
252
|
Message: string | undefined;
|
|
303
253
|
/**
|
|
304
|
-
* <p>
|
|
305
|
-
* The budget action resource.
|
|
306
|
-
* </p>
|
|
254
|
+
* <p>The budget action resource. </p>
|
|
307
255
|
*/
|
|
308
256
|
Action: Action | undefined;
|
|
309
257
|
}
|
|
@@ -321,31 +269,24 @@ export declare enum EventType {
|
|
|
321
269
|
UpdateAction = "UPDATE_ACTION"
|
|
322
270
|
}
|
|
323
271
|
/**
|
|
324
|
-
* <p>
|
|
325
|
-
* The historical records for a budget action.
|
|
326
|
-
* </p>
|
|
272
|
+
* <p>The historical records for a budget action. </p>
|
|
327
273
|
*/
|
|
328
274
|
export interface ActionHistory {
|
|
329
275
|
/**
|
|
330
|
-
* <p> A generic time stamp. In Java, it
|
|
276
|
+
* <p> A generic time stamp. In Java, it's transformed to a <code>Date</code> object.</p>
|
|
331
277
|
*/
|
|
332
278
|
Timestamp: Date | undefined;
|
|
333
279
|
/**
|
|
334
|
-
* <p>
|
|
335
|
-
* The status of action at the time of the event.
|
|
336
|
-
* </p>
|
|
280
|
+
* <p>The status of action at the time of the event. </p>
|
|
337
281
|
*/
|
|
338
282
|
Status: ActionStatus | string | undefined;
|
|
339
283
|
/**
|
|
340
|
-
* <p>
|
|
341
|
-
*
|
|
342
|
-
* </p>
|
|
284
|
+
* <p>This distinguishes between whether the events are triggered by the user or are generated by
|
|
285
|
+
* the system. </p>
|
|
343
286
|
*/
|
|
344
287
|
EventType: EventType | string | undefined;
|
|
345
288
|
/**
|
|
346
|
-
* <p>
|
|
347
|
-
* The description of details of the event.
|
|
348
|
-
* </p>
|
|
289
|
+
* <p>The description of the details for the event. </p>
|
|
349
290
|
*/
|
|
350
291
|
ActionHistoryDetails: ActionHistoryDetails | undefined;
|
|
351
292
|
}
|
|
@@ -355,9 +296,72 @@ export declare namespace ActionHistory {
|
|
|
355
296
|
*/
|
|
356
297
|
const filterSensitiveLog: (obj: ActionHistory) => any;
|
|
357
298
|
}
|
|
299
|
+
export declare enum AutoAdjustType {
|
|
300
|
+
FORECAST = "FORECAST",
|
|
301
|
+
HISTORICAL = "HISTORICAL"
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* <p>The parameters that define or describe the historical data that your auto-adjusting budget is based on.</p>
|
|
305
|
+
*/
|
|
306
|
+
export interface HistoricalOptions {
|
|
307
|
+
/**
|
|
308
|
+
* <p>The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the <code>TimeUnit</code> granularity of the budget:</p>
|
|
309
|
+
* <ul>
|
|
310
|
+
* <li>
|
|
311
|
+
* <p>For the <code>DAILY</code> granularity, the maximum value is <code>60</code>.</p>
|
|
312
|
+
* </li>
|
|
313
|
+
* <li>
|
|
314
|
+
* <p>For the <code>MONTHLY</code> granularity, the maximum value is <code>12</code>.</p>
|
|
315
|
+
* </li>
|
|
316
|
+
* <li>
|
|
317
|
+
* <p>For the <code>QUARTERLY</code> granularity, the maximum value is <code>4</code>.</p>
|
|
318
|
+
* </li>
|
|
319
|
+
* <li>
|
|
320
|
+
* <p>For the <code>ANNUALLY</code> granularity, the maximum value is <code>1</code>.</p>
|
|
321
|
+
* </li>
|
|
322
|
+
* </ul>
|
|
323
|
+
*/
|
|
324
|
+
BudgetAdjustmentPeriod: number | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* <p>The integer that describes how many budget periods in your <code>BudgetAdjustmentPeriod</code> are included in the calculation of your current <code>BudgetLimit</code>. If the first budget period in your <code>BudgetAdjustmentPeriod</code> has no cost data, then that budget period isn’t included in the average that determines your budget limit. </p>
|
|
327
|
+
* <p>For example, if you set <code>BudgetAdjustmentPeriod</code> as <code>4</code> quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, <code>LookBackAvailablePeriods</code> returns <code>3</code>. </p>
|
|
328
|
+
* <p>You can’t set your own <code>LookBackAvailablePeriods</code>. The value is automatically calculated from the <code>BudgetAdjustmentPeriod</code> and your historical cost data.</p>
|
|
329
|
+
*/
|
|
330
|
+
LookBackAvailablePeriods?: number;
|
|
331
|
+
}
|
|
332
|
+
export declare namespace HistoricalOptions {
|
|
333
|
+
/**
|
|
334
|
+
* @internal
|
|
335
|
+
*/
|
|
336
|
+
const filterSensitiveLog: (obj: HistoricalOptions) => any;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* <p>The parameters that determine the budget amount for an auto-adjusting budget.</p>
|
|
340
|
+
*/
|
|
341
|
+
export interface AutoAdjustData {
|
|
342
|
+
/**
|
|
343
|
+
* <p>The string that defines whether your budget auto-adjusts based on historical or forecasted data.</p>
|
|
344
|
+
*/
|
|
345
|
+
AutoAdjustType: AutoAdjustType | string | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The parameters that define or describe the historical data that your auto-adjusting budget is based on.</p>
|
|
348
|
+
*/
|
|
349
|
+
HistoricalOptions?: HistoricalOptions;
|
|
350
|
+
/**
|
|
351
|
+
* <p>The last time that your budget was auto-adjusted.</p>
|
|
352
|
+
*/
|
|
353
|
+
LastAutoAdjustTime?: Date;
|
|
354
|
+
}
|
|
355
|
+
export declare namespace AutoAdjustData {
|
|
356
|
+
/**
|
|
357
|
+
* @internal
|
|
358
|
+
*/
|
|
359
|
+
const filterSensitiveLog: (obj: AutoAdjustData) => any;
|
|
360
|
+
}
|
|
358
361
|
/**
|
|
359
|
-
* <p>The amount of cost or usage that
|
|
360
|
-
* <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage
|
|
362
|
+
* <p>The amount of cost or usage that's measured for a budget.</p>
|
|
363
|
+
* <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage has the following
|
|
364
|
+
* parameters:</p>
|
|
361
365
|
* <ul>
|
|
362
366
|
* <li>
|
|
363
367
|
* <p>An <code>Amount</code> of <code>3</code>
|
|
@@ -371,11 +375,13 @@ export declare namespace ActionHistory {
|
|
|
371
375
|
*/
|
|
372
376
|
export interface Spend {
|
|
373
377
|
/**
|
|
374
|
-
* <p>The cost or usage amount that
|
|
378
|
+
* <p>The cost or usage amount that's associated with a budget forecast, actual spend, or budget
|
|
379
|
+
* threshold.</p>
|
|
375
380
|
*/
|
|
376
381
|
Amount: string | undefined;
|
|
377
382
|
/**
|
|
378
|
-
* <p>The unit of measurement that
|
|
383
|
+
* <p>The unit of measurement that's used for the budget forecast, actual spend, or budget
|
|
384
|
+
* threshold, such as USD or GBP.</p>
|
|
379
385
|
*/
|
|
380
386
|
Unit: string | undefined;
|
|
381
387
|
}
|
|
@@ -394,16 +400,22 @@ export declare enum BudgetType {
|
|
|
394
400
|
Usage = "USAGE"
|
|
395
401
|
}
|
|
396
402
|
/**
|
|
397
|
-
* <p>The spend objects that are associated with this budget. The <code>actualSpend</code> tracks
|
|
398
|
-
*
|
|
403
|
+
* <p>The spend objects that are associated with this budget. The <code>actualSpend</code> tracks
|
|
404
|
+
* how much you've used, cost, usage, RI units, or Savings Plans units and the
|
|
405
|
+
* <code>forecastedSpend</code> tracks how much that you're predicted to spend based on
|
|
406
|
+
* your historical usage profile.</p>
|
|
407
|
+
* <p>For example, if it's the 20th of the month and you have spent <code>50</code> dollars on
|
|
408
|
+
* Amazon EC2, your <code>actualSpend</code> is <code>50 USD</code>, and your
|
|
409
|
+
* <code>forecastedSpend</code> is <code>75 USD</code>.</p>
|
|
399
410
|
*/
|
|
400
411
|
export interface CalculatedSpend {
|
|
401
412
|
/**
|
|
402
|
-
* <p>The amount of cost, usage, RI units, or Savings Plans units that you
|
|
413
|
+
* <p>The amount of cost, usage, RI units, or Savings Plans units that you used.</p>
|
|
403
414
|
*/
|
|
404
415
|
ActualSpend: Spend | undefined;
|
|
405
416
|
/**
|
|
406
|
-
* <p>The amount of cost, usage, RI units, or Savings Plans units that you
|
|
417
|
+
* <p>The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to
|
|
418
|
+
* use.</p>
|
|
407
419
|
*/
|
|
408
420
|
ForecastedSpend?: Spend;
|
|
409
421
|
}
|
|
@@ -416,7 +428,9 @@ export declare namespace CalculatedSpend {
|
|
|
416
428
|
/**
|
|
417
429
|
* <p>The types of cost that are included in a <code>COST</code> budget, such as tax and subscriptions.</p>
|
|
418
430
|
* <p>
|
|
419
|
-
* <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>,
|
|
431
|
+
* <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>,
|
|
432
|
+
* <code>SAVINGS_PLANS_UTILIZATION</code>, and <code>SAVINGS_PLANS_COVERAGE</code>
|
|
433
|
+
* budgets don't have <code>CostTypes</code>.</p>
|
|
420
434
|
*/
|
|
421
435
|
export interface CostTypes {
|
|
422
436
|
/**
|
|
@@ -482,17 +496,20 @@ export declare namespace CostTypes {
|
|
|
482
496
|
const filterSensitiveLog: (obj: CostTypes) => any;
|
|
483
497
|
}
|
|
484
498
|
/**
|
|
485
|
-
* <p>The period of time that
|
|
499
|
+
* <p>The period of time that's covered by a budget. The period has a start date and an end date.
|
|
500
|
+
* The start date must come before the end date. There are no restrictions on the end date. </p>
|
|
486
501
|
*/
|
|
487
502
|
export interface TimePeriod {
|
|
488
503
|
/**
|
|
489
|
-
* <p>The start date for a budget. If you created your budget and didn't specify a start date,
|
|
504
|
+
* <p>The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose <code>DAILY</code>, and didn't set a start date, Amazon Web Services set your start date to <code>01/24/18 00:00 UTC</code>. If you chose <code>MONTHLY</code>, Amazon Web Services set your start date to <code>01/01/18 00:00 UTC</code>. The defaults are the same for the Billing and Cost Management console and the API.</p>
|
|
490
505
|
* <p>You can change your start date with the <code>UpdateBudget</code> operation.</p>
|
|
491
506
|
*/
|
|
492
507
|
Start?: Date;
|
|
493
508
|
/**
|
|
494
|
-
* <p>The end date for a budget. If you didn't specify an end date,
|
|
495
|
-
* <p>After the end date,
|
|
509
|
+
* <p>The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to <code>06/15/87 00:00 UTC</code>. The defaults are the same for the Billing and Cost Management console and the API.</p>
|
|
510
|
+
* <p>After the end date, Amazon Web Services deletes the budget and all the associated
|
|
511
|
+
* notifications and subscribers. You can change your end date with the
|
|
512
|
+
* <code>UpdateBudget</code> operation.</p>
|
|
496
513
|
*/
|
|
497
514
|
End?: Date;
|
|
498
515
|
}
|
|
@@ -510,7 +527,7 @@ export declare enum TimeUnit {
|
|
|
510
527
|
}
|
|
511
528
|
/**
|
|
512
529
|
* <p>Represents the output of the <code>CreateBudget</code> operation. The content consists of the detailed metadata and data file information, and the current status of the <code>budget</code> object.</p>
|
|
513
|
-
* <p>This is the ARN pattern for a budget: </p>
|
|
530
|
+
* <p>This is the Amazon Resource Name (ARN) pattern for a budget: </p>
|
|
514
531
|
* <p>
|
|
515
532
|
* <code>arn:aws:budgets::AccountId:budget/budgetName</code>
|
|
516
533
|
* </p>
|
|
@@ -521,32 +538,50 @@ export interface Budget {
|
|
|
521
538
|
*/
|
|
522
539
|
BudgetName: string | undefined;
|
|
523
540
|
/**
|
|
524
|
-
* <p>The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or
|
|
541
|
+
* <p>The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or
|
|
542
|
+
* Savings Plans coverage that you want to track with your budget.</p>
|
|
525
543
|
* <p>
|
|
526
|
-
* <code>BudgetLimit</code> is required for cost or usage budgets, but optional for RI or
|
|
544
|
+
* <code>BudgetLimit</code> is required for cost or usage budgets, but optional for RI or
|
|
545
|
+
* Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or
|
|
546
|
+
* coverage budgets default to <code>100</code>. This is the only valid value for RI or
|
|
547
|
+
* Savings Plans utilization or coverage budgets. You can't use <code>BudgetLimit</code>
|
|
548
|
+
* with <code>PlannedBudgetLimits</code> for <code>CreateBudget</code> and
|
|
549
|
+
* <code>UpdateBudget</code> actions. </p>
|
|
527
550
|
*/
|
|
528
551
|
BudgetLimit?: Spend;
|
|
529
552
|
/**
|
|
530
553
|
* <p>A map containing multiple <code>BudgetLimit</code>, including current or future limits.</p>
|
|
531
554
|
* <p>
|
|
532
|
-
* <code>PlannedBudgetLimits</code> is available for cost or usage budget and supports
|
|
555
|
+
* <code>PlannedBudgetLimits</code> is available for cost or usage budget and supports both
|
|
556
|
+
* monthly and quarterly <code>TimeUnit</code>. </p>
|
|
533
557
|
* <p>For monthly budgets, provide 12 months of <code>PlannedBudgetLimits</code> values. This must start from the current month and include the next 11 months. The <code>key</code> is the start of the month, <code>UTC</code> in epoch seconds. </p>
|
|
534
|
-
* <p>For quarterly budgets, provide
|
|
535
|
-
*
|
|
558
|
+
* <p>For quarterly budgets, provide four quarters of <code>PlannedBudgetLimits</code> value
|
|
559
|
+
* entries in standard calendar quarter increments. This must start from the current
|
|
560
|
+
* quarter and include the next three quarters. The <code>key</code> is the start of the
|
|
561
|
+
* quarter, <code>UTC</code> in epoch seconds. </p>
|
|
562
|
+
* <p>If the planned budget expires before 12 months for monthly or four quarters for quarterly,
|
|
563
|
+
* provide the <code>PlannedBudgetLimits</code> values only for the remaining
|
|
564
|
+
* periods.</p>
|
|
536
565
|
* <p>If the budget begins at a date in the future, provide <code>PlannedBudgetLimits</code> values from the start date of the budget. </p>
|
|
537
566
|
* <p>After all of the <code>BudgetLimit</code> values in <code>PlannedBudgetLimits</code> are used, the budget continues to use the last limit as the <code>BudgetLimit</code>. At that point, the planned budget provides the same experience as a fixed budget. </p>
|
|
538
567
|
* <p>
|
|
539
|
-
* <code>DescribeBudget</code> and <code>DescribeBudgets</code> response along with
|
|
568
|
+
* <code>DescribeBudget</code> and <code>DescribeBudgets</code> response along with
|
|
569
|
+
* <code>PlannedBudgetLimits</code> also contain <code>BudgetLimit</code> representing
|
|
570
|
+
* the current month or quarter limit present in <code>PlannedBudgetLimits</code>. This
|
|
571
|
+
* only applies to budgets that are created with <code>PlannedBudgetLimits</code>. Budgets
|
|
572
|
+
* that are created without <code>PlannedBudgetLimits</code> only contain
|
|
573
|
+
* <code>BudgetLimit</code>. They don't contain
|
|
574
|
+
* <code>PlannedBudgetLimits</code>.</p>
|
|
540
575
|
*/
|
|
541
576
|
PlannedBudgetLimits?: {
|
|
542
577
|
[key: string]: Spend;
|
|
543
578
|
};
|
|
544
579
|
/**
|
|
545
|
-
* <p>The cost filters, such as
|
|
546
|
-
* <p>
|
|
580
|
+
* <p>The cost filters, such as <code>Region</code>, <code>Service</code>, <code>member account</code>, <code>Tag</code>, or <code>Cost Category</code>, that are applied to a budget.</p>
|
|
581
|
+
* <p>Amazon Web Services Budgets supports the following services as a <code>Service</code> filter for RI budgets:</p>
|
|
547
582
|
* <ul>
|
|
548
583
|
* <li>
|
|
549
|
-
* <p>Amazon
|
|
584
|
+
* <p>Amazon EC2</p>
|
|
550
585
|
* </li>
|
|
551
586
|
* <li>
|
|
552
587
|
* <p>Amazon Redshift</p>
|
|
@@ -558,7 +593,7 @@ export interface Budget {
|
|
|
558
593
|
* <p>Amazon ElastiCache</p>
|
|
559
594
|
* </li>
|
|
560
595
|
* <li>
|
|
561
|
-
* <p>Amazon
|
|
596
|
+
* <p>Amazon OpenSearch Service</p>
|
|
562
597
|
* </li>
|
|
563
598
|
* </ul>
|
|
564
599
|
*/
|
|
@@ -576,10 +611,19 @@ export interface Budget {
|
|
|
576
611
|
*/
|
|
577
612
|
TimeUnit: TimeUnit | string | undefined;
|
|
578
613
|
/**
|
|
579
|
-
* <p>The period of time that
|
|
580
|
-
*
|
|
614
|
+
* <p>The period of time that's covered by a budget. You setthe start date and end date. The start
|
|
615
|
+
* date must come before the end date. The end date must come before <code>06/15/87 00:00
|
|
616
|
+
* UTC</code>. </p>
|
|
617
|
+
* <p>If you create your budget and don't specify a start date, Amazon Web Services defaults to the
|
|
618
|
+
* start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example,
|
|
619
|
+
* if you created your budget on January 24, 2018, chose <code>DAILY</code>, and didn't set
|
|
620
|
+
* a start date, Amazon Web Services set your start date to <code>01/24/18 00:00 UTC</code>.
|
|
621
|
+
* If you chose <code>MONTHLY</code>, Amazon Web Services set your start date to
|
|
622
|
+
* <code>01/01/18 00:00 UTC</code>. If you didn't specify an end date, Amazon Web Services set your end date to <code>06/15/87 00:00 UTC</code>. The defaults are the same for
|
|
623
|
+
* the Billing and Cost Management console and the API. </p>
|
|
581
624
|
* <p>You can change either date with the <code>UpdateBudget</code> operation.</p>
|
|
582
|
-
* <p>After the end date,
|
|
625
|
+
* <p>After the end date, Amazon Web Services deletes the budget and all the associated
|
|
626
|
+
* notifications and subscribers.</p>
|
|
583
627
|
*/
|
|
584
628
|
TimePeriod?: TimePeriod;
|
|
585
629
|
/**
|
|
@@ -587,13 +631,18 @@ export interface Budget {
|
|
|
587
631
|
*/
|
|
588
632
|
CalculatedSpend?: CalculatedSpend;
|
|
589
633
|
/**
|
|
590
|
-
* <p>
|
|
634
|
+
* <p>Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings
|
|
635
|
+
* Plans utilization, or Savings Plans coverage.</p>
|
|
591
636
|
*/
|
|
592
637
|
BudgetType: BudgetType | string | undefined;
|
|
593
638
|
/**
|
|
594
639
|
* <p>The last time that you updated this budget.</p>
|
|
595
640
|
*/
|
|
596
641
|
LastUpdatedTime?: Date;
|
|
642
|
+
/**
|
|
643
|
+
* <p>The parameters that determine the budget amount for an auto-adjusting budget.</p>
|
|
644
|
+
*/
|
|
645
|
+
AutoAdjustData?: AutoAdjustData;
|
|
597
646
|
}
|
|
598
647
|
export declare namespace Budget {
|
|
599
648
|
/**
|
|
@@ -611,7 +660,7 @@ export declare enum NotificationState {
|
|
|
611
660
|
OK = "OK"
|
|
612
661
|
}
|
|
613
662
|
/**
|
|
614
|
-
* <p>A notification that
|
|
663
|
+
* <p>A notification that's associated with a budget. A budget can have up to ten notifications. </p>
|
|
615
664
|
* <p>Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.</p>
|
|
616
665
|
* <p>For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:</p>
|
|
617
666
|
* <ul>
|
|
@@ -635,23 +684,27 @@ export declare enum NotificationState {
|
|
|
635
684
|
*/
|
|
636
685
|
export interface Notification {
|
|
637
686
|
/**
|
|
638
|
-
* <p>
|
|
687
|
+
* <p>Specifies whether the notification is for how much you have spent (<code>ACTUAL</code>) or
|
|
688
|
+
* for how much that you're forecasted to spend (<code>FORECASTED</code>).</p>
|
|
639
689
|
*/
|
|
640
690
|
NotificationType: NotificationType | string | undefined;
|
|
641
691
|
/**
|
|
642
|
-
* <p>The comparison that
|
|
692
|
+
* <p>The comparison that's used for this notification.</p>
|
|
643
693
|
*/
|
|
644
694
|
ComparisonOperator: ComparisonOperator | string | undefined;
|
|
645
695
|
/**
|
|
646
|
-
* <p>The threshold that
|
|
696
|
+
* <p>The threshold that's associated with a notification. Thresholds are always a percentage, and
|
|
697
|
+
* many customers find value being alerted between 50% - 200% of the budgeted amount. The
|
|
698
|
+
* maximum limit for your threshold is 1,000,000% above the budgeted amount.</p>
|
|
647
699
|
*/
|
|
648
700
|
Threshold: number | undefined;
|
|
649
701
|
/**
|
|
650
|
-
* <p>The type of threshold for a notification. For <code>ABSOLUTE_VALUE</code> thresholds,
|
|
702
|
+
* <p>The type of threshold for a notification. For <code>ABSOLUTE_VALUE</code> thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For <code>PERCENTAGE</code> thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a <code>PERCENTAGE</code> threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.</p>
|
|
651
703
|
*/
|
|
652
704
|
ThresholdType?: ThresholdType | string;
|
|
653
705
|
/**
|
|
654
|
-
* <p>
|
|
706
|
+
* <p>Specifies whether this notification is in alarm. If a budget notification is in the
|
|
707
|
+
* <code>ALARM</code> state, you passed the set threshold for the budget.</p>
|
|
655
708
|
*/
|
|
656
709
|
NotificationState?: NotificationState | string;
|
|
657
710
|
}
|
|
@@ -666,7 +719,7 @@ export declare namespace Notification {
|
|
|
666
719
|
*/
|
|
667
720
|
export interface NotificationWithSubscribers {
|
|
668
721
|
/**
|
|
669
|
-
* <p>The notification that
|
|
722
|
+
* <p>The notification that's associated with a budget.</p>
|
|
670
723
|
*/
|
|
671
724
|
Notification: Notification | undefined;
|
|
672
725
|
/**
|
|
@@ -693,7 +746,7 @@ export interface CreateBudgetRequest {
|
|
|
693
746
|
*/
|
|
694
747
|
Budget: Budget | undefined;
|
|
695
748
|
/**
|
|
696
|
-
* <p>A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your <code>CreateBudget</code> call,
|
|
749
|
+
* <p>A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your <code>CreateBudget</code> call, Amazon Web Services creates the notifications and subscribers for you.</p>
|
|
697
750
|
*/
|
|
698
751
|
NotificationsWithSubscribers?: NotificationWithSubscribers[];
|
|
699
752
|
}
|
|
@@ -760,7 +813,7 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
760
813
|
}
|
|
761
814
|
export interface CreateBudgetActionRequest {
|
|
762
815
|
/**
|
|
763
|
-
* <p>The account ID of the user. It
|
|
816
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
764
817
|
*/
|
|
765
818
|
AccountId: string | undefined;
|
|
766
819
|
/**
|
|
@@ -778,15 +831,11 @@ export interface CreateBudgetActionRequest {
|
|
|
778
831
|
*/
|
|
779
832
|
ActionType: ActionType | string | undefined;
|
|
780
833
|
/**
|
|
781
|
-
* <p>
|
|
782
|
-
* The trigger threshold of the action.
|
|
783
|
-
* </p>
|
|
834
|
+
* <p>The trigger threshold of the action. </p>
|
|
784
835
|
*/
|
|
785
836
|
ActionThreshold: ActionThreshold | undefined;
|
|
786
837
|
/**
|
|
787
|
-
* <p>
|
|
788
|
-
* Specifies all of the type-specific parameters.
|
|
789
|
-
* </p>
|
|
838
|
+
* <p>Specifies all of the type-specific parameters. </p>
|
|
790
839
|
*/
|
|
791
840
|
Definition: Definition | undefined;
|
|
792
841
|
/**
|
|
@@ -814,7 +863,7 @@ export declare namespace CreateBudgetActionRequest {
|
|
|
814
863
|
}
|
|
815
864
|
export interface CreateBudgetActionResponse {
|
|
816
865
|
/**
|
|
817
|
-
* <p>The account ID of the user. It
|
|
866
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
818
867
|
*/
|
|
819
868
|
AccountId: string | undefined;
|
|
820
869
|
/**
|
|
@@ -854,7 +903,7 @@ export interface CreateNotificationRequest {
|
|
|
854
903
|
*/
|
|
855
904
|
AccountId: string | undefined;
|
|
856
905
|
/**
|
|
857
|
-
* <p>The name of the budget that you want
|
|
906
|
+
* <p>The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.</p>
|
|
858
907
|
*/
|
|
859
908
|
BudgetName: string | undefined;
|
|
860
909
|
/**
|
|
@@ -953,7 +1002,7 @@ export declare namespace DeleteBudgetResponse {
|
|
|
953
1002
|
}
|
|
954
1003
|
export interface DeleteBudgetActionRequest {
|
|
955
1004
|
/**
|
|
956
|
-
* <p>The account ID of the user. It
|
|
1005
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
957
1006
|
*/
|
|
958
1007
|
AccountId: string | undefined;
|
|
959
1008
|
/**
|
|
@@ -975,7 +1024,7 @@ export declare namespace DeleteBudgetActionRequest {
|
|
|
975
1024
|
}
|
|
976
1025
|
export interface DeleteBudgetActionResponse {
|
|
977
1026
|
/**
|
|
978
|
-
* <p>The account ID of the user. It
|
|
1027
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
979
1028
|
*/
|
|
980
1029
|
AccountId: string | undefined;
|
|
981
1030
|
/**
|
|
@@ -983,9 +1032,7 @@ export interface DeleteBudgetActionResponse {
|
|
|
983
1032
|
*/
|
|
984
1033
|
BudgetName: string | undefined;
|
|
985
1034
|
/**
|
|
986
|
-
* <p>
|
|
987
|
-
* A budget action resource.
|
|
988
|
-
* </p>
|
|
1035
|
+
* <p>A budget action resource. </p>
|
|
989
1036
|
*/
|
|
990
1037
|
Action: Action | undefined;
|
|
991
1038
|
}
|
|
@@ -1115,7 +1162,7 @@ export declare namespace DescribeBudgetResponse {
|
|
|
1115
1162
|
}
|
|
1116
1163
|
export interface DescribeBudgetActionRequest {
|
|
1117
1164
|
/**
|
|
1118
|
-
* <p>The account ID of the user. It
|
|
1165
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1119
1166
|
*/
|
|
1120
1167
|
AccountId: string | undefined;
|
|
1121
1168
|
/**
|
|
@@ -1137,7 +1184,7 @@ export declare namespace DescribeBudgetActionRequest {
|
|
|
1137
1184
|
}
|
|
1138
1185
|
export interface DescribeBudgetActionResponse {
|
|
1139
1186
|
/**
|
|
1140
|
-
* <p>The account ID of the user. It
|
|
1187
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1141
1188
|
*/
|
|
1142
1189
|
AccountId: string | undefined;
|
|
1143
1190
|
/**
|
|
@@ -1159,7 +1206,7 @@ export declare namespace DescribeBudgetActionResponse {
|
|
|
1159
1206
|
}
|
|
1160
1207
|
export interface DescribeBudgetActionHistoriesRequest {
|
|
1161
1208
|
/**
|
|
1162
|
-
* <p>The account ID of the user. It
|
|
1209
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1163
1210
|
*/
|
|
1164
1211
|
AccountId: string | undefined;
|
|
1165
1212
|
/**
|
|
@@ -1173,7 +1220,8 @@ export interface DescribeBudgetActionHistoriesRequest {
|
|
|
1173
1220
|
*/
|
|
1174
1221
|
ActionId: string | undefined;
|
|
1175
1222
|
/**
|
|
1176
|
-
* <p>The period of time that
|
|
1223
|
+
* <p>The period of time that's covered by a budget. The period has a start date and an end date.
|
|
1224
|
+
* The start date must come before the end date. There are no restrictions on the end date. </p>
|
|
1177
1225
|
*/
|
|
1178
1226
|
TimePeriod?: TimePeriod;
|
|
1179
1227
|
/**
|
|
@@ -1222,7 +1270,7 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
1222
1270
|
}
|
|
1223
1271
|
export interface DescribeBudgetActionsForAccountRequest {
|
|
1224
1272
|
/**
|
|
1225
|
-
* <p>The account ID of the user. It
|
|
1273
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1226
1274
|
*/
|
|
1227
1275
|
AccountId: string | undefined;
|
|
1228
1276
|
/**
|
|
@@ -1260,7 +1308,7 @@ export declare namespace DescribeBudgetActionsForAccountResponse {
|
|
|
1260
1308
|
}
|
|
1261
1309
|
export interface DescribeBudgetActionsForBudgetRequest {
|
|
1262
1310
|
/**
|
|
1263
|
-
* <p>The account ID of the user. It
|
|
1311
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1264
1312
|
*/
|
|
1265
1313
|
AccountId: string | undefined;
|
|
1266
1314
|
/**
|
|
@@ -1300,9 +1348,81 @@ export declare namespace DescribeBudgetActionsForBudgetResponse {
|
|
|
1300
1348
|
*/
|
|
1301
1349
|
const filterSensitiveLog: (obj: DescribeBudgetActionsForBudgetResponse) => any;
|
|
1302
1350
|
}
|
|
1351
|
+
export interface DescribeBudgetNotificationsForAccountRequest {
|
|
1352
|
+
/**
|
|
1353
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1354
|
+
*/
|
|
1355
|
+
AccountId: string | undefined;
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>
|
|
1358
|
+
* An integer that shows how many budget name entries a paginated response contains.
|
|
1359
|
+
* </p>
|
|
1360
|
+
*/
|
|
1361
|
+
MaxResults?: number;
|
|
1362
|
+
/**
|
|
1363
|
+
* <p> A generic string.</p>
|
|
1364
|
+
*/
|
|
1365
|
+
NextToken?: string;
|
|
1366
|
+
}
|
|
1367
|
+
export declare namespace DescribeBudgetNotificationsForAccountRequest {
|
|
1368
|
+
/**
|
|
1369
|
+
* @internal
|
|
1370
|
+
*/
|
|
1371
|
+
const filterSensitiveLog: (obj: DescribeBudgetNotificationsForAccountRequest) => any;
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* <p>
|
|
1375
|
+
* The budget name and associated notifications for an account.
|
|
1376
|
+
* </p>
|
|
1377
|
+
*/
|
|
1378
|
+
export interface BudgetNotificationsForAccount {
|
|
1379
|
+
/**
|
|
1380
|
+
* <p> A list of notifications.</p>
|
|
1381
|
+
*/
|
|
1382
|
+
Notifications?: Notification[];
|
|
1383
|
+
/**
|
|
1384
|
+
* <p> A string that represents the budget name. The ":" and "\" characters aren't allowed.</p>
|
|
1385
|
+
*/
|
|
1386
|
+
BudgetName?: string;
|
|
1387
|
+
}
|
|
1388
|
+
export declare namespace BudgetNotificationsForAccount {
|
|
1389
|
+
/**
|
|
1390
|
+
* @internal
|
|
1391
|
+
*/
|
|
1392
|
+
const filterSensitiveLog: (obj: BudgetNotificationsForAccount) => any;
|
|
1393
|
+
}
|
|
1394
|
+
export interface DescribeBudgetNotificationsForAccountResponse {
|
|
1395
|
+
/**
|
|
1396
|
+
* <p>
|
|
1397
|
+
* A list of budget names and associated notifications for an account.
|
|
1398
|
+
* </p>
|
|
1399
|
+
*/
|
|
1400
|
+
BudgetNotificationsForAccount?: BudgetNotificationsForAccount[];
|
|
1401
|
+
/**
|
|
1402
|
+
* <p> A generic string.</p>
|
|
1403
|
+
*/
|
|
1404
|
+
NextToken?: string;
|
|
1405
|
+
}
|
|
1406
|
+
export declare namespace DescribeBudgetNotificationsForAccountResponse {
|
|
1407
|
+
/**
|
|
1408
|
+
* @internal
|
|
1409
|
+
*/
|
|
1410
|
+
const filterSensitiveLog: (obj: DescribeBudgetNotificationsForAccountResponse) => any;
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* <p>The pagination token expired.</p>
|
|
1414
|
+
*/
|
|
1415
|
+
export interface ExpiredNextTokenException extends __SmithyException, $MetadataBearer {
|
|
1416
|
+
name: "ExpiredNextTokenException";
|
|
1417
|
+
$fault: "client";
|
|
1418
|
+
/**
|
|
1419
|
+
* <p>The error message the exception carries.</p>
|
|
1420
|
+
*/
|
|
1421
|
+
Message?: string;
|
|
1422
|
+
}
|
|
1303
1423
|
export interface DescribeBudgetPerformanceHistoryRequest {
|
|
1304
1424
|
/**
|
|
1305
|
-
* <p>The account ID of the user. It
|
|
1425
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1306
1426
|
*/
|
|
1307
1427
|
AccountId: string | undefined;
|
|
1308
1428
|
/**
|
|
@@ -1341,7 +1461,7 @@ export interface BudgetedAndActualAmounts {
|
|
|
1341
1461
|
*/
|
|
1342
1462
|
ActualAmount?: Spend;
|
|
1343
1463
|
/**
|
|
1344
|
-
* <p>The time period covered by this budget comparison.</p>
|
|
1464
|
+
* <p>The time period that's covered by this budget comparison.</p>
|
|
1345
1465
|
*/
|
|
1346
1466
|
TimePeriod?: TimePeriod;
|
|
1347
1467
|
}
|
|
@@ -1380,7 +1500,8 @@ export interface BudgetPerformanceHistory {
|
|
|
1380
1500
|
*/
|
|
1381
1501
|
TimeUnit?: TimeUnit | string;
|
|
1382
1502
|
/**
|
|
1383
|
-
* <p>A list of amounts of cost or usage that you created budgets for, compared to your
|
|
1503
|
+
* <p>A list of amounts of cost or usage that you created budgets for, which are compared to your
|
|
1504
|
+
* actual costs or usage.</p>
|
|
1384
1505
|
*/
|
|
1385
1506
|
BudgetedAndActualAmountsList?: BudgetedAndActualAmounts[];
|
|
1386
1507
|
}
|
|
@@ -1407,17 +1528,6 @@ export declare namespace DescribeBudgetPerformanceHistoryResponse {
|
|
|
1407
1528
|
*/
|
|
1408
1529
|
const filterSensitiveLog: (obj: DescribeBudgetPerformanceHistoryResponse) => any;
|
|
1409
1530
|
}
|
|
1410
|
-
/**
|
|
1411
|
-
* <p>The pagination token expired.</p>
|
|
1412
|
-
*/
|
|
1413
|
-
export interface ExpiredNextTokenException extends __SmithyException, $MetadataBearer {
|
|
1414
|
-
name: "ExpiredNextTokenException";
|
|
1415
|
-
$fault: "client";
|
|
1416
|
-
/**
|
|
1417
|
-
* <p>The error message the exception carries.</p>
|
|
1418
|
-
*/
|
|
1419
|
-
Message?: string;
|
|
1420
|
-
}
|
|
1421
1531
|
/**
|
|
1422
1532
|
* <p> Request of DescribeBudgets </p>
|
|
1423
1533
|
*/
|
|
@@ -1564,7 +1674,7 @@ export declare enum ExecutionType {
|
|
|
1564
1674
|
}
|
|
1565
1675
|
export interface ExecuteBudgetActionRequest {
|
|
1566
1676
|
/**
|
|
1567
|
-
* <p>The account ID of the user. It
|
|
1677
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1568
1678
|
*/
|
|
1569
1679
|
AccountId: string | undefined;
|
|
1570
1680
|
/**
|
|
@@ -1592,7 +1702,7 @@ export declare namespace ExecuteBudgetActionRequest {
|
|
|
1592
1702
|
}
|
|
1593
1703
|
export interface ExecuteBudgetActionResponse {
|
|
1594
1704
|
/**
|
|
1595
|
-
* <p>The account ID of the user. It
|
|
1705
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1596
1706
|
*/
|
|
1597
1707
|
AccountId: string | undefined;
|
|
1598
1708
|
/**
|
|
@@ -1650,7 +1760,7 @@ export declare namespace UpdateBudgetResponse {
|
|
|
1650
1760
|
}
|
|
1651
1761
|
export interface UpdateBudgetActionRequest {
|
|
1652
1762
|
/**
|
|
1653
|
-
* <p>The account ID of the user. It
|
|
1763
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1654
1764
|
*/
|
|
1655
1765
|
AccountId: string | undefined;
|
|
1656
1766
|
/**
|
|
@@ -1668,15 +1778,11 @@ export interface UpdateBudgetActionRequest {
|
|
|
1668
1778
|
*/
|
|
1669
1779
|
NotificationType?: NotificationType | string;
|
|
1670
1780
|
/**
|
|
1671
|
-
* <p>
|
|
1672
|
-
* The trigger threshold of the action.
|
|
1673
|
-
* </p>
|
|
1781
|
+
* <p>The trigger threshold of the action. </p>
|
|
1674
1782
|
*/
|
|
1675
1783
|
ActionThreshold?: ActionThreshold;
|
|
1676
1784
|
/**
|
|
1677
|
-
* <p>
|
|
1678
|
-
* Specifies all of the type-specific parameters.
|
|
1679
|
-
* </p>
|
|
1785
|
+
* <p>Specifies all of the type-specific parameters. </p>
|
|
1680
1786
|
*/
|
|
1681
1787
|
Definition?: Definition;
|
|
1682
1788
|
/**
|
|
@@ -1704,7 +1810,7 @@ export declare namespace UpdateBudgetActionRequest {
|
|
|
1704
1810
|
}
|
|
1705
1811
|
export interface UpdateBudgetActionResponse {
|
|
1706
1812
|
/**
|
|
1707
|
-
* <p>The account ID of the user. It
|
|
1813
|
+
* <p>The account ID of the user. It's a 12-digit number.</p>
|
|
1708
1814
|
*/
|
|
1709
1815
|
AccountId: string | undefined;
|
|
1710
1816
|
/**
|