amazonka-iotevents-data-2.0: Amazon IoT Events Data SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Description

 
Synopsis

Documentation

data UpdateDetectorRequest Source #

Information used to update the detector (instance).

See: newUpdateDetectorRequest smart constructor.

Constructors

UpdateDetectorRequest' 

Fields

  • keyValue :: Maybe Text

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

  • messageId :: Text

    The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

  • detectorModelName :: Text

    The name of the detector model that created the detectors (instances).

  • state :: DetectorStateDefinition

    The new state, variable values, and timer settings of the detector (instance).

Instances

Instances details
ToJSON UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Generic UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Associated Types

type Rep UpdateDetectorRequest :: Type -> Type #

Read UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Show UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

NFData UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Methods

rnf :: UpdateDetectorRequest -> () #

Eq UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Hashable UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

type Rep UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

type Rep UpdateDetectorRequest = D1 ('MetaData "UpdateDetectorRequest" "Amazonka.IoTEventsData.Types.UpdateDetectorRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "UpdateDetectorRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DetectorStateDefinition))))

newUpdateDetectorRequest Source #

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

$sel:messageId:UpdateDetectorRequest', updateDetectorRequest_messageId - The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

$sel:detectorModelName:UpdateDetectorRequest', updateDetectorRequest_detectorModelName - The name of the detector model that created the detectors (instances).

$sel:state:UpdateDetectorRequest', updateDetectorRequest_state - The new state, variable values, and timer settings of the detector (instance).

updateDetectorRequest_keyValue :: Lens' UpdateDetectorRequest (Maybe Text) Source #

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

updateDetectorRequest_messageId :: Lens' UpdateDetectorRequest Text Source #

The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

updateDetectorRequest_detectorModelName :: Lens' UpdateDetectorRequest Text Source #

The name of the detector model that created the detectors (instances).

updateDetectorRequest_state :: Lens' UpdateDetectorRequest DetectorStateDefinition Source #

The new state, variable values, and timer settings of the detector (instance).