Skip to content

S3  >  Structures  >  MetricsAndOperator

MetricsAndOperator

Structure Class

MetricsAndOperator dataclass

Bases: _SerdeShape

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.

Attributes

access_point_arn class-attribute instance-attribute
access_point_arn: str | None = ...

The access point ARN used when evaluating an AND predicate.

prefix class-attribute instance-attribute
prefix: str | None = ...

The prefix used when evaluating an AND predicate.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

The list of tags used when evaluating an AND predicate.

Note

Tag filters are not supported for directory buckets.