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
- Struct
- Aws::IoTEventsData::Types::DetectorStateDefinition
- 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
-
#state_name ⇒ String
The name of the new state of the detector (instance).
-
#timers ⇒ Array<Types::TimerDefinition>
The new values of the detector\'s timers.
-
#variables ⇒ Array<Types::VariableDefinition>
The new values of the detector\'s variables.
Instance Attribute Details
#state_name ⇒ String
The name of the new state of the detector (instance).
#timers ⇒ Array<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.
#variables ⇒ Array<Types::VariableDefinition>
The new values of the detector\'s variables. Any variable whose value isn\'t specified is cleared.