Struct aws_sdk_s3::types::NotificationConfiguration
source · #[non_exhaustive]pub struct NotificationConfiguration {
pub topic_configurations: Option<Vec<TopicConfiguration>>,
pub queue_configurations: Option<Vec<QueueConfiguration>>,
pub lambda_function_configurations: Option<Vec<LambdaFunctionConfiguration>>,
pub event_bridge_configuration: Option<EventBridgeConfiguration>,
}
Expand description
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
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.topic_configurations: Option<Vec<TopicConfiguration>>
The topic to which notifications are sent and the events for which notifications are generated.
queue_configurations: Option<Vec<QueueConfiguration>>
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
lambda_function_configurations: Option<Vec<LambdaFunctionConfiguration>>
Describes the Lambda functions to invoke and the events for which to invoke them.
event_bridge_configuration: Option<EventBridgeConfiguration>
Enables delivery of events to Amazon EventBridge.
Implementations§
source§impl NotificationConfiguration
impl NotificationConfiguration
sourcepub fn topic_configurations(&self) -> &[TopicConfiguration]
pub fn topic_configurations(&self) -> &[TopicConfiguration]
The topic to which notifications are sent and the events for which notifications are generated.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topic_configurations.is_none()
.
sourcepub fn queue_configurations(&self) -> &[QueueConfiguration]
pub fn queue_configurations(&self) -> &[QueueConfiguration]
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .queue_configurations.is_none()
.
sourcepub fn lambda_function_configurations(&self) -> &[LambdaFunctionConfiguration]
pub fn lambda_function_configurations(&self) -> &[LambdaFunctionConfiguration]
Describes the Lambda functions to invoke and the events for which to invoke them.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .lambda_function_configurations.is_none()
.
sourcepub fn event_bridge_configuration(&self) -> Option<&EventBridgeConfiguration>
pub fn event_bridge_configuration(&self) -> Option<&EventBridgeConfiguration>
Enables delivery of events to Amazon EventBridge.
source§impl NotificationConfiguration
impl NotificationConfiguration
sourcepub fn builder() -> NotificationConfigurationBuilder
pub fn builder() -> NotificationConfigurationBuilder
Creates a new builder-style object to manufacture NotificationConfiguration
.
Trait Implementations§
source§impl Clone for NotificationConfiguration
impl Clone for NotificationConfiguration
source§fn clone(&self) -> NotificationConfiguration
fn clone(&self) -> NotificationConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationConfiguration
impl Debug for NotificationConfiguration
source§impl PartialEq for NotificationConfiguration
impl PartialEq for NotificationConfiguration
source§fn eq(&self, other: &NotificationConfiguration) -> bool
fn eq(&self, other: &NotificationConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.