costexplorer_create_anomaly_subscription: Adds a subscription to a cost anomaly detection monitor

Description Usage Arguments Value Request syntax

View source: R/costexplorer_operations.R

Description

Adds a subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set a dollar threshold and a time frequency for receiving notifications.

Usage

1

Arguments

AnomalySubscription

[required] The cost anomaly subscription object that you want to create.

Value

A list with the following syntax:

1
2
3
list(
  SubscriptionArn = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
svc$create_anomaly_subscription(
  AnomalySubscription = list(
    SubscriptionArn = "string",
    AccountId = "string",
    MonitorArnList = list(
      "string"
    ),
    Subscribers = list(
      list(
        Address = "string",
        Type = "EMAIL"|"SNS",
        Status = "CONFIRMED"|"DECLINED"
      )
    ),
    Threshold = 123.0,
    Frequency = "DAILY"|"IMMEDIATE"|"WEEKLY",
    SubscriptionName = "string"
  )
)

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