Class: Aws::MailManager::Types::Rule
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::Rule
- Defined in:
- gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
Overview
A rule contains conditions, "unless conditions" and actions. For each envelope recipient of an email, if all conditions match and none of the "unless conditions" match, then all of the actions are executed sequentially. If no conditions are provided, the rule always applies and the actions are implicitly executed. If only "unless conditions" are provided, the rule applies if the email does not match the evaluation of the "unless conditions".
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#actions ⇒ Array<Types::RuleAction>
The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match.
-
#conditions ⇒ Array<Types::RuleCondition>
The conditions of this rule.
-
#name ⇒ String
The user-friendly name of the rule.
-
#unless ⇒ Array<Types::RuleCondition>
The "unless conditions" of this rule.
Instance Attribute Details
#actions ⇒ Array<Types::RuleAction>
The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match.
2748 2749 2750 2751 2752 2753 2754 2755 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2748 class Rule < Struct.new( :actions, :conditions, :name, :unless) SENSITIVE = [] include Aws::Structure end |
#conditions ⇒ Array<Types::RuleCondition>
The conditions of this rule. All conditions must match the email for the actions to be executed. An empty list of conditions means that all emails match, but are still subject to any "unless conditions"
2748 2749 2750 2751 2752 2753 2754 2755 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2748 class Rule < Struct.new( :actions, :conditions, :name, :unless) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The user-friendly name of the rule.
2748 2749 2750 2751 2752 2753 2754 2755 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2748 class Rule < Struct.new( :actions, :conditions, :name, :unless) SENSITIVE = [] include Aws::Structure end |
#unless ⇒ Array<Types::RuleCondition>
The "unless conditions" of this rule. None of the conditions can match the email for the actions to be executed. If any of these conditions do match the email, then the actions are not executed.
2748 2749 2750 2751 2752 2753 2754 2755 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2748 class Rule < Struct.new( :actions, :conditions, :name, :unless) SENSITIVE = [] include Aws::Structure end |