pub struct TopicConfiguration {
pub events: Vec<String>,
pub filter: Option<NotificationConfigurationFilter>,
pub id: Option<String>,
pub topic_arn: String,
}Expand description
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.
Fields§
§events: Vec<String>The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon Simple Storage Service Developer Guide.
filter: Option<NotificationConfigurationFilter>§id: Option<String>§topic_arn: StringThe Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
Trait Implementations§
Source§impl Clone for TopicConfiguration
impl Clone for TopicConfiguration
Source§fn clone(&self) -> TopicConfiguration
fn clone(&self) -> TopicConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TopicConfiguration
impl Debug for TopicConfiguration
Source§impl Default for TopicConfiguration
impl Default for TopicConfiguration
Source§fn default() -> TopicConfiguration
fn default() -> TopicConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for TopicConfiguration
impl PartialEq for TopicConfiguration
impl StructuralPartialEq for TopicConfiguration
Auto Trait Implementations§
impl Freeze for TopicConfiguration
impl RefUnwindSafe for TopicConfiguration
impl Send for TopicConfiguration
impl Sync for TopicConfiguration
impl Unpin for TopicConfiguration
impl UnwindSafe for TopicConfiguration
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
Mutably borrows from an owned value. Read more