| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector.Types.AssessmentRunNotification
Description
Synopsis
- data AssessmentRunNotification = AssessmentRunNotification' {}
- newAssessmentRunNotification :: UTCTime -> InspectorEvent -> Bool -> AssessmentRunNotification
- assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode)
- assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_date :: Lens' AssessmentRunNotification UTCTime
- assessmentRunNotification_event :: Lens' AssessmentRunNotification InspectorEvent
- assessmentRunNotification_error :: Lens' AssessmentRunNotification Bool
Documentation
data AssessmentRunNotification Source #
Used as one of the elements of the AssessmentRun data type.
See: newAssessmentRunNotification smart constructor.
Constructors
| AssessmentRunNotification' | |
Fields
| |
Instances
newAssessmentRunNotification Source #
Arguments
| :: UTCTime | |
| -> InspectorEvent | |
| -> Bool | |
| -> AssessmentRunNotification |
Create a value of AssessmentRunNotification with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:message:AssessmentRunNotification', assessmentRunNotification_message - The message included in the notification.
$sel:snsPublishStatusCode:AssessmentRunNotification', assessmentRunNotification_snsPublishStatusCode - The status code of the SNS notification.
$sel:snsTopicArn:AssessmentRunNotification', assessmentRunNotification_snsTopicArn - The SNS topic to which the SNS notification is sent.
$sel:date:AssessmentRunNotification', assessmentRunNotification_date - The date of the notification.
$sel:event:AssessmentRunNotification', assessmentRunNotification_event - The event for which a notification is sent.
$sel:error:AssessmentRunNotification', assessmentRunNotification_error - The Boolean value that specifies whether the notification represents an
error.
assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text) Source #
The message included in the notification.
assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode) Source #
The status code of the SNS notification.
assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text) Source #
The SNS topic to which the SNS notification is sent.
assessmentRunNotification_date :: Lens' AssessmentRunNotification UTCTime Source #
The date of the notification.
assessmentRunNotification_event :: Lens' AssessmentRunNotification InspectorEvent Source #
The event for which a notification is sent.
assessmentRunNotification_error :: Lens' AssessmentRunNotification Bool Source #
The Boolean value that specifies whether the notification represents an error.