#[non_exhaustive]pub struct AwsS3BucketNotificationConfigurationDetail {
pub events: Option<Vec<String>>,
pub filter: Option<AwsS3BucketNotificationConfigurationFilter>,
pub destination: Option<String>,
pub type: Option<String>,
}
Expand description
Details for an S3 bucket notification configuration.
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.events: Option<Vec<String>>
The list of events that trigger a notification.
filter: Option<AwsS3BucketNotificationConfigurationFilter>
The filters that determine which S3 buckets generate notifications.
destination: Option<String>
The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.
type: Option<String>
Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding valid values as follows:
-
LambdaConfiguration
-
QueueConfiguration
-
TopicConfiguration
Implementations§
source§impl AwsS3BucketNotificationConfigurationDetail
impl AwsS3BucketNotificationConfigurationDetail
sourcepub fn events(&self) -> &[String]
pub fn events(&self) -> &[String]
The list of events that trigger a notification.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
sourcepub fn filter(&self) -> Option<&AwsS3BucketNotificationConfigurationFilter>
pub fn filter(&self) -> Option<&AwsS3BucketNotificationConfigurationFilter>
The filters that determine which S3 buckets generate notifications.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.
source§impl AwsS3BucketNotificationConfigurationDetail
impl AwsS3BucketNotificationConfigurationDetail
sourcepub fn builder() -> AwsS3BucketNotificationConfigurationDetailBuilder
pub fn builder() -> AwsS3BucketNotificationConfigurationDetailBuilder
Creates a new builder-style object to manufacture AwsS3BucketNotificationConfigurationDetail
.
Trait Implementations§
source§impl Clone for AwsS3BucketNotificationConfigurationDetail
impl Clone for AwsS3BucketNotificationConfigurationDetail
source§fn clone(&self) -> AwsS3BucketNotificationConfigurationDetail
fn clone(&self) -> AwsS3BucketNotificationConfigurationDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsS3BucketNotificationConfigurationDetail
impl PartialEq for AwsS3BucketNotificationConfigurationDetail
source§fn eq(&self, other: &AwsS3BucketNotificationConfigurationDetail) -> bool
fn eq(&self, other: &AwsS3BucketNotificationConfigurationDetail) -> bool
self
and other
values to be equal, and is used
by ==
.