NAME
Paws::Macie2::GetFindingStatistics - Arguments for method GetFindingStatistics on Paws::Macie2
DESCRIPTION
This class represents the parameters used for calling the method GetFindingStatistics on the Amazon Macie 2 service. Use the attributes of this class as arguments to method GetFindingStatistics.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetFindingStatistics.
SYNOPSIS
my $macie2 = Paws->service('Macie2');
my $GetFindingStatisticsResponse = $macie2->GetFindingStatistics(
GroupBy => 'resourcesAffected.s3Bucket.name',
FindingCriteria => {
Criterion => {
'My__string' => {
Eq => [ 'My__string', ... ], # OPTIONAL
EqExactMatch => [ 'My__string', ... ], # OPTIONAL
Gt => 1, # OPTIONAL
Gte => 1, # OPTIONAL
Lt => 1, # OPTIONAL
Lte => 1, # OPTIONAL
Neq => [ 'My__string', ... ], # OPTIONAL
},
}, # OPTIONAL
}, # OPTIONAL
Size => 1, # OPTIONAL
SortCriteria => {
AttributeName => 'groupKey', # values: groupKey, count; OPTIONAL
OrderBy => 'ASC', # values: ASC, DESC; OPTIONAL
}, # OPTIONAL
);
# Results:
my $CountsByGroup = $GetFindingStatisticsResponse->CountsByGroup;
# Returns a L<Paws::Macie2::GetFindingStatisticsResponse> 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/macie2/GetFindingStatistics
ATTRIBUTES
FindingCriteria => Paws::Macie2::FindingCriteria
The criteria to use to filter the query results.
REQUIRED GroupBy => Str
The finding property to use to group the query results. Valid values are:
classificationDetails.jobId - The unique identifier for the classification job that produced the finding.
resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.
severity.description - The severity level of the finding, such as High or Medium.
type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
Valid values are: "resourcesAffected.s3Bucket.name"
, "type"
, "classificationDetails.jobId"
, "severity.description"
Size => Int
The maximum number of items to include in each page of the response.
SortCriteria => Paws::Macie2::FindingStatisticsSortCriteria
The criteria to use to sort the query results.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetFindingStatistics in Paws::Macie2
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