Module Values.GetLogAnomalyDetectorResponseSource

Retrieves information about the log anomaly detector that you specify. The KMS key ARN detected is valid.

Sourcetype nonrec t = {
  1. detectorName : DetectorName.t option;
    (*

    The name of the log anomaly detector

    *)
  2. logGroupArnList : LogGroupArnList.t option;
    (*

    An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.

    *)
  3. evaluationFrequency : EvaluationFrequency.t option;
    (*

    Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.

    *)
  4. filterPattern : FilterPattern.t option;
  5. anomalyDetectorStatus : AnomalyDetectorStatus.t option;
    (*

    Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.

    *)
  6. kmsKeyId : KmsKeyId.t option;
    (*

    The ARN of the KMS key assigned to this anomaly detector, if any.

    *)
  7. creationTimeStamp : EpochMillis.t option;
    (*

    The date and time when this anomaly detector was created.

    *)
  8. lastModifiedTimeStamp : EpochMillis.t option;
    (*

    The date and time when this anomaly detector was most recently modified.

    *)
  9. anomalyVisibilityTime : AnomalyVisibilityTime.t option;
    (*

    The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterException of InvalidParameterException.t
  2. | `OperationAbortedException of OperationAbortedException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceUnavailableException of ServiceUnavailableException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?detectorName:??? -> ?logGroupArnList:??? -> ?evaluationFrequency:??? -> ?filterPattern:??? -> ?anomalyDetectorStatus:??? -> ?kmsKeyId:??? -> ?creationTimeStamp:??? -> ?lastModifiedTimeStamp:??? -> ?anomalyVisibilityTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterException of unit | `OperationAbortedException of unit | `ResourceNotFoundException of unit | `ServiceUnavailableException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterException of unit | `OperationAbortedException of unit | `ResourceNotFoundException of unit | `ServiceUnavailableException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of LogGroupArn.t ] list | `Long of EpochMillis.t | `String of DetectorName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t