View a markdown version of this page

MetricFilter - AWS App Monetization

MetricFilter

A single predicate that selects which events contribute to a metric.

Contents

field

The event property key the filter is evaluated against.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-z][a-z0-9_]*

Required: Yes

operator

The comparison operator (EQUALS, NOT_EQUALS, IN, or NOT_IN).

Type: String

Valid Values: EQUALS | NOT_EQUALS | IN | NOT_IN

Required: Yes

values

The values the field is compared against.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 20 items.

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [^'\\]*

Required: Yes

See Also

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