Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetDetectorsCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { FraudDetectorClient, GetDetectorsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
// const { FraudDetectorClient, GetDetectorsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
const client = new FraudDetectorClient(config);
const command = new GetDetectorsCommand(input);
const response = await client.send(command);
see

GetDetectorsCommandInput for command's input shape.

see

GetDetectorsCommandOutput for command's response shape.

see

config for FraudDetectorClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetDetectorsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetDetectorsCommandInput, GetDetectorsCommandOutput>