#[non_exhaustive]pub struct SendNotificationActionDefinition {
pub delivery_method: NotificationDeliveryType,
pub subject: Option<String>,
pub content: String,
pub content_type: NotificationContentType,
pub recipient: Option<NotificationRecipientType>,
}
Expand description
Information about the send notification action.
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.delivery_method: NotificationDeliveryType
Notification delivery method.
subject: Option<String>
The subject of the email if the delivery method is EMAIL
. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
content: String
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
content_type: NotificationContentType
Content type format.
recipient: Option<NotificationRecipientType>
Notification recipient.
Implementations§
source§impl SendNotificationActionDefinition
impl SendNotificationActionDefinition
sourcepub fn delivery_method(&self) -> &NotificationDeliveryType
pub fn delivery_method(&self) -> &NotificationDeliveryType
Notification delivery method.
sourcepub fn subject(&self) -> Option<&str>
pub fn subject(&self) -> Option<&str>
The subject of the email if the delivery method is EMAIL
. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn content(&self) -> &str
pub fn content(&self) -> &str
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn content_type(&self) -> &NotificationContentType
pub fn content_type(&self) -> &NotificationContentType
Content type format.
sourcepub fn recipient(&self) -> Option<&NotificationRecipientType>
pub fn recipient(&self) -> Option<&NotificationRecipientType>
Notification recipient.
source§impl SendNotificationActionDefinition
impl SendNotificationActionDefinition
sourcepub fn builder() -> SendNotificationActionDefinitionBuilder
pub fn builder() -> SendNotificationActionDefinitionBuilder
Creates a new builder-style object to manufacture SendNotificationActionDefinition
.
Trait Implementations§
source§impl Clone for SendNotificationActionDefinition
impl Clone for SendNotificationActionDefinition
source§fn clone(&self) -> SendNotificationActionDefinition
fn clone(&self) -> SendNotificationActionDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SendNotificationActionDefinition
impl PartialEq for SendNotificationActionDefinition
source§fn eq(&self, other: &SendNotificationActionDefinition) -> bool
fn eq(&self, other: &SendNotificationActionDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.