@aws-sdk/client-budgets 3.859.0 → 3.863.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
@@ -71,6 +71,8 @@ __export(index_exports, {
71
71
  ExecuteBudgetActionCommand: () => ExecuteBudgetActionCommand,
72
72
  ExecutionType: () => ExecutionType,
73
73
  ExpiredNextTokenException: () => ExpiredNextTokenException,
74
+ HealthStatusReason: () => HealthStatusReason,
75
+ HealthStatusValue: () => HealthStatusValue,
74
76
  InternalErrorException: () => InternalErrorException,
75
77
  InvalidNextTokenException: () => InvalidNextTokenException,
76
78
  InvalidParameterException: () => InvalidParameterException,
@@ -402,6 +404,15 @@ var Dimension = {
402
404
  USAGE_TYPE: "USAGE_TYPE",
403
405
  USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP"
404
406
  };
407
+ var HealthStatusValue = {
408
+ HEALTHY: "HEALTHY",
409
+ UNHEALTHY: "UNHEALTHY"
410
+ };
411
+ var HealthStatusReason = {
412
+ BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS",
413
+ BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY",
414
+ FILTER_INVALID: "FILTER_INVALID"
415
+ };
405
416
  var Metric = {
406
417
  AMORTIZED_COST: "AmortizedCost",
407
418
  BLENDED_COST: "BlendedCost",
@@ -523,11 +534,11 @@ var InvalidParameterException = class _InvalidParameterException extends Budgets
523
534
  this.Message = opts.Message;
524
535
  }
525
536
  };
526
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BudgetsServiceException {
537
+ var NotFoundException = class _NotFoundException extends BudgetsServiceException {
527
538
  static {
528
- __name(this, "ServiceQuotaExceededException");
539
+ __name(this, "NotFoundException");
529
540
  }
530
- name = "ServiceQuotaExceededException";
541
+ name = "NotFoundException";
531
542
  $fault = "client";
532
543
  /**
533
544
  * <p>The error message the exception carries.</p>
@@ -539,19 +550,19 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
539
550
  */
540
551
  constructor(opts) {
541
552
  super({
542
- name: "ServiceQuotaExceededException",
553
+ name: "NotFoundException",
543
554
  $fault: "client",
544
555
  ...opts
545
556
  });
546
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
557
+ Object.setPrototypeOf(this, _NotFoundException.prototype);
547
558
  this.Message = opts.Message;
548
559
  }
549
560
  };
550
- var ThrottlingException = class _ThrottlingException extends BudgetsServiceException {
561
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BudgetsServiceException {
551
562
  static {
552
- __name(this, "ThrottlingException");
563
+ __name(this, "ServiceQuotaExceededException");
553
564
  }
554
- name = "ThrottlingException";
565
+ name = "ServiceQuotaExceededException";
555
566
  $fault = "client";
556
567
  /**
557
568
  * <p>The error message the exception carries.</p>
@@ -563,19 +574,19 @@ var ThrottlingException = class _ThrottlingException extends BudgetsServiceExcep
563
574
  */
564
575
  constructor(opts) {
565
576
  super({
566
- name: "ThrottlingException",
577
+ name: "ServiceQuotaExceededException",
567
578
  $fault: "client",
568
579
  ...opts
569
580
  });
570
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
581
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
571
582
  this.Message = opts.Message;
572
583
  }
573
584
  };
574
- var NotFoundException = class _NotFoundException extends BudgetsServiceException {
585
+ var ThrottlingException = class _ThrottlingException extends BudgetsServiceException {
575
586
  static {
576
- __name(this, "NotFoundException");
587
+ __name(this, "ThrottlingException");
577
588
  }
578
- name = "NotFoundException";
589
+ name = "ThrottlingException";
579
590
  $fault = "client";
580
591
  /**
581
592
  * <p>The error message the exception carries.</p>
@@ -587,11 +598,11 @@ var NotFoundException = class _NotFoundException extends BudgetsServiceException
587
598
  */
588
599
  constructor(opts) {
589
600
  super({
590
- name: "NotFoundException",
601
+ name: "ThrottlingException",
591
602
  $fault: "client",
592
603
  ...opts
593
604
  });
594
- Object.setPrototypeOf(this, _NotFoundException.prototype);
605
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
595
606
  this.Message = opts.Message;
596
607
  }
597
608
  };
@@ -1270,15 +1281,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1270
1281
  case "InvalidParameterException":
1271
1282
  case "com.amazonaws.budgets#InvalidParameterException":
1272
1283
  throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1284
+ case "NotFoundException":
1285
+ case "com.amazonaws.budgets#NotFoundException":
1286
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1273
1287
  case "ServiceQuotaExceededException":
1274
1288
  case "com.amazonaws.budgets#ServiceQuotaExceededException":
1275
1289
  throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1276
1290
  case "ThrottlingException":
1277
1291
  case "com.amazonaws.budgets#ThrottlingException":
1278
1292
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
1279
- case "NotFoundException":
1280
- case "com.amazonaws.budgets#NotFoundException":
1281
- throw await de_NotFoundExceptionRes(parsedOutput, context);
1282
1293
  case "ResourceLockedException":
1283
1294
  case "com.amazonaws.budgets#ResourceLockedException":
1284
1295
  throw await de_ResourceLockedExceptionRes(parsedOutput, context);
@@ -1412,6 +1423,7 @@ var se_AutoAdjustData = /* @__PURE__ */ __name((input, context) => {
1412
1423
  var se_Budget = /* @__PURE__ */ __name((input, context) => {
1413
1424
  return (0, import_smithy_client.take)(input, {
1414
1425
  AutoAdjustData: /* @__PURE__ */ __name((_) => se_AutoAdjustData(_, context), "AutoAdjustData"),
1426
+ BillingViewArn: [],
1415
1427
  BudgetLimit: import_smithy_client._json,
1416
1428
  BudgetName: [],
1417
1429
  BudgetType: [],
@@ -1419,6 +1431,7 @@ var se_Budget = /* @__PURE__ */ __name((input, context) => {
1419
1431
  CostFilters: import_smithy_client._json,
1420
1432
  CostTypes: import_smithy_client._json,
1421
1433
  FilterExpression: /* @__PURE__ */ __name((_) => se_Expression(_, context), "FilterExpression"),
1434
+ HealthStatus: /* @__PURE__ */ __name((_) => se_HealthStatus(_, context), "HealthStatus"),
1422
1435
  LastUpdatedTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "LastUpdatedTime"),
1423
1436
  Metrics: import_smithy_client._json,
1424
1437
  PlannedBudgetLimits: import_smithy_client._json,
@@ -1522,6 +1535,13 @@ var se_Expressions = /* @__PURE__ */ __name((input, context) => {
1522
1535
  return se_Expression(entry, context);
1523
1536
  });
1524
1537
  }, "se_Expressions");
1538
+ var se_HealthStatus = /* @__PURE__ */ __name((input, context) => {
1539
+ return (0, import_smithy_client.take)(input, {
1540
+ LastUpdatedTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "LastUpdatedTime"),
1541
+ Status: [],
1542
+ StatusReason: []
1543
+ });
1544
+ }, "se_HealthStatus");
1525
1545
  var se_Notification = /* @__PURE__ */ __name((input, context) => {
1526
1546
  return (0, import_smithy_client.take)(input, {
1527
1547
  ComparisonOperator: [],
@@ -1640,6 +1660,7 @@ var de_AutoAdjustData = /* @__PURE__ */ __name((output, context) => {
1640
1660
  var de_Budget = /* @__PURE__ */ __name((output, context) => {
1641
1661
  return (0, import_smithy_client.take)(output, {
1642
1662
  AutoAdjustData: /* @__PURE__ */ __name((_) => de_AutoAdjustData(_, context), "AutoAdjustData"),
1663
+ BillingViewArn: import_smithy_client.expectString,
1643
1664
  BudgetLimit: import_smithy_client._json,
1644
1665
  BudgetName: import_smithy_client.expectString,
1645
1666
  BudgetType: import_smithy_client.expectString,
@@ -1647,6 +1668,7 @@ var de_Budget = /* @__PURE__ */ __name((output, context) => {
1647
1668
  CostFilters: import_smithy_client._json,
1648
1669
  CostTypes: import_smithy_client._json,
1649
1670
  FilterExpression: /* @__PURE__ */ __name((_) => de_Expression(_, context), "FilterExpression"),
1671
+ HealthStatus: /* @__PURE__ */ __name((_) => de_HealthStatus(_, context), "HealthStatus"),
1650
1672
  LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
1651
1673
  Metrics: import_smithy_client._json,
1652
1674
  PlannedBudgetLimits: import_smithy_client._json,
@@ -1681,6 +1703,7 @@ var de_BudgetNotificationsForAccountList = /* @__PURE__ */ __name((output, conte
1681
1703
  }, "de_BudgetNotificationsForAccountList");
1682
1704
  var de_BudgetPerformanceHistory = /* @__PURE__ */ __name((output, context) => {
1683
1705
  return (0, import_smithy_client.take)(output, {
1706
+ BillingViewArn: import_smithy_client.expectString,
1684
1707
  BudgetName: import_smithy_client.expectString,
1685
1708
  BudgetType: import_smithy_client.expectString,
1686
1709
  BudgetedAndActualAmountsList: /* @__PURE__ */ __name((_) => de_BudgetedAndActualAmountsList(_, context), "BudgetedAndActualAmountsList"),
@@ -1772,6 +1795,13 @@ var de_Expressions = /* @__PURE__ */ __name((output, context) => {
1772
1795
  });
1773
1796
  return retVal;
1774
1797
  }, "de_Expressions");
1798
+ var de_HealthStatus = /* @__PURE__ */ __name((output, context) => {
1799
+ return (0, import_smithy_client.take)(output, {
1800
+ LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
1801
+ Status: import_smithy_client.expectString,
1802
+ StatusReason: import_smithy_client.expectString
1803
+ });
1804
+ }, "de_HealthStatus");
1775
1805
  var de_Notification = /* @__PURE__ */ __name((output, context) => {
1776
1806
  return (0, import_smithy_client.take)(output, {
1777
1807
  ComparisonOperator: import_smithy_client.expectString,
@@ -2343,6 +2373,8 @@ var paginateDescribeSubscribersForNotification = (0, import_core.createPaginator
2343
2373
  BudgetType,
2344
2374
  MatchOption,
2345
2375
  Dimension,
2376
+ HealthStatusValue,
2377
+ HealthStatusReason,
2346
2378
  Metric,
2347
2379
  TimeUnit,
2348
2380
  ComparisonOperator,
@@ -2351,9 +2383,9 @@ var paginateDescribeSubscribersForNotification = (0, import_core.createPaginator
2351
2383
  DuplicateRecordException,
2352
2384
  InternalErrorException,
2353
2385
  InvalidParameterException,
2386
+ NotFoundException,
2354
2387
  ServiceQuotaExceededException,
2355
2388
  ThrottlingException,
2356
- NotFoundException,
2357
2389
  ResourceLockedException,
2358
2390
  InvalidNextTokenException,
2359
2391
  ExpiredNextTokenException,
@@ -115,6 +115,15 @@ export const Dimension = {
115
115
  USAGE_TYPE: "USAGE_TYPE",
116
116
  USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP",
117
117
  };
118
+ export const HealthStatusValue = {
119
+ HEALTHY: "HEALTHY",
120
+ UNHEALTHY: "UNHEALTHY",
121
+ };
122
+ export const HealthStatusReason = {
123
+ BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS",
124
+ BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY",
125
+ FILTER_INVALID: "FILTER_INVALID",
126
+ };
118
127
  export const Metric = {
119
128
  AMORTIZED_COST: "AmortizedCost",
120
129
  BLENDED_COST: "BlendedCost",
@@ -196,45 +205,45 @@ export class InvalidParameterException extends __BaseException {
196
205
  this.Message = opts.Message;
197
206
  }
198
207
  }
199
- export class ServiceQuotaExceededException extends __BaseException {
200
- name = "ServiceQuotaExceededException";
208
+ export class NotFoundException extends __BaseException {
209
+ name = "NotFoundException";
201
210
  $fault = "client";
202
211
  Message;
203
212
  constructor(opts) {
204
213
  super({
205
- name: "ServiceQuotaExceededException",
214
+ name: "NotFoundException",
206
215
  $fault: "client",
207
216
  ...opts,
208
217
  });
209
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
218
+ Object.setPrototypeOf(this, NotFoundException.prototype);
210
219
  this.Message = opts.Message;
211
220
  }
212
221
  }
213
- export class ThrottlingException extends __BaseException {
214
- name = "ThrottlingException";
222
+ export class ServiceQuotaExceededException extends __BaseException {
223
+ name = "ServiceQuotaExceededException";
215
224
  $fault = "client";
216
225
  Message;
217
226
  constructor(opts) {
218
227
  super({
219
- name: "ThrottlingException",
228
+ name: "ServiceQuotaExceededException",
220
229
  $fault: "client",
221
230
  ...opts,
222
231
  });
223
- Object.setPrototypeOf(this, ThrottlingException.prototype);
232
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
224
233
  this.Message = opts.Message;
225
234
  }
226
235
  }
227
- export class NotFoundException extends __BaseException {
228
- name = "NotFoundException";
236
+ export class ThrottlingException extends __BaseException {
237
+ name = "ThrottlingException";
229
238
  $fault = "client";
230
239
  Message;
231
240
  constructor(opts) {
232
241
  super({
233
- name: "NotFoundException",
242
+ name: "ThrottlingException",
234
243
  $fault: "client",
235
244
  ...opts,
236
245
  });
237
- Object.setPrototypeOf(this, NotFoundException.prototype);
246
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
238
247
  this.Message = opts.Message;
239
248
  }
240
249
  }
@@ -519,15 +519,15 @@ const de_CommandError = async (output, context) => {
519
519
  case "InvalidParameterException":
520
520
  case "com.amazonaws.budgets#InvalidParameterException":
521
521
  throw await de_InvalidParameterExceptionRes(parsedOutput, context);
522
+ case "NotFoundException":
523
+ case "com.amazonaws.budgets#NotFoundException":
524
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
522
525
  case "ServiceQuotaExceededException":
523
526
  case "com.amazonaws.budgets#ServiceQuotaExceededException":
524
527
  throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
525
528
  case "ThrottlingException":
526
529
  case "com.amazonaws.budgets#ThrottlingException":
527
530
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
528
- case "NotFoundException":
529
- case "com.amazonaws.budgets#NotFoundException":
530
- throw await de_NotFoundExceptionRes(parsedOutput, context);
531
531
  case "ResourceLockedException":
532
532
  case "com.amazonaws.budgets#ResourceLockedException":
533
533
  throw await de_ResourceLockedExceptionRes(parsedOutput, context);
@@ -661,6 +661,7 @@ const se_AutoAdjustData = (input, context) => {
661
661
  const se_Budget = (input, context) => {
662
662
  return take(input, {
663
663
  AutoAdjustData: (_) => se_AutoAdjustData(_, context),
664
+ BillingViewArn: [],
664
665
  BudgetLimit: _json,
665
666
  BudgetName: [],
666
667
  BudgetType: [],
@@ -668,6 +669,7 @@ const se_Budget = (input, context) => {
668
669
  CostFilters: _json,
669
670
  CostTypes: _json,
670
671
  FilterExpression: (_) => se_Expression(_, context),
672
+ HealthStatus: (_) => se_HealthStatus(_, context),
671
673
  LastUpdatedTime: (_) => _.getTime() / 1_000,
672
674
  Metrics: _json,
673
675
  PlannedBudgetLimits: _json,
@@ -773,6 +775,13 @@ const se_Expressions = (input, context) => {
773
775
  return se_Expression(entry, context);
774
776
  });
775
777
  };
778
+ const se_HealthStatus = (input, context) => {
779
+ return take(input, {
780
+ LastUpdatedTime: (_) => _.getTime() / 1_000,
781
+ Status: [],
782
+ StatusReason: [],
783
+ });
784
+ };
776
785
  const se_Notification = (input, context) => {
777
786
  return take(input, {
778
787
  ComparisonOperator: [],
@@ -897,6 +906,7 @@ const de_AutoAdjustData = (output, context) => {
897
906
  const de_Budget = (output, context) => {
898
907
  return take(output, {
899
908
  AutoAdjustData: (_) => de_AutoAdjustData(_, context),
909
+ BillingViewArn: __expectString,
900
910
  BudgetLimit: _json,
901
911
  BudgetName: __expectString,
902
912
  BudgetType: __expectString,
@@ -904,6 +914,7 @@ const de_Budget = (output, context) => {
904
914
  CostFilters: _json,
905
915
  CostTypes: _json,
906
916
  FilterExpression: (_) => de_Expression(_, context),
917
+ HealthStatus: (_) => de_HealthStatus(_, context),
907
918
  LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
908
919
  Metrics: _json,
909
920
  PlannedBudgetLimits: _json,
@@ -942,6 +953,7 @@ const de_BudgetNotificationsForAccountList = (output, context) => {
942
953
  };
943
954
  const de_BudgetPerformanceHistory = (output, context) => {
944
955
  return take(output, {
956
+ BillingViewArn: __expectString,
945
957
  BudgetName: __expectString,
946
958
  BudgetType: __expectString,
947
959
  BudgetedAndActualAmountsList: (_) => de_BudgetedAndActualAmountsList(_, context),
@@ -1037,6 +1049,13 @@ const de_Expressions = (output, context) => {
1037
1049
  });
1038
1050
  return retVal;
1039
1051
  };
1052
+ const de_HealthStatus = (output, context) => {
1053
+ return take(output, {
1054
+ LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1055
+ Status: __expectString,
1056
+ StatusReason: __expectString,
1057
+ });
1058
+ };
1040
1059
  const de_Notification = (output, context) => {
1041
1060
  return take(output, {
1042
1061
  ComparisonOperator: __expectString,
@@ -173,6 +173,12 @@ declare const CreateBudgetCommand_base: {
173
173
  * Metrics: [ // Metrics
174
174
  * "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
175
175
  * ],
176
+ * BillingViewArn: "STRING_VALUE",
177
+ * HealthStatus: { // HealthStatus
178
+ * Status: "HEALTHY" || "UNHEALTHY",
179
+ * StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
180
+ * LastUpdatedTime: new Date("TIMESTAMP"),
181
+ * },
176
182
  * },
177
183
  * NotificationsWithSubscribers: [ // NotificationWithSubscribersList
178
184
  * { // NotificationWithSubscribers
@@ -225,6 +231,9 @@ declare const CreateBudgetCommand_base: {
225
231
  * @throws {@link InvalidParameterException} (client fault)
226
232
  * <p>An error on the client occurred. Typically, the cause is an invalid input value.</p>
227
233
  *
234
+ * @throws {@link NotFoundException} (client fault)
235
+ * <p>We can’t locate the resource that you specified.</p>
236
+ *
228
237
  * @throws {@link ServiceQuotaExceededException} (client fault)
229
238
  * <p>You've reached the limit on the number of tags you can associate with a resource.</p>
230
239
  *
@@ -171,6 +171,12 @@ declare const DescribeBudgetCommand_base: {
171
171
  * // Metrics: [ // Metrics
172
172
  * // "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
173
173
  * // ],
174
+ * // BillingViewArn: "STRING_VALUE",
175
+ * // HealthStatus: { // HealthStatus
176
+ * // Status: "HEALTHY" || "UNHEALTHY",
177
+ * // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
178
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
179
+ * // },
174
180
  * // },
175
181
  * // };
176
182
  *
@@ -69,6 +69,7 @@ declare const DescribeBudgetPerformanceHistoryCommand_base: {
69
69
  * // UseAmortized: true || false,
70
70
  * // },
71
71
  * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY",
72
+ * // BillingViewArn: "STRING_VALUE",
72
73
  * // BudgetedAndActualAmountsList: [ // BudgetedAndActualAmountsList
73
74
  * // { // BudgetedAndActualAmounts
74
75
  * // BudgetedAmount: { // Spend
@@ -173,6 +173,12 @@ declare const DescribeBudgetsCommand_base: {
173
173
  * // Metrics: [ // Metrics
174
174
  * // "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
175
175
  * // ],
176
+ * // BillingViewArn: "STRING_VALUE",
177
+ * // HealthStatus: { // HealthStatus
178
+ * // Status: "HEALTHY" || "UNHEALTHY",
179
+ * // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
180
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
181
+ * // },
176
182
  * // },
177
183
  * // ],
178
184
  * // NextToken: "STRING_VALUE",
@@ -173,6 +173,12 @@ declare const UpdateBudgetCommand_base: {
173
173
  * Metrics: [ // Metrics
174
174
  * "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
175
175
  * ],
176
+ * BillingViewArn: "STRING_VALUE",
177
+ * HealthStatus: { // HealthStatus
178
+ * Status: "HEALTHY" || "UNHEALTHY",
179
+ * StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
180
+ * LastUpdatedTime: new Date("TIMESTAMP"),
181
+ * },
176
182
  * },
177
183
  * };
178
184
  * const command = new UpdateBudgetCommand(input);
@@ -727,6 +727,70 @@ export interface TagValues {
727
727
  */
728
728
  MatchOptions?: MatchOption[] | undefined;
729
729
  }
730
+ /**
731
+ * @public
732
+ * @enum
733
+ */
734
+ export declare const HealthStatusValue: {
735
+ readonly HEALTHY: "HEALTHY";
736
+ readonly UNHEALTHY: "UNHEALTHY";
737
+ };
738
+ /**
739
+ * @public
740
+ */
741
+ export type HealthStatusValue = (typeof HealthStatusValue)[keyof typeof HealthStatusValue];
742
+ /**
743
+ * @public
744
+ * @enum
745
+ */
746
+ export declare const HealthStatusReason: {
747
+ readonly BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS";
748
+ readonly BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY";
749
+ readonly FILTER_INVALID: "FILTER_INVALID";
750
+ };
751
+ /**
752
+ * @public
753
+ */
754
+ export type HealthStatusReason = (typeof HealthStatusReason)[keyof typeof HealthStatusReason];
755
+ /**
756
+ * <p>Provides information about the current operational state of a billing view resource,
757
+ * including its ability to access and update based on its associated billing view.</p>
758
+ * @public
759
+ */
760
+ export interface HealthStatus {
761
+ /**
762
+ * <p>The current status of the billing view resource.</p>
763
+ * @public
764
+ */
765
+ Status?: HealthStatusValue | undefined;
766
+ /**
767
+ * <p>The reason for the current status.</p>
768
+ * <ul>
769
+ * <li>
770
+ * <p>
771
+ * <code>BILLING_VIEW_NO_ACCESS</code>: The billing view resource does not grant
772
+ * <code>billing:GetBillingViewData</code> permission to this account.</p>
773
+ * </li>
774
+ * <li>
775
+ * <p>
776
+ * <code>BILLING_VIEW_UNHEALTHY</code>: The billing view associated with the
777
+ * budget is unhealthy.</p>
778
+ * </li>
779
+ * <li>
780
+ * <p>
781
+ * <code>FILTER_INVALID</code>: The filter contains reference to an account you
782
+ * do not have access to.</p>
783
+ * </li>
784
+ * </ul>
785
+ * @public
786
+ */
787
+ StatusReason?: HealthStatusReason | undefined;
788
+ /**
789
+ * <p> A generic time stamp. In Java, it's transformed to a <code>Date</code> object.</p>
790
+ * @public
791
+ */
792
+ LastUpdatedTime?: Date | undefined;
793
+ }
730
794
  /**
731
795
  * @public
732
796
  * @enum
@@ -987,6 +1051,23 @@ export declare class InvalidParameterException extends __BaseException {
987
1051
  */
988
1052
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
989
1053
  }
1054
+ /**
1055
+ * <p>We can’t locate the resource that you specified.</p>
1056
+ * @public
1057
+ */
1058
+ export declare class NotFoundException extends __BaseException {
1059
+ readonly name: "NotFoundException";
1060
+ readonly $fault: "client";
1061
+ /**
1062
+ * <p>The error message the exception carries.</p>
1063
+ * @public
1064
+ */
1065
+ Message?: string | undefined;
1066
+ /**
1067
+ * @internal
1068
+ */
1069
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1070
+ }
990
1071
  /**
991
1072
  * <p>You've reached the limit on the number of tags you can associate with a resource.</p>
992
1073
  * @public
@@ -1108,23 +1189,6 @@ export interface CreateBudgetActionResponse {
1108
1189
  */
1109
1190
  ActionId: string | undefined;
1110
1191
  }
1111
- /**
1112
- * <p>We can’t locate the resource that you specified.</p>
1113
- * @public
1114
- */
1115
- export declare class NotFoundException extends __BaseException {
1116
- readonly name: "NotFoundException";
1117
- readonly $fault: "client";
1118
- /**
1119
- * <p>The error message the exception carries.</p>
1120
- * @public
1121
- */
1122
- Message?: string | undefined;
1123
- /**
1124
- * @internal
1125
- */
1126
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1127
- }
1128
1192
  /**
1129
1193
  * <p> Request of CreateNotification </p>
1130
1194
  * @public
@@ -1720,6 +1784,15 @@ export interface BudgetPerformanceHistory {
1720
1784
  * @public
1721
1785
  */
1722
1786
  TimeUnit?: TimeUnit | undefined;
1787
+ /**
1788
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is
1789
+ * used to specify which particular billing view you want to interact with or retrieve
1790
+ * information from when making API calls related to Amazon Web Services Billing and Cost
1791
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
1792
+ * API.</p>
1793
+ * @public
1794
+ */
1795
+ BillingViewArn?: string | undefined;
1723
1796
  /**
1724
1797
  * <p>A list of amounts of cost or usage that you created budgets for, which are compared to
1725
1798
  * your actual costs or usage.</p>
@@ -2349,6 +2422,20 @@ export interface Budget {
2349
2422
  * @public
2350
2423
  */
2351
2424
  Metrics?: Metric[] | undefined;
2425
+ /**
2426
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is
2427
+ * used to specify which particular billing view you want to interact with or retrieve
2428
+ * information from when making API calls related to Amazon Web Services Billing and Cost
2429
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
2430
+ * API.</p>
2431
+ * @public
2432
+ */
2433
+ BillingViewArn?: string | undefined;
2434
+ /**
2435
+ * <p>The current operational state of a Billing View derived resource.</p>
2436
+ * @public
2437
+ */
2438
+ HealthStatus?: HealthStatus | undefined;
2352
2439
  }
2353
2440
  /**
2354
2441
  * <p> Request of CreateBudget </p>
@@ -219,6 +219,24 @@ export interface TagValues {
219
219
  Values?: string[] | undefined;
220
220
  MatchOptions?: MatchOption[] | undefined;
221
221
  }
222
+ export declare const HealthStatusValue: {
223
+ readonly HEALTHY: "HEALTHY";
224
+ readonly UNHEALTHY: "UNHEALTHY";
225
+ };
226
+ export type HealthStatusValue =
227
+ (typeof HealthStatusValue)[keyof typeof HealthStatusValue];
228
+ export declare const HealthStatusReason: {
229
+ readonly BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS";
230
+ readonly BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY";
231
+ readonly FILTER_INVALID: "FILTER_INVALID";
232
+ };
233
+ export type HealthStatusReason =
234
+ (typeof HealthStatusReason)[keyof typeof HealthStatusReason];
235
+ export interface HealthStatus {
236
+ Status?: HealthStatusValue | undefined;
237
+ StatusReason?: HealthStatusReason | undefined;
238
+ LastUpdatedTime?: Date | undefined;
239
+ }
222
240
  export declare const Metric: {
223
241
  readonly AMORTIZED_COST: "AmortizedCost";
224
242
  readonly BLENDED_COST: "BlendedCost";
@@ -302,6 +320,12 @@ export declare class InvalidParameterException extends __BaseException {
302
320
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
303
321
  );
304
322
  }
323
+ export declare class NotFoundException extends __BaseException {
324
+ readonly name: "NotFoundException";
325
+ readonly $fault: "client";
326
+ Message?: string | undefined;
327
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
328
+ }
305
329
  export declare class ServiceQuotaExceededException extends __BaseException {
306
330
  readonly name: "ServiceQuotaExceededException";
307
331
  readonly $fault: "client";
@@ -335,12 +359,6 @@ export interface CreateBudgetActionResponse {
335
359
  BudgetName: string | undefined;
336
360
  ActionId: string | undefined;
337
361
  }
338
- export declare class NotFoundException extends __BaseException {
339
- readonly name: "NotFoundException";
340
- readonly $fault: "client";
341
- Message?: string | undefined;
342
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
343
- }
344
362
  export interface CreateNotificationRequest {
345
363
  AccountId: string | undefined;
346
364
  BudgetName: string | undefined;
@@ -484,6 +502,7 @@ export interface BudgetPerformanceHistory {
484
502
  CostFilters?: Record<string, string[]> | undefined;
485
503
  CostTypes?: CostTypes | undefined;
486
504
  TimeUnit?: TimeUnit | undefined;
505
+ BillingViewArn?: string | undefined;
487
506
  BudgetedAndActualAmountsList?: BudgetedAndActualAmounts[] | undefined;
488
507
  }
489
508
  export interface DescribeBudgetPerformanceHistoryResponse {
@@ -607,6 +626,8 @@ export interface Budget {
607
626
  AutoAdjustData?: AutoAdjustData | undefined;
608
627
  FilterExpression?: Expression | undefined;
609
628
  Metrics?: Metric[] | undefined;
629
+ BillingViewArn?: string | undefined;
630
+ HealthStatus?: HealthStatus | undefined;
610
631
  }
611
632
  export interface CreateBudgetRequest {
612
633
  AccountId: string | undefined;
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.859.0",
4
+ "version": "3.863.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,41 +20,41 @@
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.858.0",
24
- "@aws-sdk/credential-provider-node": "3.859.0",
25
- "@aws-sdk/middleware-host-header": "3.840.0",
26
- "@aws-sdk/middleware-logger": "3.840.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.858.0",
29
- "@aws-sdk/region-config-resolver": "3.840.0",
30
- "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.848.0",
32
- "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.858.0",
34
- "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.7.2",
36
- "@smithy/fetch-http-handler": "^5.1.0",
37
- "@smithy/hash-node": "^4.0.4",
38
- "@smithy/invalid-dependency": "^4.0.4",
39
- "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.17",
41
- "@smithy/middleware-retry": "^4.1.18",
42
- "@smithy/middleware-serde": "^4.0.8",
43
- "@smithy/middleware-stack": "^4.0.4",
44
- "@smithy/node-config-provider": "^4.1.3",
45
- "@smithy/node-http-handler": "^4.1.0",
46
- "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.9",
48
- "@smithy/types": "^4.3.1",
49
- "@smithy/url-parser": "^4.0.4",
23
+ "@aws-sdk/core": "3.863.0",
24
+ "@aws-sdk/credential-provider-node": "3.863.0",
25
+ "@aws-sdk/middleware-host-header": "3.862.0",
26
+ "@aws-sdk/middleware-logger": "3.862.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.862.0",
28
+ "@aws-sdk/middleware-user-agent": "3.863.0",
29
+ "@aws-sdk/region-config-resolver": "3.862.0",
30
+ "@aws-sdk/types": "3.862.0",
31
+ "@aws-sdk/util-endpoints": "3.862.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.862.0",
33
+ "@aws-sdk/util-user-agent-node": "3.863.0",
34
+ "@smithy/config-resolver": "^4.1.5",
35
+ "@smithy/core": "^3.8.0",
36
+ "@smithy/fetch-http-handler": "^5.1.1",
37
+ "@smithy/hash-node": "^4.0.5",
38
+ "@smithy/invalid-dependency": "^4.0.5",
39
+ "@smithy/middleware-content-length": "^4.0.5",
40
+ "@smithy/middleware-endpoint": "^4.1.18",
41
+ "@smithy/middleware-retry": "^4.1.19",
42
+ "@smithy/middleware-serde": "^4.0.9",
43
+ "@smithy/middleware-stack": "^4.0.5",
44
+ "@smithy/node-config-provider": "^4.1.4",
45
+ "@smithy/node-http-handler": "^4.1.1",
46
+ "@smithy/protocol-http": "^5.1.3",
47
+ "@smithy/smithy-client": "^4.4.10",
48
+ "@smithy/types": "^4.3.2",
49
+ "@smithy/url-parser": "^4.0.5",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.25",
54
- "@smithy/util-defaults-mode-node": "^4.0.25",
55
- "@smithy/util-endpoints": "^3.0.6",
56
- "@smithy/util-middleware": "^4.0.4",
57
- "@smithy/util-retry": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.26",
54
+ "@smithy/util-defaults-mode-node": "^4.0.26",
55
+ "@smithy/util-endpoints": "^3.0.7",
56
+ "@smithy/util-middleware": "^4.0.5",
57
+ "@smithy/util-retry": "^4.0.7",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },