Skip to content

List Anomaly Detectors

prometheusservice_list_anomaly_detectors R Documentation

Returns a paginated list of anomaly detectors for a workspace with optional filtering by alias

Description

Returns a paginated list of anomaly detectors for a workspace with optional filtering by alias.

Usage

prometheusservice_list_anomaly_detectors(workspaceId, alias, maxResults,
  nextToken)

Arguments

workspaceId

[required] The identifier of the workspace containing the anomaly detectors to list.

alias

Filters the results to anomaly detectors with the specified alias.

maxResults

The maximum number of results to return in a single call. Valid range is 1 to 1000.

nextToken

The pagination token to continue retrieving results.

Value

A list with the following syntax:

list(
  anomalyDetectors = list(
    list(
      arn = "string",
      anomalyDetectorId = "string",
      alias = "string",
      status = list(
        statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|"DELETION_FAILED",
        statusReason = "string"
      ),
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      modifiedAt = as.POSIXct(
        "2015-01-01"
      ),
      tags = list(
        "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_anomaly_detectors(
  workspaceId = "string",
  alias = "string",
  maxResults = 123,
  nextToken = "string"
)