The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::GuardDuty::GetFindingsStatistics - Arguments for method GetFindingsStatistics on Paws::GuardDuty

DESCRIPTION

This class represents the parameters used for calling the method GetFindingsStatistics on the Amazon GuardDuty service. Use the attributes of this class as arguments to method GetFindingsStatistics.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetFindingsStatistics.

SYNOPSIS

my $guardduty = Paws->service('GuardDuty');
my $GetFindingsStatisticsResponse = $guardduty->GetFindingsStatistics(
  DetectorId            => 'MyDetectorId',
  FindingStatisticTypes => [
    'COUNT_BY_SEVERITY', ...    # values: COUNT_BY_SEVERITY
  ],
  FindingCriteria => {
    Criterion => {
      'MyString' => {
        Eq                 => [ 'MyString', ... ],    # OPTIONAL
        Equals             => [ 'MyString', ... ],    # OPTIONAL
        GreaterThan        => 1,                      # OPTIONAL
        GreaterThanOrEqual => 1,                      # OPTIONAL
        Gt                 => 1,                      # OPTIONAL
        Gte                => 1,                      # OPTIONAL
        LessThan           => 1,                      # OPTIONAL
        LessThanOrEqual    => 1,                      # OPTIONAL
        Lt                 => 1,                      # OPTIONAL
        Lte                => 1,                      # OPTIONAL
        Neq                => [ 'MyString', ... ],    # OPTIONAL
        NotEquals          => [ 'MyString', ... ],    # OPTIONAL
      },
    },    # OPTIONAL
  },    # OPTIONAL
);

# Results:
my $FindingStatistics = $GetFindingsStatisticsResponse->FindingStatistics;

# Returns a L<Paws::GuardDuty::GetFindingsStatisticsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/guardduty/GetFindingsStatistics

ATTRIBUTES

REQUIRED DetectorId => Str

The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.

FindingCriteria => Paws::GuardDuty::FindingCriteria

Represents the criteria that is used for querying findings.

REQUIRED FindingStatisticTypes => ArrayRef[Str|Undef]

The types of finding statistics to retrieve.

SEE ALSO

This class forms part of Paws, documenting arguments for method GetFindingsStatistics in Paws::GuardDuty

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues