libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.Types.AssessmentRunNotification

Description

 
Synopsis

Documentation

data AssessmentRunNotification Source #

Used as one of the elements of the AssessmentRun data type.

See: newAssessmentRunNotification smart constructor.

Constructors

AssessmentRunNotification' 

Fields

Instances

Instances details
Eq AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

Read AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

Show AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

Generic AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

Associated Types

type Rep AssessmentRunNotification :: Type -> Type #

NFData AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

Hashable AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

FromJSON AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

type Rep AssessmentRunNotification Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunNotification

type Rep AssessmentRunNotification = D1 ('MetaData "AssessmentRunNotification" "Amazonka.Inspector.Types.AssessmentRunNotification" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AssessmentRunNotification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snsPublishStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssessmentRunNotificationSnsStatusCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InspectorEvent) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))

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_error :: Lens' AssessmentRunNotification Bool Source #

The Boolean value that specifies whether the notification represents an error.