LookoutMetrics.Client.
update_anomaly_detector
(**kwargs)¶Updates a detector. After activation, you can only change a detector's ingestion delay and description.
See also: AWS API Documentation
Request Syntax
response = client.update_anomaly_detector(
AnomalyDetectorArn='string',
KmsKeyArn='string',
AnomalyDetectorDescription='string',
AnomalyDetectorConfig={
'AnomalyDetectorFrequency': 'P1D'|'PT1H'|'PT10M'|'PT5M'
}
)
[REQUIRED]
The ARN of the detector to update.
Contains information about the configuration to which the detector will be updated.
The frequency at which the detector analyzes its source data.
dict
Response Syntax
{
'AnomalyDetectorArn': 'string'
}
Response Structure
(dict) --
AnomalyDetectorArn (string) --
The ARN of the updated detector.
Exceptions
LookoutMetrics.Client.exceptions.ResourceNotFoundException
LookoutMetrics.Client.exceptions.ValidationException
LookoutMetrics.Client.exceptions.InternalServerException
LookoutMetrics.Client.exceptions.AccessDeniedException
LookoutMetrics.Client.exceptions.TooManyRequestsException