Skip to content

Update Subscriber

budgets_update_subscriber R Documentation

Updates a subscriber

Description

Updates a subscriber.

Usage

budgets_update_subscriber(AccountId, BudgetName, Notification,
  OldSubscriber, NewSubscriber)

Arguments

AccountId

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

BudgetName

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

Notification

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

OldSubscriber

[required] The previous subscriber that is associated with a budget notification.

NewSubscriber

[required] The updated subscriber that is associated with a budget notification.

Value

An empty list.

Request syntax

svc$update_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"
  ),
  OldSubscriber = list(
    SubscriptionType = "SNS"|"EMAIL",
    Address = "string"
  ),
  NewSubscriber = list(
    SubscriptionType = "SNS"|"EMAIL",
    Address = "string"
  )
)