List Monitoring Alert History
| sagemaker_list_monitoring_alert_history | R Documentation |
Gets a list of past alerts in a model monitoring schedule¶
Description¶
Gets a list of past alerts in a model monitoring schedule.
Usage¶
sagemaker_list_monitoring_alert_history(MonitoringScheduleName,
MonitoringAlertName, SortBy, SortOrder, NextToken, MaxResults,
CreationTimeBefore, CreationTimeAfter, StatusEquals)
Arguments¶
MonitoringScheduleNameThe name of a monitoring schedule.
MonitoringAlertNameThe name of a monitoring alert.
SortByThe field used to sort results. The default is
CreationTime.SortOrderThe sort order, whether
AscendingorDescending, of the alert history. The default isDescending.NextTokenIf the result of the previous
list_monitoring_alert_historyrequest was truncated, the response includes aNextToken. To retrieve the next set of alerts in the history, use the token in the next request.MaxResultsThe maximum number of results to display. The default is 100.
CreationTimeBeforeA filter that returns only alerts created on or before the specified time.
CreationTimeAfterA filter that returns only alerts created on or after the specified time.
StatusEqualsA filter that retrieves only alerts with a specific status.
Value¶
A list with the following syntax:
list(
MonitoringAlertHistory = list(
list(
MonitoringScheduleName = "string",
MonitoringAlertName = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
AlertStatus = "InAlert"|"OK"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_monitoring_alert_history(
MonitoringScheduleName = "string",
MonitoringAlertName = "string",
SortBy = "CreationTime"|"Status",
SortOrder = "Ascending"|"Descending",
NextToken = "string",
MaxResults = 123,
CreationTimeBefore = as.POSIXct(
"2015-01-01"
),
CreationTimeAfter = as.POSIXct(
"2015-01-01"
),
StatusEquals = "InAlert"|"OK"
)