@aws-sdk/client-budgets 3.477.0 → 3.481.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/commands/CreateBudgetActionCommand.js +18 -41
- package/dist-cjs/commands/CreateBudgetCommand.js +18 -41
- package/dist-cjs/commands/CreateNotificationCommand.js +18 -41
- package/dist-cjs/commands/CreateSubscriberCommand.js +18 -41
- package/dist-cjs/commands/DeleteBudgetActionCommand.js +18 -41
- package/dist-cjs/commands/DeleteBudgetCommand.js +18 -41
- package/dist-cjs/commands/DeleteNotificationCommand.js +18 -41
- package/dist-cjs/commands/DeleteSubscriberCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetActionCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetActionHistoriesCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetActionsForAccountCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetActionsForBudgetCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetNotificationsForAccountCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetPerformanceHistoryCommand.js +18 -41
- package/dist-cjs/commands/DescribeBudgetsCommand.js +18 -41
- package/dist-cjs/commands/DescribeNotificationsForBudgetCommand.js +18 -41
- package/dist-cjs/commands/DescribeSubscribersForNotificationCommand.js +18 -41
- package/dist-cjs/commands/ExecuteBudgetActionCommand.js +18 -41
- package/dist-cjs/commands/UpdateBudgetActionCommand.js +18 -41
- package/dist-cjs/commands/UpdateBudgetCommand.js +18 -41
- package/dist-cjs/commands/UpdateNotificationCommand.js +18 -41
- package/dist-cjs/commands/UpdateSubscriberCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeBudgetActionHistoriesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeBudgetActionsForAccountPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeBudgetActionsForBudgetPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeBudgetNotificationsForAccountPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeBudgetPerformanceHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeBudgetsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeNotificationsForBudgetPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSubscribersForNotificationPaginator.js +2 -24
- package/dist-es/commands/CreateBudgetActionCommand.js +18 -41
- package/dist-es/commands/CreateBudgetCommand.js +18 -41
- package/dist-es/commands/CreateNotificationCommand.js +18 -41
- package/dist-es/commands/CreateSubscriberCommand.js +18 -41
- package/dist-es/commands/DeleteBudgetActionCommand.js +18 -41
- package/dist-es/commands/DeleteBudgetCommand.js +18 -41
- package/dist-es/commands/DeleteNotificationCommand.js +18 -41
- package/dist-es/commands/DeleteSubscriberCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetActionCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetActionHistoriesCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetActionsForAccountCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetActionsForBudgetCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetNotificationsForAccountCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetPerformanceHistoryCommand.js +18 -41
- package/dist-es/commands/DescribeBudgetsCommand.js +18 -41
- package/dist-es/commands/DescribeNotificationsForBudgetCommand.js +18 -41
- package/dist-es/commands/DescribeSubscribersForNotificationCommand.js +18 -41
- package/dist-es/commands/ExecuteBudgetActionCommand.js +18 -41
- package/dist-es/commands/UpdateBudgetActionCommand.js +18 -41
- package/dist-es/commands/UpdateBudgetCommand.js +18 -41
- package/dist-es/commands/UpdateNotificationCommand.js +18 -41
- package/dist-es/commands/UpdateSubscriberCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeBudgetActionHistoriesPaginator.js +2 -23
- package/dist-es/pagination/DescribeBudgetActionsForAccountPaginator.js +2 -23
- package/dist-es/pagination/DescribeBudgetActionsForBudgetPaginator.js +2 -23
- package/dist-es/pagination/DescribeBudgetNotificationsForAccountPaginator.js +2 -23
- package/dist-es/pagination/DescribeBudgetPerformanceHistoryPaginator.js +2 -23
- package/dist-es/pagination/DescribeBudgetsPaginator.js +2 -23
- package/dist-es/pagination/DescribeNotificationsForBudgetPaginator.js +2 -23
- package/dist-es/pagination/DescribeSubscribersForNotificationPaginator.js +2 -23
- package/dist-types/commands/CreateBudgetActionCommand.d.ts +6 -21
- package/dist-types/commands/CreateBudgetCommand.d.ts +6 -21
- package/dist-types/commands/CreateNotificationCommand.d.ts +6 -21
- package/dist-types/commands/CreateSubscriberCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBudgetActionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBudgetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteNotificationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetActionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBudgetsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +6 -21
- package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBudgetActionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBudgetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateNotificationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeBudgetActionHistoriesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeBudgetActionsForAccountPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeBudgetActionsForBudgetPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeBudgetNotificationsForAccountPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeBudgetPerformanceHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeBudgetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeNotificationsForBudgetPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSubscribersForNotificationPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateBudgetActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBudgetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateNotificationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBudgetActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBudgetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteNotificationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBudgetActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBudgetActionHistoriesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBudgetActionsForAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBudgetActionsForBudgetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBudgetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBudgetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeNotificationsForBudgetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSubscribersForNotificationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExecuteBudgetActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBudgetActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBudgetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateNotificationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeBudgetActionHistoriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeBudgetActionsForAccountPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeBudgetActionsForBudgetPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeBudgetNotificationsForAccountPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeBudgetPerformanceHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeBudgetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeNotificationsForBudgetPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSubscribersForNotificationPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ExecuteBudgetActionCommand, se_ExecuteBudgetActionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ExecuteBudgetActionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "BudgetsClient";
|
|
26
|
-
const commandName = "ExecuteBudgetActionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSBudgetServiceGateway",
|
|
35
|
-
operation: "ExecuteBudgetAction",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ExecuteBudgetActionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ExecuteBudgetActionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ExecuteBudgetActionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSBudgetServiceGateway", "ExecuteBudgetAction", {})
|
|
19
|
+
.n("BudgetsClient", "ExecuteBudgetActionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ExecuteBudgetActionCommand)
|
|
22
|
+
.de(de_ExecuteBudgetActionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateBudgetActionRequestFilterSensitiveLog, UpdateBudgetActionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateBudgetActionCommand, se_UpdateBudgetActionCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateBudgetActionCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "BudgetsClient";
|
|
27
|
-
const commandName = "UpdateBudgetActionCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateBudgetActionRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: UpdateBudgetActionResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSBudgetServiceGateway",
|
|
36
|
-
operation: "UpdateBudgetAction",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateBudgetActionCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateBudgetActionCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateBudgetActionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBudgetServiceGateway", "UpdateBudgetAction", {})
|
|
20
|
+
.n("BudgetsClient", "UpdateBudgetActionCommand")
|
|
21
|
+
.f(UpdateBudgetActionRequestFilterSensitiveLog, UpdateBudgetActionResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateBudgetActionCommand)
|
|
23
|
+
.de(de_UpdateBudgetActionCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateBudgetCommand, se_UpdateBudgetCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateBudgetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "BudgetsClient";
|
|
26
|
-
const commandName = "UpdateBudgetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSBudgetServiceGateway",
|
|
35
|
-
operation: "UpdateBudget",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateBudgetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateBudgetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateBudgetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSBudgetServiceGateway", "UpdateBudget", {})
|
|
19
|
+
.n("BudgetsClient", "UpdateBudgetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateBudgetCommand)
|
|
22
|
+
.de(de_UpdateBudgetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateNotificationCommand, se_UpdateNotificationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateNotificationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "BudgetsClient";
|
|
26
|
-
const commandName = "UpdateNotificationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSBudgetServiceGateway",
|
|
35
|
-
operation: "UpdateNotification",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateNotificationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateNotificationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateNotificationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSBudgetServiceGateway", "UpdateNotification", {})
|
|
19
|
+
.n("BudgetsClient", "UpdateNotificationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateNotificationCommand)
|
|
22
|
+
.de(de_UpdateNotificationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateSubscriberRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateSubscriberCommand, se_UpdateSubscriberCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateSubscriberCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "BudgetsClient";
|
|
27
|
-
const commandName = "UpdateSubscriberCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateSubscriberRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSBudgetServiceGateway",
|
|
36
|
-
operation: "UpdateSubscriber",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateSubscriberCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateSubscriberCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateSubscriberCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBudgetServiceGateway", "UpdateSubscriber", {})
|
|
20
|
+
.n("BudgetsClient", "UpdateSubscriberCommand")
|
|
21
|
+
.f(UpdateSubscriberRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateSubscriberCommand)
|
|
23
|
+
.de(de_UpdateSubscriberCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "budgets",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeBudgetActionHistoriesCommand, } from "../commands/DescribeBudgetActionHistoriesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBudgetActionHistoriesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBudgetActionHistories(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBudgetActionHistories = createPaginator(BudgetsClient, DescribeBudgetActionHistoriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeBudgetActionsForAccountCommand, } from "../commands/DescribeBudgetActionsForAccountCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBudgetActionsForAccountCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBudgetActionsForAccount(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBudgetActionsForAccount = createPaginator(BudgetsClient, DescribeBudgetActionsForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeBudgetActionsForBudgetCommand, } from "../commands/DescribeBudgetActionsForBudgetCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBudgetActionsForBudgetCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBudgetActionsForBudget(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBudgetActionsForBudget = createPaginator(BudgetsClient, DescribeBudgetActionsForBudgetCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeBudgetNotificationsForAccountCommand, } from "../commands/DescribeBudgetNotificationsForAccountCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBudgetNotificationsForAccountCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBudgetNotificationsForAccount(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBudgetNotificationsForAccount = createPaginator(BudgetsClient, DescribeBudgetNotificationsForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeBudgetPerformanceHistoryCommand, } from "../commands/DescribeBudgetPerformanceHistoryCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBudgetPerformanceHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBudgetPerformanceHistory(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBudgetPerformanceHistory = createPaginator(BudgetsClient, DescribeBudgetPerformanceHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeBudgetsCommand, } from "../commands/DescribeBudgetsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBudgetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBudgets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBudgets = createPaginator(BudgetsClient, DescribeBudgetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeNotificationsForBudgetCommand, } from "../commands/DescribeNotificationsForBudgetCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeNotificationsForBudgetCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeNotificationsForBudget(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeNotificationsForBudget = createPaginator(BudgetsClient, DescribeNotificationsForBudgetCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BudgetsClient } from "../BudgetsClient";
|
|
2
3
|
import { DescribeSubscribersForNotificationCommand, } from "../commands/DescribeSubscribersForNotificationCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeSubscribersForNotificationCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeSubscribersForNotification(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BudgetsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Budgets | BudgetsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeSubscribersForNotification = createPaginator(BudgetsClient, DescribeSubscribersForNotificationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
|
|
5
4
|
import { CreateBudgetActionRequest, CreateBudgetActionResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateBudgetActionCommandInput extends CreateBudgetActionReques
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateBudgetActionCommandOutput extends CreateBudgetActionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateBudgetActionCommand_base: {
|
|
24
|
+
new (input: CreateBudgetActionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>
|
|
@@ -119,23 +122,5 @@ export interface CreateBudgetActionCommandOutput extends CreateBudgetActionRespo
|
|
|
119
122
|
* <p>Base exception class for all service exceptions from Budgets service.</p>
|
|
120
123
|
*
|
|
121
124
|
*/
|
|
122
|
-
export declare class CreateBudgetActionCommand extends
|
|
123
|
-
readonly input: CreateBudgetActionCommandInput;
|
|
124
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
125
|
-
/**
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
constructor(input: CreateBudgetActionCommandInput);
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput>;
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
private serialize;
|
|
137
|
-
/**
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
|
-
private deserialize;
|
|
125
|
+
export declare class CreateBudgetActionCommand extends CreateBudgetActionCommand_base {
|
|
141
126
|
}
|