describe_budget_notifications_for_account
async
¶
describe_budget_notifications_for_account(
account_id: AccountId,
*,
config_overrides: Optional[AsyncBudgetsClientConfig] = 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/async_budgets.py
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 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 | |