:doc:`CostExplorer <../../ce>` / Client / update_anomaly_monitor

**********************
update_anomaly_monitor
**********************



.. py:method:: CostExplorer.Client.update_anomaly_monitor(**kwargs)

  

  Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn't change anomalies detected in the past.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalyMonitor>`_  


  **Request Syntax**
  ::

    response = client.update_anomaly_monitor(
        MonitorArn='string',
        MonitorName='string'
    )
    
  :type MonitorArn: string
  :param MonitorArn: **[REQUIRED]** 

    Cost anomaly monitor Amazon Resource Names (ARNs).

    

  
  :type MonitorName: string
  :param MonitorName: 

    The new name for the cost anomaly monitor.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'MonitorArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **MonitorArn** *(string) --* 

        A cost anomaly monitor ARN.

        
  
  **Exceptions**
  
  *   :py:class:`CostExplorer.Client.exceptions.LimitExceededException`

  
  *   :py:class:`CostExplorer.Client.exceptions.UnknownMonitorException`

  