CloudWatchLogsClient.get_log_anomaly_detector
rboto-cloudwatch-logs==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves information about the log anomaly detector that you specify. The KMS key ARN detected is valid.
Install and imports
from rboto import CloudWatchLogsClient
from rboto_cloudwatch_logs.types import (
GetLogAnomalyDetectorOutput,
)
Signature
async def get_log_anomaly_detector(
*,
anomaly_detector_arn: str,
) -> GetLogAnomalyDetectorOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
anomaly_detector_arn |
Yes | The ARN of the anomaly detector to retrieve information about. You can find the ARNs of log anomaly detectors in your account by using the ListLogAnomalyDetectors operation. |
Output
GetLogAnomalyDetectorOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
detector_name |
str | None |
Always present | — |
log_group_arn_list |
list[str] | None |
Always present | — |
evaluation_frequency |
EvaluationFrequencyOutput | None |
Always present | EvaluationFrequencyOutput |
filter_pattern |
str | None |
Always present | — |
anomaly_detector_status |
AnomalyDetectorStatusOutput | None |
Always present | AnomalyDetectorStatusOutput |
kms_key_id |
str | None |
Always present | — |
creation_time_stamp |
int |
Always present | — |
last_modified_time_stamp |
int |
Always present | — |
anomaly_visibility_time |
int | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudwatch_logs.exceptions:
InvalidParameterError, OperationAbortedError, ResourceNotFoundError, ServiceUnavailableError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.