@aws-sdk/client-budgets 3.315.0 → 3.319.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/Budgets.js +27 -322
- package/dist-es/Budgets.js +27 -322
- package/dist-types/Budgets.d.ts +72 -132
- package/dist-types/ts3.4/Budgets.d.ts +2 -1
- package/package.json +8 -8
package/dist-cjs/Budgets.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Budgets = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const BudgetsClient_1 = require("./BudgetsClient");
|
|
5
6
|
const CreateBudgetActionCommand_1 = require("./commands/CreateBudgetActionCommand");
|
|
6
7
|
const CreateBudgetCommand_1 = require("./commands/CreateBudgetCommand");
|
|
@@ -25,328 +26,32 @@ const UpdateBudgetActionCommand_1 = require("./commands/UpdateBudgetActionComman
|
|
|
25
26
|
const UpdateBudgetCommand_1 = require("./commands/UpdateBudgetCommand");
|
|
26
27
|
const UpdateNotificationCommand_1 = require("./commands/UpdateNotificationCommand");
|
|
27
28
|
const UpdateSubscriberCommand_1 = require("./commands/UpdateSubscriberCommand");
|
|
29
|
+
const commands = {
|
|
30
|
+
CreateBudgetCommand: CreateBudgetCommand_1.CreateBudgetCommand,
|
|
31
|
+
CreateBudgetActionCommand: CreateBudgetActionCommand_1.CreateBudgetActionCommand,
|
|
32
|
+
CreateNotificationCommand: CreateNotificationCommand_1.CreateNotificationCommand,
|
|
33
|
+
CreateSubscriberCommand: CreateSubscriberCommand_1.CreateSubscriberCommand,
|
|
34
|
+
DeleteBudgetCommand: DeleteBudgetCommand_1.DeleteBudgetCommand,
|
|
35
|
+
DeleteBudgetActionCommand: DeleteBudgetActionCommand_1.DeleteBudgetActionCommand,
|
|
36
|
+
DeleteNotificationCommand: DeleteNotificationCommand_1.DeleteNotificationCommand,
|
|
37
|
+
DeleteSubscriberCommand: DeleteSubscriberCommand_1.DeleteSubscriberCommand,
|
|
38
|
+
DescribeBudgetCommand: DescribeBudgetCommand_1.DescribeBudgetCommand,
|
|
39
|
+
DescribeBudgetActionCommand: DescribeBudgetActionCommand_1.DescribeBudgetActionCommand,
|
|
40
|
+
DescribeBudgetActionHistoriesCommand: DescribeBudgetActionHistoriesCommand_1.DescribeBudgetActionHistoriesCommand,
|
|
41
|
+
DescribeBudgetActionsForAccountCommand: DescribeBudgetActionsForAccountCommand_1.DescribeBudgetActionsForAccountCommand,
|
|
42
|
+
DescribeBudgetActionsForBudgetCommand: DescribeBudgetActionsForBudgetCommand_1.DescribeBudgetActionsForBudgetCommand,
|
|
43
|
+
DescribeBudgetNotificationsForAccountCommand: DescribeBudgetNotificationsForAccountCommand_1.DescribeBudgetNotificationsForAccountCommand,
|
|
44
|
+
DescribeBudgetPerformanceHistoryCommand: DescribeBudgetPerformanceHistoryCommand_1.DescribeBudgetPerformanceHistoryCommand,
|
|
45
|
+
DescribeBudgetsCommand: DescribeBudgetsCommand_1.DescribeBudgetsCommand,
|
|
46
|
+
DescribeNotificationsForBudgetCommand: DescribeNotificationsForBudgetCommand_1.DescribeNotificationsForBudgetCommand,
|
|
47
|
+
DescribeSubscribersForNotificationCommand: DescribeSubscribersForNotificationCommand_1.DescribeSubscribersForNotificationCommand,
|
|
48
|
+
ExecuteBudgetActionCommand: ExecuteBudgetActionCommand_1.ExecuteBudgetActionCommand,
|
|
49
|
+
UpdateBudgetCommand: UpdateBudgetCommand_1.UpdateBudgetCommand,
|
|
50
|
+
UpdateBudgetActionCommand: UpdateBudgetActionCommand_1.UpdateBudgetActionCommand,
|
|
51
|
+
UpdateNotificationCommand: UpdateNotificationCommand_1.UpdateNotificationCommand,
|
|
52
|
+
UpdateSubscriberCommand: UpdateSubscriberCommand_1.UpdateSubscriberCommand,
|
|
53
|
+
};
|
|
28
54
|
class Budgets extends BudgetsClient_1.BudgetsClient {
|
|
29
|
-
createBudget(args, optionsOrCb, cb) {
|
|
30
|
-
const command = new CreateBudgetCommand_1.CreateBudgetCommand(args);
|
|
31
|
-
if (typeof optionsOrCb === "function") {
|
|
32
|
-
this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
else if (typeof cb === "function") {
|
|
35
|
-
if (typeof optionsOrCb !== "object")
|
|
36
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
37
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
createBudgetAction(args, optionsOrCb, cb) {
|
|
44
|
-
const command = new CreateBudgetActionCommand_1.CreateBudgetActionCommand(args);
|
|
45
|
-
if (typeof optionsOrCb === "function") {
|
|
46
|
-
this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
else if (typeof cb === "function") {
|
|
49
|
-
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
return this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
createNotification(args, optionsOrCb, cb) {
|
|
58
|
-
const command = new CreateNotificationCommand_1.CreateNotificationCommand(args);
|
|
59
|
-
if (typeof optionsOrCb === "function") {
|
|
60
|
-
this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
else if (typeof cb === "function") {
|
|
63
|
-
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
return this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
createSubscriber(args, optionsOrCb, cb) {
|
|
72
|
-
const command = new CreateSubscriberCommand_1.CreateSubscriberCommand(args);
|
|
73
|
-
if (typeof optionsOrCb === "function") {
|
|
74
|
-
this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
else if (typeof cb === "function") {
|
|
77
|
-
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
deleteBudget(args, optionsOrCb, cb) {
|
|
86
|
-
const command = new DeleteBudgetCommand_1.DeleteBudgetCommand(args);
|
|
87
|
-
if (typeof optionsOrCb === "function") {
|
|
88
|
-
this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
else if (typeof cb === "function") {
|
|
91
|
-
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
deleteBudgetAction(args, optionsOrCb, cb) {
|
|
100
|
-
const command = new DeleteBudgetActionCommand_1.DeleteBudgetActionCommand(args);
|
|
101
|
-
if (typeof optionsOrCb === "function") {
|
|
102
|
-
this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
else if (typeof cb === "function") {
|
|
105
|
-
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
deleteNotification(args, optionsOrCb, cb) {
|
|
114
|
-
const command = new DeleteNotificationCommand_1.DeleteNotificationCommand(args);
|
|
115
|
-
if (typeof optionsOrCb === "function") {
|
|
116
|
-
this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
else if (typeof cb === "function") {
|
|
119
|
-
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
deleteSubscriber(args, optionsOrCb, cb) {
|
|
128
|
-
const command = new DeleteSubscriberCommand_1.DeleteSubscriberCommand(args);
|
|
129
|
-
if (typeof optionsOrCb === "function") {
|
|
130
|
-
this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
else if (typeof cb === "function") {
|
|
133
|
-
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
describeBudget(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new DescribeBudgetCommand_1.DescribeBudgetCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
describeBudgetAction(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new DescribeBudgetActionCommand_1.DescribeBudgetActionCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
describeBudgetActionHistories(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new DescribeBudgetActionHistoriesCommand_1.DescribeBudgetActionHistoriesCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
describeBudgetActionsForAccount(args, optionsOrCb, cb) {
|
|
184
|
-
const command = new DescribeBudgetActionsForAccountCommand_1.DescribeBudgetActionsForAccountCommand(args);
|
|
185
|
-
if (typeof optionsOrCb === "function") {
|
|
186
|
-
this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
else if (typeof cb === "function") {
|
|
189
|
-
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
describeBudgetActionsForBudget(args, optionsOrCb, cb) {
|
|
198
|
-
const command = new DescribeBudgetActionsForBudgetCommand_1.DescribeBudgetActionsForBudgetCommand(args);
|
|
199
|
-
if (typeof optionsOrCb === "function") {
|
|
200
|
-
this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
else if (typeof cb === "function") {
|
|
203
|
-
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
return this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
describeBudgetNotificationsForAccount(args, optionsOrCb, cb) {
|
|
212
|
-
const command = new DescribeBudgetNotificationsForAccountCommand_1.DescribeBudgetNotificationsForAccountCommand(args);
|
|
213
|
-
if (typeof optionsOrCb === "function") {
|
|
214
|
-
this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
else if (typeof cb === "function") {
|
|
217
|
-
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
describeBudgetPerformanceHistory(args, optionsOrCb, cb) {
|
|
226
|
-
const command = new DescribeBudgetPerformanceHistoryCommand_1.DescribeBudgetPerformanceHistoryCommand(args);
|
|
227
|
-
if (typeof optionsOrCb === "function") {
|
|
228
|
-
this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
else if (typeof cb === "function") {
|
|
231
|
-
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
return this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
describeBudgets(args, optionsOrCb, cb) {
|
|
240
|
-
const command = new DescribeBudgetsCommand_1.DescribeBudgetsCommand(args);
|
|
241
|
-
if (typeof optionsOrCb === "function") {
|
|
242
|
-
this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
else if (typeof cb === "function") {
|
|
245
|
-
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
describeNotificationsForBudget(args, optionsOrCb, cb) {
|
|
254
|
-
const command = new DescribeNotificationsForBudgetCommand_1.DescribeNotificationsForBudgetCommand(args);
|
|
255
|
-
if (typeof optionsOrCb === "function") {
|
|
256
|
-
this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
return this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
describeSubscribersForNotification(args, optionsOrCb, cb) {
|
|
268
|
-
const command = new DescribeSubscribersForNotificationCommand_1.DescribeSubscribersForNotificationCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
else if (typeof cb === "function") {
|
|
273
|
-
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
return this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
executeBudgetAction(args, optionsOrCb, cb) {
|
|
282
|
-
const command = new ExecuteBudgetActionCommand_1.ExecuteBudgetActionCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
else if (typeof cb === "function") {
|
|
287
|
-
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
return this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
updateBudget(args, optionsOrCb, cb) {
|
|
296
|
-
const command = new UpdateBudgetCommand_1.UpdateBudgetCommand(args);
|
|
297
|
-
if (typeof optionsOrCb === "function") {
|
|
298
|
-
this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
else if (typeof cb === "function") {
|
|
301
|
-
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
return this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
updateBudgetAction(args, optionsOrCb, cb) {
|
|
310
|
-
const command = new UpdateBudgetActionCommand_1.UpdateBudgetActionCommand(args);
|
|
311
|
-
if (typeof optionsOrCb === "function") {
|
|
312
|
-
this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
updateNotification(args, optionsOrCb, cb) {
|
|
324
|
-
const command = new UpdateNotificationCommand_1.UpdateNotificationCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
else if (typeof cb === "function") {
|
|
329
|
-
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
updateSubscriber(args, optionsOrCb, cb) {
|
|
338
|
-
const command = new UpdateSubscriberCommand_1.UpdateSubscriberCommand(args);
|
|
339
|
-
if (typeof optionsOrCb === "function") {
|
|
340
|
-
this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
else if (typeof cb === "function") {
|
|
343
|
-
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
return this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
55
|
}
|
|
352
56
|
exports.Budgets = Budgets;
|
|
57
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Budgets);
|
package/dist-es/Budgets.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { BudgetsClient } from "./BudgetsClient";
|
|
2
3
|
import { CreateBudgetActionCommand, } from "./commands/CreateBudgetActionCommand";
|
|
3
4
|
import { CreateBudgetCommand, } from "./commands/CreateBudgetCommand";
|
|
@@ -22,327 +23,31 @@ import { UpdateBudgetActionCommand, } from "./commands/UpdateBudgetActionCommand
|
|
|
22
23
|
import { UpdateBudgetCommand, } from "./commands/UpdateBudgetCommand";
|
|
23
24
|
import { UpdateNotificationCommand, } from "./commands/UpdateNotificationCommand";
|
|
24
25
|
import { UpdateSubscriberCommand, } from "./commands/UpdateSubscriberCommand";
|
|
26
|
+
const commands = {
|
|
27
|
+
CreateBudgetCommand,
|
|
28
|
+
CreateBudgetActionCommand,
|
|
29
|
+
CreateNotificationCommand,
|
|
30
|
+
CreateSubscriberCommand,
|
|
31
|
+
DeleteBudgetCommand,
|
|
32
|
+
DeleteBudgetActionCommand,
|
|
33
|
+
DeleteNotificationCommand,
|
|
34
|
+
DeleteSubscriberCommand,
|
|
35
|
+
DescribeBudgetCommand,
|
|
36
|
+
DescribeBudgetActionCommand,
|
|
37
|
+
DescribeBudgetActionHistoriesCommand,
|
|
38
|
+
DescribeBudgetActionsForAccountCommand,
|
|
39
|
+
DescribeBudgetActionsForBudgetCommand,
|
|
40
|
+
DescribeBudgetNotificationsForAccountCommand,
|
|
41
|
+
DescribeBudgetPerformanceHistoryCommand,
|
|
42
|
+
DescribeBudgetsCommand,
|
|
43
|
+
DescribeNotificationsForBudgetCommand,
|
|
44
|
+
DescribeSubscribersForNotificationCommand,
|
|
45
|
+
ExecuteBudgetActionCommand,
|
|
46
|
+
UpdateBudgetCommand,
|
|
47
|
+
UpdateBudgetActionCommand,
|
|
48
|
+
UpdateNotificationCommand,
|
|
49
|
+
UpdateSubscriberCommand,
|
|
50
|
+
};
|
|
25
51
|
export class Budgets extends BudgetsClient {
|
|
26
|
-
createBudget(args, optionsOrCb, cb) {
|
|
27
|
-
const command = new CreateBudgetCommand(args);
|
|
28
|
-
if (typeof optionsOrCb === "function") {
|
|
29
|
-
this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
else if (typeof cb === "function") {
|
|
32
|
-
if (typeof optionsOrCb !== "object")
|
|
33
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
34
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
return this.send(command, optionsOrCb);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
createBudgetAction(args, optionsOrCb, cb) {
|
|
41
|
-
const command = new CreateBudgetActionCommand(args);
|
|
42
|
-
if (typeof optionsOrCb === "function") {
|
|
43
|
-
this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
else if (typeof cb === "function") {
|
|
46
|
-
if (typeof optionsOrCb !== "object")
|
|
47
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
48
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
return this.send(command, optionsOrCb);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
createNotification(args, optionsOrCb, cb) {
|
|
55
|
-
const command = new CreateNotificationCommand(args);
|
|
56
|
-
if (typeof optionsOrCb === "function") {
|
|
57
|
-
this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
else if (typeof cb === "function") {
|
|
60
|
-
if (typeof optionsOrCb !== "object")
|
|
61
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
62
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
return this.send(command, optionsOrCb);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
createSubscriber(args, optionsOrCb, cb) {
|
|
69
|
-
const command = new CreateSubscriberCommand(args);
|
|
70
|
-
if (typeof optionsOrCb === "function") {
|
|
71
|
-
this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
else if (typeof cb === "function") {
|
|
74
|
-
if (typeof optionsOrCb !== "object")
|
|
75
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
76
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
deleteBudget(args, optionsOrCb, cb) {
|
|
83
|
-
const command = new DeleteBudgetCommand(args);
|
|
84
|
-
if (typeof optionsOrCb === "function") {
|
|
85
|
-
this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
else if (typeof cb === "function") {
|
|
88
|
-
if (typeof optionsOrCb !== "object")
|
|
89
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
90
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
return this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
deleteBudgetAction(args, optionsOrCb, cb) {
|
|
97
|
-
const command = new DeleteBudgetActionCommand(args);
|
|
98
|
-
if (typeof optionsOrCb === "function") {
|
|
99
|
-
this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
else if (typeof cb === "function") {
|
|
102
|
-
if (typeof optionsOrCb !== "object")
|
|
103
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
104
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
return this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
deleteNotification(args, optionsOrCb, cb) {
|
|
111
|
-
const command = new DeleteNotificationCommand(args);
|
|
112
|
-
if (typeof optionsOrCb === "function") {
|
|
113
|
-
this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
else if (typeof cb === "function") {
|
|
116
|
-
if (typeof optionsOrCb !== "object")
|
|
117
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
return this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
deleteSubscriber(args, optionsOrCb, cb) {
|
|
125
|
-
const command = new DeleteSubscriberCommand(args);
|
|
126
|
-
if (typeof optionsOrCb === "function") {
|
|
127
|
-
this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
else if (typeof cb === "function") {
|
|
130
|
-
if (typeof optionsOrCb !== "object")
|
|
131
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
describeBudget(args, optionsOrCb, cb) {
|
|
139
|
-
const command = new DescribeBudgetCommand(args);
|
|
140
|
-
if (typeof optionsOrCb === "function") {
|
|
141
|
-
this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
else if (typeof cb === "function") {
|
|
144
|
-
if (typeof optionsOrCb !== "object")
|
|
145
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
146
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
describeBudgetAction(args, optionsOrCb, cb) {
|
|
153
|
-
const command = new DescribeBudgetActionCommand(args);
|
|
154
|
-
if (typeof optionsOrCb === "function") {
|
|
155
|
-
this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
else if (typeof cb === "function") {
|
|
158
|
-
if (typeof optionsOrCb !== "object")
|
|
159
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
return this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
describeBudgetActionHistories(args, optionsOrCb, cb) {
|
|
167
|
-
const command = new DescribeBudgetActionHistoriesCommand(args);
|
|
168
|
-
if (typeof optionsOrCb === "function") {
|
|
169
|
-
this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
else if (typeof cb === "function") {
|
|
172
|
-
if (typeof optionsOrCb !== "object")
|
|
173
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
describeBudgetActionsForAccount(args, optionsOrCb, cb) {
|
|
181
|
-
const command = new DescribeBudgetActionsForAccountCommand(args);
|
|
182
|
-
if (typeof optionsOrCb === "function") {
|
|
183
|
-
this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
else if (typeof cb === "function") {
|
|
186
|
-
if (typeof optionsOrCb !== "object")
|
|
187
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
return this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
describeBudgetActionsForBudget(args, optionsOrCb, cb) {
|
|
195
|
-
const command = new DescribeBudgetActionsForBudgetCommand(args);
|
|
196
|
-
if (typeof optionsOrCb === "function") {
|
|
197
|
-
this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object")
|
|
201
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
202
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
describeBudgetNotificationsForAccount(args, optionsOrCb, cb) {
|
|
209
|
-
const command = new DescribeBudgetNotificationsForAccountCommand(args);
|
|
210
|
-
if (typeof optionsOrCb === "function") {
|
|
211
|
-
this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
else if (typeof cb === "function") {
|
|
214
|
-
if (typeof optionsOrCb !== "object")
|
|
215
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
216
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
return this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
describeBudgetPerformanceHistory(args, optionsOrCb, cb) {
|
|
223
|
-
const command = new DescribeBudgetPerformanceHistoryCommand(args);
|
|
224
|
-
if (typeof optionsOrCb === "function") {
|
|
225
|
-
this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
else if (typeof cb === "function") {
|
|
228
|
-
if (typeof optionsOrCb !== "object")
|
|
229
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
return this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
describeBudgets(args, optionsOrCb, cb) {
|
|
237
|
-
const command = new DescribeBudgetsCommand(args);
|
|
238
|
-
if (typeof optionsOrCb === "function") {
|
|
239
|
-
this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
241
|
-
else if (typeof cb === "function") {
|
|
242
|
-
if (typeof optionsOrCb !== "object")
|
|
243
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
244
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
return this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
describeNotificationsForBudget(args, optionsOrCb, cb) {
|
|
251
|
-
const command = new DescribeNotificationsForBudgetCommand(args);
|
|
252
|
-
if (typeof optionsOrCb === "function") {
|
|
253
|
-
this.send(command, optionsOrCb);
|
|
254
|
-
}
|
|
255
|
-
else if (typeof cb === "function") {
|
|
256
|
-
if (typeof optionsOrCb !== "object")
|
|
257
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
}
|
|
260
|
-
else {
|
|
261
|
-
return this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
describeSubscribersForNotification(args, optionsOrCb, cb) {
|
|
265
|
-
const command = new DescribeSubscribersForNotificationCommand(args);
|
|
266
|
-
if (typeof optionsOrCb === "function") {
|
|
267
|
-
this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
else if (typeof cb === "function") {
|
|
270
|
-
if (typeof optionsOrCb !== "object")
|
|
271
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
272
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
273
|
-
}
|
|
274
|
-
else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
executeBudgetAction(args, optionsOrCb, cb) {
|
|
279
|
-
const command = new ExecuteBudgetActionCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
}
|
|
283
|
-
else if (typeof cb === "function") {
|
|
284
|
-
if (typeof optionsOrCb !== "object")
|
|
285
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
}
|
|
288
|
-
else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
updateBudget(args, optionsOrCb, cb) {
|
|
293
|
-
const command = new UpdateBudgetCommand(args);
|
|
294
|
-
if (typeof optionsOrCb === "function") {
|
|
295
|
-
this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
else if (typeof cb === "function") {
|
|
298
|
-
if (typeof optionsOrCb !== "object")
|
|
299
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
300
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
return this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
updateBudgetAction(args, optionsOrCb, cb) {
|
|
307
|
-
const command = new UpdateBudgetActionCommand(args);
|
|
308
|
-
if (typeof optionsOrCb === "function") {
|
|
309
|
-
this.send(command, optionsOrCb);
|
|
310
|
-
}
|
|
311
|
-
else if (typeof cb === "function") {
|
|
312
|
-
if (typeof optionsOrCb !== "object")
|
|
313
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
}
|
|
316
|
-
else {
|
|
317
|
-
return this.send(command, optionsOrCb);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
updateNotification(args, optionsOrCb, cb) {
|
|
321
|
-
const command = new UpdateNotificationCommand(args);
|
|
322
|
-
if (typeof optionsOrCb === "function") {
|
|
323
|
-
this.send(command, optionsOrCb);
|
|
324
|
-
}
|
|
325
|
-
else if (typeof cb === "function") {
|
|
326
|
-
if (typeof optionsOrCb !== "object")
|
|
327
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
328
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
329
|
-
}
|
|
330
|
-
else {
|
|
331
|
-
return this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
updateSubscriber(args, optionsOrCb, cb) {
|
|
335
|
-
const command = new UpdateSubscriberCommand(args);
|
|
336
|
-
if (typeof optionsOrCb === "function") {
|
|
337
|
-
this.send(command, optionsOrCb);
|
|
338
|
-
}
|
|
339
|
-
else if (typeof cb === "function") {
|
|
340
|
-
if (typeof optionsOrCb !== "object")
|
|
341
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
342
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
return this.send(command, optionsOrCb);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
52
|
}
|
|
53
|
+
createAggregatedClient(commands, Budgets);
|
package/dist-types/Budgets.d.ts
CHANGED
|
@@ -23,251 +23,191 @@ import { UpdateBudgetActionCommandInput, UpdateBudgetActionCommandOutput } from
|
|
|
23
23
|
import { UpdateBudgetCommandInput, UpdateBudgetCommandOutput } from "./commands/UpdateBudgetCommand";
|
|
24
24
|
import { UpdateNotificationCommandInput, UpdateNotificationCommandOutput } from "./commands/UpdateNotificationCommand";
|
|
25
25
|
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./commands/UpdateSubscriberCommand";
|
|
26
|
-
|
|
27
|
-
* @public
|
|
28
|
-
* <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>
|
|
29
|
-
* <p>Budgets provide you with a way to see the following information:</p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>How close your plan is to your budgeted amount or to the free tier limits</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <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>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>How much of your budget has been used</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* </ul>
|
|
44
|
-
* <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>
|
|
45
|
-
* <ul>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>
|
|
48
|
-
* <b>Cost budgets</b> - Plan how much you want to spend on a service.</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>
|
|
52
|
-
* <b>Usage budgets</b> - Plan how much you want to use one or more services.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>
|
|
56
|
-
* <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>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>
|
|
60
|
-
* <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>
|
|
61
|
-
* </li>
|
|
62
|
-
* </ul>
|
|
63
|
-
* <p>Service Endpoint</p>
|
|
64
|
-
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
65
|
-
* <ul>
|
|
66
|
-
* <li>
|
|
67
|
-
* <p>https://budgets.amazonaws.com</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
* <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>
|
|
71
|
-
*/
|
|
72
|
-
export declare class Budgets extends BudgetsClient {
|
|
26
|
+
export interface Budgets {
|
|
73
27
|
/**
|
|
74
|
-
* @
|
|
75
|
-
* <p>Creates a budget and, if included, notifications and subscribers. </p>
|
|
76
|
-
* <important>
|
|
77
|
-
* <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>
|
|
78
|
-
* </important>
|
|
28
|
+
* @see {@link CreateBudgetCommand}
|
|
79
29
|
*/
|
|
80
30
|
createBudget(args: CreateBudgetCommandInput, options?: __HttpHandlerOptions): Promise<CreateBudgetCommandOutput>;
|
|
81
31
|
createBudget(args: CreateBudgetCommandInput, cb: (err: any, data?: CreateBudgetCommandOutput) => void): void;
|
|
82
32
|
createBudget(args: CreateBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBudgetCommandOutput) => void): void;
|
|
83
33
|
/**
|
|
84
|
-
* @
|
|
85
|
-
* <p>
|
|
86
|
-
* Creates a budget action.
|
|
87
|
-
* </p>
|
|
34
|
+
* @see {@link CreateBudgetActionCommand}
|
|
88
35
|
*/
|
|
89
36
|
createBudgetAction(args: CreateBudgetActionCommandInput, options?: __HttpHandlerOptions): Promise<CreateBudgetActionCommandOutput>;
|
|
90
37
|
createBudgetAction(args: CreateBudgetActionCommandInput, cb: (err: any, data?: CreateBudgetActionCommandOutput) => void): void;
|
|
91
38
|
createBudgetAction(args: CreateBudgetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBudgetActionCommandOutput) => void): void;
|
|
92
39
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p>Creates a notification. You must create the budget before you create the associated notification.</p>
|
|
40
|
+
* @see {@link CreateNotificationCommand}
|
|
95
41
|
*/
|
|
96
42
|
createNotification(args: CreateNotificationCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationCommandOutput>;
|
|
97
43
|
createNotification(args: CreateNotificationCommandInput, cb: (err: any, data?: CreateNotificationCommandOutput) => void): void;
|
|
98
44
|
createNotification(args: CreateNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationCommandOutput) => void): void;
|
|
99
45
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p>Creates a subscriber. You must create the associated budget and notification before you create the subscriber.</p>
|
|
46
|
+
* @see {@link CreateSubscriberCommand}
|
|
102
47
|
*/
|
|
103
48
|
createSubscriber(args: CreateSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriberCommandOutput>;
|
|
104
49
|
createSubscriber(args: CreateSubscriberCommandInput, cb: (err: any, data?: CreateSubscriberCommandOutput) => void): void;
|
|
105
50
|
createSubscriber(args: CreateSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriberCommandOutput) => void): void;
|
|
106
51
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>Deletes a budget. You can delete your budget at any time.</p>
|
|
109
|
-
* <important>
|
|
110
|
-
* <p>Deleting a budget also deletes the notifications and subscribers that are associated with that budget.</p>
|
|
111
|
-
* </important>
|
|
52
|
+
* @see {@link DeleteBudgetCommand}
|
|
112
53
|
*/
|
|
113
54
|
deleteBudget(args: DeleteBudgetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBudgetCommandOutput>;
|
|
114
55
|
deleteBudget(args: DeleteBudgetCommandInput, cb: (err: any, data?: DeleteBudgetCommandOutput) => void): void;
|
|
115
56
|
deleteBudget(args: DeleteBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBudgetCommandOutput) => void): void;
|
|
116
57
|
/**
|
|
117
|
-
* @
|
|
118
|
-
* <p>
|
|
119
|
-
* Deletes a budget action.
|
|
120
|
-
* </p>
|
|
58
|
+
* @see {@link DeleteBudgetActionCommand}
|
|
121
59
|
*/
|
|
122
60
|
deleteBudgetAction(args: DeleteBudgetActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBudgetActionCommandOutput>;
|
|
123
61
|
deleteBudgetAction(args: DeleteBudgetActionCommandInput, cb: (err: any, data?: DeleteBudgetActionCommandOutput) => void): void;
|
|
124
62
|
deleteBudgetAction(args: DeleteBudgetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBudgetActionCommandOutput) => void): void;
|
|
125
63
|
/**
|
|
126
|
-
* @
|
|
127
|
-
* <p>Deletes a notification.</p>
|
|
128
|
-
* <important>
|
|
129
|
-
* <p>Deleting a notification also deletes the subscribers that are associated with the notification.</p>
|
|
130
|
-
* </important>
|
|
64
|
+
* @see {@link DeleteNotificationCommand}
|
|
131
65
|
*/
|
|
132
66
|
deleteNotification(args: DeleteNotificationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationCommandOutput>;
|
|
133
67
|
deleteNotification(args: DeleteNotificationCommandInput, cb: (err: any, data?: DeleteNotificationCommandOutput) => void): void;
|
|
134
68
|
deleteNotification(args: DeleteNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationCommandOutput) => void): void;
|
|
135
69
|
/**
|
|
136
|
-
* @
|
|
137
|
-
* <p>Deletes a subscriber.</p>
|
|
138
|
-
* <important>
|
|
139
|
-
* <p>Deleting the last subscriber to a notification also deletes the notification.</p>
|
|
140
|
-
* </important>
|
|
70
|
+
* @see {@link DeleteSubscriberCommand}
|
|
141
71
|
*/
|
|
142
72
|
deleteSubscriber(args: DeleteSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriberCommandOutput>;
|
|
143
73
|
deleteSubscriber(args: DeleteSubscriberCommandInput, cb: (err: any, data?: DeleteSubscriberCommandOutput) => void): void;
|
|
144
74
|
deleteSubscriber(args: DeleteSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriberCommandOutput) => void): void;
|
|
145
75
|
/**
|
|
146
|
-
* @
|
|
147
|
-
* <p>Describes a budget.</p>
|
|
148
|
-
* <important>
|
|
149
|
-
* <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>
|
|
150
|
-
* </important>
|
|
76
|
+
* @see {@link DescribeBudgetCommand}
|
|
151
77
|
*/
|
|
152
78
|
describeBudget(args: DescribeBudgetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetCommandOutput>;
|
|
153
79
|
describeBudget(args: DescribeBudgetCommandInput, cb: (err: any, data?: DescribeBudgetCommandOutput) => void): void;
|
|
154
80
|
describeBudget(args: DescribeBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetCommandOutput) => void): void;
|
|
155
81
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p>
|
|
158
|
-
* Describes a budget action detail.
|
|
159
|
-
* </p>
|
|
82
|
+
* @see {@link DescribeBudgetActionCommand}
|
|
160
83
|
*/
|
|
161
84
|
describeBudgetAction(args: DescribeBudgetActionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetActionCommandOutput>;
|
|
162
85
|
describeBudgetAction(args: DescribeBudgetActionCommandInput, cb: (err: any, data?: DescribeBudgetActionCommandOutput) => void): void;
|
|
163
86
|
describeBudgetAction(args: DescribeBudgetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetActionCommandOutput) => void): void;
|
|
164
87
|
/**
|
|
165
|
-
* @
|
|
166
|
-
* <p>
|
|
167
|
-
* Describes a budget action history detail.
|
|
168
|
-
* </p>
|
|
88
|
+
* @see {@link DescribeBudgetActionHistoriesCommand}
|
|
169
89
|
*/
|
|
170
90
|
describeBudgetActionHistories(args: DescribeBudgetActionHistoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetActionHistoriesCommandOutput>;
|
|
171
91
|
describeBudgetActionHistories(args: DescribeBudgetActionHistoriesCommandInput, cb: (err: any, data?: DescribeBudgetActionHistoriesCommandOutput) => void): void;
|
|
172
92
|
describeBudgetActionHistories(args: DescribeBudgetActionHistoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetActionHistoriesCommandOutput) => void): void;
|
|
173
93
|
/**
|
|
174
|
-
* @
|
|
175
|
-
* <p>
|
|
176
|
-
* Describes all of the budget actions for an account.
|
|
177
|
-
* </p>
|
|
94
|
+
* @see {@link DescribeBudgetActionsForAccountCommand}
|
|
178
95
|
*/
|
|
179
96
|
describeBudgetActionsForAccount(args: DescribeBudgetActionsForAccountCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetActionsForAccountCommandOutput>;
|
|
180
97
|
describeBudgetActionsForAccount(args: DescribeBudgetActionsForAccountCommandInput, cb: (err: any, data?: DescribeBudgetActionsForAccountCommandOutput) => void): void;
|
|
181
98
|
describeBudgetActionsForAccount(args: DescribeBudgetActionsForAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetActionsForAccountCommandOutput) => void): void;
|
|
182
99
|
/**
|
|
183
|
-
* @
|
|
184
|
-
* <p>
|
|
185
|
-
* Describes all of the budget actions for a budget.
|
|
186
|
-
* </p>
|
|
100
|
+
* @see {@link DescribeBudgetActionsForBudgetCommand}
|
|
187
101
|
*/
|
|
188
102
|
describeBudgetActionsForBudget(args: DescribeBudgetActionsForBudgetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetActionsForBudgetCommandOutput>;
|
|
189
103
|
describeBudgetActionsForBudget(args: DescribeBudgetActionsForBudgetCommandInput, cb: (err: any, data?: DescribeBudgetActionsForBudgetCommandOutput) => void): void;
|
|
190
104
|
describeBudgetActionsForBudget(args: DescribeBudgetActionsForBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetActionsForBudgetCommandOutput) => void): void;
|
|
191
105
|
/**
|
|
192
|
-
* @
|
|
193
|
-
* <p>
|
|
194
|
-
* Lists the budget names and notifications that are associated with an account.
|
|
195
|
-
* </p>
|
|
106
|
+
* @see {@link DescribeBudgetNotificationsForAccountCommand}
|
|
196
107
|
*/
|
|
197
108
|
describeBudgetNotificationsForAccount(args: DescribeBudgetNotificationsForAccountCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetNotificationsForAccountCommandOutput>;
|
|
198
109
|
describeBudgetNotificationsForAccount(args: DescribeBudgetNotificationsForAccountCommandInput, cb: (err: any, data?: DescribeBudgetNotificationsForAccountCommandOutput) => void): void;
|
|
199
110
|
describeBudgetNotificationsForAccount(args: DescribeBudgetNotificationsForAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetNotificationsForAccountCommandOutput) => void): void;
|
|
200
111
|
/**
|
|
201
|
-
* @
|
|
202
|
-
* <p>Describes the history for <code>DAILY</code>, <code>MONTHLY</code>, and <code>QUARTERLY</code> budgets. Budget history isn't available for <code>ANNUAL</code> budgets.</p>
|
|
112
|
+
* @see {@link DescribeBudgetPerformanceHistoryCommand}
|
|
203
113
|
*/
|
|
204
114
|
describeBudgetPerformanceHistory(args: DescribeBudgetPerformanceHistoryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetPerformanceHistoryCommandOutput>;
|
|
205
115
|
describeBudgetPerformanceHistory(args: DescribeBudgetPerformanceHistoryCommandInput, cb: (err: any, data?: DescribeBudgetPerformanceHistoryCommandOutput) => void): void;
|
|
206
116
|
describeBudgetPerformanceHistory(args: DescribeBudgetPerformanceHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetPerformanceHistoryCommandOutput) => void): void;
|
|
207
117
|
/**
|
|
208
|
-
* @
|
|
209
|
-
* <p>Lists the budgets that are associated with an account.</p>
|
|
210
|
-
* <important>
|
|
211
|
-
* <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>
|
|
212
|
-
* </important>
|
|
118
|
+
* @see {@link DescribeBudgetsCommand}
|
|
213
119
|
*/
|
|
214
120
|
describeBudgets(args: DescribeBudgetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetsCommandOutput>;
|
|
215
121
|
describeBudgets(args: DescribeBudgetsCommandInput, cb: (err: any, data?: DescribeBudgetsCommandOutput) => void): void;
|
|
216
122
|
describeBudgets(args: DescribeBudgetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetsCommandOutput) => void): void;
|
|
217
123
|
/**
|
|
218
|
-
* @
|
|
219
|
-
* <p>Lists the notifications that are associated with a budget.</p>
|
|
124
|
+
* @see {@link DescribeNotificationsForBudgetCommand}
|
|
220
125
|
*/
|
|
221
126
|
describeNotificationsForBudget(args: DescribeNotificationsForBudgetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationsForBudgetCommandOutput>;
|
|
222
127
|
describeNotificationsForBudget(args: DescribeNotificationsForBudgetCommandInput, cb: (err: any, data?: DescribeNotificationsForBudgetCommandOutput) => void): void;
|
|
223
128
|
describeNotificationsForBudget(args: DescribeNotificationsForBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationsForBudgetCommandOutput) => void): void;
|
|
224
129
|
/**
|
|
225
|
-
* @
|
|
226
|
-
* <p>Lists the subscribers that are associated with a notification.</p>
|
|
130
|
+
* @see {@link DescribeSubscribersForNotificationCommand}
|
|
227
131
|
*/
|
|
228
132
|
describeSubscribersForNotification(args: DescribeSubscribersForNotificationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubscribersForNotificationCommandOutput>;
|
|
229
133
|
describeSubscribersForNotification(args: DescribeSubscribersForNotificationCommandInput, cb: (err: any, data?: DescribeSubscribersForNotificationCommandOutput) => void): void;
|
|
230
134
|
describeSubscribersForNotification(args: DescribeSubscribersForNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscribersForNotificationCommandOutput) => void): void;
|
|
231
135
|
/**
|
|
232
|
-
* @
|
|
233
|
-
* <p>
|
|
234
|
-
* Executes a budget action.
|
|
235
|
-
* </p>
|
|
136
|
+
* @see {@link ExecuteBudgetActionCommand}
|
|
236
137
|
*/
|
|
237
138
|
executeBudgetAction(args: ExecuteBudgetActionCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteBudgetActionCommandOutput>;
|
|
238
139
|
executeBudgetAction(args: ExecuteBudgetActionCommandInput, cb: (err: any, data?: ExecuteBudgetActionCommandOutput) => void): void;
|
|
239
140
|
executeBudgetAction(args: ExecuteBudgetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteBudgetActionCommandOutput) => void): void;
|
|
240
141
|
/**
|
|
241
|
-
* @
|
|
242
|
-
* <p>Updates a budget. You can change every part of a budget except for the <code>budgetName</code> and the <code>calculatedSpend</code>. When you modify a budget, the <code>calculatedSpend</code> drops to zero until Amazon Web Services has new usage data to use for forecasting.</p>
|
|
243
|
-
* <important>
|
|
244
|
-
* <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_UpdateBudget.html#API_UpdateBudget_Examples">Examples</a> section. </p>
|
|
245
|
-
* </important>
|
|
142
|
+
* @see {@link UpdateBudgetCommand}
|
|
246
143
|
*/
|
|
247
144
|
updateBudget(args: UpdateBudgetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBudgetCommandOutput>;
|
|
248
145
|
updateBudget(args: UpdateBudgetCommandInput, cb: (err: any, data?: UpdateBudgetCommandOutput) => void): void;
|
|
249
146
|
updateBudget(args: UpdateBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBudgetCommandOutput) => void): void;
|
|
250
147
|
/**
|
|
251
|
-
* @
|
|
252
|
-
* <p>
|
|
253
|
-
* Updates a budget action.
|
|
254
|
-
* </p>
|
|
148
|
+
* @see {@link UpdateBudgetActionCommand}
|
|
255
149
|
*/
|
|
256
150
|
updateBudgetAction(args: UpdateBudgetActionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBudgetActionCommandOutput>;
|
|
257
151
|
updateBudgetAction(args: UpdateBudgetActionCommandInput, cb: (err: any, data?: UpdateBudgetActionCommandOutput) => void): void;
|
|
258
152
|
updateBudgetAction(args: UpdateBudgetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBudgetActionCommandOutput) => void): void;
|
|
259
153
|
/**
|
|
260
|
-
* @
|
|
261
|
-
* <p>Updates a notification.</p>
|
|
154
|
+
* @see {@link UpdateNotificationCommand}
|
|
262
155
|
*/
|
|
263
156
|
updateNotification(args: UpdateNotificationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationCommandOutput>;
|
|
264
157
|
updateNotification(args: UpdateNotificationCommandInput, cb: (err: any, data?: UpdateNotificationCommandOutput) => void): void;
|
|
265
158
|
updateNotification(args: UpdateNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationCommandOutput) => void): void;
|
|
266
159
|
/**
|
|
267
|
-
* @
|
|
268
|
-
* <p>Updates a subscriber.</p>
|
|
160
|
+
* @see {@link UpdateSubscriberCommand}
|
|
269
161
|
*/
|
|
270
162
|
updateSubscriber(args: UpdateSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriberCommandOutput>;
|
|
271
163
|
updateSubscriber(args: UpdateSubscriberCommandInput, cb: (err: any, data?: UpdateSubscriberCommandOutput) => void): void;
|
|
272
164
|
updateSubscriber(args: UpdateSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriberCommandOutput) => void): void;
|
|
273
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
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
|
+
* <p>Budgets provide you with a way to see the following information:</p>
|
|
170
|
+
* <ul>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>How close your plan is to your budgeted amount or to the free tier limits</p>
|
|
173
|
+
* </li>
|
|
174
|
+
* <li>
|
|
175
|
+
* <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p>
|
|
176
|
+
* </li>
|
|
177
|
+
* <li>
|
|
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
|
+
* <li>
|
|
181
|
+
* <p>How much of your budget has been used</p>
|
|
182
|
+
* </li>
|
|
183
|
+
* </ul>
|
|
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
|
+
* <li>
|
|
187
|
+
* <p>
|
|
188
|
+
* <b>Cost budgets</b> - Plan how much you want to spend on a service.</p>
|
|
189
|
+
* </li>
|
|
190
|
+
* <li>
|
|
191
|
+
* <p>
|
|
192
|
+
* <b>Usage budgets</b> - Plan how much you want to use one or more services.</p>
|
|
193
|
+
* </li>
|
|
194
|
+
* <li>
|
|
195
|
+
* <p>
|
|
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
|
+
* </li>
|
|
198
|
+
* <li>
|
|
199
|
+
* <p>
|
|
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
|
+
* </li>
|
|
202
|
+
* </ul>
|
|
203
|
+
* <p>Service Endpoint</p>
|
|
204
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
205
|
+
* <ul>
|
|
206
|
+
* <li>
|
|
207
|
+
* <p>https://budgets.amazonaws.com</p>
|
|
208
|
+
* </li>
|
|
209
|
+
* </ul>
|
|
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
|
+
*/
|
|
212
|
+
export declare class Budgets extends BudgetsClient implements Budgets {
|
|
213
|
+
}
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
UpdateSubscriberCommandInput,
|
|
93
93
|
UpdateSubscriberCommandOutput,
|
|
94
94
|
} from "./commands/UpdateSubscriberCommand";
|
|
95
|
-
export
|
|
95
|
+
export interface Budgets {
|
|
96
96
|
createBudget(
|
|
97
97
|
args: CreateBudgetCommandInput,
|
|
98
98
|
options?: __HttpHandlerOptions
|
|
@@ -405,3 +405,4 @@ export declare class Budgets extends BudgetsClient {
|
|
|
405
405
|
cb: (err: any, data?: UpdateSubscriberCommandOutput) => void
|
|
406
406
|
): void;
|
|
407
407
|
}
|
|
408
|
+
export declare class Budgets extends BudgetsClient implements Budgets {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-budgets",
|
|
3
3
|
"description": "AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|