#[non_exhaustive]pub struct SubscribeToEventInput {
pub resource_arn: Option<String>,
pub event: Option<InspectorEvent>,
pub topic_arn: Option<String>,
}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.resource_arn: Option<String>The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
event: Option<InspectorEvent>The event for which you want to receive SNS notifications.
topic_arn: Option<String>The ARN of the SNS topic to which the SNS notifications are sent.
Implementations§
source§impl SubscribeToEventInput
impl SubscribeToEventInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
sourcepub fn event(&self) -> Option<&InspectorEvent>
pub fn event(&self) -> Option<&InspectorEvent>
The event for which you want to receive SNS notifications.
source§impl SubscribeToEventInput
impl SubscribeToEventInput
sourcepub fn builder() -> SubscribeToEventInputBuilder
pub fn builder() -> SubscribeToEventInputBuilder
Creates a new builder-style object to manufacture SubscribeToEventInput.
Trait Implementations§
source§impl Clone for SubscribeToEventInput
impl Clone for SubscribeToEventInput
source§fn clone(&self) -> SubscribeToEventInput
fn clone(&self) -> SubscribeToEventInput
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 SubscribeToEventInput
impl Debug for SubscribeToEventInput
source§impl PartialEq for SubscribeToEventInput
impl PartialEq for SubscribeToEventInput
source§fn eq(&self, other: &SubscribeToEventInput) -> bool
fn eq(&self, other: &SubscribeToEventInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubscribeToEventInput
Auto Trait Implementations§
impl RefUnwindSafe for SubscribeToEventInput
impl Send for SubscribeToEventInput
impl Sync for SubscribeToEventInput
impl Unpin for SubscribeToEventInput
impl UnwindSafe for SubscribeToEventInput
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.