FraudDetector.Client.get_detectors(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.get_detectors(
detectorId='string',
nextToken='string',
maxResults=123
)
dict
Response Syntax
{
'detectors': [
{
'detectorId': 'string',
'description': 'string',
'eventTypeName': 'string',
'lastUpdatedTime': 'string',
'createdTime': 'string',
'arn': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
detectors (list) --
The detectors.
(dict) --
The detector.
detectorId (string) --
The detector ID.
description (string) --
The detector description.
eventTypeName (string) --
The name of the event type.
lastUpdatedTime (string) --
Timestamp of when the detector was last updated.
createdTime (string) --
Timestamp of when the detector was created.
arn (string) --
The detector ARN.
nextToken (string) --
The next page token.
Exceptions
FraudDetector.Client.exceptions.ValidationExceptionFraudDetector.Client.exceptions.ResourceNotFoundExceptionFraudDetector.Client.exceptions.InternalServerExceptionFraudDetector.Client.exceptions.ThrottlingExceptionFraudDetector.Client.exceptions.AccessDeniedException