#[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 ==
.impl StructuralPartialEq for AwsS3BucketNotificationConfigurationDetail
Auto Trait Implementations§
impl Freeze for AwsS3BucketNotificationConfigurationDetail
impl RefUnwindSafe for AwsS3BucketNotificationConfigurationDetail
impl Send for AwsS3BucketNotificationConfigurationDetail
impl Sync for AwsS3BucketNotificationConfigurationDetail
impl Unpin for AwsS3BucketNotificationConfigurationDetail
impl UnwindSafe for AwsS3BucketNotificationConfigurationDetail
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more