@aws-sdk/client-budgets 3.299.0 → 3.300.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-types/commands/CreateBudgetActionCommand.d.ts +45 -0
- package/dist-types/commands/CreateBudgetCommand.d.ts +76 -0
- package/dist-types/commands/CreateNotificationCommand.d.ts +17 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +15 -0
- package/dist-types/commands/DeleteBudgetActionCommand.d.ts +5 -0
- package/dist-types/commands/DeleteBudgetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNotificationCommand.d.ts +11 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +15 -0
- package/dist-types/commands/DescribeBudgetActionCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +6 -0
- package/dist-types/commands/DescribeBudgetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +10 -0
- package/dist-types/commands/DescribeBudgetsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +13 -0
- package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateBudgetActionCommand.d.ts +45 -0
- package/dist-types/commands/UpdateBudgetCommand.d.ts +59 -0
- package/dist-types/commands/UpdateNotificationCommand.d.ts +18 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +19 -0
- package/package.json +8 -8
|
@@ -28,6 +28,51 @@ export interface CreateBudgetActionCommandOutput extends CreateBudgetActionRespo
|
|
|
28
28
|
* import { BudgetsClient, CreateBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, CreateBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* NotificationType: "STRING_VALUE", // required
|
|
35
|
+
* ActionType: "STRING_VALUE", // required
|
|
36
|
+
* ActionThreshold: {
|
|
37
|
+
* ActionThresholdValue: Number("double"), // required
|
|
38
|
+
* ActionThresholdType: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* Definition: {
|
|
41
|
+
* IamActionDefinition: {
|
|
42
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
43
|
+
* Roles: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* Groups: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* Users: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* ScpActionDefinition: {
|
|
54
|
+
* PolicyId: "STRING_VALUE", // required
|
|
55
|
+
* TargetIds: [ // required
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* SsmActionDefinition: {
|
|
60
|
+
* ActionSubType: "STRING_VALUE", // required
|
|
61
|
+
* Region: "STRING_VALUE", // required
|
|
62
|
+
* InstanceIds: [ // required
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
68
|
+
* ApprovalModel: "STRING_VALUE", // required
|
|
69
|
+
* Subscribers: [ // required
|
|
70
|
+
* {
|
|
71
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
72
|
+
* Address: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* };
|
|
31
76
|
* const command = new CreateBudgetActionCommand(input);
|
|
32
77
|
* const response = await client.send(command);
|
|
33
78
|
* ```
|
|
@@ -29,6 +29,82 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
29
29
|
* import { BudgetsClient, CreateBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, CreateBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* Budget: {
|
|
35
|
+
* BudgetName: "STRING_VALUE", // required
|
|
36
|
+
* BudgetLimit: {
|
|
37
|
+
* Amount: "STRING_VALUE", // required
|
|
38
|
+
* Unit: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* PlannedBudgetLimits: {
|
|
41
|
+
* "<keys>": {
|
|
42
|
+
* Amount: "STRING_VALUE", // required
|
|
43
|
+
* Unit: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* CostFilters: {
|
|
47
|
+
* "<keys>": [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* CostTypes: {
|
|
52
|
+
* IncludeTax: true || false,
|
|
53
|
+
* IncludeSubscription: true || false,
|
|
54
|
+
* UseBlended: true || false,
|
|
55
|
+
* IncludeRefund: true || false,
|
|
56
|
+
* IncludeCredit: true || false,
|
|
57
|
+
* IncludeUpfront: true || false,
|
|
58
|
+
* IncludeRecurring: true || false,
|
|
59
|
+
* IncludeOtherSubscription: true || false,
|
|
60
|
+
* IncludeSupport: true || false,
|
|
61
|
+
* IncludeDiscount: true || false,
|
|
62
|
+
* UseAmortized: true || false,
|
|
63
|
+
* },
|
|
64
|
+
* TimeUnit: "STRING_VALUE", // required
|
|
65
|
+
* TimePeriod: {
|
|
66
|
+
* Start: new Date("TIMESTAMP"),
|
|
67
|
+
* End: new Date("TIMESTAMP"),
|
|
68
|
+
* },
|
|
69
|
+
* CalculatedSpend: {
|
|
70
|
+
* ActualSpend: {
|
|
71
|
+
* Amount: "STRING_VALUE", // required
|
|
72
|
+
* Unit: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* ForecastedSpend: {
|
|
75
|
+
* Amount: "STRING_VALUE", // required
|
|
76
|
+
* Unit: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* BudgetType: "STRING_VALUE", // required
|
|
80
|
+
* LastUpdatedTime: new Date("TIMESTAMP"),
|
|
81
|
+
* AutoAdjustData: {
|
|
82
|
+
* AutoAdjustType: "STRING_VALUE", // required
|
|
83
|
+
* HistoricalOptions: {
|
|
84
|
+
* BudgetAdjustmentPeriod: Number("int"), // required
|
|
85
|
+
* LookBackAvailablePeriods: Number("int"),
|
|
86
|
+
* },
|
|
87
|
+
* LastAutoAdjustTime: new Date("TIMESTAMP"),
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* NotificationsWithSubscribers: [
|
|
91
|
+
* {
|
|
92
|
+
* Notification: {
|
|
93
|
+
* NotificationType: "STRING_VALUE", // required
|
|
94
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
95
|
+
* Threshold: Number("double"), // required
|
|
96
|
+
* ThresholdType: "STRING_VALUE",
|
|
97
|
+
* NotificationState: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* Subscribers: [ // required
|
|
100
|
+
* {
|
|
101
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
102
|
+
* Address: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* };
|
|
32
108
|
* const command = new CreateBudgetCommand(input);
|
|
33
109
|
* const response = await client.send(command);
|
|
34
110
|
* ```
|
|
@@ -26,6 +26,23 @@ export interface CreateNotificationCommandOutput extends CreateNotificationRespo
|
|
|
26
26
|
* import { BudgetsClient, CreateNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, CreateNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* Notification: {
|
|
33
|
+
* NotificationType: "STRING_VALUE", // required
|
|
34
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
|
+
* Threshold: Number("double"), // required
|
|
36
|
+
* ThresholdType: "STRING_VALUE",
|
|
37
|
+
* NotificationState: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* Subscribers: [ // required
|
|
40
|
+
* {
|
|
41
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
42
|
+
* Address: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
29
46
|
* const command = new CreateNotificationCommand(input);
|
|
30
47
|
* const response = await client.send(command);
|
|
31
48
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse,
|
|
|
26
26
|
* import { BudgetsClient, CreateSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, CreateSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* Notification: {
|
|
33
|
+
* NotificationType: "STRING_VALUE", // required
|
|
34
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
|
+
* Threshold: Number("double"), // required
|
|
36
|
+
* ThresholdType: "STRING_VALUE",
|
|
37
|
+
* NotificationState: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* Subscriber: {
|
|
40
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
41
|
+
* Address: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateSubscriberCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DeleteBudgetActionCommandOutput extends DeleteBudgetActionRespo
|
|
|
28
28
|
* import { BudgetsClient, DeleteBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, DeleteBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* ActionId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DeleteBudgetActionCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteBudgetCommandOutput extends DeleteBudgetResponse, __Metad
|
|
|
29
29
|
* import { BudgetsClient, DeleteBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, DeleteBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* BudgetName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteBudgetCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface DeleteNotificationCommandOutput extends DeleteNotificationRespo
|
|
|
29
29
|
* import { BudgetsClient, DeleteNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, DeleteNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* BudgetName: "STRING_VALUE", // required
|
|
35
|
+
* Notification: {
|
|
36
|
+
* NotificationType: "STRING_VALUE", // required
|
|
37
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
38
|
+
* Threshold: Number("double"), // required
|
|
39
|
+
* ThresholdType: "STRING_VALUE",
|
|
40
|
+
* NotificationState: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
32
43
|
* const command = new DeleteNotificationCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -29,6 +29,21 @@ export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse,
|
|
|
29
29
|
* import { BudgetsClient, DeleteSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, DeleteSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* BudgetName: "STRING_VALUE", // required
|
|
35
|
+
* Notification: {
|
|
36
|
+
* NotificationType: "STRING_VALUE", // required
|
|
37
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
38
|
+
* Threshold: Number("double"), // required
|
|
39
|
+
* ThresholdType: "STRING_VALUE",
|
|
40
|
+
* NotificationState: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* Subscriber: {
|
|
43
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
44
|
+
* Address: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
32
47
|
* const command = new DeleteSubscriberCommand(input);
|
|
33
48
|
* const response = await client.send(command);
|
|
34
49
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeBudgetActionCommandOutput extends DescribeBudgetActionR
|
|
|
28
28
|
* import { BudgetsClient, DescribeBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, DescribeBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* ActionId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeBudgetActionCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,17 @@ export interface DescribeBudgetActionHistoriesCommandOutput extends DescribeBudg
|
|
|
28
28
|
* import { BudgetsClient, DescribeBudgetActionHistoriesCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, DescribeBudgetActionHistoriesCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* ActionId: "STRING_VALUE", // required
|
|
35
|
+
* TimePeriod: {
|
|
36
|
+
* Start: new Date("TIMESTAMP"),
|
|
37
|
+
* End: new Date("TIMESTAMP"),
|
|
38
|
+
* },
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
31
42
|
* const command = new DescribeBudgetActionHistoriesCommand(input);
|
|
32
43
|
* const response = await client.send(command);
|
|
33
44
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeBudgetActionsForAccountCommandOutput extends DescribeBu
|
|
|
28
28
|
* import { BudgetsClient, DescribeBudgetActionsForAccountCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, DescribeBudgetActionsForAccountCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeBudgetActionsForAccountCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface DescribeBudgetActionsForBudgetCommandOutput extends DescribeBud
|
|
|
28
28
|
* import { BudgetsClient, DescribeBudgetActionsForBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, DescribeBudgetActionsForBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new DescribeBudgetActionsForBudgetCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DescribeBudgetCommandOutput extends DescribeBudgetResponse, __M
|
|
|
29
29
|
* import { BudgetsClient, DescribeBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, DescribeBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* BudgetName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DescribeBudgetCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeBudgetNotificationsForAccountCommandOutput extends Desc
|
|
|
28
28
|
* import { BudgetsClient, DescribeBudgetNotificationsForAccountCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, DescribeBudgetNotificationsForAccountCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeBudgetNotificationsForAccountCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface DescribeBudgetPerformanceHistoryCommandOutput extends DescribeB
|
|
|
26
26
|
* import { BudgetsClient, DescribeBudgetPerformanceHistoryCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, DescribeBudgetPerformanceHistoryCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* TimePeriod: {
|
|
33
|
+
* Start: new Date("TIMESTAMP"),
|
|
34
|
+
* End: new Date("TIMESTAMP"),
|
|
35
|
+
* },
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new DescribeBudgetPerformanceHistoryCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface DescribeBudgetsCommandOutput extends DescribeBudgetsResponse, _
|
|
|
29
29
|
* import { BudgetsClient, DescribeBudgetsCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, DescribeBudgetsCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new DescribeBudgetsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DescribeNotificationsForBudgetCommandOutput extends DescribeNot
|
|
|
26
26
|
* import { BudgetsClient, DescribeNotificationsForBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, DescribeNotificationsForBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DescribeNotificationsForBudgetCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface DescribeSubscribersForNotificationCommandOutput extends Describ
|
|
|
26
26
|
* import { BudgetsClient, DescribeSubscribersForNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, DescribeSubscribersForNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* Notification: {
|
|
33
|
+
* NotificationType: "STRING_VALUE", // required
|
|
34
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
|
+
* Threshold: Number("double"), // required
|
|
36
|
+
* ThresholdType: "STRING_VALUE",
|
|
37
|
+
* NotificationState: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
29
42
|
* const command = new DescribeSubscribersForNotificationCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ExecuteBudgetActionCommandOutput extends ExecuteBudgetActionRes
|
|
|
28
28
|
* import { BudgetsClient, ExecuteBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, ExecuteBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* ActionId: "STRING_VALUE", // required
|
|
35
|
+
* ExecutionType: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ExecuteBudgetActionCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,51 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
|
|
|
28
28
|
* import { BudgetsClient, UpdateBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
29
29
|
* // const { BudgetsClient, UpdateBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
30
30
|
* const client = new BudgetsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE", // required
|
|
33
|
+
* BudgetName: "STRING_VALUE", // required
|
|
34
|
+
* ActionId: "STRING_VALUE", // required
|
|
35
|
+
* NotificationType: "STRING_VALUE",
|
|
36
|
+
* ActionThreshold: {
|
|
37
|
+
* ActionThresholdValue: Number("double"), // required
|
|
38
|
+
* ActionThresholdType: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* Definition: {
|
|
41
|
+
* IamActionDefinition: {
|
|
42
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
43
|
+
* Roles: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* Groups: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* Users: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* ScpActionDefinition: {
|
|
54
|
+
* PolicyId: "STRING_VALUE", // required
|
|
55
|
+
* TargetIds: [ // required
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* SsmActionDefinition: {
|
|
60
|
+
* ActionSubType: "STRING_VALUE", // required
|
|
61
|
+
* Region: "STRING_VALUE", // required
|
|
62
|
+
* InstanceIds: [ // required
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ExecutionRoleArn: "STRING_VALUE",
|
|
68
|
+
* ApprovalModel: "STRING_VALUE",
|
|
69
|
+
* Subscribers: [
|
|
70
|
+
* {
|
|
71
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
72
|
+
* Address: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* };
|
|
31
76
|
* const command = new UpdateBudgetActionCommand(input);
|
|
32
77
|
* const response = await client.send(command);
|
|
33
78
|
* ```
|
|
@@ -29,6 +29,65 @@ export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __Metad
|
|
|
29
29
|
* import { BudgetsClient, UpdateBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
30
30
|
* // const { BudgetsClient, UpdateBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
31
31
|
* const client = new BudgetsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* AccountId: "STRING_VALUE", // required
|
|
34
|
+
* NewBudget: {
|
|
35
|
+
* BudgetName: "STRING_VALUE", // required
|
|
36
|
+
* BudgetLimit: {
|
|
37
|
+
* Amount: "STRING_VALUE", // required
|
|
38
|
+
* Unit: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* PlannedBudgetLimits: {
|
|
41
|
+
* "<keys>": {
|
|
42
|
+
* Amount: "STRING_VALUE", // required
|
|
43
|
+
* Unit: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* CostFilters: {
|
|
47
|
+
* "<keys>": [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* CostTypes: {
|
|
52
|
+
* IncludeTax: true || false,
|
|
53
|
+
* IncludeSubscription: true || false,
|
|
54
|
+
* UseBlended: true || false,
|
|
55
|
+
* IncludeRefund: true || false,
|
|
56
|
+
* IncludeCredit: true || false,
|
|
57
|
+
* IncludeUpfront: true || false,
|
|
58
|
+
* IncludeRecurring: true || false,
|
|
59
|
+
* IncludeOtherSubscription: true || false,
|
|
60
|
+
* IncludeSupport: true || false,
|
|
61
|
+
* IncludeDiscount: true || false,
|
|
62
|
+
* UseAmortized: true || false,
|
|
63
|
+
* },
|
|
64
|
+
* TimeUnit: "STRING_VALUE", // required
|
|
65
|
+
* TimePeriod: {
|
|
66
|
+
* Start: new Date("TIMESTAMP"),
|
|
67
|
+
* End: new Date("TIMESTAMP"),
|
|
68
|
+
* },
|
|
69
|
+
* CalculatedSpend: {
|
|
70
|
+
* ActualSpend: {
|
|
71
|
+
* Amount: "STRING_VALUE", // required
|
|
72
|
+
* Unit: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* ForecastedSpend: {
|
|
75
|
+
* Amount: "STRING_VALUE", // required
|
|
76
|
+
* Unit: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* BudgetType: "STRING_VALUE", // required
|
|
80
|
+
* LastUpdatedTime: new Date("TIMESTAMP"),
|
|
81
|
+
* AutoAdjustData: {
|
|
82
|
+
* AutoAdjustType: "STRING_VALUE", // required
|
|
83
|
+
* HistoricalOptions: {
|
|
84
|
+
* BudgetAdjustmentPeriod: Number("int"), // required
|
|
85
|
+
* LookBackAvailablePeriods: Number("int"),
|
|
86
|
+
* },
|
|
87
|
+
* LastAutoAdjustTime: new Date("TIMESTAMP"),
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* };
|
|
32
91
|
* const command = new UpdateBudgetCommand(input);
|
|
33
92
|
* const response = await client.send(command);
|
|
34
93
|
* ```
|
|
@@ -26,6 +26,24 @@ export interface UpdateNotificationCommandOutput extends UpdateNotificationRespo
|
|
|
26
26
|
* import { BudgetsClient, UpdateNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, UpdateNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* OldNotification: {
|
|
33
|
+
* NotificationType: "STRING_VALUE", // required
|
|
34
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
|
+
* Threshold: Number("double"), // required
|
|
36
|
+
* ThresholdType: "STRING_VALUE",
|
|
37
|
+
* NotificationState: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* NewNotification: {
|
|
40
|
+
* NotificationType: "STRING_VALUE", // required
|
|
41
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
42
|
+
* Threshold: Number("double"), // required
|
|
43
|
+
* ThresholdType: "STRING_VALUE",
|
|
44
|
+
* NotificationState: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
29
47
|
* const command = new UpdateNotificationCommand(input);
|
|
30
48
|
* const response = await client.send(command);
|
|
31
49
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface UpdateSubscriberCommandOutput extends UpdateSubscriberResponse,
|
|
|
26
26
|
* import { BudgetsClient, UpdateSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
|
|
27
27
|
* // const { BudgetsClient, UpdateSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
|
|
28
28
|
* const client = new BudgetsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE", // required
|
|
31
|
+
* BudgetName: "STRING_VALUE", // required
|
|
32
|
+
* Notification: {
|
|
33
|
+
* NotificationType: "STRING_VALUE", // required
|
|
34
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
|
+
* Threshold: Number("double"), // required
|
|
36
|
+
* ThresholdType: "STRING_VALUE",
|
|
37
|
+
* NotificationState: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* OldSubscriber: {
|
|
40
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
41
|
+
* Address: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* NewSubscriber: {
|
|
44
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
45
|
+
* Address: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
29
48
|
* const command = new UpdateSubscriberCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-budgets",
|
|
3
3
|
"description": "AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|