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

Class: Aws::IoTEventsData::Types::BatchUpdateDetectorRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb

Overview

Note:

When making an API call, you may pass BatchUpdateDetectorRequest data as a hash:

{
  detectors: [ # required
    {
      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
          },
        ],
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#detectorsArray<Types::UpdateDetectorRequest>

The list of detectors (instances) to update, along with the values to update.

Returns:



123
124
125
126
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 123

class BatchUpdateDetectorRequest < Struct.new(
  :detectors)
  include Aws::Structure
end