update_subscriber
¶
update_subscriber(
account_id: AccountId,
budget_name: BudgetName,
notification: Notification,
old_subscriber: Subscriber,
new_subscriber: Subscriber,
*,
config_overrides: Optional[BudgetsClientConfig] = None,
) -> UpdateSubscriberResponse
Updates a subscriber.
Parameters:
-
account_id(AccountId) –The
accountIdthat is associated with the budget whose subscriber you want to update. -
budget_name(BudgetName) –The name of the budget whose subscriber you want to update.
-
notification(Notification) –The notification whose subscriber you want to update.
-
old_subscriber(Subscriber) –The previous subscriber that is associated with a budget notification.
-
new_subscriber(Subscriber) –The updated subscriber that is associated with a budget notification.
Raises:
-
AccessDeniedException–You are not authorized to use this operation with the given parameters.
-
DuplicateRecordException–The budget name already exists. Budget names must be unique within an account.
-
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.
Source code in docs_src/capo_budgets/_services/budgets.py
2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 | |