Struct aws_sdk_inspector::model::AssessmentRunNotification [−][src]
#[non_exhaustive]pub struct AssessmentRunNotification {
pub date: Option<DateTime>,
pub event: Option<InspectorEvent>,
pub message: Option<String>,
pub error: Option<bool>,
pub sns_topic_arn: Option<String>,
pub sns_publish_status_code: Option<AssessmentRunNotificationSnsStatusCode>,
}Expand description
Used as one of the elements of the AssessmentRun data type.
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.date: Option<DateTime>The date of the notification.
event: Option<InspectorEvent>The event for which a notification is sent.
message: Option<String>The message included in the notification.
error: Option<bool>The Boolean value that specifies whether the notification represents an error.
sns_topic_arn: Option<String>The SNS topic to which the SNS notification is sent.
sns_publish_status_code: Option<AssessmentRunNotificationSnsStatusCode>The status code of the SNS notification.
Implementations
The event for which a notification is sent.
The Boolean value that specifies whether the notification represents an error.
The SNS topic to which the SNS notification is sent.
The status code of the SNS notification.
Creates a new builder-style object to manufacture AssessmentRunNotification
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for AssessmentRunNotification
impl Send for AssessmentRunNotification
impl Sync for AssessmentRunNotification
impl Unpin for AssessmentRunNotification
impl UnwindSafe for AssessmentRunNotification
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
