NAME

Paws::GuardDuty::CreateFilter - Arguments for method CreateFilter on Paws::GuardDuty

DESCRIPTION

This 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      => 'My__string',
      FindingCriteria => {
        Criterion => {
          'My__string' => {
            Eq  => [ 'My__string', ... ],    # OPTIONAL
            Gt  => 1,                        # OPTIONAL
            Gte => 1,                        # OPTIONAL
            Lt  => 1,                        # OPTIONAL
            Lte => 1,                        # OPTIONAL
            Neq => [ 'My__string', ... ],    # OPTIONAL
          },
        },    # OPTIONAL
      },
      Name        => 'MyFilterName',
      Action      => 'NOOP',                   # OPTIONAL
      ClientToken => 'My__stringMin0Max64',    # OPTIONAL
      Description => 'MyFilterDescription',    # OPTIONAL
      Rank        => 1,                        # 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

ATTRIBUTES

Action => Str

Specifies the action that is to be applied to the findings that match the filter.

Valid values are: "NOOP", "ARCHIVE"

ClientToken => Str

The idempotency token for the create request.

Description => Str

The description of the filter.

REQUIRED DetectorId => Str

The unique ID of the detector that you want to update.

REQUIRED FindingCriteria => Paws::GuardDuty::FindingCriteria

Represents the criteria to be used in the filter for querying findings.

REQUIRED Name => Str

The name of the filter.

Rank => Int

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateFilter in Paws::GuardDuty

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