Skip to content

Delete Subscriber

budgets_delete_subscriber R Documentation

Deletes a subscriber

Description

Deletes a subscriber.

Deleting the last subscriber to a notification also deletes the notification.

Usage

budgets_delete_subscriber(AccountId, BudgetName, Notification,
  Subscriber)

Arguments

AccountId

[required] The accountId that is associated with the budget whose subscriber you want to delete.

BudgetName

[required] The name of the budget whose subscriber you want to delete.

Notification

[required] The notification whose subscriber you want to delete.

Subscriber

[required] The subscriber that you want to delete.

Value

An empty list.

Request syntax

svc$delete_subscriber(
  AccountId = "string",
  BudgetName = "string",
  Notification = list(
    NotificationType = "ACTUAL"|"FORECASTED",
    ComparisonOperator = "GREATER_THAN"|"LESS_THAN"|"EQUAL_TO",
    Threshold = 123.0,
    ThresholdType = "PERCENTAGE"|"ABSOLUTE_VALUE",
    NotificationState = "OK"|"ALARM"
  ),
  Subscriber = list(
    SubscriptionType = "SNS"|"EMAIL",
    Address = "string"
  )
)