You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GuardDuty::Types::ListFindingsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListFindingsRequest as input to an Aws::Client method, you can use a vanilla 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

Instance Attribute Details

#detector_idString

Returns:

  • (String)

#finding_criteriaTypes::FindingCriteria

Represents the criteria used for querying findings.

Returns:

#max_resultsInteger

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.

Returns:

  • (Integer)

    You can use this parameter to indicate the maximum number of items you want in the response.

#next_tokenString

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.

Returns:

  • (String)

    You can use this parameter when paginating results.

#sort_criteriaTypes::SortCriteria

Represents the criteria used for sorting findings.

Returns: