Class: Aws::IoTEventsData::Types::DetectorStateDefinition

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 DetectorStateDefinition data as a hash:

{
  state_name: "StateName", # required
  variables: [ # required
    {
      name: "VariableName", # required
      value: "VariableValue", # required
    },
  ],
  timers: [ # required
    {
      name: "TimerName", # required
      seconds: 1, # required
    },
  ],
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#state_nameString

The name of the new state of the detector (instance).

Returns:

  • (String)


279
280
281
282
283
284
285
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 279

class DetectorStateDefinition < Struct.new(
  :state_name,
  :variables,
  :timers)
  SENSITIVE = []
  include Aws::Structure
end

#timersArray<Types::TimerDefinition>

The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

Returns:



279
280
281
282
283
284
285
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 279

class DetectorStateDefinition < Struct.new(
  :state_name,
  :variables,
  :timers)
  SENSITIVE = []
  include Aws::Structure
end

#variablesArray<Types::VariableDefinition>

The new values of the detector's variables. Any variable whose value isn't specified is cleared.

Returns:



279
280
281
282
283
284
285
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 279

class DetectorStateDefinition < Struct.new(
  :state_name,
  :variables,
  :timers)
  SENSITIVE = []
  include Aws::Structure
end