Class: Aws::MailManager::Types::RuleVerdictExpression

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb

Overview

A verdict expression is evaluated against verdicts of the email.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#evaluateTypes::RuleVerdictToEvaluate

The verdict to evaluate in a verdict condition expression.



3849
3850
3851
3852
3853
3854
3855
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3849

class RuleVerdictExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The matching operator for a verdict condition expression.

Returns:

  • (String)


3849
3850
3851
3852
3853
3854
3855
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3849

class RuleVerdictExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.

Returns:

  • (Array<String>)


3849
3850
3851
3852
3853
3854
3855
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3849

class RuleVerdictExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end