Create Notification
budgets_create_notification | R Documentation |
Creates a notification¶
Description¶
Creates a notification. You must create the budget before you create the associated notification.
Usage¶
budgets_create_notification(AccountId, BudgetName, Notification,
Subscribers)
Arguments¶
AccountId |
[required] The |
BudgetName |
[required] The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account. |
Notification |
[required] The notification that you want to create. |
Subscribers |
[required] A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers. |
Value¶
An empty list.
Request syntax¶
svc$create_notification(
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"
),
Subscribers = list(
list(
SubscriptionType = "SNS"|"EMAIL",
Address = "string"
)
)
)