Skip to content

List Monitoring Alerts

sagemaker_list_monitoring_alerts R Documentation

Gets the alerts for a single monitoring schedule

Description

Gets the alerts for a single monitoring schedule.

Usage

sagemaker_list_monitoring_alerts(MonitoringScheduleName, NextToken,
  MaxResults)

Arguments

MonitoringScheduleName

[required] The name of a monitoring schedule.

NextToken

If the result of the previous list_monitoring_alerts request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.

MaxResults

The maximum number of results to display. The default is 100.

Value

A list with the following syntax:

list(
  MonitoringAlertSummaries = list(
    list(
      MonitoringAlertName = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      AlertStatus = "InAlert"|"OK",
      DatapointsToAlert = 123,
      EvaluationPeriod = 123,
      Actions = list(
        ModelDashboardIndicator = list(
          Enabled = TRUE|FALSE
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_monitoring_alerts(
  MonitoringScheduleName = "string",
  NextToken = "string",
  MaxResults = 123
)