@aws-sdk/client-budgets 3.30.0 → 3.34.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/dist/cjs/BudgetsClient.js +13 -13
- package/dist/cjs/BudgetsClient.js.map +1 -1
- package/dist/cjs/commands/CreateBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/CreateBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBudgetCommand.js +3 -3
- package/dist/cjs/commands/CreateBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateNotificationCommand.js +3 -3
- package/dist/cjs/commands/CreateNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateSubscriberCommand.js +3 -3
- package/dist/cjs/commands/CreateSubscriberCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/DeleteBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBudgetCommand.js +3 -3
- package/dist/cjs/commands/DeleteBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteNotificationCommand.js +3 -3
- package/dist/cjs/commands/DeleteNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSubscriberCommand.js +3 -3
- package/dist/cjs/commands/DeleteSubscriberCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionHistoriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionHistoriesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionsForAccountCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionsForAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetActionsForBudgetCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetActionsForBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetPerformanceHistoryCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetPerformanceHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBudgetsCommand.js +3 -3
- package/dist/cjs/commands/DescribeBudgetsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeNotificationsForBudgetCommand.js +3 -3
- package/dist/cjs/commands/DescribeNotificationsForBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSubscribersForNotificationCommand.js +3 -3
- package/dist/cjs/commands/DescribeSubscribersForNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/ExecuteBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBudgetActionCommand.js +3 -3
- package/dist/cjs/commands/UpdateBudgetActionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBudgetCommand.js +3 -3
- package/dist/cjs/commands/UpdateBudgetCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateNotificationCommand.js +3 -3
- package/dist/cjs/commands/UpdateNotificationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSubscriberCommand.js +3 -3
- package/dist/cjs/commands/UpdateSubscriberCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +33 -33
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +87 -83
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Budgets.js +1 -46
- package/dist/es/Budgets.js.map +1 -1
- package/dist/es/BudgetsClient.js +1 -51
- package/dist/es/BudgetsClient.js.map +1 -1
- package/dist/es/commands/CreateBudgetActionCommand.js +2 -29
- package/dist/es/commands/CreateBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/CreateBudgetCommand.js +2 -30
- package/dist/es/commands/CreateBudgetCommand.js.map +1 -1
- package/dist/es/commands/CreateNotificationCommand.js +2 -27
- package/dist/es/commands/CreateNotificationCommand.js.map +1 -1
- package/dist/es/commands/CreateSubscriberCommand.js +2 -27
- package/dist/es/commands/CreateSubscriberCommand.js.map +1 -1
- package/dist/es/commands/DeleteBudgetActionCommand.js +2 -29
- package/dist/es/commands/DeleteBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/DeleteBudgetCommand.js +2 -30
- package/dist/es/commands/DeleteBudgetCommand.js.map +1 -1
- package/dist/es/commands/DeleteNotificationCommand.js +2 -30
- package/dist/es/commands/DeleteNotificationCommand.js.map +1 -1
- package/dist/es/commands/DeleteSubscriberCommand.js +2 -30
- package/dist/es/commands/DeleteSubscriberCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionHistoriesCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionHistoriesCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionsForAccountCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionsForAccountCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetActionsForBudgetCommand.js +2 -29
- package/dist/es/commands/DescribeBudgetActionsForBudgetCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetCommand.js +2 -30
- package/dist/es/commands/DescribeBudgetCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetPerformanceHistoryCommand.js +2 -27
- package/dist/es/commands/DescribeBudgetPerformanceHistoryCommand.js.map +1 -1
- package/dist/es/commands/DescribeBudgetsCommand.js +2 -30
- package/dist/es/commands/DescribeBudgetsCommand.js.map +1 -1
- package/dist/es/commands/DescribeNotificationsForBudgetCommand.js +2 -27
- package/dist/es/commands/DescribeNotificationsForBudgetCommand.js.map +1 -1
- package/dist/es/commands/DescribeSubscribersForNotificationCommand.js +2 -27
- package/dist/es/commands/DescribeSubscribersForNotificationCommand.js.map +1 -1
- package/dist/es/commands/ExecuteBudgetActionCommand.js +2 -29
- package/dist/es/commands/ExecuteBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/UpdateBudgetActionCommand.js +2 -29
- package/dist/es/commands/UpdateBudgetActionCommand.js.map +1 -1
- package/dist/es/commands/UpdateBudgetCommand.js +2 -30
- package/dist/es/commands/UpdateBudgetCommand.js.map +1 -1
- package/dist/es/commands/UpdateNotificationCommand.js +2 -27
- package/dist/es/commands/UpdateNotificationCommand.js.map +1 -1
- package/dist/es/commands/UpdateSubscriberCommand.js +2 -27
- package/dist/es/commands/UpdateSubscriberCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -213
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeBudgetActionHistoriesPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetActionHistoriesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetActionsForAccountPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetActionsForAccountPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetActionsForBudgetPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetActionsForBudgetPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetPerformanceHistoryPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetPerformanceHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeBudgetsPaginator.js +16 -28
- package/dist/es/pagination/DescribeBudgetsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeNotificationsForBudgetPaginator.js +16 -28
- package/dist/es/pagination/DescribeNotificationsForBudgetPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeSubscribersForNotificationPaginator.js +16 -28
- package/dist/es/pagination/DescribeSubscribersForNotificationPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +614 -615
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_json1_1.ts +13 -4
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,40 +3,13 @@ import { UpdateBudgetActionRequest, UpdateBudgetActionResponse } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateBudgetActionCommand, serializeAws_json1_1UpdateBudgetActionCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>
|
|
8
|
-
* Updates a budget action.
|
|
9
|
-
* </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BudgetsClient, UpdateBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
14
|
-
* // const { BudgetsClient, UpdateBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
15
|
-
* const client = new BudgetsClient(config);
|
|
16
|
-
* const command = new UpdateBudgetActionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateBudgetActionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateBudgetActionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BudgetsClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var UpdateBudgetActionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateBudgetActionCommand = (function (_super) {
|
|
26
7
|
__extends(UpdateBudgetActionCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function UpdateBudgetActionCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
UpdateBudgetActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateBudgetActionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateBudgetActionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateBudgetActionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateBudgetActionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAA+C,6CAI9C;IAIC,mCAAqB,KAAqC;QAA1D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;IAI1D,CAAC;IAKD,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,41 +3,13 @@ import { UpdateBudgetRequest, UpdateBudgetResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateBudgetCommand, serializeAws_json1_1UpdateBudgetCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <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 AWS has new usage data to use for forecasting.</p>
|
|
8
|
-
* <important>
|
|
9
|
-
* <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>
|
|
10
|
-
* </important>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { BudgetsClient, UpdateBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
15
|
-
* // const { BudgetsClient, UpdateBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
16
|
-
* const client = new BudgetsClient(config);
|
|
17
|
-
* const command = new UpdateBudgetCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateBudgetCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateBudgetCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BudgetsClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var UpdateBudgetCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateBudgetCommand = (function (_super) {
|
|
27
7
|
__extends(UpdateBudgetCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function UpdateBudgetCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
UpdateBudgetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateBudgetCommand.js","sourceRoot":"","sources":["../../../commands/UpdateBudgetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateBudgetCommand.js","sourceRoot":"","sources":["../../../commands/UpdateBudgetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkC7D;IAAyC,uCAIxC;IAIC,6BAAqB,KAA+B;QAApD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;IAIpD,CAAC;IAKD,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,oBAAoB,CAAC,kBAAkB;SAClE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateNotificationRequest, UpdateNotificationResponse } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateNotificationCommand, serializeAws_json1_1UpdateNotificationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates a notification.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BudgetsClient, UpdateNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
12
|
-
* // const { BudgetsClient, UpdateNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
13
|
-
* const client = new BudgetsClient(config);
|
|
14
|
-
* const command = new UpdateNotificationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateNotificationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateNotificationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BudgetsClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateNotificationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateNotificationCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateNotificationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateNotificationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateNotificationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateNotificationCommand.js","sourceRoot":"","sources":["../../../commands/UpdateNotificationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateNotificationCommand.js","sourceRoot":"","sources":["../../../commands/UpdateNotificationCommand.ts"],"names":[],"mappings":";AACA,OAAO,E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AK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateSubscriberRequest, UpdateSubscriberResponse } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateSubscriberCommand, serializeAws_json1_1UpdateSubscriberCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates a subscriber.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BudgetsClient, UpdateSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
12
|
-
* // const { BudgetsClient, UpdateSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
13
|
-
* const client = new BudgetsClient(config);
|
|
14
|
-
* const command = new UpdateSubscriberCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateSubscriberCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateSubscriberCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BudgetsClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateSubscriberCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateSubscriberCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateSubscriberCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateSubscriberCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateSubscriberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSubscriberCommand.js","sourceRoot":"","sources":["../../../commands/UpdateSubscriberCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateSubscriberCommand.js","sourceRoot":"","sources":["../../../commands/UpdateSubscriberCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA6C,2CAI5C;IAIC,iCAAqB,KAAmC;QAAxD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;IAIxD,CAAC;IAKD,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -57,7 +57,7 @@ var partitionHash = {
|
|
|
57
57
|
};
|
|
58
58
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
59
59
|
return __generator(this, function (_a) {
|
|
60
|
-
return [2
|
|
60
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "budgets", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
61
61
|
});
|
|
62
62
|
}); };
|
|
63
63
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,eAAe,EAAE;QACf,QAAQ,EAAE,0BAA0B;QACpC,aAAa,EAAE,gBAAgB;KAChC;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,uBAAuB;QACjC,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,YAAY;KACvB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,gBAAgB,CAAC;QAC1D,QAAQ,EAAE,eAAe;KAC1B;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,6BAA6B;KACxC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,gCAAgC;KAC3C;IACD,YAAY,EAAE;Q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