update_notification
async
¶
update_notification(
account_id: AccountId,
budget_name: BudgetName,
old_notification: Notification,
new_notification: Notification,
*,
config_overrides: Optional[AsyncBudgetsClientConfig] = None,
) -> UpdateNotificationResponse
Updates a notification.
Parameters:
-
account_id(AccountId) –The
accountIdthat is associated with the budget whose notification you want to update. -
budget_name(BudgetName) –The name of the budget whose notification you want to update.
-
old_notification(Notification) –The previous notification that is associated with a budget.
-
new_notification(Notification) –The updated notification to be associated with a budget.
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.