| 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.ActiveViolation
Description
Synopsis
- data ActiveViolation = ActiveViolation' {
- behavior :: Maybe Behavior
- lastViolationTime :: Maybe POSIX
- lastViolationValue :: Maybe MetricValue
- securityProfileName :: Maybe Text
- thingName :: Maybe Text
- verificationState :: Maybe VerificationState
- verificationStateDescription :: Maybe Text
- violationEventAdditionalInfo :: Maybe ViolationEventAdditionalInfo
- violationId :: Maybe Text
- violationStartTime :: Maybe POSIX
- newActiveViolation :: ActiveViolation
- activeViolation_behavior :: Lens' ActiveViolation (Maybe Behavior)
- activeViolation_lastViolationTime :: Lens' ActiveViolation (Maybe UTCTime)
- activeViolation_lastViolationValue :: Lens' ActiveViolation (Maybe MetricValue)
- activeViolation_securityProfileName :: Lens' ActiveViolation (Maybe Text)
- activeViolation_thingName :: Lens' ActiveViolation (Maybe Text)
- activeViolation_verificationState :: Lens' ActiveViolation (Maybe VerificationState)
- activeViolation_verificationStateDescription :: Lens' ActiveViolation (Maybe Text)
- activeViolation_violationEventAdditionalInfo :: Lens' ActiveViolation (Maybe ViolationEventAdditionalInfo)
- activeViolation_violationId :: Lens' ActiveViolation (Maybe Text)
- activeViolation_violationStartTime :: Lens' ActiveViolation (Maybe UTCTime)
Documentation
data ActiveViolation Source #
Information about an active Device Defender security profile behavior violation.
See: newActiveViolation smart constructor.
Constructors
| ActiveViolation' | |
Fields
| |
Instances
newActiveViolation :: ActiveViolation Source #
Create a value of ActiveViolation 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:ActiveViolation', activeViolation_behavior - The behavior that is being violated.
$sel:lastViolationTime:ActiveViolation', activeViolation_lastViolationTime - The time the most recent violation occurred.
$sel:lastViolationValue:ActiveViolation', activeViolation_lastViolationValue - The value of the metric (the measurement) that caused the most recent
violation.
$sel:securityProfileName:ActiveViolation', activeViolation_securityProfileName - The security profile with the behavior is in violation.
$sel:thingName:ActiveViolation', activeViolation_thingName - The name of the thing responsible for the active violation.
$sel:verificationState:ActiveViolation', activeViolation_verificationState - The verification state of the violation (detect alarm).
$sel:verificationStateDescription:ActiveViolation', activeViolation_verificationStateDescription - The description of the verification state of the violation.
$sel:violationEventAdditionalInfo:ActiveViolation', activeViolation_violationEventAdditionalInfo - The details of a violation event.
$sel:violationId:ActiveViolation', activeViolation_violationId - The ID of the active violation.
$sel:violationStartTime:ActiveViolation', activeViolation_violationStartTime - The time the violation started.
activeViolation_behavior :: Lens' ActiveViolation (Maybe Behavior) Source #
The behavior that is being violated.
activeViolation_lastViolationTime :: Lens' ActiveViolation (Maybe UTCTime) Source #
The time the most recent violation occurred.
activeViolation_lastViolationValue :: Lens' ActiveViolation (Maybe MetricValue) Source #
The value of the metric (the measurement) that caused the most recent violation.
activeViolation_securityProfileName :: Lens' ActiveViolation (Maybe Text) Source #
The security profile with the behavior is in violation.
activeViolation_thingName :: Lens' ActiveViolation (Maybe Text) Source #
The name of the thing responsible for the active violation.
activeViolation_verificationState :: Lens' ActiveViolation (Maybe VerificationState) Source #
The verification state of the violation (detect alarm).
activeViolation_verificationStateDescription :: Lens' ActiveViolation (Maybe Text) Source #
The description of the verification state of the violation.
activeViolation_violationEventAdditionalInfo :: Lens' ActiveViolation (Maybe ViolationEventAdditionalInfo) Source #
The details of a violation event.
activeViolation_violationId :: Lens' ActiveViolation (Maybe Text) Source #
The ID of the active violation.
activeViolation_violationStartTime :: Lens' ActiveViolation (Maybe UTCTime) Source #
The time the violation started.