Struct aws_sdk_dax::types::NotificationConfiguration
source · #[non_exhaustive]pub struct NotificationConfiguration {
pub topic_arn: Option<String>,
pub topic_status: Option<String>,
}
Expand description
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.topic_arn: Option<String>
The Amazon Resource Name (ARN) that identifies the topic.
topic_status: Option<String>
The current state of the topic. A value of “active” means that notifications will be sent to the topic. A value of “inactive” means that notifications will not be sent to the topic.
Implementations§
source§impl NotificationConfiguration
impl NotificationConfiguration
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that identifies the topic.
sourcepub fn topic_status(&self) -> Option<&str>
pub fn topic_status(&self) -> Option<&str>
The current state of the topic. A value of “active” means that notifications will be sent to the topic. A value of “inactive” means that notifications will not be sent to the topic.
source§impl NotificationConfiguration
impl NotificationConfiguration
sourcepub fn builder() -> NotificationConfigurationBuilder
pub fn builder() -> NotificationConfigurationBuilder
Creates a new builder-style object to manufacture NotificationConfiguration
.
Trait Implementations§
source§impl Clone for NotificationConfiguration
impl Clone for NotificationConfiguration
source§fn clone(&self) -> NotificationConfiguration
fn clone(&self) -> NotificationConfiguration
Returns a copy 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 NotificationConfiguration
impl Debug for NotificationConfiguration
source§impl PartialEq for NotificationConfiguration
impl PartialEq for NotificationConfiguration
source§fn eq(&self, other: &NotificationConfiguration) -> bool
fn eq(&self, other: &NotificationConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NotificationConfiguration
Auto Trait Implementations§
impl Freeze for NotificationConfiguration
impl RefUnwindSafe for NotificationConfiguration
impl Send for NotificationConfiguration
impl Sync for NotificationConfiguration
impl Unpin for NotificationConfiguration
impl UnwindSafe for NotificationConfiguration
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
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>
Creates a shared type from an unshared type.