describe_budget_notifications_for_account
¶
describe_budget_notifications_for_account(
account_id: AccountId,
*,
config_overrides: Optional[BudgetsClientConfig] = None,
max_results: Optional[MaxResultsBudgetNotifications] = None,
next_token: Optional[GenericString] = None,
metrics: Optional[MetricsFilter] = None,
) -> DescribeBudgetNotificationsForAccountResponse
Lists the budget names and notifications that are associated with an account.
Parameters:
-
max_results(Optional[MaxResultsBudgetNotifications], default:None) –An integer that represents how many budgets a paginated response contains. The default is 50.
-
metrics(Optional[MetricsFilter], default:None) –The metrics to filter by. If you specify this parameter, the response includes only the notifications for budgets that use one of the specified metrics.
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
1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 | |