describe_budgets
¶
describe_budgets(
account_id: AccountId,
*,
config_overrides: Optional[BudgetsClientConfig] = None,
max_results: Optional[MaxResultsDescribeBudgets] = None,
next_token: Optional[GenericString] = None,
show_filter_expression: Optional[NullableBoolean] = None,
) -> DescribeBudgetsResponse
Lists the budgets that are associated with an account.
The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.
Parameters:
-
account_id(AccountId) –The
accountIdthat is associated with the budgets that you want to describe. -
max_results(Optional[MaxResultsDescribeBudgets], default:None) –An integer that represents how many budgets a paginated response contains. The default is 100.
-
next_token(Optional[GenericString], default:None) –The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
-
show_filter_expression(Optional[NullableBoolean], default:None) –Specifies whether the response includes the filter expression associated with the budgets. By showing the filter expression, you can see detailed filtering logic applied to the budgets, such as Amazon Web Services services or tags that are being tracked.
Raises:
-
AccessDeniedException–You are not authorized to use this operation with the given parameters.
-
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/budgets.py
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 | |