AWS::QBusiness::DataAccessor AttributeFilter
Enables filtering of responses based on document attributes or metadata fields.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AndAllFilters" :
[ AttributeFilter, ... ]
, "ContainsAll" :DocumentAttribute
, "ContainsAny" :DocumentAttribute
, "EqualsTo" :DocumentAttribute
, "GreaterThan" :DocumentAttribute
, "GreaterThanOrEquals" :DocumentAttribute
, "LessThan" :DocumentAttribute
, "LessThanOrEquals" :DocumentAttribute
, "NotFilter" :AttributeFilter
, "OrAllFilters" :[ AttributeFilter, ... ]
}
YAML
AndAllFilters:
- AttributeFilter
ContainsAll:DocumentAttribute
ContainsAny:DocumentAttribute
EqualsTo:DocumentAttribute
GreaterThan:DocumentAttribute
GreaterThanOrEquals:DocumentAttribute
LessThan:DocumentAttribute
LessThanOrEquals:DocumentAttribute
NotFilter:AttributeFilter
OrAllFilters:- AttributeFilter
Properties
AndAllFilters
-
Performs a logical
AND
operation on all supplied filters.Required: No
Type: Array of AttributeFilter
Update requires: No interruption
ContainsAll
-
Returns
true
when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
ContainsAny
-
Returns
true
when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
EqualsTo
-
Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValue
,longValue
,stringListValue
andstringValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
GreaterThan
-
Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValue
andlongValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
GreaterThanOrEquals
-
Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValue
andlongValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
LessThan
-
Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValue
andlongValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
LessThanOrEquals
-
Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type:
dateValue
andlongValue
.Required: No
Type: DocumentAttribute
Update requires: No interruption
NotFilter
-
Performs a logical
NOT
operation on all supplied filters.Required: No
Type: AttributeFilter
Update requires: No interruption
OrAllFilters
-
Performs a logical
OR
operation on all supplied filters.Required: No
Type: Array of AttributeFilter
Update requires: No interruption