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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn connection_events(&self) -> Option<&[String]>
The events for the notification. Valid values are Accept
, Connect
, Delete
, and Reject
.
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
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 ConnectionNotification
impl Debug for ConnectionNotification
source§impl PartialEq<ConnectionNotification> for ConnectionNotification
impl PartialEq<ConnectionNotification> for ConnectionNotification
source§fn eq(&self, other: &ConnectionNotification) -> bool
fn eq(&self, other: &ConnectionNotification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionNotification
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionNotification
impl Send for ConnectionNotification
impl Sync for ConnectionNotification
impl Unpin for ConnectionNotification
impl UnwindSafe for ConnectionNotification
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more