create_anomaly_detector
(**kwargs)¶Creates an anomaly detector.
See also: AWS API Documentation
Request Syntax
response = client.create_anomaly_detector(
AnomalyDetectorName='string',
AnomalyDetectorDescription='string',
AnomalyDetectorConfig={
'AnomalyDetectorFrequency': 'P1D'|'PT1H'|'PT10M'|'PT5M'
},
KmsKeyArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The name of the detector.
[REQUIRED]
Contains information about the configuration of the anomaly detector.
The frequency at which the detector analyzes its source data.
A list of tags to apply to the anomaly detector.
dict
Response Syntax
{
'AnomalyDetectorArn': 'string'
}
Response Structure
(dict) --
AnomalyDetectorArn (string) --
The ARN of the detector.
Exceptions
LookoutMetrics.Client.exceptions.ConflictException
LookoutMetrics.Client.exceptions.ValidationException
LookoutMetrics.Client.exceptions.ServiceQuotaExceededException
LookoutMetrics.Client.exceptions.ConflictException
LookoutMetrics.Client.exceptions.AccessDeniedException
LookoutMetrics.Client.exceptions.TooManyRequestsException
LookoutMetrics.Client.exceptions.InternalServerException