| 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.IoT.Types.ViolationEvent
Description
Synopsis
- data ViolationEvent = ViolationEvent' {
- behavior :: Maybe Behavior
- metricValue :: Maybe MetricValue
- securityProfileName :: Maybe Text
- thingName :: Maybe Text
- verificationState :: Maybe VerificationState
- verificationStateDescription :: Maybe Text
- violationEventAdditionalInfo :: Maybe ViolationEventAdditionalInfo
- violationEventTime :: Maybe POSIX
- violationEventType :: Maybe ViolationEventType
- violationId :: Maybe Text
- newViolationEvent :: ViolationEvent
- violationEvent_behavior :: Lens' ViolationEvent (Maybe Behavior)
- violationEvent_metricValue :: Lens' ViolationEvent (Maybe MetricValue)
- violationEvent_securityProfileName :: Lens' ViolationEvent (Maybe Text)
- violationEvent_thingName :: Lens' ViolationEvent (Maybe Text)
- violationEvent_verificationState :: Lens' ViolationEvent (Maybe VerificationState)
- violationEvent_verificationStateDescription :: Lens' ViolationEvent (Maybe Text)
- violationEvent_violationEventAdditionalInfo :: Lens' ViolationEvent (Maybe ViolationEventAdditionalInfo)
- violationEvent_violationEventTime :: Lens' ViolationEvent (Maybe UTCTime)
- violationEvent_violationEventType :: Lens' ViolationEvent (Maybe ViolationEventType)
- violationEvent_violationId :: Lens' ViolationEvent (Maybe Text)
Documentation
data ViolationEvent Source #
Information about a Device Defender security profile behavior violation.
See: newViolationEvent smart constructor.
Constructors
| ViolationEvent' | |
Fields
| |
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: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: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).
$sel:verificationStateDescription:ViolationEvent', violationEvent_verificationStateDescription - The description of the verification state of the violation.
$sel:violationEventAdditionalInfo:ViolationEvent', violationEvent_violationEventAdditionalInfo - The details of a violation event.
$sel:violationEventTime:ViolationEvent', violationEvent_violationEventTime - The time the violation event occurred.
$sel:violationEventType:ViolationEvent', violationEvent_violationEventType - The type of violation event.
$sel:violationId:ViolationEvent', violationEvent_violationId - 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_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).
violationEvent_verificationStateDescription :: Lens' ViolationEvent (Maybe Text) Source #
The description of the verification state of the violation.
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_violationEventType :: Lens' ViolationEvent (Maybe ViolationEventType) Source #
The type of violation event.
violationEvent_violationId :: Lens' ViolationEvent (Maybe Text) Source #
The ID of the violation event.