@aws-sdk/client-budgets 3.787.0 → 3.796.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.
@@ -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.787.0",
4
+ "version": "3.796.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",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.787.0",
23
+ "@aws-sdk/core": "3.796.0",
24
+ "@aws-sdk/credential-provider-node": "3.796.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.787.0",
28
+ "@aws-sdk/middleware-user-agent": "3.796.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
31
  "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.787.0",
33
+ "@aws-sdk/util-user-agent-node": "3.796.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",