|
NAMEPaws::Macie2::GetFindingStatistics - Arguments for method GetFindingStatistics on Paws::Macie2 DESCRIPTIONThis 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> ATTRIBUTESFindingCriteria => Paws::Macie2::FindingCriteriaThe criteria to use to filter the query results. REQUIRED GroupBy => StrThe finding property to use to group the query results. Valid values are:
Valid values are: "resourcesAffected.s3Bucket.name", "type", "classificationDetails.jobId", "severity.description" Size => IntThe maximum number of items to include in each page of the response. SortCriteria => Paws::Macie2::FindingStatisticsSortCriteriaThe criteria to use to sort the query results. SEE ALSOThis class forms part of Paws, documenting arguments for method GetFindingStatistics in Paws::Macie2 BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|