Struct aws_sdk_codeguruprofiler::types::Channel
source · #[non_exhaustive]pub struct Channel {
pub id: Option<String>,
pub uri: String,
pub event_publishers: Vec<EventPublisher>,
}
Expand description
Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.
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.id: Option<String>
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.
uri: String
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
event_publishers: Vec<EventPublisher>
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
Implementations§
source§impl Channel
impl Channel
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.
sourcepub fn uri(&self) -> &str
pub fn uri(&self) -> &str
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
sourcepub fn event_publishers(&self) -> &[EventPublisher]
pub fn event_publishers(&self) -> &[EventPublisher]
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.