Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_anomaly_detector

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'
    }
)
Parameters
  • AnomalyDetectorArn (string) --

    [REQUIRED]

    The ARN of the detector to update.

  • KmsKeyArn (string) -- The Amazon Resource Name (ARN) of an AWS KMS encryption key.
  • AnomalyDetectorDescription (string) -- The updated detector description.
  • AnomalyDetectorConfig (dict) --

    Contains information about the configuration to which the detector will be updated.

    • AnomalyDetectorFrequency (string) --

      The frequency at which the detector analyzes its source data.

Return type

dict

Returns

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