Struct aws_sdk_s3::operation::get_bucket_notification_configuration::GetBucketNotificationConfigurationOutput
source · #[non_exhaustive]pub struct GetBucketNotificationConfigurationOutput {
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>,
/* private fields */
}
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 GetBucketNotificationConfigurationOutput
impl GetBucketNotificationConfigurationOutput
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 GetBucketNotificationConfigurationOutput
impl GetBucketNotificationConfigurationOutput
sourcepub fn builder() -> GetBucketNotificationConfigurationOutputBuilder
pub fn builder() -> GetBucketNotificationConfigurationOutputBuilder
Creates a new builder-style object to manufacture GetBucketNotificationConfigurationOutput
.
Trait Implementations§
source§impl Clone for GetBucketNotificationConfigurationOutput
impl Clone for GetBucketNotificationConfigurationOutput
source§fn clone(&self) -> GetBucketNotificationConfigurationOutput
fn clone(&self) -> GetBucketNotificationConfigurationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetBucketNotificationConfigurationOutput
impl PartialEq for GetBucketNotificationConfigurationOutput
source§fn eq(&self, other: &GetBucketNotificationConfigurationOutput) -> bool
fn eq(&self, other: &GetBucketNotificationConfigurationOutput) -> bool
self
and other
values to be equal, and is used by ==
.source§impl RequestId for GetBucketNotificationConfigurationOutput
impl RequestId for GetBucketNotificationConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.source§impl RequestIdExt for GetBucketNotificationConfigurationOutput
impl RequestIdExt for GetBucketNotificationConfigurationOutput
source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
impl StructuralPartialEq for GetBucketNotificationConfigurationOutput
Auto Trait Implementations§
impl Freeze for GetBucketNotificationConfigurationOutput
impl RefUnwindSafe for GetBucketNotificationConfigurationOutput
impl Send for GetBucketNotificationConfigurationOutput
impl Sync for GetBucketNotificationConfigurationOutput
impl Unpin for GetBucketNotificationConfigurationOutput
impl UnwindSafe for GetBucketNotificationConfigurationOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)