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¶
Arguments¶
-
detectorIdThe detector ID.
-
nextTokenThe next token for the subsequent request.
-
maxResultsThe 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"
)