Struct aws_sdk_connect::types::RuleAction
source · #[non_exhaustive]pub struct RuleAction {
pub action_type: Option<ActionType>,
pub task_action: Option<TaskActionDefinition>,
pub event_bridge_action: Option<EventBridgeActionDefinition>,
pub assign_contact_category_action: Option<AssignContactCategoryActionDefinition>,
pub send_notification_action: Option<SendNotificationActionDefinition>,
}
Expand description
Information about the action to be performed when a rule is triggered.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action_type: Option<ActionType>
The type of action that creates a rule.
task_action: Option<TaskActionDefinition>
Information about the task action. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
event_bridge_action: Option<EventBridgeActionDefinition>
Information about the EventBridge action.
assign_contact_category_action: Option<AssignContactCategoryActionDefinition>
Information about the contact category action.
send_notification_action: Option<SendNotificationActionDefinition>
Information about the send notification action.
Implementations§
source§impl RuleAction
impl RuleAction
sourcepub fn action_type(&self) -> Option<&ActionType>
pub fn action_type(&self) -> Option<&ActionType>
The type of action that creates a rule.
sourcepub fn task_action(&self) -> Option<&TaskActionDefinition>
pub fn task_action(&self) -> Option<&TaskActionDefinition>
Information about the task action. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn event_bridge_action(&self) -> Option<&EventBridgeActionDefinition>
pub fn event_bridge_action(&self) -> Option<&EventBridgeActionDefinition>
Information about the EventBridge action.
sourcepub fn assign_contact_category_action(
&self
) -> Option<&AssignContactCategoryActionDefinition>
pub fn assign_contact_category_action( &self ) -> Option<&AssignContactCategoryActionDefinition>
Information about the contact category action.
sourcepub fn send_notification_action(
&self
) -> Option<&SendNotificationActionDefinition>
pub fn send_notification_action( &self ) -> Option<&SendNotificationActionDefinition>
Information about the send notification action.
source§impl RuleAction
impl RuleAction
sourcepub fn builder() -> RuleActionBuilder
pub fn builder() -> RuleActionBuilder
Creates a new builder-style object to manufacture RuleAction
.
Trait Implementations§
source§impl Clone for RuleAction
impl Clone for RuleAction
source§fn clone(&self) -> RuleAction
fn clone(&self) -> RuleAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleAction
impl Debug for RuleAction
source§impl PartialEq<RuleAction> for RuleAction
impl PartialEq<RuleAction> for RuleAction
source§fn eq(&self, other: &RuleAction) -> bool
fn eq(&self, other: &RuleAction) -> bool
self
and other
values to be equal, and is used
by ==
.