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