libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
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.IoTEventsData.Types.Detector

Description

 
Synopsis

Documentation

data Detector Source #

Information about the detector (instance).

See: newDetector smart constructor.

Constructors

Detector' 

Fields

Instances

Instances details
Eq Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Read Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Show Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Generic Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Associated Types

type Rep Detector :: Type -> Type #

Methods

from :: Detector -> Rep Detector x #

to :: Rep Detector x -> Detector #

NFData Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Methods

rnf :: Detector -> () #

Hashable Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Methods

hashWithSalt :: Int -> Detector -> Int #

hash :: Detector -> Int #

FromJSON Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

type Rep Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

type Rep Detector = D1 ('MetaData "Detector" "Amazonka.IoTEventsData.Types.Detector" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "Detector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetectorState)))) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detectorModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newDetector :: Detector Source #

Create a value of Detector 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:keyValue:Detector', detector_keyValue - The value of the key (identifying the device or system) that caused the creation of this detector (instance).

$sel:creationTime:Detector', detector_creationTime - The time the detector (instance) was created.

$sel:state:Detector', detector_state - The current state of the detector (instance).

$sel:detectorModelName:Detector', detector_detectorModelName - The name of the detector model that created this detector (instance).

$sel:detectorModelVersion:Detector', detector_detectorModelVersion - The version of the detector model that created this detector (instance).

$sel:lastUpdateTime:Detector', detector_lastUpdateTime - The time the detector (instance) was last updated.

detector_keyValue :: Lens' Detector (Maybe Text) Source #

The value of the key (identifying the device or system) that caused the creation of this detector (instance).

detector_creationTime :: Lens' Detector (Maybe UTCTime) Source #

The time the detector (instance) was created.

detector_state :: Lens' Detector (Maybe DetectorState) Source #

The current state of the detector (instance).

detector_detectorModelName :: Lens' Detector (Maybe Text) Source #

The name of the detector model that created this detector (instance).

detector_detectorModelVersion :: Lens' Detector (Maybe Text) Source #

The version of the detector model that created this detector (instance).

detector_lastUpdateTime :: Lens' Detector (Maybe UTCTime) Source #

The time the detector (instance) was last updated.