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

Class: Aws::Macie2::Types::GetFindingStatisticsRequest

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

Overview

Note:

When passing GetFindingStatisticsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  finding_criteria: {
    criterion: {
      "__string" => {
        eq: ["__string"],
        eq_exact_match: ["__string"],
        gt: 1,
        gte: 1,
        lt: 1,
        lte: 1,
        neq: ["__string"],
      },
    },
  },
  group_by: "resourcesAffected.s3Bucket.name", # required, accepts resourcesAffected.s3Bucket.name, type, classificationDetails.jobId, severity.description
  size: 1,
  sort_criteria: {
    attribute_name: "groupKey", # accepts groupKey, count
    order_by: "ASC", # accepts ASC, DESC
  },
}

Specifies criteria for filtering, grouping, sorting, and paginating the results of a query that retrieves aggregated statistical data about findings.

Instance Attribute Summary collapse

Instance Attribute Details

#finding_criteriaTypes::FindingCriteria

Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.

Returns:

  • (Types::FindingCriteria)

    Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.

    .

#group_byString

Possible values:

  • resourcesAffected.s3Bucket.name
  • type
  • classificationDetails.jobId
  • severity.description

Returns:

  • (String)

#sizeInteger

Returns:

  • (Integer)

#sort_criteriaTypes::FindingStatisticsSortCriteria

Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.

Returns: