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.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
Eq UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Read UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Show 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 #

NFData UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Methods

rnf :: UpdateDetectorRequest -> () #

Hashable UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

ToJSON 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" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" '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).