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

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

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

Overview

Note:

When passing DetectorStateDefinition as input to an Aws::Client method, you can use a vanilla 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).

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#state_nameString

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

Returns:

  • (String)

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

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

#variablesArray<Types::VariableDefinition>

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

Returns: