describe_budget_performance_history
async
¶
describe_budget_performance_history(
account_id: AccountId,
budget_name: BudgetName,
*,
config_overrides: Optional[AsyncBudgetsClientConfig] = None,
time_period: Optional[TimePeriod] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[GenericString] = None,
) -> DescribeBudgetPerformanceHistoryResponse
Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.
Parameters:
-
time_period(Optional[TimePeriod], default:None) –Retrieves how often the budget went into an
ALARMstate for the specified time period.
Raises:
-
AccessDeniedException–You are not authorized to use this operation with the given parameters.
-
BillingViewHealthStatusException–The billing view status must be HEALTHY to perform this action. Try again when the status is HEALTHY.
-
ExpiredNextTokenException–The pagination token expired.
-
InternalErrorException–An error on the server occurred during the processing of your request. Try again later.
-
InvalidNextTokenException–The pagination token is invalid.
-
InvalidParameterException–An error on the client occurred. Typically, the cause is an invalid input value.
-
NotFoundException–We can’t locate the resource that you specified.
-
ThrottlingException–The number of API requests has exceeded the maximum allowed API request throttling limit for the account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_budgets/_services/async_budgets.py
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 | |