@aws-sdk/client-billing 3.966.0 → 3.968.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 CHANGED
@@ -249,6 +249,7 @@ const _BVN = "BillingViewName";
249
249
  const _CBV = "CreateBillingView";
250
250
  const _CBVR = "CreateBillingViewRequest";
251
251
  const _CBVRr = "CreateBillingViewResponse";
252
+ const _CCV = "CostCategoryValues";
252
253
  const _CE = "ConflictException";
253
254
  const _DBV = "DeleteBillingView";
254
255
  const _DBVR = "DeleteBillingViewRequest";
@@ -309,6 +310,7 @@ const _bVTi = "billingViewTypes";
309
310
  const _bVi = "billingViews";
310
311
  const _c = "client";
311
312
  const _cA = "createdAt";
313
+ const _cC = "costCategories";
312
314
  const _cT = "clientToken";
313
315
  const _d = "description";
314
316
  const _dFE = "dataFilterExpression";
@@ -405,6 +407,11 @@ var ConflictException$ = [-3, n0, _CE,
405
407
  [0, 0, 0]
406
408
  ];
407
409
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
410
+ var CostCategoryValues$ = [3, n0, _CCV,
411
+ 0,
412
+ [_k, _v],
413
+ [0, 64 | 0]
414
+ ];
408
415
  var CreateBillingViewRequest$ = [3, n0, _CBVR,
409
416
  0,
410
417
  [_n, _d, _sV, _dFE, _cT, _rTe],
@@ -442,8 +449,8 @@ var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
442
449
  ];
443
450
  var Expression$ = [3, n0, _E,
444
451
  0,
445
- [_di, _t, _tR],
446
- [() => DimensionValues$, () => TagValues$, () => TimeRange$]
452
+ [_di, _t, _cC, _tR],
453
+ [() => DimensionValues$, () => TagValues$, () => CostCategoryValues$, () => TimeRange$]
447
454
  ];
