Struct aws_sdk_ec2::types::ConnectionNotification
source · #[non_exhaustive]pub struct ConnectionNotification {
pub connection_notification_id: Option<String>,
pub service_id: Option<String>,
pub vpc_endpoint_id: Option<String>,
pub connection_notification_type: Option<ConnectionNotificationType>,
pub connection_notification_arn: Option<String>,
pub connection_events: Option<Vec<String>>,
pub connection_notification_state: Option<ConnectionNotificationState>,
}
Expand description
Describes a connection notification for a VPC endpoint or VPC endpoint service.
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.connection_notification_id: Option<String>
The ID of the notification.
service_id: Option<String>
The ID of the endpoint service.
vpc_endpoint_id: Option<String>
The ID of the VPC endpoint.
connection_notification_type: Option<ConnectionNotificationType>
The type of notification.
connection_notification_arn: Option<String>
The ARN of the SNS topic for the notification.
connection_events: Option<Vec<String>>
The events for the notification. Valid values are Accept
, Connect
, Delete
, and Reject
.
connection_notification_state: Option<ConnectionNotificationState>
The state of the notification.
Implementations§
source§impl ConnectionNotification
impl ConnectionNotification
sourcepub fn connection_notification_id(&self) -> Option<&str>
pub fn connection_notification_id(&self) -> Option<&str>
The ID of the notification.
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
The ID of the endpoint service.
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
The ID of the VPC endpoint.
sourcepub fn connection_notification_type(
&self
) -> Option<&ConnectionNotificationType>
pub fn connection_notification_type( &self ) -> Option<&ConnectionNotificationType>
The type of notification.
sourcepub fn connection_notification_arn(&self) -> Option<&str>
pub fn connection_notification_arn(&self) -> Option<&str>
The ARN of the SNS topic for the notification.
sourcepub fn connection_events(&self) -> &[String]
pub fn connection_events(&self) -> &[String]
The events for the notification. Valid values are Accept
, Connect
, Delete
, and Reject
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .connection_events.is_none()
.
sourcepub fn connection_notification_state(
&self
) -> Option<&ConnectionNotificationState>
pub fn connection_notification_state( &self ) -> Option<&ConnectionNotificationState>
The state of the notification.
source§impl ConnectionNotification
impl ConnectionNotification
sourcepub fn builder() -> ConnectionNotificationBuilder
pub fn builder() -> ConnectionNotificationBuilder
Creates a new builder-style object to manufacture ConnectionNotification
.
Trait Implementations§
source§impl Clone for ConnectionNotification
impl Clone for ConnectionNotification
source§fn clone(&self) -> ConnectionNotification
fn clone(&self) -> ConnectionNotification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectionNotification
impl Debug for ConnectionNotification
source§impl PartialEq for ConnectionNotification
impl PartialEq for ConnectionNotification
source§fn eq(&self, other: &ConnectionNotification) -> bool
fn eq(&self, other: &ConnectionNotification) -> bool
self
and other
values to be equal, and is used
by ==
.