| 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.IoTEventsData.Types.UpdateDetectorRequest
Description
Synopsis
- data UpdateDetectorRequest = UpdateDetectorRequest' {}
- newUpdateDetectorRequest :: Text -> Text -> DetectorStateDefinition -> UpdateDetectorRequest
- updateDetectorRequest_keyValue :: Lens' UpdateDetectorRequest (Maybe Text)
- updateDetectorRequest_messageId :: Lens' UpdateDetectorRequest Text
- updateDetectorRequest_detectorModelName :: Lens' UpdateDetectorRequest Text
- updateDetectorRequest_state :: Lens' UpdateDetectorRequest DetectorStateDefinition
Documentation
data UpdateDetectorRequest Source #
Information used to update the detector (instance).
See: newUpdateDetectorRequest smart constructor.
Constructors
| UpdateDetectorRequest' | |
| Fields 
 | |
Instances
newUpdateDetectorRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> DetectorStateDefinition | |
| -> UpdateDetectorRequest | 
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).