@aws-sdk/client-budgets 3.300.0 → 3.303.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/models/models_0.js +77 -91
- package/dist-es/models/models_0.js +77 -91
- 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/dist-types/models/models_0.d.ts +147 -77
- package/dist-types/ts3.4/models/models_0.d.ts +96 -77
- package/package.json +34 -34
|
@@ -17,90 +17,77 @@ class AccessDeniedException extends BudgetsServiceException_1.BudgetsServiceExce
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
TimeUnit["QUARTERLY"] = "QUARTERLY";
|
|
92
|
-
})(TimeUnit = exports.TimeUnit || (exports.TimeUnit = {}));
|
|
93
|
-
var ComparisonOperator;
|
|
94
|
-
(function (ComparisonOperator) {
|
|
95
|
-
ComparisonOperator["EQUAL_TO"] = "EQUAL_TO";
|
|
96
|
-
ComparisonOperator["GREATER_THAN"] = "GREATER_THAN";
|
|
97
|
-
ComparisonOperator["LESS_THAN"] = "LESS_THAN";
|
|
98
|
-
})(ComparisonOperator = exports.ComparisonOperator || (exports.ComparisonOperator = {}));
|
|
99
|
-
var NotificationState;
|
|
100
|
-
(function (NotificationState) {
|
|
101
|
-
NotificationState["ALARM"] = "ALARM";
|
|
102
|
-
NotificationState["OK"] = "OK";
|
|
103
|
-
})(NotificationState = exports.NotificationState || (exports.NotificationState = {}));
|
|
20
|
+
exports.ThresholdType = {
|
|
21
|
+
ABSOLUTE_VALUE: "ABSOLUTE_VALUE",
|
|
22
|
+
PERCENTAGE: "PERCENTAGE",
|
|
23
|
+
};
|
|
24
|
+
exports.ActionType = {
|
|
25
|
+
IAM: "APPLY_IAM_POLICY",
|
|
26
|
+
SCP: "APPLY_SCP_POLICY",
|
|
27
|
+
SSM: "RUN_SSM_DOCUMENTS",
|
|
28
|
+
};
|
|
29
|
+
exports.ApprovalModel = {
|
|
30
|
+
AUTO: "AUTOMATIC",
|
|
31
|
+
MANUAL: "MANUAL",
|
|
32
|
+
};
|
|
33
|
+
exports.ActionSubType = {
|
|
34
|
+
STOP_EC2: "STOP_EC2_INSTANCES",
|
|
35
|
+
STOP_RDS: "STOP_RDS_INSTANCES",
|
|
36
|
+
};
|
|
37
|
+
exports.NotificationType = {
|
|
38
|
+
ACTUAL: "ACTUAL",
|
|
39
|
+
FORECASTED: "FORECASTED",
|
|
40
|
+
};
|
|
41
|
+
exports.ActionStatus = {
|
|
42
|
+
Execution_Failure: "EXECUTION_FAILURE",
|
|
43
|
+
Execution_In_Progress: "EXECUTION_IN_PROGRESS",
|
|
44
|
+
Execution_Success: "EXECUTION_SUCCESS",
|
|
45
|
+
Pending: "PENDING",
|
|
46
|
+
Reset_Failure: "RESET_FAILURE",
|
|
47
|
+
Reset_In_Progress: "RESET_IN_PROGRESS",
|
|
48
|
+
Reverse_Failure: "REVERSE_FAILURE",
|
|
49
|
+
Reverse_In_Progress: "REVERSE_IN_PROGRESS",
|
|
50
|
+
Reverse_Success: "REVERSE_SUCCESS",
|
|
51
|
+
Standby: "STANDBY",
|
|
52
|
+
};
|
|
53
|
+
exports.SubscriptionType = {
|
|
54
|
+
EMAIL: "EMAIL",
|
|
55
|
+
SNS: "SNS",
|
|
56
|
+
};
|
|
57
|
+
exports.EventType = {
|
|
58
|
+
CreateAction: "CREATE_ACTION",
|
|
59
|
+
DeleteAction: "DELETE_ACTION",
|
|
60
|
+
ExecuteAction: "EXECUTE_ACTION",
|
|
61
|
+
System: "SYSTEM",
|
|
62
|
+
UpdateAction: "UPDATE_ACTION",
|
|
63
|
+
};
|
|
64
|
+
exports.AutoAdjustType = {
|
|
65
|
+
FORECAST: "FORECAST",
|
|
66
|
+
HISTORICAL: "HISTORICAL",
|
|
67
|
+
};
|
|
68
|
+
exports.BudgetType = {
|
|
69
|
+
Cost: "COST",
|
|
70
|
+
RICoverage: "RI_COVERAGE",
|
|
71
|
+
RIUtilization: "RI_UTILIZATION",
|
|
72
|
+
SPCoverage: "SAVINGS_PLANS_COVERAGE",
|
|
73
|
+
SPUtilization: "SAVINGS_PLANS_UTILIZATION",
|
|
74
|
+
Usage: "USAGE",
|
|
75
|
+
};
|
|
76
|
+
exports.TimeUnit = {
|
|
77
|
+
ANNUALLY: "ANNUALLY",
|
|
78
|
+
DAILY: "DAILY",
|
|
79
|
+
MONTHLY: "MONTHLY",
|
|
80
|
+
QUARTERLY: "QUARTERLY",
|
|
81
|
+
};
|
|
82
|
+
exports.ComparisonOperator = {
|
|
83
|
+
EQUAL_TO: "EQUAL_TO",
|
|
84
|
+
GREATER_THAN: "GREATER_THAN",
|
|
85
|
+
LESS_THAN: "LESS_THAN",
|
|
86
|
+
};
|
|
87
|
+
exports.NotificationState = {
|
|
88
|
+
ALARM: "ALARM",
|
|
89
|
+
OK: "OK",
|
|
90
|
+
};
|
|
104
91
|
class CreationLimitExceededException extends BudgetsServiceException_1.BudgetsServiceException {
|
|
105
92
|
constructor(opts) {
|
|
106
93
|
super({
|
|
@@ -227,13 +214,12 @@ class ExpiredNextTokenException extends BudgetsServiceException_1.BudgetsService
|
|
|
227
214
|
}
|
|
228
215
|
}
|
|
229
216
|
exports.ExpiredNextTokenException = ExpiredNextTokenException;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
})(ExecutionType = exports.ExecutionType || (exports.ExecutionType = {}));
|
|
217
|
+
exports.ExecutionType = {
|
|
218
|
+
ApproveBudgetAction: "APPROVE_BUDGET_ACTION",
|
|
219
|
+
ResetBudgetAction: "RESET_BUDGET_ACTION",
|
|
220
|
+
RetryBudgetAction: "RETRY_BUDGET_ACTION",
|
|
221
|
+
ReverseBudgetAction: "REVERSE_BUDGET_ACTION",
|
|
222
|
+
};
|
|
237
223
|
const SubscriberFilterSensitiveLog = (obj) => ({
|
|
238
224
|
...obj,
|
|
239
225
|
...(obj.Address && { Address: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -13,90 +13,77 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
this.Message = opts.Message;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
export
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
TimeUnit["QUARTERLY"] = "QUARTERLY";
|
|
88
|
-
})(TimeUnit || (TimeUnit = {}));
|
|
89
|
-
export var ComparisonOperator;
|
|
90
|
-
(function (ComparisonOperator) {
|
|
91
|
-
ComparisonOperator["EQUAL_TO"] = "EQUAL_TO";
|
|
92
|
-
ComparisonOperator["GREATER_THAN"] = "GREATER_THAN";
|
|
93
|
-
ComparisonOperator["LESS_THAN"] = "LESS_THAN";
|
|
94
|
-
})(ComparisonOperator || (ComparisonOperator = {}));
|
|
95
|
-
export var NotificationState;
|
|
96
|
-
(function (NotificationState) {
|
|
97
|
-
NotificationState["ALARM"] = "ALARM";
|
|
98
|
-
NotificationState["OK"] = "OK";
|
|
99
|
-
})(NotificationState || (NotificationState = {}));
|
|
16
|
+
export const ThresholdType = {
|
|
17
|
+
ABSOLUTE_VALUE: "ABSOLUTE_VALUE",
|
|
18
|
+
PERCENTAGE: "PERCENTAGE",
|
|
19
|
+
};
|
|
20
|
+
export const ActionType = {
|
|
21
|
+
IAM: "APPLY_IAM_POLICY",
|
|
22
|
+
SCP: "APPLY_SCP_POLICY",
|
|
23
|
+
SSM: "RUN_SSM_DOCUMENTS",
|
|
24
|
+
};
|
|
25
|
+
export const ApprovalModel = {
|
|
26
|
+
AUTO: "AUTOMATIC",
|
|
27
|
+
MANUAL: "MANUAL",
|
|
28
|
+
};
|
|
29
|
+
export const ActionSubType = {
|
|
30
|
+
STOP_EC2: "STOP_EC2_INSTANCES",
|
|
31
|
+
STOP_RDS: "STOP_RDS_INSTANCES",
|
|
32
|
+
};
|
|
33
|
+
export const NotificationType = {
|
|
34
|
+
ACTUAL: "ACTUAL",
|
|
35
|
+
FORECASTED: "FORECASTED",
|
|
36
|
+
};
|
|
37
|
+
export const ActionStatus = {
|
|
38
|
+
Execution_Failure: "EXECUTION_FAILURE",
|
|
39
|
+
Execution_In_Progress: "EXECUTION_IN_PROGRESS",
|
|
40
|
+
Execution_Success: "EXECUTION_SUCCESS",
|
|
41
|
+
Pending: "PENDING",
|
|
42
|
+
Reset_Failure: "RESET_FAILURE",
|
|
43
|
+
Reset_In_Progress: "RESET_IN_PROGRESS",
|
|
44
|
+
Reverse_Failure: "REVERSE_FAILURE",
|
|
45
|
+
Reverse_In_Progress: "REVERSE_IN_PROGRESS",
|
|
46
|
+
Reverse_Success: "REVERSE_SUCCESS",
|
|
47
|
+
Standby: "STANDBY",
|
|
48
|
+
};
|
|
49
|
+
export const SubscriptionType = {
|
|
50
|
+
EMAIL: "EMAIL",
|
|
51
|
+
SNS: "SNS",
|
|
52
|
+
};
|
|
53
|
+
export const EventType = {
|
|
54
|
+
CreateAction: "CREATE_ACTION",
|
|
55
|
+
DeleteAction: "DELETE_ACTION",
|
|
56
|
+
ExecuteAction: "EXECUTE_ACTION",
|
|
57
|
+
System: "SYSTEM",
|
|
58
|
+
UpdateAction: "UPDATE_ACTION",
|
|
59
|
+
};
|
|
60
|
+
export const AutoAdjustType = {
|
|
61
|
+
FORECAST: "FORECAST",
|
|
62
|
+
HISTORICAL: "HISTORICAL",
|
|
63
|
+
};
|
|
64
|
+
export const BudgetType = {
|
|
65
|
+
Cost: "COST",
|
|
66
|
+
RICoverage: "RI_COVERAGE",
|
|
67
|
+
RIUtilization: "RI_UTILIZATION",
|
|
68
|
+
SPCoverage: "SAVINGS_PLANS_COVERAGE",
|
|
69
|
+
SPUtilization: "SAVINGS_PLANS_UTILIZATION",
|
|
70
|
+
Usage: "USAGE",
|
|
71
|
+
};
|
|
72
|
+
export const TimeUnit = {
|
|
73
|
+
ANNUALLY: "ANNUALLY",
|
|
74
|
+
DAILY: "DAILY",
|
|
75
|
+
MONTHLY: "MONTHLY",
|
|
76
|
+
QUARTERLY: "QUARTERLY",
|
|
77
|
+
};
|
|
78
|
+
export const ComparisonOperator = {
|
|
79
|
+
EQUAL_TO: "EQUAL_TO",
|
|
80
|
+
GREATER_THAN: "GREATER_THAN",
|
|
81
|
+
LESS_THAN: "LESS_THAN",
|
|
82
|
+
};
|
|
83
|
+
export const NotificationState = {
|
|
84
|
+
ALARM: "ALARM",
|
|
85
|
+
OK: "OK",
|
|
86
|
+
};
|
|
100
87
|
export class CreationLimitExceededException extends __BaseException {
|
|
101
88
|
constructor(opts) {
|
|
102
89
|
super({
|
|
@@ -214,13 +201,12 @@ export class ExpiredNextTokenException extends __BaseException {
|
|
|
214
201
|
this.Message = opts.Message;
|
|
215
202
|
}
|
|
216
203
|
}
|
|
217
|
-
export
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
})(ExecutionType || (ExecutionType = {}));
|
|
204
|
+
export const ExecutionType = {
|
|
205
|
+
ApproveBudgetAction: "APPROVE_BUDGET_ACTION",
|
|
206
|
+
ResetBudgetAction: "RESET_BUDGET_ACTION",
|
|
207
|
+
RetryBudgetAction: "RETRY_BUDGET_ACTION",
|
|
208
|
+
ReverseBudgetAction: "REVERSE_BUDGET_ACTION",
|
|
209
|
+
};
|
|
224
210
|
export const SubscriberFilterSensitiveLog = (obj) => ({
|
|
225
211
|
...obj,
|
|
226
212
|
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
@@ -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
|