Struct aws_sdk_databasemigration::types::Event
source · #[non_exhaustive]pub struct Event {
pub source_identifier: Option<String>,
pub source_type: Option<SourceType>,
pub message: Option<String>,
pub event_categories: Option<Vec<String>>,
pub date: Option<DateTime>,
}
Expand description
Describes an identifiable significant activity that affects a replication instance or task. This object can provide the message, the available event categories, the date and source of the event, and the DMS resource type.
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.source_identifier: Option<String>
The identifier of an event source.
source_type: Option<SourceType>
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
message: Option<String>
The event message.
event_categories: Option<Vec<String>>
The event categories available for the specified source type.
date: Option<DateTime>
The date of the event.
Implementations§
source§impl Event
impl Event
sourcepub fn source_identifier(&self) -> Option<&str>
pub fn source_identifier(&self) -> Option<&str>
The identifier of an event source.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
sourcepub fn event_categories(&self) -> &[String]
pub fn event_categories(&self) -> &[String]
The event categories available for the specified source type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_categories.is_none()
.