The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Kendra::AttributeFilter

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Kendra::AttributeFilter object:

  $service_obj->Method(Att1 => { AndAllFilters => $value, ..., OrAllFilters => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Kendra::AttributeFilter object:

  $result = $service_obj->Method(...);
  $result->Att1->AndAllFilters

DESCRIPTION

Provides filtering the query results based on document attributes.

When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers under the first attribute filter. For example, you can use:

<AndAllFilters>

  1. <OrAllFilters>

  2. <EqualTo>

If you use more than 2 layers, you receive a ValidationException exception with the message "AttributeFilter cannot have a depth of more than 2."

ATTRIBUTES

AndAllFilters => ArrayRef[Paws::Kendra::AttributeFilter]

Performs a logical AND operation on all supplied filters.

ContainsAll => Paws::Kendra::DocumentAttribute

Returns true when a document contains all of the specified document attributes. This filter is only applicable to StringListValue metadata.

ContainsAny => Paws::Kendra::DocumentAttribute

Returns true when a document contains any of the specified document attributes. This filter is only applicable to StringListValue metadata.

EqualsTo => Paws::Kendra::DocumentAttribute

Performs an equals operation on two document attributes.

GreaterThan => Paws::Kendra::DocumentAttribute

Performs a greater than operation on two document attributes. Use with a document attribute of type Integer or Long.

GreaterThanOrEquals => Paws::Kendra::DocumentAttribute

Performs a greater or equals than operation on two document attributes. Use with a document attribute of type Integer or Long.

LessThan => Paws::Kendra::DocumentAttribute

Performs a less than operation on two document attributes. Use with a document attribute of type Integer or Long.

LessThanOrEquals => Paws::Kendra::DocumentAttribute

Performs a less than or equals operation on two document attributes. Use with a document attribute of type Integer or Long.

NotFilter => Paws::Kendra::AttributeFilter

Performs a logical NOT operation on all supplied filters.

OrAllFilters => ArrayRef[Paws::Kendra::AttributeFilter]

Performs a logical OR operation on all supplied filters.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Kendra

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