GuardDuty.Paginator.
ListFindings
¶paginator = client.get_paginator('list_findings')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from GuardDuty.Client.list_findings()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
DetectorId='string',
FindingCriteria={
'Criterion': {
'string': {
'Eq': [
'string',
],
'Neq': [
'string',
],
'Gt': 123,
'Gte': 123,
'Lt': 123,
'Lte': 123,
'Equals': [
'string',
],
'NotEquals': [
'string',
],
'GreaterThan': 123,
'GreaterThanOrEqual': 123,
'LessThan': 123,
'LessThanOrEqual': 123
}
}
},
SortCriteria={
'AttributeName': 'string',
'OrderBy': 'ASC'|'DESC'
},
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the detector that specifies the GuardDuty service whose findings you want to list.
Represents the criteria used for querying findings. Valid values include:
Represents a map of finding properties that match specified conditions and values when querying findings.
Contains information about the condition.
Represents the equal condition to be applied to a single field when querying for findings.
Represents the not equal condition to be applied to a single field when querying for findings.
Represents a greater than condition to be applied to a single field when querying for findings.
Represents a greater than or equal condition to be applied to a single field when querying for findings.
Represents a less than condition to be applied to a single field when querying for findings.
Represents a less than or equal condition to be applied to a single field when querying for findings.
Represents an equal condition to be applied to a single field when querying for findings.
Represents a not equal condition to be applied to a single field when querying for findings.
Represents a greater than condition to be applied to a single field when querying for findings.
Represents a greater than or equal condition to be applied to a single field when querying for findings.
Represents a less than condition to be applied to a single field when querying for findings.
Represents a less than or equal condition to be applied to a single field when querying for findings.
Represents the criteria used for sorting findings.
Represents the finding attribute, such as accountId
, that sorts the findings.
The order by which the sorted findings are to be displayed.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'FindingIds': [
'string',
],
}
Response Structure
(dict) --
FindingIds (list) --
The IDs of the findings that you're listing.