@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
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { Budgets } from "../Budgets";
|
|
3
|
+
import { BudgetsClient } from "../BudgetsClient";
|
|
4
|
+
import { DescribeBudgetNotificationsForAccountCommand, } from "../commands/DescribeBudgetNotificationsForAccountCommand";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeBudgetNotificationsForAccountCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.describeBudgetNotificationsForAccount.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateDescribeBudgetNotificationsForAccount(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateDescribeBudgetNotificationsForAccount_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Budgets)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof BudgetsClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./DescribeBudgetActionHistoriesPaginator";
|
|
2
2
|
export * from "./DescribeBudgetActionsForAccountPaginator";
|
|
3
3
|
export * from "./DescribeBudgetActionsForBudgetPaginator";
|
|
4
|
+
export * from "./DescribeBudgetNotificationsForAccountPaginator";
|
|
4
5
|
export * from "./DescribeBudgetPerformanceHistoryPaginator";
|
|
5
6
|
export * from "./DescribeBudgetsPaginator";
|
|
6
7
|
export * from "./DescribeNotificationsForBudgetPaginator";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1CreateBudgetCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -144,6 +144,17 @@ export var serializeAws_json1_1DescribeBudgetActionsForBudgetCommand = function
|
|
|
144
144
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
145
145
|
});
|
|
146
146
|
}); };
|
|
147
|
+
export var serializeAws_json1_1DescribeBudgetNotificationsForAccountCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
148
|
+
var headers, body;
|
|
149
|
+
return __generator(this, function (_a) {
|
|
150
|
+
headers = {
|
|
151
|
+
"content-type": "application/x-amz-json-1.1",
|
|
152
|
+
"x-amz-target": "AWSBudgetServiceGateway.DescribeBudgetNotificationsForAccount",
|
|
153
|
+
};
|
|
154
|
+
body = JSON.stringify(serializeAws_json1_1DescribeBudgetNotificationsForAccountRequest(input, context));
|
|
155
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
156
|
+
});
|
|
157
|
+
}); };
|
|
147
158
|
export var serializeAws_json1_1DescribeBudgetPerformanceHistoryCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
148
159
|
var headers, body;
|
|
149
160
|
return __generator(this, function (_a) {
|
|
@@ -1363,6 +1374,102 @@ var deserializeAws_json1_1DescribeBudgetActionsForBudgetCommandError = function
|
|
|
1363
1374
|
}
|
|
1364
1375
|
});
|
|
1365
1376
|
}); };
|
|
1377
|
+
export var deserializeAws_json1_1DescribeBudgetNotificationsForAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1378
|
+
var data, contents, response;
|
|
1379
|
+
return __generator(this, function (_a) {
|
|
1380
|
+
switch (_a.label) {
|
|
1381
|
+
case 0:
|
|
1382
|
+
if (output.statusCode >= 300) {
|
|
1383
|
+
return [2, deserializeAws_json1_1DescribeBudgetNotificationsForAccountCommandError(output, context)];
|
|
1384
|
+
}
|
|
1385
|
+
return [4, parseBody(output.body, context)];
|
|
1386
|
+
case 1:
|
|
1387
|
+
data = _a.sent();
|
|
1388
|
+
contents = {};
|
|
1389
|
+
contents = deserializeAws_json1_1DescribeBudgetNotificationsForAccountResponse(data, context);
|
|
1390
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1391
|
+
return [2, Promise.resolve(response)];
|
|
1392
|
+
}
|
|
1393
|
+
});
|
|
1394
|
+
}); };
|
|
1395
|
+
var deserializeAws_json1_1DescribeBudgetNotificationsForAccountCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1396
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
1397
|
+
var _j;
|
|
1398
|
+
return __generator(this, function (_k) {
|
|
1399
|
+
switch (_k.label) {
|
|
1400
|
+
case 0:
|
|
1401
|
+
_a = [__assign({}, output)];
|
|
1402
|
+
_j = {};
|
|
1403
|
+
return [4, parseBody(output.body, context)];
|
|
1404
|
+
case 1:
|
|
1405
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
1406
|
+
errorCode = "UnknownError";
|
|
1407
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1408
|
+
_b = errorCode;
|
|
1409
|
+
switch (_b) {
|
|
1410
|
+
case "AccessDeniedException": return [3, 2];
|
|
1411
|
+
case "com.amazonaws.budgets#AccessDeniedException": return [3, 2];
|
|
1412
|
+
case "ExpiredNextTokenException": return [3, 4];
|
|
1413
|
+
case "com.amazonaws.budgets#ExpiredNextTokenException": return [3, 4];
|
|
1414
|
+
case "InternalErrorException": return [3, 6];
|
|
1415
|
+
case "com.amazonaws.budgets#InternalErrorException": return [3, 6];
|
|
1416
|
+
case "InvalidNextTokenException": return [3, 8];
|
|
1417
|
+
case "com.amazonaws.budgets#InvalidNextTokenException": return [3, 8];
|
|
1418
|
+
case "InvalidParameterException": return [3, 10];
|
|
1419
|
+
case "com.amazonaws.budgets#InvalidParameterException": return [3, 10];
|
|
1420
|
+
case "NotFoundException": return [3, 12];
|
|
1421
|
+
case "com.amazonaws.budgets#NotFoundException": return [3, 12];
|
|
1422
|
+
}
|
|
1423
|
+
return [3, 14];
|
|
1424
|
+
case 2:
|
|
1425
|
+
_c = [{}];
|
|
1426
|
+
return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1427
|
+
case 3:
|
|
1428
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1429
|
+
return [3, 15];
|
|
1430
|
+
case 4:
|
|
1431
|
+
_d = [{}];
|
|
1432
|
+
return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
1433
|
+
case 5:
|
|
1434
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1435
|
+
return [3, 15];
|
|
1436
|
+
case 6:
|
|
1437
|
+
_e = [{}];
|
|
1438
|
+
return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
1439
|
+
case 7:
|
|
1440
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1441
|
+
return [3, 15];
|
|
1442
|
+
case 8:
|
|
1443
|
+
_f = [{}];
|
|
1444
|
+
return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1445
|
+
case 9:
|
|
1446
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1447
|
+
return [3, 15];
|
|
1448
|
+
case 10:
|
|
1449
|
+
_g = [{}];
|
|
1450
|
+
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
1451
|
+
case 11:
|
|
1452
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1453
|
+
return [3, 15];
|
|
1454
|
+
case 12:
|
|
1455
|
+
_h = [{}];
|
|
1456
|
+
return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1457
|
+
case 13:
|
|
1458
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1459
|
+
return [3, 15];
|
|
1460
|
+
case 14:
|
|
1461
|
+
parsedBody = parsedOutput.body;
|
|
1462
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1463
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
1464
|
+
_k.label = 15;
|
|
1465
|
+
case 15:
|
|
1466
|
+
message = response.message || response.Message || errorCode;
|
|
1467
|
+
response.message = message;
|
|
1468
|
+
delete response.Message;
|
|
1469
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1470
|
+
}
|
|
1471
|
+
});
|
|
1472
|
+
}); };
|
|
1366
1473
|
export var deserializeAws_json1_1DescribeBudgetPerformanceHistoryCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1367
1474
|
var data, contents, response;
|
|
1368
1475
|
return __generator(this, function (_a) {
|
|
@@ -2265,8 +2372,21 @@ var serializeAws_json1_1ActionThreshold = function (input, context) {
|
|
|
2265
2372
|
input.ActionThresholdType !== null && { ActionThresholdType: input.ActionThresholdType })), (input.ActionThresholdValue !== undefined &&
|
|
2266
2373
|
input.ActionThresholdValue !== null && { ActionThresholdValue: __serializeFloat(input.ActionThresholdValue) }));
|
|
2267
2374
|
};
|
|
2375
|
+
var serializeAws_json1_1AutoAdjustData = function (input, context) {
|
|
2376
|
+
return __assign(__assign(__assign({}, (input.AutoAdjustType !== undefined &&
|
|
2377
|
+
input.AutoAdjustType !== null && { AutoAdjustType: input.AutoAdjustType })), (input.HistoricalOptions !== undefined &&
|
|
2378
|
+
input.HistoricalOptions !== null && {
|
|
2379
|
+
HistoricalOptions: serializeAws_json1_1HistoricalOptions(input.HistoricalOptions, context),
|
|
2380
|
+
})), (input.LastAutoAdjustTime !== undefined &&
|
|
2381
|
+
input.LastAutoAdjustTime !== null && {
|
|
2382
|
+
LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000),
|
|
2383
|
+
}));
|
|
2384
|
+
};
|
|
2268
2385
|
var serializeAws_json1_1Budget = function (input, context) {
|
|
2269
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
2386
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoAdjustData !== undefined &&
|
|
2387
|
+
input.AutoAdjustData !== null && {
|
|
2388
|
+
AutoAdjustData: serializeAws_json1_1AutoAdjustData(input.AutoAdjustData, context),
|
|
2389
|
+
})), (input.BudgetLimit !== undefined &&
|
|
2270
2390
|
input.BudgetLimit !== null && { BudgetLimit: serializeAws_json1_1Spend(input.BudgetLimit, context) })), (input.BudgetName !== undefined && input.BudgetName !== null && { BudgetName: input.BudgetName })), (input.BudgetType !== undefined && input.BudgetType !== null && { BudgetType: input.BudgetType })), (input.CalculatedSpend !== undefined &&
|
|
2271
2391
|
input.CalculatedSpend !== null && {
|
|
2272
2392
|
CalculatedSpend: serializeAws_json1_1CalculatedSpend(input.CalculatedSpend, context),
|
|
@@ -2370,6 +2490,9 @@ var serializeAws_json1_1DescribeBudgetActionsForAccountRequest = function (input
|
|
|
2370
2490
|
var serializeAws_json1_1DescribeBudgetActionsForBudgetRequest = function (input, context) {
|
|
2371
2491
|
return __assign(__assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.BudgetName !== undefined && input.BudgetName !== null && { BudgetName: input.BudgetName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
2372
2492
|
};
|
|
2493
|
+
var serializeAws_json1_1DescribeBudgetNotificationsForAccountRequest = function (input, context) {
|
|
2494
|
+
return __assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
2495
|
+
};
|
|
2373
2496
|
var serializeAws_json1_1DescribeBudgetPerformanceHistoryRequest = function (input, context) {
|
|
2374
2497
|
return __assign(__assign(__assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.BudgetName !== undefined && input.BudgetName !== null && { BudgetName: input.BudgetName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.TimePeriod !== undefined &&
|
|
2375
2498
|
input.TimePeriod !== null && { TimePeriod: serializeAws_json1_1TimePeriod(input.TimePeriod, context) }));
|
|
@@ -2410,6 +2533,11 @@ var serializeAws_json1_1Groups = function (input, context) {
|
|
|
2410
2533
|
return entry;
|
|
2411
2534
|
});
|
|
2412
2535
|
};
|
|
2536
|
+
var serializeAws_json1_1HistoricalOptions = function (input, context) {
|
|
2537
|
+
return __assign(__assign({}, (input.BudgetAdjustmentPeriod !== undefined &&
|
|
2538
|
+
input.BudgetAdjustmentPeriod !== null && { BudgetAdjustmentPeriod: input.BudgetAdjustmentPeriod })), (input.LookBackAvailablePeriods !== undefined &&
|
|
2539
|
+
input.LookBackAvailablePeriods !== null && { LookBackAvailablePeriods: input.LookBackAvailablePeriods }));
|
|
2540
|
+
};
|
|
2413
2541
|
var serializeAws_json1_1IamActionDefinition = function (input, context) {
|
|
2414
2542
|
return __assign(__assign(__assign(__assign({}, (input.Groups !== undefined &&
|
|
2415
2543
|
input.Groups !== null && { Groups: serializeAws_json1_1Groups(input.Groups, context) })), (input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn })), (input.Roles !== undefined &&
|
|
@@ -2615,8 +2743,22 @@ var deserializeAws_json1_1ActionThreshold = function (output, context) {
|
|
|
2615
2743
|
ActionThresholdValue: __limitedParseDouble(output.ActionThresholdValue),
|
|
2616
2744
|
};
|
|
2617
2745
|
};
|
|
2746
|
+
var deserializeAws_json1_1AutoAdjustData = function (output, context) {
|
|
2747
|
+
return {
|
|
2748
|
+
AutoAdjustType: __expectString(output.AutoAdjustType),
|
|
2749
|
+
HistoricalOptions: output.HistoricalOptions !== undefined && output.HistoricalOptions !== null
|
|
2750
|
+
? deserializeAws_json1_1HistoricalOptions(output.HistoricalOptions, context)
|
|
2751
|
+
: undefined,
|
|
2752
|
+
LastAutoAdjustTime: output.LastAutoAdjustTime !== undefined && output.LastAutoAdjustTime !== null
|
|
2753
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAutoAdjustTime)))
|
|
2754
|
+
: undefined,
|
|
2755
|
+
};
|
|
2756
|
+
};
|
|
2618
2757
|
var deserializeAws_json1_1Budget = function (output, context) {
|
|
2619
2758
|
return {
|
|
2759
|
+
AutoAdjustData: output.AutoAdjustData !== undefined && output.AutoAdjustData !== null
|
|
2760
|
+
? deserializeAws_json1_1AutoAdjustData(output.AutoAdjustData, context)
|
|
2761
|
+
: undefined,
|
|
2620
2762
|
BudgetLimit: output.BudgetLimit !== undefined && output.BudgetLimit !== null
|
|
2621
2763
|
? deserializeAws_json1_1Spend(output.BudgetLimit, context)
|
|
2622
2764
|
: undefined,
|
|
@@ -2666,6 +2808,24 @@ var deserializeAws_json1_1BudgetedAndActualAmountsList = function (output, conte
|
|
|
2666
2808
|
return deserializeAws_json1_1BudgetedAndActualAmounts(entry, context);
|
|
2667
2809
|
});
|
|
2668
2810
|
};
|
|
2811
|
+
var deserializeAws_json1_1BudgetNotificationsForAccount = function (output, context) {
|
|
2812
|
+
return {
|
|
2813
|
+
BudgetName: __expectString(output.BudgetName),
|
|
2814
|
+
Notifications: output.Notifications !== undefined && output.Notifications !== null
|
|
2815
|
+
? deserializeAws_json1_1Notifications(output.Notifications, context)
|
|
2816
|
+
: undefined,
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
var deserializeAws_json1_1BudgetNotificationsForAccountList = function (output, context) {
|
|
2820
|
+
return (output || [])
|
|
2821
|
+
.filter(function (e) { return e != null; })
|
|
2822
|
+
.map(function (entry) {
|
|
2823
|
+
if (entry === null) {
|
|
2824
|
+
return null;
|
|
2825
|
+
}
|
|
2826
|
+
return deserializeAws_json1_1BudgetNotificationsForAccount(entry, context);
|
|
2827
|
+
});
|
|
2828
|
+
};
|
|
2669
2829
|
var deserializeAws_json1_1BudgetPerformanceHistory = function (output, context) {
|
|
2670
2830
|
return {
|
|
2671
2831
|
BudgetName: __expectString(output.BudgetName),
|
|
@@ -2812,6 +2972,14 @@ var deserializeAws_json1_1DescribeBudgetActionsForBudgetResponse = function (out
|
|
|
2812
2972
|
NextToken: __expectString(output.NextToken),
|
|
2813
2973
|
};
|
|
2814
2974
|
};
|
|
2975
|
+
var deserializeAws_json1_1DescribeBudgetNotificationsForAccountResponse = function (output, context) {
|
|
2976
|
+
return {
|
|
2977
|
+
BudgetNotificationsForAccount: output.BudgetNotificationsForAccount !== undefined && output.BudgetNotificationsForAccount !== null
|
|
2978
|
+
? deserializeAws_json1_1BudgetNotificationsForAccountList(output.BudgetNotificationsForAccount, context)
|
|
2979
|
+
: undefined,
|
|
2980
|
+
NextToken: __expectString(output.NextToken),
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2815
2983
|
var deserializeAws_json1_1DescribeBudgetPerformanceHistoryResponse = function (output, context) {
|
|
2816
2984
|
return {
|
|
2817
2985
|
BudgetPerformanceHistory: output.BudgetPerformanceHistory !== undefined && output.BudgetPerformanceHistory !== null
|
|
@@ -2889,6 +3057,12 @@ var deserializeAws_json1_1Groups = function (output, context) {
|
|
|
2889
3057
|
return __expectString(entry);
|
|
2890
3058
|
});
|
|
2891
3059
|
};
|
|
3060
|
+
var deserializeAws_json1_1HistoricalOptions = function (output, context) {
|
|
3061
|
+
return {
|
|
3062
|
+
BudgetAdjustmentPeriod: __expectInt32(output.BudgetAdjustmentPeriod),
|
|
3063
|
+
LookBackAvailablePeriods: __expectInt32(output.LookBackAvailablePeriods),
|
|
3064
|
+
};
|
|
3065
|
+
};
|
|
2892
3066
|
var deserializeAws_json1_1IamActionDefinition = function (output, context) {
|
|
2893
3067
|
return {
|
|
2894
3068
|
Groups: output.Groups !== undefined && output.Groups !== null
|
package/dist-types/Budgets.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { DescribeBudgetActionHistoriesCommandInput, DescribeBudgetActionHistorie
|
|
|
13
13
|
import { DescribeBudgetActionsForAccountCommandInput, DescribeBudgetActionsForAccountCommandOutput } from "./commands/DescribeBudgetActionsForAccountCommand";
|
|
14
14
|
import { DescribeBudgetActionsForBudgetCommandInput, DescribeBudgetActionsForBudgetCommandOutput } from "./commands/DescribeBudgetActionsForBudgetCommand";
|
|
15
15
|
import { DescribeBudgetCommandInput, DescribeBudgetCommandOutput } from "./commands/DescribeBudgetCommand";
|
|
16
|
+
import { DescribeBudgetNotificationsForAccountCommandInput, DescribeBudgetNotificationsForAccountCommandOutput } from "./commands/DescribeBudgetNotificationsForAccountCommand";
|
|
16
17
|
import { DescribeBudgetPerformanceHistoryCommandInput, DescribeBudgetPerformanceHistoryCommandOutput } from "./commands/DescribeBudgetPerformanceHistoryCommand";
|
|
17
18
|
import { DescribeBudgetsCommandInput, DescribeBudgetsCommandOutput } from "./commands/DescribeBudgetsCommand";
|
|
18
19
|
import { DescribeNotificationsForBudgetCommandInput, DescribeNotificationsForBudgetCommandOutput } from "./commands/DescribeNotificationsForBudgetCommand";
|
|
@@ -23,7 +24,7 @@ import { UpdateBudgetCommandInput, UpdateBudgetCommandOutput } from "./commands/
|
|
|
23
24
|
import { UpdateNotificationCommandInput, UpdateNotificationCommandOutput } from "./commands/UpdateNotificationCommand";
|
|
24
25
|
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./commands/UpdateSubscriberCommand";
|
|
25
26
|
/**
|
|
26
|
-
* <p>The
|
|
27
|
+
* <p>The Amazon Web Services Budgets API enables you to use Amazon Web Services Budgets to plan your service usage, service costs, and instance reservations. The API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Amazon Web Services Budgets. </p>
|
|
27
28
|
* <p>Budgets provide you with a way to see the following information:</p>
|
|
28
29
|
* <ul>
|
|
29
30
|
* <li>
|
|
@@ -33,13 +34,13 @@ import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./c
|
|
|
33
34
|
* <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p>
|
|
34
35
|
* </li>
|
|
35
36
|
* <li>
|
|
36
|
-
* <p>Your current estimated charges from
|
|
37
|
+
* <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>
|
|
37
38
|
* </li>
|
|
38
39
|
* <li>
|
|
39
40
|
* <p>How much of your budget has been used</p>
|
|
40
41
|
* </li>
|
|
41
42
|
* </ul>
|
|
42
|
-
* <p>
|
|
43
|
+
* <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>
|
|
43
44
|
* <ul>
|
|
44
45
|
* <li>
|
|
45
46
|
* <p>
|
|
@@ -59,13 +60,13 @@ import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./c
|
|
|
59
60
|
* </li>
|
|
60
61
|
* </ul>
|
|
61
62
|
* <p>Service Endpoint</p>
|
|
62
|
-
* <p>The
|
|
63
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
63
64
|
* <ul>
|
|
64
65
|
* <li>
|
|
65
66
|
* <p>https://budgets.amazonaws.com</p>
|
|
66
67
|
* </li>
|
|
67
68
|
* </ul>
|
|
68
|
-
* <p>For information about costs that are associated with the
|
|
69
|
+
* <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>
|
|
69
70
|
*/
|
|
70
71
|
export declare class Budgets extends BudgetsClient {
|
|
71
72
|
/**
|
|
@@ -173,6 +174,14 @@ export declare class Budgets extends BudgetsClient {
|
|
|
173
174
|
describeBudgetActionsForBudget(args: DescribeBudgetActionsForBudgetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetActionsForBudgetCommandOutput>;
|
|
174
175
|
describeBudgetActionsForBudget(args: DescribeBudgetActionsForBudgetCommandInput, cb: (err: any, data?: DescribeBudgetActionsForBudgetCommandOutput) => void): void;
|
|
175
176
|
describeBudgetActionsForBudget(args: DescribeBudgetActionsForBudgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetActionsForBudgetCommandOutput) => void): void;
|
|
177
|
+
/**
|
|
178
|
+
* <p>
|
|
179
|
+
* Lists the budget names and notifications that are associated with an account.
|
|
180
|
+
* </p>
|
|
181
|
+
*/
|
|
182
|
+
describeBudgetNotificationsForAccount(args: DescribeBudgetNotificationsForAccountCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBudgetNotificationsForAccountCommandOutput>;
|
|
183
|
+
describeBudgetNotificationsForAccount(args: DescribeBudgetNotificationsForAccountCommandInput, cb: (err: any, data?: DescribeBudgetNotificationsForAccountCommandOutput) => void): void;
|
|
184
|
+
describeBudgetNotificationsForAccount(args: DescribeBudgetNotificationsForAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBudgetNotificationsForAccountCommandOutput) => void): void;
|
|
176
185
|
/**
|
|
177
186
|
* <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>
|
|
178
187
|
*/
|
|
@@ -209,7 +218,7 @@ export declare class Budgets extends BudgetsClient {
|
|
|
209
218
|
executeBudgetAction(args: ExecuteBudgetActionCommandInput, cb: (err: any, data?: ExecuteBudgetActionCommandOutput) => void): void;
|
|
210
219
|
executeBudgetAction(args: ExecuteBudgetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteBudgetActionCommandOutput) => void): void;
|
|
211
220
|
/**
|
|
212
|
-
* <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
|
|
221
|
+
* <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>
|
|
213
222
|
* <important>
|
|
214
223
|
* <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>
|
|
215
224
|
* </important>
|
|
@@ -19,6 +19,7 @@ import { DescribeBudgetActionHistoriesCommandInput, DescribeBudgetActionHistorie
|
|
|
19
19
|
import { DescribeBudgetActionsForAccountCommandInput, DescribeBudgetActionsForAccountCommandOutput } from "./commands/DescribeBudgetActionsForAccountCommand";
|
|
20
20
|
import { DescribeBudgetActionsForBudgetCommandInput, DescribeBudgetActionsForBudgetCommandOutput } from "./commands/DescribeBudgetActionsForBudgetCommand";
|
|
21
21
|
import { DescribeBudgetCommandInput, DescribeBudgetCommandOutput } from "./commands/DescribeBudgetCommand";
|
|
22
|
+
import { DescribeBudgetNotificationsForAccountCommandInput, DescribeBudgetNotificationsForAccountCommandOutput } from "./commands/DescribeBudgetNotificationsForAccountCommand";
|
|
22
23
|
import { DescribeBudgetPerformanceHistoryCommandInput, DescribeBudgetPerformanceHistoryCommandOutput } from "./commands/DescribeBudgetPerformanceHistoryCommand";
|
|
23
24
|
import { DescribeBudgetsCommandInput, DescribeBudgetsCommandOutput } from "./commands/DescribeBudgetsCommand";
|
|
24
25
|
import { DescribeNotificationsForBudgetCommandInput, DescribeNotificationsForBudgetCommandOutput } from "./commands/DescribeNotificationsForBudgetCommand";
|
|
@@ -28,8 +29,8 @@ import { UpdateBudgetActionCommandInput, UpdateBudgetActionCommandOutput } from
|
|
|
28
29
|
import { UpdateBudgetCommandInput, UpdateBudgetCommandOutput } from "./commands/UpdateBudgetCommand";
|
|
29
30
|
import { UpdateNotificationCommandInput, UpdateNotificationCommandOutput } from "./commands/UpdateNotificationCommand";
|
|
30
31
|
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./commands/UpdateSubscriberCommand";
|
|
31
|
-
export declare type ServiceInputTypes = CreateBudgetActionCommandInput | CreateBudgetCommandInput | CreateNotificationCommandInput | CreateSubscriberCommandInput | DeleteBudgetActionCommandInput | DeleteBudgetCommandInput | DeleteNotificationCommandInput | DeleteSubscriberCommandInput | DescribeBudgetActionCommandInput | DescribeBudgetActionHistoriesCommandInput | DescribeBudgetActionsForAccountCommandInput | DescribeBudgetActionsForBudgetCommandInput | DescribeBudgetCommandInput | DescribeBudgetPerformanceHistoryCommandInput | DescribeBudgetsCommandInput | DescribeNotificationsForBudgetCommandInput | DescribeSubscribersForNotificationCommandInput | ExecuteBudgetActionCommandInput | UpdateBudgetActionCommandInput | UpdateBudgetCommandInput | UpdateNotificationCommandInput | UpdateSubscriberCommandInput;
|
|
32
|
-
export declare type ServiceOutputTypes = CreateBudgetActionCommandOutput | CreateBudgetCommandOutput | CreateNotificationCommandOutput | CreateSubscriberCommandOutput | DeleteBudgetActionCommandOutput | DeleteBudgetCommandOutput | DeleteNotificationCommandOutput | DeleteSubscriberCommandOutput | DescribeBudgetActionCommandOutput | DescribeBudgetActionHistoriesCommandOutput | DescribeBudgetActionsForAccountCommandOutput | DescribeBudgetActionsForBudgetCommandOutput | DescribeBudgetCommandOutput | DescribeBudgetPerformanceHistoryCommandOutput | DescribeBudgetsCommandOutput | DescribeNotificationsForBudgetCommandOutput | DescribeSubscribersForNotificationCommandOutput | ExecuteBudgetActionCommandOutput | UpdateBudgetActionCommandOutput | UpdateBudgetCommandOutput | UpdateNotificationCommandOutput | UpdateSubscriberCommandOutput;
|
|
32
|
+
export declare type ServiceInputTypes = CreateBudgetActionCommandInput | CreateBudgetCommandInput | CreateNotificationCommandInput | CreateSubscriberCommandInput | DeleteBudgetActionCommandInput | DeleteBudgetCommandInput | DeleteNotificationCommandInput | DeleteSubscriberCommandInput | DescribeBudgetActionCommandInput | DescribeBudgetActionHistoriesCommandInput | DescribeBudgetActionsForAccountCommandInput | DescribeBudgetActionsForBudgetCommandInput | DescribeBudgetCommandInput | DescribeBudgetNotificationsForAccountCommandInput | DescribeBudgetPerformanceHistoryCommandInput | DescribeBudgetsCommandInput | DescribeNotificationsForBudgetCommandInput | DescribeSubscribersForNotificationCommandInput | ExecuteBudgetActionCommandInput | UpdateBudgetActionCommandInput | UpdateBudgetCommandInput | UpdateNotificationCommandInput | UpdateSubscriberCommandInput;
|
|
33
|
+
export declare type ServiceOutputTypes = CreateBudgetActionCommandOutput | CreateBudgetCommandOutput | CreateNotificationCommandOutput | CreateSubscriberCommandOutput | DeleteBudgetActionCommandOutput | DeleteBudgetCommandOutput | DeleteNotificationCommandOutput | DeleteSubscriberCommandOutput | DescribeBudgetActionCommandOutput | DescribeBudgetActionHistoriesCommandOutput | DescribeBudgetActionsForAccountCommandOutput | DescribeBudgetActionsForBudgetCommandOutput | DescribeBudgetCommandOutput | DescribeBudgetNotificationsForAccountCommandOutput | DescribeBudgetPerformanceHistoryCommandOutput | DescribeBudgetsCommandOutput | DescribeNotificationsForBudgetCommandOutput | DescribeSubscribersForNotificationCommandOutput | ExecuteBudgetActionCommandOutput | UpdateBudgetActionCommandOutput | UpdateBudgetCommandOutput | UpdateNotificationCommandOutput | UpdateSubscriberCommandOutput;
|
|
33
34
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
34
35
|
/**
|
|
35
36
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -148,7 +149,7 @@ declare type BudgetsClientResolvedConfigType = __SmithyResolvedConfiguration<__H
|
|
|
148
149
|
export interface BudgetsClientResolvedConfig extends BudgetsClientResolvedConfigType {
|
|
149
150
|
}
|
|
150
151
|
/**
|
|
151
|
-
* <p>The
|
|
152
|
+
* <p>The Amazon Web Services Budgets API enables you to use Amazon Web Services Budgets to plan your service usage, service costs, and instance reservations. The API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Amazon Web Services Budgets. </p>
|
|
152
153
|
* <p>Budgets provide you with a way to see the following information:</p>
|
|
153
154
|
* <ul>
|
|
154
155
|
* <li>
|
|
@@ -158,13 +159,13 @@ export interface BudgetsClientResolvedConfig extends BudgetsClientResolvedConfig
|
|
|
158
159
|
* <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p>
|
|
159
160
|
* </li>
|
|
160
161
|
* <li>
|
|
161
|
-
* <p>Your current estimated charges from
|
|
162
|
+
* <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>
|
|
162
163
|
* </li>
|
|
163
164
|
* <li>
|
|
164
165
|
* <p>How much of your budget has been used</p>
|
|
165
166
|
* </li>
|
|
166
167
|
* </ul>
|
|
167
|
-
* <p>
|
|
168
|
+
* <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>
|
|
168
169
|
* <ul>
|
|
169
170
|
* <li>
|
|
170
171
|
* <p>
|
|
@@ -184,13 +185,13 @@ export interface BudgetsClientResolvedConfig extends BudgetsClientResolvedConfig
|
|
|
184
185
|
* </li>
|
|
185
186
|
* </ul>
|
|
186
187
|
* <p>Service Endpoint</p>
|
|
187
|
-
* <p>The
|
|
188
|
+
* <p>The Amazon Web Services Budgets API provides the following endpoint:</p>
|
|
188
189
|
* <ul>
|
|
189
190
|
* <li>
|
|
190
191
|
* <p>https://budgets.amazonaws.com</p>
|
|
191
192
|
* </li>
|
|
192
193
|
* </ul>
|
|
193
|
-
* <p>For information about costs that are associated with the
|
|
194
|
+
* <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>
|
|
194
195
|
*/
|
|
195
196
|
export declare class BudgetsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BudgetsClientResolvedConfig> {
|
|
196
197
|
/**
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
|
|
4
|
+
import { DescribeBudgetNotificationsForAccountRequest, DescribeBudgetNotificationsForAccountResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeBudgetNotificationsForAccountCommandInput extends DescribeBudgetNotificationsForAccountRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeBudgetNotificationsForAccountCommandOutput extends DescribeBudgetNotificationsForAccountResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Lists the budget names and notifications that are associated with an account.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { BudgetsClient, DescribeBudgetNotificationsForAccountCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
17
|
+
* // const { BudgetsClient, DescribeBudgetNotificationsForAccountCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
18
|
+
* const client = new BudgetsClient(config);
|
|
19
|
+
* const command = new DescribeBudgetNotificationsForAccountCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DescribeBudgetNotificationsForAccountCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DescribeBudgetNotificationsForAccountCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link BudgetsClientResolvedConfig | config} for BudgetsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DescribeBudgetNotificationsForAccountCommand extends $Command<DescribeBudgetNotificationsForAccountCommandInput, DescribeBudgetNotificationsForAccountCommandOutput, BudgetsClientResolvedConfig> {
|
|
29
|
+
readonly input: DescribeBudgetNotificationsForAccountCommandInput;
|
|
30
|
+
constructor(input: DescribeBudgetNotificationsForAccountCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBudgetNotificationsForAccountCommandInput, DescribeBudgetNotificationsForAccountCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface UpdateBudgetCommandInput extends UpdateBudgetRequest {
|
|
|
7
7
|
export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <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
|
|
10
|
+
* <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>
|
|
11
11
|
* <important>
|
|
12
12
|
* <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>
|
|
13
13
|
* </important>
|
|
@@ -11,6 +11,7 @@ export * from "./DescribeBudgetActionHistoriesCommand";
|
|
|
11
11
|
export * from "./DescribeBudgetActionsForAccountCommand";
|
|
12
12
|
export * from "./DescribeBudgetActionsForBudgetCommand";
|
|
13
13
|
export * from "./DescribeBudgetCommand";
|
|
14
|
+
export * from "./DescribeBudgetNotificationsForAccountCommand";
|
|
14
15
|
export * from "./DescribeBudgetPerformanceHistoryCommand";
|
|
15
16
|
export * from "./DescribeBudgetsCommand";
|
|
16
17
|
export * from "./DescribeNotificationsForBudgetCommand";
|