|
NAMEPaws::GuardDuty::CreateFilter - Arguments for method CreateFilter on Paws::GuardDuty DESCRIPTIONThis class represents the parameters used for calling the method CreateFilter on the Amazon GuardDuty service. Use the attributes of this class as arguments to method CreateFilter. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFilter. SYNOPSIS my $guardduty = Paws->service('GuardDuty');
my $CreateFilterResponse = $guardduty->CreateFilter(
DetectorId => 'MyDetectorId',
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
},
Name => 'MyFilterName',
Action => 'NOOP', # OPTIONAL
ClientToken => 'MyClientToken', # OPTIONAL
Description => 'MyFilterDescription', # OPTIONAL
Rank => 1, # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
);
# Results:
my $Name = $CreateFilterResponse->Name;
# Returns a L<Paws::GuardDuty::CreateFilterResponse> 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/CreateFilter> ATTRIBUTESAction => StrSpecifies the action that is to be applied to the findings that match the filter. Valid values are: "NOOP", "ARCHIVE" ClientToken => StrThe idempotency token for the create request. Description => StrThe description of the filter. REQUIRED DetectorId => StrThe ID of the detector belonging to the GuardDuty account that you want to create a filter for. REQUIRED FindingCriteria => Paws::GuardDuty::FindingCriteriaRepresents the criteria to be used in the filter for querying findings. You can only use the following attributes to query findings:
REQUIRED Name => StrThe name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed. Rank => IntSpecifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings. Tags => Paws::GuardDuty::TagMapThe tags to be added to a new filter resource. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateFilter in Paws::GuardDuty 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>
|