describe_budget
async
¶
describe_budget(
account_id: AccountId,
budget_name: BudgetName,
*,
config_overrides: Optional[AsyncBudgetsClientConfig] = None,
show_filter_expression: Optional[NullableBoolean] = None,
) -> DescribeBudgetResponse
Describes a budget.
The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.
Parameters:
-
account_id(AccountId) –The
accountIdthat is associated with the budget that you want a description of. -
budget_name(BudgetName) –The name of the budget that you want a description of.
-
show_filter_expression(Optional[NullableBoolean], default:None) –Specifies whether the response includes the filter expression associated with the budget. By showing the filter expression, you can see detailed filtering logic applied to the budget, 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.
-
InternalErrorException–An error on the server occurred during the processing of your request. Try again later.
-
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.