AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTEventsData::Types::UpdateDetectorRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateDetectorRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  message_id: "MessageId", # required
  detector_model_name: "DetectorModelName", # required
  key_value: "KeyValue",
  state: { # required
    state_name: "StateName", # required
    variables: [ # required
      {
        name: "VariableName", # required
        value: "VariableValue", # required
      },
    ],
    timers: [ # required
      {
        name: "TimerName", # required
        seconds: 1, # required
      },
    ],
  },
}

Information used to update the detector (instance).

Instance Attribute Summary collapse

Instance Attribute Details

#detector_model_nameString

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

Returns:

  • (String)

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

#key_valueString

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

Returns:

  • (String)

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

#message_idString

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

Returns:

  • (String)

    The ID to assign to the detector update "message".

#stateTypes::DetectorStateDefinition

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

Returns: