@aws-sdk/client-budgets 3.300.0 → 3.301.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 +13 -13
- package/dist-types/commands/CreateBudgetCommand.d.ts +16 -16
- package/dist-types/commands/CreateNotificationCommand.d.ts +4 -4
- package/dist-types/commands/CreateSubscriberCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBudgetActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBudgetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotificationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +3 -3
- package/dist-types/commands/DescribeBudgetActionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBudgetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeBudgetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +2 -2
- package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBudgetActionCommand.d.ts +13 -13
- package/dist-types/commands/UpdateBudgetCommand.d.ts +11 -11
- package/dist-types/commands/UpdateNotificationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +3 -3
- package/package.json +3 -3
|
@@ -28,46 +28,46 @@ 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 = {
|
|
31
|
+
* const input = { // CreateBudgetActionRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* NotificationType: "STRING_VALUE", // required
|
|
35
35
|
* ActionType: "STRING_VALUE", // required
|
|
36
|
-
* ActionThreshold: {
|
|
36
|
+
* ActionThreshold: { // ActionThreshold
|
|
37
37
|
* ActionThresholdValue: Number("double"), // required
|
|
38
38
|
* ActionThresholdType: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* Definition: {
|
|
41
|
-
* IamActionDefinition: {
|
|
40
|
+
* Definition: { // Definition
|
|
41
|
+
* IamActionDefinition: { // IamActionDefinition
|
|
42
42
|
* PolicyArn: "STRING_VALUE", // required
|
|
43
|
-
* Roles: [
|
|
43
|
+
* Roles: [ // Roles
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* Groups: [
|
|
46
|
+
* Groups: [ // Groups
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
|
-
* Users: [
|
|
49
|
+
* Users: [ // Users
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* },
|
|
53
|
-
* ScpActionDefinition: {
|
|
53
|
+
* ScpActionDefinition: { // ScpActionDefinition
|
|
54
54
|
* PolicyId: "STRING_VALUE", // required
|
|
55
|
-
* TargetIds: [ // required
|
|
55
|
+
* TargetIds: [ // TargetIds // required
|
|
56
56
|
* "STRING_VALUE",
|
|
57
57
|
* ],
|
|
58
58
|
* },
|
|
59
|
-
* SsmActionDefinition: {
|
|
59
|
+
* SsmActionDefinition: { // SsmActionDefinition
|
|
60
60
|
* ActionSubType: "STRING_VALUE", // required
|
|
61
61
|
* Region: "STRING_VALUE", // required
|
|
62
|
-
* InstanceIds: [ // required
|
|
62
|
+
* InstanceIds: [ // InstanceIds // required
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
67
|
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
68
68
|
* ApprovalModel: "STRING_VALUE", // required
|
|
69
|
-
* Subscribers: [ // required
|
|
70
|
-
* {
|
|
69
|
+
* Subscribers: [ // Subscribers // required
|
|
70
|
+
* { // Subscriber
|
|
71
71
|
* SubscriptionType: "STRING_VALUE", // required
|
|
72
72
|
* Address: "STRING_VALUE", // required
|
|
73
73
|
* },
|
|
@@ -29,26 +29,26 @@ 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 = {
|
|
32
|
+
* const input = { // CreateBudgetRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
|
-
* Budget: {
|
|
34
|
+
* Budget: { // Budget
|
|
35
35
|
* BudgetName: "STRING_VALUE", // required
|
|
36
|
-
* BudgetLimit: {
|
|
36
|
+
* BudgetLimit: { // Spend
|
|
37
37
|
* Amount: "STRING_VALUE", // required
|
|
38
38
|
* Unit: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* PlannedBudgetLimits: {
|
|
40
|
+
* PlannedBudgetLimits: { // PlannedBudgetLimits
|
|
41
41
|
* "<keys>": {
|
|
42
42
|
* Amount: "STRING_VALUE", // required
|
|
43
43
|
* Unit: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* },
|
|
46
|
-
* CostFilters: {
|
|
47
|
-
* "<keys>": [
|
|
46
|
+
* CostFilters: { // CostFilters
|
|
47
|
+
* "<keys>": [ // DimensionValues
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* },
|
|
51
|
-
* CostTypes: {
|
|
51
|
+
* CostTypes: { // CostTypes
|
|
52
52
|
* IncludeTax: true || false,
|
|
53
53
|
* IncludeSubscription: true || false,
|
|
54
54
|
* UseBlended: true || false,
|
|
@@ -62,11 +62,11 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
62
62
|
* UseAmortized: true || false,
|
|
63
63
|
* },
|
|
64
64
|
* TimeUnit: "STRING_VALUE", // required
|
|
65
|
-
* TimePeriod: {
|
|
65
|
+
* TimePeriod: { // TimePeriod
|
|
66
66
|
* Start: new Date("TIMESTAMP"),
|
|
67
67
|
* End: new Date("TIMESTAMP"),
|
|
68
68
|
* },
|
|
69
|
-
* CalculatedSpend: {
|
|
69
|
+
* CalculatedSpend: { // CalculatedSpend
|
|
70
70
|
* ActualSpend: {
|
|
71
71
|
* Amount: "STRING_VALUE", // required
|
|
72
72
|
* Unit: "STRING_VALUE", // required
|
|
@@ -78,26 +78,26 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
|
|
|
78
78
|
* },
|
|
79
79
|
* BudgetType: "STRING_VALUE", // required
|
|
80
80
|
* LastUpdatedTime: new Date("TIMESTAMP"),
|
|
81
|
-
* AutoAdjustData: {
|
|
81
|
+
* AutoAdjustData: { // AutoAdjustData
|
|
82
82
|
* AutoAdjustType: "STRING_VALUE", // required
|
|
83
|
-
* HistoricalOptions: {
|
|
83
|
+
* HistoricalOptions: { // HistoricalOptions
|
|
84
84
|
* BudgetAdjustmentPeriod: Number("int"), // required
|
|
85
85
|
* LookBackAvailablePeriods: Number("int"),
|
|
86
86
|
* },
|
|
87
87
|
* LastAutoAdjustTime: new Date("TIMESTAMP"),
|
|
88
88
|
* },
|
|
89
89
|
* },
|
|
90
|
-
* NotificationsWithSubscribers: [
|
|
91
|
-
* {
|
|
92
|
-
* Notification: {
|
|
90
|
+
* NotificationsWithSubscribers: [ // NotificationWithSubscribersList
|
|
91
|
+
* { // NotificationWithSubscribers
|
|
92
|
+
* Notification: { // Notification
|
|
93
93
|
* NotificationType: "STRING_VALUE", // required
|
|
94
94
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
95
95
|
* Threshold: Number("double"), // required
|
|
96
96
|
* ThresholdType: "STRING_VALUE",
|
|
97
97
|
* NotificationState: "STRING_VALUE",
|
|
98
98
|
* },
|
|
99
|
-
* Subscribers: [ // required
|
|
100
|
-
* {
|
|
99
|
+
* Subscribers: [ // Subscribers // required
|
|
100
|
+
* { // Subscriber
|
|
101
101
|
* SubscriptionType: "STRING_VALUE", // required
|
|
102
102
|
* Address: "STRING_VALUE", // required
|
|
103
103
|
* },
|
|
@@ -26,18 +26,18 @@ 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 = {
|
|
29
|
+
* const input = { // CreateNotificationRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
|
-
* Notification: {
|
|
32
|
+
* Notification: { // Notification
|
|
33
33
|
* NotificationType: "STRING_VALUE", // required
|
|
34
34
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
35
|
* Threshold: Number("double"), // required
|
|
36
36
|
* ThresholdType: "STRING_VALUE",
|
|
37
37
|
* NotificationState: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
|
-
* Subscribers: [ // required
|
|
40
|
-
* {
|
|
39
|
+
* Subscribers: [ // Subscribers // required
|
|
40
|
+
* { // Subscriber
|
|
41
41
|
* SubscriptionType: "STRING_VALUE", // required
|
|
42
42
|
* Address: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
@@ -26,17 +26,17 @@ 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 = {
|
|
29
|
+
* const input = { // CreateSubscriberRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
|
-
* Notification: {
|
|
32
|
+
* Notification: { // Notification
|
|
33
33
|
* NotificationType: "STRING_VALUE", // required
|
|
34
34
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
35
|
* Threshold: Number("double"), // required
|
|
36
36
|
* ThresholdType: "STRING_VALUE",
|
|
37
37
|
* NotificationState: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
|
-
* Subscriber: {
|
|
39
|
+
* Subscriber: { // Subscriber
|
|
40
40
|
* SubscriptionType: "STRING_VALUE", // required
|
|
41
41
|
* Address: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DeleteBudgetActionRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* ActionId: "STRING_VALUE", // required
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // DeleteBudgetRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
34
|
* BudgetName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -29,10 +29,10 @@ 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 = {
|
|
32
|
+
* const input = { // DeleteNotificationRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
34
|
* BudgetName: "STRING_VALUE", // required
|
|
35
|
-
* Notification: {
|
|
35
|
+
* Notification: { // Notification
|
|
36
36
|
* NotificationType: "STRING_VALUE", // required
|
|
37
37
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
38
38
|
* Threshold: Number("double"), // required
|
|
@@ -29,17 +29,17 @@ 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 = {
|
|
32
|
+
* const input = { // DeleteSubscriberRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
34
|
* BudgetName: "STRING_VALUE", // required
|
|
35
|
-
* Notification: {
|
|
35
|
+
* Notification: { // Notification
|
|
36
36
|
* NotificationType: "STRING_VALUE", // required
|
|
37
37
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
38
38
|
* Threshold: Number("double"), // required
|
|
39
39
|
* ThresholdType: "STRING_VALUE",
|
|
40
40
|
* NotificationState: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
|
-
* Subscriber: {
|
|
42
|
+
* Subscriber: { // Subscriber
|
|
43
43
|
* SubscriptionType: "STRING_VALUE", // required
|
|
44
44
|
* Address: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeBudgetActionRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* ActionId: "STRING_VALUE", // required
|
|
@@ -28,11 +28,11 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeBudgetActionHistoriesRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* ActionId: "STRING_VALUE", // required
|
|
35
|
-
* TimePeriod: {
|
|
35
|
+
* TimePeriod: { // TimePeriod
|
|
36
36
|
* Start: new Date("TIMESTAMP"),
|
|
37
37
|
* End: new Date("TIMESTAMP"),
|
|
38
38
|
* },
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeBudgetActionsForAccountRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* MaxResults: Number("int"),
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeBudgetActionsForBudgetRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* MaxResults: Number("int"),
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // DescribeBudgetRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
34
|
* BudgetName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // DescribeBudgetNotificationsForAccountRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* MaxResults: Number("int"),
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeBudgetPerformanceHistoryRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
|
-
* TimePeriod: {
|
|
32
|
+
* TimePeriod: { // TimePeriod
|
|
33
33
|
* Start: new Date("TIMESTAMP"),
|
|
34
34
|
* End: new Date("TIMESTAMP"),
|
|
35
35
|
* },
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // DescribeBudgetsRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
34
|
* MaxResults: Number("int"),
|
|
35
35
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeNotificationsForBudgetRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
32
|
* MaxResults: Number("int"),
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeSubscribersForNotificationRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
|
-
* Notification: {
|
|
32
|
+
* Notification: { // Notification
|
|
33
33
|
* NotificationType: "STRING_VALUE", // required
|
|
34
34
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
35
|
* Threshold: Number("double"), // required
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // ExecuteBudgetActionRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* ActionId: "STRING_VALUE", // required
|
|
@@ -28,46 +28,46 @@ 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 = {
|
|
31
|
+
* const input = { // UpdateBudgetActionRequest
|
|
32
32
|
* AccountId: "STRING_VALUE", // required
|
|
33
33
|
* BudgetName: "STRING_VALUE", // required
|
|
34
34
|
* ActionId: "STRING_VALUE", // required
|
|
35
35
|
* NotificationType: "STRING_VALUE",
|
|
36
|
-
* ActionThreshold: {
|
|
36
|
+
* ActionThreshold: { // ActionThreshold
|
|
37
37
|
* ActionThresholdValue: Number("double"), // required
|
|
38
38
|
* ActionThresholdType: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* Definition: {
|
|
41
|
-
* IamActionDefinition: {
|
|
40
|
+
* Definition: { // Definition
|
|
41
|
+
* IamActionDefinition: { // IamActionDefinition
|
|
42
42
|
* PolicyArn: "STRING_VALUE", // required
|
|
43
|
-
* Roles: [
|
|
43
|
+
* Roles: [ // Roles
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* Groups: [
|
|
46
|
+
* Groups: [ // Groups
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
|
-
* Users: [
|
|
49
|
+
* Users: [ // Users
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* },
|
|
53
|
-
* ScpActionDefinition: {
|
|
53
|
+
* ScpActionDefinition: { // ScpActionDefinition
|
|
54
54
|
* PolicyId: "STRING_VALUE", // required
|
|
55
|
-
* TargetIds: [ // required
|
|
55
|
+
* TargetIds: [ // TargetIds // required
|
|
56
56
|
* "STRING_VALUE",
|
|
57
57
|
* ],
|
|
58
58
|
* },
|
|
59
|
-
* SsmActionDefinition: {
|
|
59
|
+
* SsmActionDefinition: { // SsmActionDefinition
|
|
60
60
|
* ActionSubType: "STRING_VALUE", // required
|
|
61
61
|
* Region: "STRING_VALUE", // required
|
|
62
|
-
* InstanceIds: [ // required
|
|
62
|
+
* InstanceIds: [ // InstanceIds // required
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
67
|
* ExecutionRoleArn: "STRING_VALUE",
|
|
68
68
|
* ApprovalModel: "STRING_VALUE",
|
|
69
|
-
* Subscribers: [
|
|
70
|
-
* {
|
|
69
|
+
* Subscribers: [ // Subscribers
|
|
70
|
+
* { // Subscriber
|
|
71
71
|
* SubscriptionType: "STRING_VALUE", // required
|
|
72
72
|
* Address: "STRING_VALUE", // required
|
|
73
73
|
* },
|
|
@@ -29,26 +29,26 @@ 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 = {
|
|
32
|
+
* const input = { // UpdateBudgetRequest
|
|
33
33
|
* AccountId: "STRING_VALUE", // required
|
|
34
|
-
* NewBudget: {
|
|
34
|
+
* NewBudget: { // Budget
|
|
35
35
|
* BudgetName: "STRING_VALUE", // required
|
|
36
|
-
* BudgetLimit: {
|
|
36
|
+
* BudgetLimit: { // Spend
|
|
37
37
|
* Amount: "STRING_VALUE", // required
|
|
38
38
|
* Unit: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* PlannedBudgetLimits: {
|
|
40
|
+
* PlannedBudgetLimits: { // PlannedBudgetLimits
|
|
41
41
|
* "<keys>": {
|
|
42
42
|
* Amount: "STRING_VALUE", // required
|
|
43
43
|
* Unit: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* },
|
|
46
|
-
* CostFilters: {
|
|
47
|
-
* "<keys>": [
|
|
46
|
+
* CostFilters: { // CostFilters
|
|
47
|
+
* "<keys>": [ // DimensionValues
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* },
|
|
51
|
-
* CostTypes: {
|
|
51
|
+
* CostTypes: { // CostTypes
|
|
52
52
|
* IncludeTax: true || false,
|
|
53
53
|
* IncludeSubscription: true || false,
|
|
54
54
|
* UseBlended: true || false,
|
|
@@ -62,11 +62,11 @@ export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __Metad
|
|
|
62
62
|
* UseAmortized: true || false,
|
|
63
63
|
* },
|
|
64
64
|
* TimeUnit: "STRING_VALUE", // required
|
|
65
|
-
* TimePeriod: {
|
|
65
|
+
* TimePeriod: { // TimePeriod
|
|
66
66
|
* Start: new Date("TIMESTAMP"),
|
|
67
67
|
* End: new Date("TIMESTAMP"),
|
|
68
68
|
* },
|
|
69
|
-
* CalculatedSpend: {
|
|
69
|
+
* CalculatedSpend: { // CalculatedSpend
|
|
70
70
|
* ActualSpend: {
|
|
71
71
|
* Amount: "STRING_VALUE", // required
|
|
72
72
|
* Unit: "STRING_VALUE", // required
|
|
@@ -78,9 +78,9 @@ export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __Metad
|
|
|
78
78
|
* },
|
|
79
79
|
* BudgetType: "STRING_VALUE", // required
|
|
80
80
|
* LastUpdatedTime: new Date("TIMESTAMP"),
|
|
81
|
-
* AutoAdjustData: {
|
|
81
|
+
* AutoAdjustData: { // AutoAdjustData
|
|
82
82
|
* AutoAdjustType: "STRING_VALUE", // required
|
|
83
|
-
* HistoricalOptions: {
|
|
83
|
+
* HistoricalOptions: { // HistoricalOptions
|
|
84
84
|
* BudgetAdjustmentPeriod: Number("int"), // required
|
|
85
85
|
* LookBackAvailablePeriods: Number("int"),
|
|
86
86
|
* },
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateNotificationRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
|
-
* OldNotification: {
|
|
32
|
+
* OldNotification: { // Notification
|
|
33
33
|
* NotificationType: "STRING_VALUE", // required
|
|
34
34
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
35
|
* Threshold: Number("double"), // required
|
|
@@ -26,17 +26,17 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateSubscriberRequest
|
|
30
30
|
* AccountId: "STRING_VALUE", // required
|
|
31
31
|
* BudgetName: "STRING_VALUE", // required
|
|
32
|
-
* Notification: {
|
|
32
|
+
* Notification: { // Notification
|
|
33
33
|
* NotificationType: "STRING_VALUE", // required
|
|
34
34
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
35
35
|
* Threshold: Number("double"), // required
|
|
36
36
|
* ThresholdType: "STRING_VALUE",
|
|
37
37
|
* NotificationState: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
|
-
* OldSubscriber: {
|
|
39
|
+
* OldSubscriber: { // Subscriber
|
|
40
40
|
* SubscriptionType: "STRING_VALUE", // required
|
|
41
41
|
* Address: "STRING_VALUE", // required
|
|
42
42
|
* },
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|