Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AssessmentRunNotification = AssessmentRunNotification' {}
- newAssessmentRunNotification :: UTCTime -> InspectorEvent -> Bool -> AssessmentRunNotification
- assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode)
- assessmentRunNotification_message :: 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.
AssessmentRunNotification' | |
|
Instances
newAssessmentRunNotification Source #
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:snsTopicArn:AssessmentRunNotification'
, assessmentRunNotification_snsTopicArn
- The SNS topic to which the SNS notification is sent.
$sel:snsPublishStatusCode:AssessmentRunNotification'
, assessmentRunNotification_snsPublishStatusCode
- The status code of the SNS notification.
$sel:message:AssessmentRunNotification'
, assessmentRunNotification_message
- The message included in the notification.
$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_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text) Source #
The SNS topic to which the SNS notification is sent.
assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode) Source #
The status code of the SNS notification.
assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text) Source #
The message included in the notification.
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.