Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::NotificationConfiguration
#[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§
§impl NotificationConfiguration
impl NotificationConfiguration
pub fn topic_configurations(&self) -> Option<&[TopicConfiguration]>
pub fn topic_configurations(&self) -> Option<&[TopicConfiguration]>
The topic to which notifications are sent and the events for which notifications are generated.
pub fn queue_configurations(&self) -> Option<&[QueueConfiguration]>
pub fn queue_configurations(&self) -> Option<&[QueueConfiguration]>
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
pub fn lambda_function_configurations(
&self
) -> Option<&[LambdaFunctionConfiguration]>
pub fn lambda_function_configurations( &self ) -> Option<&[LambdaFunctionConfiguration]>
Describes the Lambda functions to invoke and the events for which to invoke them.
pub fn event_bridge_configuration(&self) -> Option<&EventBridgeConfiguration>
pub fn event_bridge_configuration(&self) -> Option<&EventBridgeConfiguration>
Enables delivery of events to Amazon EventBridge.
§impl NotificationConfiguration
impl NotificationConfiguration
pub fn builder() -> NotificationConfigurationBuilder
pub fn builder() -> NotificationConfigurationBuilder
Creates a new builder-style object to manufacture NotificationConfiguration
.
Trait Implementations§
§impl Clone for NotificationConfiguration
impl Clone for NotificationConfiguration
§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 more§impl Debug for NotificationConfiguration
impl Debug for NotificationConfiguration
§impl PartialEq for NotificationConfiguration
impl PartialEq for NotificationConfiguration
§fn eq(&self, other: &NotificationConfiguration) -> bool
fn eq(&self, other: &NotificationConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.