NAME
Paws::Macie2::CreateFindingsFilter - Arguments for method CreateFindingsFilter on Paws::Macie2
DESCRIPTION
This class represents the parameters used for calling the method CreateFindingsFilter on the Amazon Macie 2 service. Use the attributes of this class as arguments to method CreateFindingsFilter.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFindingsFilter.
SYNOPSIS
my $macie2 = Paws->service('Macie2');
my $CreateFindingsFilterResponse = $macie2->CreateFindingsFilter(
Action => 'ARCHIVE',
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
},
Name => 'My__string',
ClientToken => 'My__string', # OPTIONAL
Description => 'My__string', # OPTIONAL
Position => 1, # OPTIONAL
Tags => { 'My__string' => 'My__string', }, # OPTIONAL
);
# Results:
my $Arn = $CreateFindingsFilterResponse->Arn;
my $Id = $CreateFindingsFilterResponse->Id;
# Returns a L<Paws::Macie2::CreateFindingsFilterResponse> 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/CreateFindingsFilter
ATTRIBUTES
REQUIRED Action => Str
The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
Valid values are: "ARCHIVE"
, "NOOP"
ClientToken => Str
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
Description => Str
A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.
REQUIRED FindingCriteria => Paws::Macie2::FindingCriteria
The criteria to use to filter findings.
REQUIRED Name => Str
A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.
Position => Int
The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
Tags => Paws::Macie2::TagMap
A map of key-value pairs that specifies the tags to associate with the filter.
A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateFindingsFilter 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