budgets_create_notification: Creates a notification

Description Usage Arguments Value Request syntax

View source: R/budgets_operations.R

Description

Creates a notification. You must create the budget before you create the associated notification.

Usage

1
2
budgets_create_notification(AccountId, BudgetName, Notification,
  Subscribers)

Arguments

AccountId

[required] The accountId that is associated with the budget that you want to create a notification for.

BudgetName

[required] The name of the budget that you want AWS 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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"
    )
  )
)

paws.cost.management documentation built on Aug. 23, 2021, 9:20 a.m.