@aws-sdk/client-budgets 3.787.0 → 3.793.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/index.js +101 -5
- package/dist-es/models/models_0.js +58 -3
- package/dist-es/protocols/Aws_json1_1.js +39 -0
- package/dist-types/commands/CreateBudgetCommand.d.ts +80 -1
- package/dist-types/commands/DescribeBudgetCommand.d.ts +73 -1
- package/dist-types/commands/DescribeBudgetsCommand.d.ts +73 -1
- package/dist-types/commands/UpdateBudgetCommand.d.ts +80 -1
- package/dist-types/models/models_0.d.ts +415 -207
- package/dist-types/ts3.4/models/models_0.d.ts +118 -33
- package/package.json +1 -1
|
@@ -157,6 +157,79 @@ export interface CostTypes {
|
|
|
157
157
|
IncludeDiscount?: boolean | undefined;
|
|
158
158
|
UseAmortized?: boolean | undefined;
|
|
159
159
|
}
|
|
160
|
+
export declare const MatchOption: {
|
|
161
|
+
readonly ABSENT: "ABSENT";
|
|
162
|
+
readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
|
|
163
|
+
readonly CASE_SENSITIVE: "CASE_SENSITIVE";
|
|
164
|
+
readonly CONTAINS: "CONTAINS";
|
|
165
|
+
readonly ENDS_WITH: "ENDS_WITH";
|
|
166
|
+
readonly EQUALS: "EQUALS";
|
|
167
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
168
|
+
readonly STARTS_WITH: "STARTS_WITH";
|
|
169
|
+
};
|
|
170
|
+
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
171
|
+
export interface CostCategoryValues {
|
|
172
|
+
Key?: string | undefined;
|
|
173
|
+
Values?: string[] | undefined;
|
|
174
|
+
MatchOptions?: MatchOption[] | undefined;
|
|
175
|
+
}
|
|
176
|
+
export declare const Dimension: {
|
|
177
|
+
readonly AZ: "AZ";
|
|
178
|
+
readonly BILLING_ENTITY: "BILLING_ENTITY";
|
|
179
|
+
readonly CACHE_ENGINE: "CACHE_ENGINE";
|
|
180
|
+
readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
|
|
181
|
+
readonly DATABASE_ENGINE: "DATABASE_ENGINE";
|
|
182
|
+
readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
|
|
183
|
+
readonly INSTANCE_TYPE: "INSTANCE_TYPE";
|
|
184
|
+
readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
|
|
185
|
+
readonly INVOICING_ENTITY: "INVOICING_ENTITY";
|
|
186
|
+
readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
|
|
187
|
+
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
188
|
+
readonly LINKED_ACCOUNT_NAME: "LINKED_ACCOUNT_NAME";
|
|
189
|
+
readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
|
|
190
|
+
readonly OPERATION: "OPERATION";
|
|
191
|
+
readonly PAYMENT_OPTION: "PAYMENT_OPTION";
|
|
192
|
+
readonly PLATFORM: "PLATFORM";
|
|
193
|
+
readonly PURCHASE_TYPE: "PURCHASE_TYPE";
|
|
194
|
+
readonly RECORD_TYPE: "RECORD_TYPE";
|
|
195
|
+
readonly REGION: "REGION";
|
|
196
|
+
readonly RESERVATION_ID: "RESERVATION_ID";
|
|
197
|
+
readonly RESERVATION_MODIFIED: "RESERVATION_MODIFIED";
|
|
198
|
+
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
199
|
+
readonly RIGHTSIZING_TYPE: "RIGHTSIZING_TYPE";
|
|
200
|
+
readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
|
|
201
|
+
readonly SAVINGS_PLAN_ARN: "SAVINGS_PLAN_ARN";
|
|
202
|
+
readonly SCOPE: "SCOPE";
|
|
203
|
+
readonly SERVICE: "SERVICE";
|
|
204
|
+
readonly SERVICE_CODE: "SERVICE_CODE";
|
|
205
|
+
readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
|
|
206
|
+
readonly TAG_KEY: "TAG_KEY";
|
|
207
|
+
readonly TENANCY: "TENANCY";
|
|
208
|
+
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
209
|
+
readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
|
|
210
|
+
};
|
|
211
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
212
|
+
export interface ExpressionDimensionValues {
|
|
213
|
+
Key: Dimension | undefined;
|
|
214
|
+
Values: string[] | undefined;
|
|
215
|
+
MatchOptions?: MatchOption[] | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface TagValues {
|
|
218
|
+
Key?: string | undefined;
|
|
219
|
+
Values?: string[] | undefined;
|
|
220
|
+
MatchOptions?: MatchOption[] | undefined;
|
|
221
|
+
}
|
|
222
|
+
export declare const Metric: {
|
|
223
|
+
readonly AMORTIZED_COST: "AmortizedCost";
|
|
224
|
+
readonly BLENDED_COST: "BlendedCost";
|
|
225
|
+
readonly HOURS: "Hours";
|
|
226
|
+
readonly NET_AMORTIZED_COST: "NetAmortizedCost";
|
|
227
|
+
readonly NET_UNBLENDED_COST: "NetUnblendedCost";
|
|
228
|
+
readonly NORMALIZED_USAGE_AMOUNT: "NormalizedUsageAmount";
|
|
229
|
+
readonly UNBLENDED_COST: "UnblendedCost";
|
|
230
|
+
readonly USAGE_QUANTITY: "UsageQuantity";
|
|
231
|
+
};
|
|
232
|
+
export type Metric = (typeof Metric)[keyof typeof Metric];
|
|
160
233
|
export interface TimePeriod {
|
|
161
234
|
Start?: Date | undefined;
|
|
162
235
|
End?: Date | undefined;
|
|
@@ -168,19 +241,6 @@ export declare const TimeUnit: {
|
|
|
168
241
|
readonly QUARTERLY: "QUARTERLY";
|
|
169
242
|
};
|
|
170
243
|
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
171
|
-
export interface Budget {
|
|
172
|
-
BudgetName: string | undefined;
|
|
173
|
-
BudgetLimit?: Spend | undefined;
|
|
174
|
-
PlannedBudgetLimits?: Record<string, Spend> | undefined;
|
|
175
|
-
CostFilters?: Record<string, string[]> | undefined;
|
|
176
|
-
CostTypes?: CostTypes | undefined;
|
|
177
|
-
TimeUnit: TimeUnit | undefined;
|
|
178
|
-
TimePeriod?: TimePeriod | undefined;
|
|
179
|
-
CalculatedSpend?: CalculatedSpend | undefined;
|
|
180
|
-
BudgetType: BudgetType | undefined;
|
|
181
|
-
LastUpdatedTime?: Date | undefined;
|
|
182
|
-
AutoAdjustData?: AutoAdjustData | undefined;
|
|
183
|
-
}
|
|
184
244
|
export declare const ComparisonOperator: {
|
|
185
245
|
readonly EQUAL_TO: "EQUAL_TO";
|
|
186
246
|
readonly GREATER_THAN: "GREATER_THAN";
|
|
@@ -209,12 +269,6 @@ export interface ResourceTag {
|
|
|
209
269
|
Key: string | undefined;
|
|
210
270
|
Value: string | undefined;
|
|
211
271
|
}
|
|
212
|
-
export interface CreateBudgetRequest {
|
|
213
|
-
AccountId: string | undefined;
|
|
214
|
-
Budget: Budget | undefined;
|
|
215
|
-
NotificationsWithSubscribers?: NotificationWithSubscribers[] | undefined;
|
|
216
|
-
ResourceTags?: ResourceTag[] | undefined;
|
|
217
|
-
}
|
|
218
272
|
export interface CreateBudgetResponse {}
|
|
219
273
|
export declare class CreationLimitExceededException extends __BaseException {
|
|
220
274
|
readonly name: "CreationLimitExceededException";
|
|
@@ -340,9 +394,7 @@ export interface DeleteSubscriberResponse {}
|
|
|
340
394
|
export interface DescribeBudgetRequest {
|
|
341
395
|
AccountId: string | undefined;
|
|
342
396
|
BudgetName: string | undefined;
|
|
343
|
-
|
|
344
|
-
export interface DescribeBudgetResponse {
|
|
345
|
-
Budget?: Budget | undefined;
|
|
397
|
+
ShowFilterExpression?: boolean | undefined;
|
|
346
398
|
}
|
|
347
399
|
export interface DescribeBudgetActionRequest {
|
|
348
400
|
AccountId: string | undefined;
|
|
@@ -442,10 +494,7 @@ export interface DescribeBudgetsRequest {
|
|
|
442
494
|
AccountId: string | undefined;
|
|
443
495
|
MaxResults?: number | undefined;
|
|
444
496
|
NextToken?: string | undefined;
|
|
445
|
-
|
|
446
|
-
export interface DescribeBudgetsResponse {
|
|
447
|
-
Budgets?: Budget[] | undefined;
|
|
448
|
-
NextToken?: string | undefined;
|
|
497
|
+
ShowFilterExpression?: boolean | undefined;
|
|
449
498
|
}
|
|
450
499
|
export interface DescribeNotificationsForBudgetRequest {
|
|
451
500
|
AccountId: string | undefined;
|
|
@@ -503,10 +552,6 @@ export interface UntagResourceRequest {
|
|
|
503
552
|
ResourceTagKeys: string[] | undefined;
|
|
504
553
|
}
|
|
505
554
|
export interface UntagResourceResponse {}
|
|
506
|
-
export interface UpdateBudgetRequest {
|
|
507
|
-
AccountId: string | undefined;
|
|
508
|
-
NewBudget: Budget | undefined;
|
|
509
|
-
}
|
|
510
555
|
export interface UpdateBudgetResponse {}
|
|
511
556
|
export interface UpdateBudgetActionRequest {
|
|
512
557
|
AccountId: string | undefined;
|
|
@@ -540,6 +585,46 @@ export interface UpdateSubscriberRequest {
|
|
|
540
585
|
NewSubscriber: Subscriber | undefined;
|
|
541
586
|
}
|
|
542
587
|
export interface UpdateSubscriberResponse {}
|
|
588
|
+
export interface Expression {
|
|
589
|
+
Or?: Expression[] | undefined;
|
|
590
|
+
And?: Expression[] | undefined;
|
|
591
|
+
Not?: Expression | undefined;
|
|
592
|
+
Dimensions?: ExpressionDimensionValues | undefined;
|
|
593
|
+
Tags?: TagValues | undefined;
|
|
594
|
+
CostCategories?: CostCategoryValues | undefined;
|
|
595
|
+
}
|
|
596
|
+
export interface Budget {
|
|
597
|
+
BudgetName: string | undefined;
|
|
598
|
+
BudgetLimit?: Spend | undefined;
|
|
599
|
+
PlannedBudgetLimits?: Record<string, Spend> | undefined;
|
|
600
|
+
CostFilters?: Record<string, string[]> | undefined;
|
|
601
|
+
CostTypes?: CostTypes | undefined;
|
|
602
|
+
TimeUnit: TimeUnit | undefined;
|
|
603
|
+
TimePeriod?: TimePeriod | undefined;
|
|
604
|
+
CalculatedSpend?: CalculatedSpend | undefined;
|
|
605
|
+
BudgetType: BudgetType | undefined;
|
|
606
|
+
LastUpdatedTime?: Date | undefined;
|
|
607
|
+
AutoAdjustData?: AutoAdjustData | undefined;
|
|
608
|
+
FilterExpression?: Expression | undefined;
|
|
609
|
+
Metrics?: Metric[] | undefined;
|
|
610
|
+
}
|
|
611
|
+
export interface CreateBudgetRequest {
|
|
612
|
+
AccountId: string | undefined;
|
|
613
|
+
Budget: Budget | undefined;
|
|
614
|
+
NotificationsWithSubscribers?: NotificationWithSubscribers[] | undefined;
|
|
615
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
616
|
+
}
|
|
617
|
+
export interface DescribeBudgetResponse {
|
|
618
|
+
Budget?: Budget | undefined;
|
|
619
|
+
}
|
|
620
|
+
export interface UpdateBudgetRequest {
|
|
621
|
+
AccountId: string | undefined;
|
|
622
|
+
NewBudget: Budget | undefined;
|
|
623
|
+
}
|
|
624
|
+
export interface DescribeBudgetsResponse {
|
|
625
|
+
Budgets?: Budget[] | undefined;
|
|
626
|
+
NextToken?: string | undefined;
|
|
627
|
+
}
|
|
543
628
|
export declare const SubscriberFilterSensitiveLog: (obj: Subscriber) => any;
|
|
544
629
|
export declare const ActionFilterSensitiveLog: (obj: Action) => any;
|
|
545
630
|
export declare const ActionHistoryDetailsFilterSensitiveLog: (
|
|
@@ -551,9 +636,6 @@ export declare const ActionHistoryFilterSensitiveLog: (
|
|
|
551
636
|
export declare const NotificationWithSubscribersFilterSensitiveLog: (
|
|
552
637
|
obj: NotificationWithSubscribers
|
|
553
638
|
) => any;
|
|
554
|
-
export declare const CreateBudgetRequestFilterSensitiveLog: (
|
|
555
|
-
obj: CreateBudgetRequest
|
|
556
|
-
) => any;
|
|
557
639
|
export declare const CreateBudgetActionRequestFilterSensitiveLog: (
|
|
558
640
|
obj: CreateBudgetActionRequest
|
|
559
641
|
) => any;
|
|
@@ -593,3 +675,6 @@ export declare const UpdateBudgetActionResponseFilterSensitiveLog: (
|
|
|
593
675
|
export declare const UpdateSubscriberRequestFilterSensitiveLog: (
|
|
594
676
|
obj: UpdateSubscriberRequest
|
|
595
677
|
) => any;
|
|
678
|
+
export declare const CreateBudgetRequestFilterSensitiveLog: (
|
|
679
|
+
obj: CreateBudgetRequest
|
|
680
|
+
) => any;
|
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.793.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-budgets",
|