update_anomaly_monitor

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

Request Syntax

response = client.update_anomaly_monitor(
    MonitorArn='string',
    MonitorName='string'
)
Parameters
  • MonitorArn (string) --

    [REQUIRED]

    Cost anomaly monitor Amazon Resource Names (ARNs).

  • MonitorName (string) -- The new name for the cost anomaly monitor.
Return type

dict

Returns

Response Syntax

{
    'MonitorArn': 'string'
}

Response Structure

  • (dict) --

    • MonitorArn (string) --

      A cost anomaly monitor ARN.

Exceptions

  • CostExplorer.Client.exceptions.LimitExceededException
  • CostExplorer.Client.exceptions.UnknownMonitorException