update_monitoring_alert

update_monitoring_alert(**kwargs)

Update the parameters of a model monitor alert.

See also: AWS API Documentation

Request Syntax

response = client.update_monitoring_alert(
    MonitoringScheduleName='string',
    MonitoringAlertName='string',
    DatapointsToAlert=123,
    EvaluationPeriod=123
)
Parameters
  • MonitoringScheduleName (string) --

    [REQUIRED]

    The name of a monitoring schedule.

  • MonitoringAlertName (string) --

    [REQUIRED]

    The name of a monitoring alert.

  • DatapointsToAlert (integer) --

    [REQUIRED]

    Within EvaluationPeriod , how many execution failures will raise an alert.

  • EvaluationPeriod (integer) --

    [REQUIRED]

    The number of most recent monitoring executions to consider when evaluating alert status.

Return type

dict

Returns

Response Syntax

{
    'MonitoringScheduleArn': 'string',
    'MonitoringAlertName': 'string'
}

Response Structure

  • (dict) --

    • MonitoringScheduleArn (string) --

      The Amazon Resource Name (ARN) of the monitoring schedule.

    • MonitoringAlertName (string) --

      The name of a monitoring alert.

Exceptions

  • SageMaker.Client.exceptions.ResourceLimitExceeded
  • SageMaker.Client.exceptions.ResourceNotFound