NAME
Paws::Macie2::TestCustomDataIdentifier - Arguments for method TestCustomDataIdentifier on Paws::Macie2
DESCRIPTION
This class represents the parameters used for calling the method TestCustomDataIdentifier on the Amazon Macie 2 service. Use the attributes of this class as arguments to method TestCustomDataIdentifier.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestCustomDataIdentifier.
SYNOPSIS
my $macie2 = Paws->service('Macie2');
my $TestCustomDataIdentifierResponse = $macie2->TestCustomDataIdentifier(
Regex => 'My__string',
SampleText => 'My__string',
IgnoreWords => [ 'My__string', ... ], # OPTIONAL
Keywords => [ 'My__string', ... ], # OPTIONAL
MaximumMatchDistance => 1, # OPTIONAL
);
# Results:
my $MatchCount = $TestCustomDataIdentifierResponse->MatchCount;
# Returns a L<Paws::Macie2::TestCustomDataIdentifierResponse> 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/TestCustomDataIdentifier
ATTRIBUTES
IgnoreWords => ArrayRef[Str|Undef]
An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.
Keywords => ArrayRef[Str|Undef]
An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.
MaximumMatchDistance => Int
The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.
REQUIRED Regex => Str
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
REQUIRED SampleText => Str
The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.
SEE ALSO
This class forms part of Paws, documenting arguments for method TestCustomDataIdentifier 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