delete_subscriber
async
¶
delete_subscriber(
account_id: AccountId,
budget_name: BudgetName,
notification: Notification,
subscriber: Subscriber,
*,
config_overrides: Optional[AsyncBudgetsClientConfig] = None,
) -> DeleteSubscriberResponse
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
Parameters:
-
account_id(AccountId) –The
accountIdthat is associated with the budget whose subscriber you want to delete. -
budget_name(BudgetName) –The name of the budget whose subscriber you want to delete.
-
notification(Notification) –The notification whose subscriber you want to delete.
-
subscriber(Subscriber) –The subscriber that you want to delete.
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.