Struct aws_sdk_securityhub::model::AwsSnsTopicDetails
source · [−]#[non_exhaustive]pub struct AwsSnsTopicDetails {
pub kms_master_key_id: Option<String>,
pub subscription: Option<Vec<AwsSnsTopicSubscription>>,
pub topic_name: Option<String>,
pub owner: Option<String>,
}
Expand description
A wrapper type for the topic's ARN.
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.kms_master_key_id: Option<String>
The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
subscription: Option<Vec<AwsSnsTopicSubscription>>
Subscription is an embedded property that describes the subscription endpoints of an SNS topic.
topic_name: Option<String>
The name of the topic.
owner: Option<String>
The subscription's owner.
Implementations
sourceimpl AwsSnsTopicDetails
impl AwsSnsTopicDetails
sourcepub fn kms_master_key_id(&self) -> Option<&str>
pub fn kms_master_key_id(&self) -> Option<&str>
The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
sourcepub fn subscription(&self) -> Option<&[AwsSnsTopicSubscription]>
pub fn subscription(&self) -> Option<&[AwsSnsTopicSubscription]>
Subscription is an embedded property that describes the subscription endpoints of an SNS topic.
sourcepub fn topic_name(&self) -> Option<&str>
pub fn topic_name(&self) -> Option<&str>
The name of the topic.
sourceimpl AwsSnsTopicDetails
impl AwsSnsTopicDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsSnsTopicDetails
Trait Implementations
sourceimpl Clone for AwsSnsTopicDetails
impl Clone for AwsSnsTopicDetails
sourcefn clone(&self) -> AwsSnsTopicDetails
fn clone(&self) -> AwsSnsTopicDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsSnsTopicDetails
impl Debug for AwsSnsTopicDetails
sourceimpl PartialEq<AwsSnsTopicDetails> for AwsSnsTopicDetails
impl PartialEq<AwsSnsTopicDetails> for AwsSnsTopicDetails
sourcefn eq(&self, other: &AwsSnsTopicDetails) -> bool
fn eq(&self, other: &AwsSnsTopicDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsSnsTopicDetails) -> bool
fn ne(&self, other: &AwsSnsTopicDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsSnsTopicDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsSnsTopicDetails
impl Send for AwsSnsTopicDetails
impl Sync for AwsSnsTopicDetails
impl Unpin for AwsSnsTopicDetails
impl UnwindSafe for AwsSnsTopicDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more