View a markdown version of this page

SearchFilter - AWS Context

SearchFilter

Filter on entity attributes: a single comparison, or andAll of comparisons that must all match.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

andAll

Matches entities that match every condition in the list. Specify 2 to 5 conditions. A condition in the list can't itself be an andAll.

Type: Array of SearchFilter objects

Array Members: Minimum number of 2 items. Maximum number of 5 items.

Required: No

equalTo

Matches entities whose attribute equals the value. The value must be a stringValue, numberValue, or booleanValue.

Type: FilterAttribute object

Required: No

greaterThan

Matches entities whose attribute is greater than the value. The value must be a stringValue, numberValue, or booleanValue.

Type: FilterAttribute object

Required: No

greaterThanOrEqualTo

Matches entities whose attribute is greater than or equal to the value. The value must be a stringValue, numberValue, or booleanValue.

Type: FilterAttribute object

Required: No

in

Matches entities whose attribute equals any of the values. The value must be a stringListValue.

Type: FilterAttribute object

Required: No

lessThan

Matches entities whose attribute is less than the value. The value must be a stringValue, numberValue, or booleanValue.

Type: FilterAttribute object

Required: No

lessThanOrEqualTo

Matches entities whose attribute is less than or equal to the value. The value must be a stringValue, numberValue, or booleanValue.

Type: FilterAttribute object

Required: No

notEqualTo

Matches entities whose attribute does not equal the value. The value must be a stringValue, numberValue, or booleanValue.

Type: FilterAttribute object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: