describe_anomaly_detector
(**kwargs)¶Describes a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
See also: AWS API Documentation
Request Syntax
response = client.describe_anomaly_detector(
AnomalyDetectorArn='string'
)
[REQUIRED]
The ARN of the detector to describe.
{
'AnomalyDetectorArn': 'string',
'AnomalyDetectorName': 'string',
'AnomalyDetectorDescription': 'string',
'AnomalyDetectorConfig': {
'AnomalyDetectorFrequency': 'P1D'|'PT1H'|'PT10M'|'PT5M'
},
'CreationTime': datetime(2015, 1, 1),
'LastModificationTime': datetime(2015, 1, 1),
'Status': 'ACTIVE'|'ACTIVATING'|'DELETING'|'FAILED'|'INACTIVE'|'LEARNING'|'BACK_TEST_ACTIVATING'|'BACK_TEST_ACTIVE'|'BACK_TEST_COMPLETE'|'DEACTIVATED'|'DEACTIVATING',
'FailureReason': 'string',
'KmsKeyArn': 'string',
'FailureType': 'ACTIVATION_FAILURE'|'BACK_TEST_ACTIVATION_FAILURE'|'DELETION_FAILURE'|'DEACTIVATION_FAILURE'
}
Response Structure
The ARN of the detector.
The name of the detector.
A description of the detector.
Contains information about the detector's configuration.
The interval at which the detector analyzes its source data.
The time at which the detector was created.
The time at which the detector was last modified.
The status of the detector.
The reason that the detector failed.
The ARN of the KMS key to use to encrypt your data.
The process that caused the detector to fail.
Exceptions
LookoutMetrics.Client.exceptions.ResourceNotFoundException
LookoutMetrics.Client.exceptions.ValidationException
LookoutMetrics.Client.exceptions.AccessDeniedException
LookoutMetrics.Client.exceptions.InternalServerException
LookoutMetrics.Client.exceptions.TooManyRequestsException