RuleStringExpression - Amazon SES Mail Manager API

RuleStringExpression

A string expression is evaluated against strings or substrings of the email.

Contents

Evaluate

The string to evaluate in a string condition expression.

Type: RuleStringToEvaluate object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

Operator

The matching operator for a string condition expression.

Type: String

Valid Values: EQUALS | NOT_EQUALS | STARTS_WITH | ENDS_WITH | CONTAINS

Required: Yes

Values

The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

Type: Array of strings

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

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

Required: Yes

See Also

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