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 ViolationEvent = ViolationEvent' {
- violationEventType :: Maybe ViolationEventType
- verificationStateDescription :: Maybe Text
- violationId :: Maybe Text
- behavior :: Maybe Behavior
- metricValue :: Maybe MetricValue
- securityProfileName :: Maybe Text
- violationEventAdditionalInfo :: Maybe ViolationEventAdditionalInfo
- violationEventTime :: Maybe POSIX
- thingName :: Maybe Text
- verificationState :: Maybe VerificationState
- newViolationEvent :: ViolationEvent
- violationEvent_violationEventType :: Lens' ViolationEvent (Maybe ViolationEventType)
- violationEvent_verificationStateDescription :: Lens' ViolationEvent (Maybe Text)
- violationEvent_violationId :: Lens' ViolationEvent (Maybe Text)
- violationEvent_behavior :: Lens' ViolationEvent (Maybe Behavior)
- violationEvent_metricValue :: Lens' ViolationEvent (Maybe MetricValue)
- violationEvent_securityProfileName :: Lens' ViolationEvent (Maybe Text)
- violationEvent_violationEventAdditionalInfo :: Lens' ViolationEvent (Maybe ViolationEventAdditionalInfo)
- violationEvent_violationEventTime :: Lens' ViolationEvent (Maybe UTCTime)
- violationEvent_thingName :: Lens' ViolationEvent (Maybe Text)
- violationEvent_verificationState :: Lens' ViolationEvent (Maybe VerificationState)
Documentation
data ViolationEvent Source #
Information about a Device Defender security profile behavior violation.
See: newViolationEvent
smart constructor.
ViolationEvent' | |
|
Instances
newViolationEvent :: ViolationEvent Source #
Create a value of ViolationEvent
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:violationEventType:ViolationEvent'
, violationEvent_violationEventType
- The type of violation event.
$sel:verificationStateDescription:ViolationEvent'
, violationEvent_verificationStateDescription
- The description of the verification state of the violation.
$sel:violationId:ViolationEvent'
, violationEvent_violationId
- The ID of the violation event.
$sel:behavior:ViolationEvent'
, violationEvent_behavior
- The behavior that was violated.
$sel:metricValue:ViolationEvent'
, violationEvent_metricValue
- The value of the metric (the measurement).
$sel:securityProfileName:ViolationEvent'
, violationEvent_securityProfileName
- The name of the security profile whose behavior was violated.
$sel:violationEventAdditionalInfo:ViolationEvent'
, violationEvent_violationEventAdditionalInfo
- The details of a violation event.
$sel:violationEventTime:ViolationEvent'
, violationEvent_violationEventTime
- The time the violation event occurred.
$sel:thingName:ViolationEvent'
, violationEvent_thingName
- The name of the thing responsible for the violation event.
$sel:verificationState:ViolationEvent'
, violationEvent_verificationState
- The verification state of the violation (detect alarm).
violationEvent_violationEventType :: Lens' ViolationEvent (Maybe ViolationEventType) Source #
The type of violation event.
violationEvent_verificationStateDescription :: Lens' ViolationEvent (Maybe Text) Source #
The description of the verification state of the violation.
violationEvent_violationId :: Lens' ViolationEvent (Maybe Text) Source #
The ID of the violation event.
violationEvent_behavior :: Lens' ViolationEvent (Maybe Behavior) Source #
The behavior that was violated.
violationEvent_metricValue :: Lens' ViolationEvent (Maybe MetricValue) Source #
The value of the metric (the measurement).
violationEvent_securityProfileName :: Lens' ViolationEvent (Maybe Text) Source #
The name of the security profile whose behavior was violated.
violationEvent_violationEventAdditionalInfo :: Lens' ViolationEvent (Maybe ViolationEventAdditionalInfo) Source #
The details of a violation event.
violationEvent_violationEventTime :: Lens' ViolationEvent (Maybe UTCTime) Source #
The time the violation event occurred.
violationEvent_thingName :: Lens' ViolationEvent (Maybe Text) Source #
The name of the thing responsible for the violation event.
violationEvent_verificationState :: Lens' ViolationEvent (Maybe VerificationState) Source #
The verification state of the violation (detect alarm).