Create Alert
lookoutmetrics_create_alert | R Documentation |
Creates an alert for an anomaly detector¶
Description¶
Creates an alert for an anomaly detector.
Usage¶
lookoutmetrics_create_alert(AlertName, AlertSensitivityThreshold,
AlertDescription, AnomalyDetectorArn, Action, Tags, AlertFilters)
Arguments¶
AlertName
[required] The name of the alert.
AlertSensitivityThreshold
An integer from 0 to 100 specifying the alert sensitivity threshold.
AlertDescription
A description of the alert.
AnomalyDetectorArn
[required] The ARN of the detector to which the alert is attached.
Action
[required] Action that will be triggered when there is an alert.
Tags
A list of tags to apply to the alert.
AlertFilters
The configuration of the alert filters, containing MetricList and DimensionFilterList.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_alert(
AlertName = "string",
AlertSensitivityThreshold = 123,
AlertDescription = "string",
AnomalyDetectorArn = "string",
Action = list(
SNSConfiguration = list(
RoleArn = "string",
SnsTopicArn = "string",
SnsFormat = "LONG_TEXT"|"SHORT_TEXT"|"JSON"
),
LambdaConfiguration = list(
RoleArn = "string",
LambdaArn = "string"
)
),
Tags = list(
"string"
),
AlertFilters = list(
MetricList = list(
"string"
),
DimensionFilterList = list(
list(
DimensionName = "string",
DimensionValueList = list(
"string"
)
)
)
)
)