Class: Aws::GuardDuty::Types::ListFindingsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GuardDuty::Types::ListFindingsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-guardduty/types.rb
Overview
When making an API call, you may pass ListFindingsRequest data as a hash:
{
detector_id: "__string", # required
finding_criteria: {
criterion: {
"__string" => {
eq: ["__string"],
gt: 1,
gte: 1,
lt: 1,
lte: 1,
neq: ["__string"],
},
},
},
max_results: 1,
next_token: "NextToken",
sort_criteria: {
attribute_name: "__string",
order_by: "ASC", # accepts ASC, DESC
},
}
List Findings Request
Instance Attribute Summary collapse
- #detector_id ⇒ String
-
#finding_criteria ⇒ Types::FindingCriteria
Represents the criteria used for querying findings.
-
#max_results ⇒ Integer
You can use this parameter to indicate the maximum number of items you want in the response.
-
#next_token ⇒ String
You can use this parameter when paginating results.
-
#sort_criteria ⇒ Types::SortCriteria
Represents the criteria used for sorting findings.
Instance Attribute Details
#detector_id ⇒ String
1822 1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/aws-sdk-guardduty/types.rb', line 1822 class ListFindingsRequest < Struct.new( :detector_id, :finding_criteria, :max_results, :next_token, :sort_criteria) include Aws::Structure end |
#finding_criteria ⇒ Types::FindingCriteria
Represents the criteria used for querying findings.
1822 1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/aws-sdk-guardduty/types.rb', line 1822 class ListFindingsRequest < Struct.new( :detector_id, :finding_criteria, :max_results, :next_token, :sort_criteria) include Aws::Structure end |
#max_results ⇒ Integer
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1822 1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/aws-sdk-guardduty/types.rb', line 1822 class ListFindingsRequest < Struct.new( :detector_id, :finding_criteria, :max_results, :next_token, :sort_criteria) include Aws::Structure end |
#next_token ⇒ String
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. For subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
1822 1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/aws-sdk-guardduty/types.rb', line 1822 class ListFindingsRequest < Struct.new( :detector_id, :finding_criteria, :max_results, :next_token, :sort_criteria) include Aws::Structure end |
#sort_criteria ⇒ Types::SortCriteria
Represents the criteria used for sorting findings.
1822 1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/aws-sdk-guardduty/types.rb', line 1822 class ListFindingsRequest < Struct.new( :detector_id, :finding_criteria, :max_results, :next_token, :sort_criteria) include Aws::Structure end |