Skip to content

S3  >  Unions  >  AnalyticsFilter

AnalyticsFilter

Union Type

AnalyticsFilter module-attribute

The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

Union Member Types

AnalyticsFilterPrefix dataclass

Bases: _SerdeShape

The prefix to use when evaluating an analytics filter.

Attributes

value instance-attribute
value: str

AnalyticsFilterTag dataclass

Bases: _SerdeShape

The tag to use when evaluating an analytics filter.

Attributes

value instance-attribute
value: Tag

AnalyticsFilterAnd dataclass

Bases: _SerdeShape

A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.

Attributes

value instance-attribute

AnalyticsFilterUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str