448
455
  var GetBillingViewRequest$ = [3, n0, _GBVR,
449
456
  0,
@@ -863,6 +870,7 @@ exports.BillingViewStatusReason = BillingViewStatusReason;
863
870
  exports.BillingViewType = BillingViewType;
864
871
  exports.ConflictException = ConflictException;
865
872
  exports.ConflictException$ = ConflictException$;
873
+ exports.CostCategoryValues$ = CostCategoryValues$;
866
874
  exports.CreateBillingView$ = CreateBillingView$;
867
875
  exports.CreateBillingViewCommand = CreateBillingViewCommand;
868
876
  exports.CreateBillingViewRequest$ = CreateBillingViewRequest$;
@@ -13,6 +13,7 @@ const _BVN = "BillingViewName";
13
13
  const _CBV = "CreateBillingView";
14
14
  const _CBVR = "CreateBillingViewRequest";
15
15
  const _CBVRr = "CreateBillingViewResponse";
16
+ const _CCV = "CostCategoryValues";
16
17
  const _CE = "ConflictException";
17
18
  const _DBV = "DeleteBillingView";
18
19
  const _DBVR = "DeleteBillingViewRequest";
@@ -73,6 +74,7 @@ const _bVTi = "billingViewTypes";
73
74
  const _bVi = "billingViews";
74
75
  const _c = "client";
75
76
  const _cA = "createdAt";
77
+ const _cC = "costCategories";
76
78
  const _cT = "clientToken";
77
79
  const _d = "description";
78
80
  const _dFE = "dataFilterExpression";
@@ -172,6 +174,11 @@ export var ConflictException$ = [-3, n0, _CE,
172
174
  [0, 0, 0]
173
175
  ];
174
176
  TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
177
+ export var CostCategoryValues$ = [3, n0, _CCV,
178
+ 0,
179
+ [_k, _v],
180
+ [0, 64 | 0]
181
+ ];
175
182
  export var CreateBillingViewRequest$ = [3, n0, _CBVR,
176
183
  0,
177
184
  [_n, _d, _sV, _dFE, _cT, _rTe],
@@ -209,8 +216,8 @@ export var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
209
216
  ];
210
217
  export var Expression$ = [3, n0, _E,
211
218
  0,
212
- [_di, _t, _tR],
213
- [() => DimensionValues$, () => TagValues$, () => TimeRange$]
219
+ [_di, _t, _cC, _tR],
220
+ [() => DimensionValues$, () => TagValues$, () => CostCategoryValues$, () => TimeRange$]
214
221
  ];
215
222
  export var GetBillingViewRequest$ = [3, n0, _GBVR,
216
223
  0,
@@ -55,6 +55,12 @@ declare const CreateBillingViewCommand_base: {
55
55
  * "STRING_VALUE",
56
56
  * ],
57
57
  * },
58
+ * costCategories: { // CostCategoryValues
59
+ * key: "STRING_VALUE", // required
60
+ * values: [ // required
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
58
64
  * timeRange: { // TimeRange
59
65
  * beginDateInclusive: new Date("TIMESTAMP"),
60
66
  * endDateInclusive: new Date("TIMESTAMP"),
@@ -62,6 +62,12 @@ declare const GetBillingViewCommand_base: {
62
62
  * // "STRING_VALUE",
63
63
  * // ],
64
64
  * // },
65
+ * // costCategories: { // CostCategoryValues
66
+ * // key: "STRING_VALUE", // required
67
+ * // values: [ // required
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // },
65
71
  * // timeRange: { // TimeRange
66
72
  * // beginDateInclusive: new Date("TIMESTAMP"),
67
73
  * // endDateInclusive: new Date("TIMESTAMP"),
@@ -53,6 +53,12 @@ declare const UpdateBillingViewCommand_base: {
53
53
  * "STRING_VALUE",
54
54
  * ],
55
55
  * },
56
+ * costCategories: { // CostCategoryValues
57
+ * key: "STRING_VALUE", // required
58
+ * values: [ // required
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * },
56
62
  * timeRange: { // TimeRange
57
63
  * beginDateInclusive: new Date("TIMESTAMP"),
58
64
  * endDateInclusive: new Date("TIMESTAMP"),
@@ -56,6 +56,22 @@ export interface ValidationExceptionField {
56
56
  */
57
57
  message: string | undefined;
58
58
  }
59
+ /**
60
+ * <p> The Cost Categories values used for filtering the costs. </p>
61
+ * @public
62
+ */
63
+ export interface CostCategoryValues {
64
+ /**
65
+ * <p> The unique name of the Cost Category. </p>
66
+ * @public
67
+ */
68
+ key: string | undefined;
69
+ /**
70
+ * <p> The specific value of the Cost Category. </p>
71
+ * @public
72
+ */
73
+ values: string[] | undefined;
74
+ }
59
75
  /**
60
76
  * <p> The metadata that you can use to filter and group your results. </p>
61
77
  * @public
@@ -105,7 +121,7 @@ export interface TimeRange {
105
121
  endDateInclusive?: Date | undefined;
106
122
  }
107
123
  /**
108
- * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>
124
+ * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code>, <code>Tags</code>, and <code>CostCategories</code>. </p>
109
125
  * @public
110
126
  */
111
127
  export interface Expression {
@@ -119,6 +135,11 @@ export interface Expression {
119
135
  * @public
120
136
  */
121
137
  tags?: TagValues | undefined;
138
+ /**
139
+ * <p> The filter that's based on <code>CostCategory</code> values. </p>
140
+ * @public
141
+ */
142
+ costCategories?: CostCategoryValues | undefined;
122
143
  /**
123
144
  * <p> Specifies a time range filter for the billing view data. </p>
124
145
  * @public
@@ -161,7 +182,7 @@ export interface CreateBillingViewRequest {
161
182
  */
162
183
  sourceViews: string[] | undefined;
163
184
  /**
164
- * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>
185
+ * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code>, <code>Tags</code>, and <code>CostCategories</code>. </p>
165
186
  * @public
166
187
  */
167
188
  dataFilterExpression?: Expression | undefined;
@@ -303,7 +324,7 @@ export interface BillingViewElement {
303
324
  */
304
325
  sourceAccountId?: string | undefined;
305
326
  /**
306
- * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>
327
+ * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code>, <code>Tags</code>, and <code>CostCategories</code>. </p>
307
328
  * @public
308
329
  */
309
330
  dataFilterExpression?: Expression | undefined;
@@ -605,7 +626,7 @@ export interface UpdateBillingViewRequest {
605
626
  */
606
627
  description?: string | undefined;
607
628
  /**
608
- * <p>See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>
629
+ * <p>See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code>, <code>Tags</code>, and <code>CostCategories</code>. </p>
609
630
  * @public
610
631
  */
611
632
  dataFilterExpression?: Expression | undefined;
@@ -8,6 +8,7 @@ export declare var BillingViewHealthStatus$: StaticStructureSchema;
8
8
  export declare var BillingViewHealthStatusException$: StaticErrorSchema;
9
9
  export declare var BillingViewListElement$: StaticStructureSchema;
10
10
  export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var CostCategoryValues$: StaticStructureSchema;
11
12
  export declare var CreateBillingViewRequest$: StaticStructureSchema;
12
13
  export declare var CreateBillingViewResponse$: StaticStructureSchema;
13
14
  export declare var DeleteBillingViewRequest$: StaticStructureSchema;
@@ -20,6 +20,10 @@ export interface ValidationExceptionField {
20
20
  name: string | undefined;
21
21
  message: string | undefined;
22
22
  }
23
+ export interface CostCategoryValues {
24
+ key: string | undefined;
25
+ values: string[] | undefined;
26
+ }
23
27
  export interface DimensionValues {
24
28
  key: Dimension | undefined;
25
29
  values: string[] | undefined;
@@ -35,6 +39,7 @@ export interface TimeRange {
35
39
  export interface Expression {
36
40
  dimensions?: DimensionValues | undefined;
37
41
  tags?: TagValues | undefined;
42
+ costCategories?: CostCategoryValues | undefined;
38
43
  timeRange?: TimeRange | undefined;
39
44
  }
40
45
  export interface ResourceTag {
@@ -12,6 +12,7 @@ export declare var BillingViewHealthStatus$: StaticStructureSchema;
12
12
  export declare var BillingViewHealthStatusException$: StaticErrorSchema;
13
13
  export declare var BillingViewListElement$: StaticStructureSchema;
14
14
  export declare var ConflictException$: StaticErrorSchema;
15
+ export declare var CostCategoryValues$: StaticStructureSchema;
15
16
  export declare var CreateBillingViewRequest$: StaticStructureSchema;
16
17
  export declare var CreateBillingViewResponse$: StaticStructureSchema;
17
18
  export declare var DeleteBillingViewRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billing",
3
3
  "description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
4
- "version": "3.966.0",
4
+ "version": "3.968.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-billing",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.966.0",
25
- "@aws-sdk/credential-provider-node": "3.966.0",
26
- "@aws-sdk/middleware-host-header": "3.965.0",
27
- "@aws-sdk/middleware-logger": "3.965.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.965.0",
29
- "@aws-sdk/middleware-user-agent": "3.966.0",
30
- "@aws-sdk/region-config-resolver": "3.965.0",
31
- "@aws-sdk/types": "3.965.0",
32
- "@aws-sdk/util-endpoints": "3.965.0",
33
- "@aws-sdk/util-user-agent-browser": "3.965.0",
34
- "@aws-sdk/util-user-agent-node": "3.966.0",
24
+ "@aws-sdk/core": "3.968.0",
25
+ "@aws-sdk/credential-provider-node": "3.968.0",
26
+ "@aws-sdk/middleware-host-header": "3.968.0",
27
+ "@aws-sdk/middleware-logger": "3.968.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.968.0",
29
+ "@aws-sdk/middleware-user-agent": "3.968.0",
30
+ "@aws-sdk/region-config-resolver": "3.968.0",
31
+ "@aws-sdk/types": "3.968.0",
32
+ "@aws-sdk/util-endpoints": "3.968.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.968.0",
34
+ "@aws-sdk/util-user-agent-node": "3.968.0",
35
35
  "@smithy/config-resolver": "^4.4.5",
36
- "@smithy/core": "^3.20.1",
36
+ "@smithy/core": "^3.20.3",
37
37
  "@smithy/fetch-http-handler": "^5.3.8",
38
38
  "@smithy/hash-node": "^4.2.7",
39
39
  "@smithy/invalid-dependency": "^4.2.7",
40
40
  "@smithy/middleware-content-length": "^4.2.7",
41
- "@smithy/middleware-endpoint": "^4.4.2",
42
- "@smithy/middleware-retry": "^4.4.18",
41
+ "@smithy/middleware-endpoint": "^4.4.4",
42
+ "@smithy/middleware-retry": "^4.4.20",
43
43
  "@smithy/middleware-serde": "^4.2.8",
44
44
  "@smithy/middleware-stack": "^4.2.7",
45
45
  "@smithy/node-config-provider": "^4.3.7",
46
46
  "@smithy/node-http-handler": "^4.4.7",
47
47
  "@smithy/protocol-http": "^5.3.7",
48
- "@smithy/smithy-client": "^4.10.3",
48
+ "@smithy/smithy-client": "^4.10.5",
49
49
  "@smithy/types": "^4.11.0",
50
50
  "@smithy/url-parser": "^4.2.7",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.17",
55
- "@smithy/util-defaults-mode-node": "^4.2.20",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.19",
55
+ "@smithy/util-defaults-mode-node": "^4.2.22",
56
56
  "@smithy/util-endpoints": "^3.2.7",
57
57
  "@smithy/util-middleware": "^4.2.7",
58
58
  "@smithy/util-retry": "^4.2.7",
@@ -60,15 +60,15 @@
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@tsconfig/node18": "18.2.4",
64
- "@types/node": "^18.19.69",
63
+ "@tsconfig/node20": "20.1.8",
64
+ "@types/node": "^20.14.8",
65
65
  "concurrently": "7.0.0",
66
66
  "downlevel-dts": "0.10.1",
67
67
  "rimraf": "5.0.10",
68
68
  "typescript": "~5.8.3"
69
69
  },
70
70
  "engines": {
71
- "node": ">=18.0.0"
71
+ "node": ">=20.0.0"
72
72
  },
73
73
  "typesVersions": {
74
74
  "<4.0": {