+276
-29
lines changedFilter options
+276
-29
lines changed Original file line number Diff line number Diff line change
@@ -174,6 +174,12 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
174
174
* Metrics: [ // Metrics
175
175
* "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
176
176
* ],
177
+
* BillingViewArn: "STRING_VALUE",
178
+
* HealthStatus: { // HealthStatus
179
+
* Status: "HEALTHY" || "UNHEALTHY",
180
+
* StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
181
+
* LastUpdatedTime: new Date("TIMESTAMP"),
182
+
* },
177
183
* },
178
184
* NotificationsWithSubscribers: [ // NotificationWithSubscribersList
179
185
* { // NotificationWithSubscribers
@@ -226,6 +232,9 @@ export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __Metad
226
232
* @throws {@link InvalidParameterException} (client fault)
227
233
* <p>An error on the client occurred. Typically, the cause is an invalid input value.</p>
228
234
*
235
+
* @throws {@link NotFoundException} (client fault)
236
+
* <p>We can’t locate the resource that you specified.</p>
237
+
*
229
238
* @throws {@link ServiceQuotaExceededException} (client fault)
230
239
* <p>You've reached the limit on the number of tags you can associate with a resource.</p>
231
240
*
Original file line number Diff line number Diff line change
@@ -172,6 +172,12 @@ export interface DescribeBudgetCommandOutput extends DescribeBudgetResponse, __M
172
172
* // Metrics: [ // Metrics
173
173
* // "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
174
174
* // ],
175
+
* // BillingViewArn: "STRING_VALUE",
176
+
* // HealthStatus: { // HealthStatus
177
+
* // Status: "HEALTHY" || "UNHEALTHY",
178
+
* // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
179
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
180
+
* // },
175
181
* // },
176
182
* // };
177
183
*
Original file line number Diff line number Diff line change
@@ -75,6 +75,7 @@ export interface DescribeBudgetPerformanceHistoryCommandOutput
75
75
* // UseAmortized: true || false,
76
76
* // },
77
77
* // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY",
78
+
* // BillingViewArn: "STRING_VALUE",
78
79
* // BudgetedAndActualAmountsList: [ // BudgetedAndActualAmountsList
79
80
* // { // BudgetedAndActualAmounts
80
81
* // BudgetedAmount: { // Spend
Original file line number Diff line number Diff line change
@@ -174,6 +174,12 @@ export interface DescribeBudgetsCommandOutput extends DescribeBudgetsResponse, _
174
174
* // Metrics: [ // Metrics
175
175
* // "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
176
176
* // ],
177
+
* // BillingViewArn: "STRING_VALUE",
178
+
* // HealthStatus: { // HealthStatus
179
+
* // Status: "HEALTHY" || "UNHEALTHY",
180
+
* // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
181
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
182
+
* // },
177
183
* // },
178
184
* // ],
179
185
* // NextToken: "STRING_VALUE",
Original file line number Diff line number Diff line change
@@ -174,6 +174,12 @@ export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __Metad
174
174
* Metrics: [ // Metrics
175
175
* "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
176
176
* ],
177
+
* BillingViewArn: "STRING_VALUE",
178
+
* HealthStatus: { // HealthStatus
179
+
* Status: "HEALTHY" || "UNHEALTHY",
180
+
* StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
181
+
* LastUpdatedTime: new Date("TIMESTAMP"),
182
+
* },
177
183
* },
178
184
* };
179
185
* const command = new UpdateBudgetCommand(input);
Original file line number Diff line number Diff line change
@@ -824,6 +824,77 @@ export interface TagValues {
824
824
MatchOptions?: MatchOption[] | undefined;
825
825
}
826
826
827
+
/**
828
+
* @public
829
+
* @enum
830
+
*/
831
+
export const HealthStatusValue = {
832
+
HEALTHY: "HEALTHY",
833
+
UNHEALTHY: "UNHEALTHY",
834
+
} as const;
835
+
836
+
/**
837
+
* @public
838
+
*/
839
+
export type HealthStatusValue = (typeof HealthStatusValue)[keyof typeof HealthStatusValue];
840
+
841
+
/**
842
+
* @public
843
+
* @enum
844
+
*/
845
+
export const HealthStatusReason = {
846
+
BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS",
847
+
BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY",
848
+
FILTER_INVALID: "FILTER_INVALID",
849
+
} as const;
850
+
851
+
/**
852
+
* @public
853
+
*/
854
+
export type HealthStatusReason = (typeof HealthStatusReason)[keyof typeof HealthStatusReason];
855
+
856
+
/**
857
+
* <p>Provides information about the current operational state of a billing view resource,
858
+
* including its ability to access and update based on its associated billing view.</p>
859
+
* @public
860
+
*/
861
+
export interface HealthStatus {
862
+
/**
863
+
* <p>The current status of the billing view resource.</p>
864
+
* @public
865
+
*/
866
+
Status?: HealthStatusValue | undefined;
867
+
868
+
/**
869
+
* <p>The reason for the current status.</p>
870
+
* <ul>
871
+
* <li>
872
+
* <p>
873
+
* <code>BILLING_VIEW_NO_ACCESS</code>: The billing view resource does not grant
874
+
* <code>billing:GetBillingViewData</code> permission to this account.</p>
875
+
* </li>
876
+
* <li>
877
+
* <p>
878
+
* <code>BILLING_VIEW_UNHEALTHY</code>: The billing view associated with the
879
+
* budget is unhealthy.</p>
880
+
* </li>
881
+
* <li>
882
+
* <p>
883
+
* <code>FILTER_INVALID</code>: The filter contains reference to an account you
884
+
* do not have access to.</p>
885
+
* </li>
886
+
* </ul>
887
+
* @public
888
+
*/
889
+
StatusReason?: HealthStatusReason | undefined;
890
+
891
+
/**
892
+
* <p> A generic time stamp. In Java, it's transformed to a <code>Date</code> object.</p>
893
+
* @public
894
+
*/
895
+
LastUpdatedTime?: Date | undefined;
896
+
}
897
+
827
898
/**
828
899
* @public
829
900
* @enum
@@ -1139,6 +1210,32 @@ export class InvalidParameterException extends __BaseException {
1139
1210
}
1140
1211
}
1141
1212
1213
+
/**
1214
+
* <p>We can’t locate the resource that you specified.</p>
1215
+
* @public
1216
+
*/
1217
+
export class NotFoundException extends __BaseException {
1218
+
readonly name: "NotFoundException" = "NotFoundException";
1219
+
readonly $fault: "client" = "client";
1220
+
/**
1221
+
* <p>The error message the exception carries.</p>
1222
+
* @public
1223
+
*/
1224
+
Message?: string | undefined;
1225
+
/**
1226
+
* @internal
1227
+
*/
1228
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>) {
1229
+
super({
1230
+
name: "NotFoundException",
1231
+
$fault: "client",
1232
+
...opts,
1233
+
});
1234
+
Object.setPrototypeOf(this, NotFoundException.prototype);
1235
+
this.Message = opts.Message;
1236
+
}
1237
+
}
1238
+
1142
1239
/**
1143
1240
* <p>You've reached the limit on the number of tags you can associate with a resource.</p>
1144
1241
* @public
@@ -1291,32 +1388,6 @@ export interface CreateBudgetActionResponse {
1291
1388
ActionId: string | undefined;
1292
1389
}
1293
1390
1294
-
/**
1295
-
* <p>We can’t locate the resource that you specified.</p>
1296
-
* @public
1297
-
*/
1298
-
export class NotFoundException extends __BaseException {
1299
-
readonly name: "NotFoundException" = "NotFoundException";
1300
-
readonly $fault: "client" = "client";
1301
-
/**
1302
-
* <p>The error message the exception carries.</p>
1303
-
* @public
1304
-
*/
1305
-
Message?: string | undefined;
1306
-
/**
1307
-
* @internal
1308
-
*/
1309
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>) {
1310
-
super({
1311
-
name: "NotFoundException",
1312
-
$fault: "client",
1313
-
...opts,
1314
-
});
1315
-
Object.setPrototypeOf(this, NotFoundException.prototype);
1316
-
this.Message = opts.Message;
1317
-
}
1318
-
}
1319
-
1320
1391
/**
1321
1392
* <p> Request of CreateNotification </p>
1322
1393
* @public
@@ -2010,6 +2081,16 @@ export interface BudgetPerformanceHistory {
2010
2081
*/
2011
2082
TimeUnit?: TimeUnit | undefined;
2012
2083
2084
+
/**
2085
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is
2086
+
* used to specify which particular billing view you want to interact with or retrieve
2087
+
* information from when making API calls related to Amazon Web Services Billing and Cost
2088
+
* Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
2089
+
* API.</p>
2090
+
* @public
2091
+
*/
2092
+
BillingViewArn?: string | undefined;
2093
+
2013
2094
/**
2014
2095
* <p>A list of amounts of cost or usage that you created budgets for, which are compared to
2015
2096
* your actual costs or usage.</p>
@@ -2715,6 +2796,22 @@ export interface Budget {
2715
2796
* @public
2716
2797
*/
2717
2798
Metrics?: Metric[] | undefined;
2799
+
2800
+
/**
2801
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is
2802
+
* used to specify which particular billing view you want to interact with or retrieve
2803
+
* information from when making API calls related to Amazon Web Services Billing and Cost
2804
+
* Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
2805
+
* API.</p>
2806
+
* @public
2807
+
*/
2808
+
BillingViewArn?: string | undefined;
2809
+
2810
+
/**
2811
+
* <p>The current operational state of a Billing View derived resource.</p>
2812
+
* @public
2813
+
*/
2814
+
HealthStatus?: HealthStatus | undefined;
2718
2815
}
2719
2816
2720
2817
/**
Original file line number Diff line number Diff line change
@@ -127,6 +127,7 @@ import {
127
127
ExpiredNextTokenException,
128
128
Expression,
129
129
ExpressionDimensionValues,
130
+
HealthStatus,
130
131
HistoricalOptions,
131
132
IamActionDefinition,
132
133
InternalErrorException,
@@ -1040,15 +1041,15 @@ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext):
1040
1041
case "InvalidParameterException":
1041
1042
case "com.amazonaws.budgets#InvalidParameterException":
1042
1043
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1044
+
case "NotFoundException":
1045
+
case "com.amazonaws.budgets#NotFoundException":
1046
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
1043
1047
case "ServiceQuotaExceededException":
1044
1048
case "com.amazonaws.budgets#ServiceQuotaExceededException":
1045
1049
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1046
1050
case "ThrottlingException":
1047
1051
case "com.amazonaws.budgets#ThrottlingException":
1048
1052
throw await de_ThrottlingExceptionRes(parsedOutput, context);
1049
-
case "NotFoundException":
1050
-
case "com.amazonaws.budgets#NotFoundException":
1051
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
1052
1053
case "ResourceLockedException":
1053
1054
case "com.amazonaws.budgets#ResourceLockedException":
1054
1055
throw await de_ResourceLockedExceptionRes(parsedOutput, context);
@@ -1265,13 +1266,15 @@ const se_AutoAdjustData = (input: AutoAdjustData, context: __SerdeContext): any
1265
1266
const se_Budget = (input: Budget, context: __SerdeContext): any => {
1266
1267
return take(input, {
1267
1268
AutoAdjustData: (_) => se_AutoAdjustData(_, context),
1269
+
BillingViewArn: [],
1268
1270
BudgetLimit: _json,
1269
1271
BudgetName: [],
1270
1272
BudgetType: [],
1271
1273
CalculatedSpend: _json,
1272
1274
CostFilters: _json,
1273
1275
CostTypes: _json,
1274
1276
FilterExpression: (_) => se_Expression(_, context),
1277
+
HealthStatus: (_) => se_HealthStatus(_, context),
1275
1278
LastUpdatedTime: (_) => _.getTime() / 1_000,
1276
1279
Metrics: _json,
1277
1280
PlannedBudgetLimits: _json,
@@ -1467,6 +1470,17 @@ const se_Expressions = (input: Expression[], context: __SerdeContext): any => {
1467
1470
1468
1471
// se_Groups omitted.
1469
1472
1473
+
/**
1474
+
* serializeAws_json1_1HealthStatus
1475
+
*/
1476
+
const se_HealthStatus = (input: HealthStatus, context: __SerdeContext): any => {
1477
+
return take(input, {
1478
+
LastUpdatedTime: (_) => _.getTime() / 1_000,
1479
+
Status: [],
1480
+
StatusReason: [],
1481
+
});
1482
+
};
1483
+
1470
1484
// se_HistoricalOptions omitted.
1471
1485
1472
1486
// se_IamActionDefinition omitted.
@@ -1700,13 +1714,15 @@ const de_AutoAdjustData = (output: any, context: __SerdeContext): AutoAdjustData
1700
1714
const de_Budget = (output: any, context: __SerdeContext): Budget => {
1701
1715
return take(output, {
1702
1716
AutoAdjustData: (_: any) => de_AutoAdjustData(_, context),
1717
+
BillingViewArn: __expectString,
1703
1718
BudgetLimit: _json,
1704
1719
BudgetName: __expectString,
1705
1720
BudgetType: __expectString,
1706
1721
CalculatedSpend: _json,
1707
1722
CostFilters: _json,
1708
1723
CostTypes: _json,
1709
1724
FilterExpression: (_: any) => de_Expression(_, context),
1725
+
HealthStatus: (_: any) => de_HealthStatus(_, context),
1710
1726
LastUpdatedTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1711
1727
Metrics: _json,
1712
1728
PlannedBudgetLimits: _json,
@@ -1768,6 +1784,7 @@ const de_BudgetNotificationsForAccountList = (
1768
1784
*/
1769
1785
const de_BudgetPerformanceHistory = (output: any, context: __SerdeContext): BudgetPerformanceHistory => {
1770
1786
return take(output, {
1787
+
BillingViewArn: __expectString,
1771
1788
BudgetName: __expectString,
1772
1789
BudgetType: __expectString,
1773
1790
BudgetedAndActualAmountsList: (_: any) => de_BudgetedAndActualAmountsList(_, context),
@@ -1974,6 +1991,17 @@ const de_Expressions = (output: any, context: __SerdeContext): Expression[] => {
1974
1991
1975
1992
// de_Groups omitted.
1976
1993
1994
+
/**
1995
+
* deserializeAws_json1_1HealthStatus
1996
+
*/
1997
+
const de_HealthStatus = (output: any, context: __SerdeContext): HealthStatus => {
1998
+
return take(output, {
1999
+
LastUpdatedTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2000
+
Status: __expectString,
2001
+
StatusReason: __expectString,
2002
+
}) as any;
2003
+
};
2004
+
1977
2005
// de_HistoricalOptions omitted.
1978
2006
1979
2007
// de_IamActionDefinition omitted.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4