![]() |
![]()
| ![]() |
![]()
NAMEPaws::Kendra::AttributeFilter USAGEThis 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 DESCRIPTIONProvides 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>"
If you use more than 2 layers, you receive a "ValidationException" exception with the message ""AttributeFilter" cannot have a depth of more than 2." ATTRIBUTESAndAllFilters => ArrayRef[Paws::Kendra::AttributeFilter]Performs a logical "AND" operation on all supplied filters. ContainsAll => Paws::Kendra::DocumentAttributeReturns true when a document contains all of the specified document attributes. This filter is only applicable to "StringListValue" metadata. ContainsAny => Paws::Kendra::DocumentAttributeReturns true when a document contains any of the specified document attributes. This filter is only applicable to "StringListValue" metadata. EqualsTo => Paws::Kendra::DocumentAttributePerforms an equals operation on two document attributes. GreaterThan => Paws::Kendra::DocumentAttributePerforms a greater than operation on two document attributes. Use with a document attribute of type "Integer" or "Long". GreaterThanOrEquals => Paws::Kendra::DocumentAttributePerforms a greater or equals than operation on two document attributes. Use with a document attribute of type "Integer" or "Long". LessThan => Paws::Kendra::DocumentAttributePerforms a less than operation on two document attributes. Use with a document attribute of type "Integer" or "Long". LessThanOrEquals => Paws::Kendra::DocumentAttributePerforms a less than or equals operation on two document attributes. Use with a document attribute of type "Integer" or "Long". NotFilter => Paws::Kendra::AttributeFilterPerforms a logical "NOT" operation on all supplied filters. OrAllFilters => ArrayRef[Paws::Kendra::AttributeFilter]Performs a logical "OR" operation on all supplied filters. SEE ALSOThis class forms part of Paws, describing an object used in Paws::Kendra 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>
|