:doc:`SageMaker <../../sagemaker>` / Client / update_monitoring_alert

***********************
update_monitoring_alert
***********************



.. py:method:: SageMaker.Client.update_monitoring_alert(**kwargs)

  

  Update the parameters of a model monitor alert.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringAlert>`_  


  **Request Syntax**
  ::

    response = client.update_monitoring_alert(
        MonitoringScheduleName='string',
        MonitoringAlertName='string',
        DatapointsToAlert=123,
        EvaluationPeriod=123
    )
    
  :type MonitoringScheduleName: string
  :param MonitoringScheduleName: **[REQUIRED]** 

    The name of a monitoring schedule.

    

  
  :type MonitoringAlertName: string
  :param MonitoringAlertName: **[REQUIRED]** 

    The name of a monitoring alert.

    

  
  :type DatapointsToAlert: integer
  :param DatapointsToAlert: **[REQUIRED]** 

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

    

  
  :type EvaluationPeriod: integer
  :param EvaluationPeriod: **[REQUIRED]** 

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

    

  
  
  :rtype: 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**
  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceLimitExceeded`

  