Struct aws_sdk_connect::model::RuleAction
source · #[non_exhaustive]pub struct RuleAction { /* private fields */ }
Expand description
Information about the action to be performed when a rule is triggered.
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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.