Skip to content

Get Detectors

frauddetector_get_detectors R Documentation

Gets all detectors or a single detector if a detectorId is specified

Description

Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.

Usage

frauddetector_get_detectors(detectorId, nextToken, maxResults)

Arguments

detectorId

The detector ID.

nextToken

The next token for the subsequent request.

maxResults

The maximum number of objects to return for the request.

Value

A list with the following syntax:

list(
  detectors = list(
    list(
      detectorId = "string",
      description = "string",
      eventTypeName = "string",
      lastUpdatedTime = "string",
      createdTime = "string",
      arn = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$get_detectors(
  detectorId = "string",
  nextToken = "string",
  maxResults = 123
)