

# DetectorState


Information about the current state of the detector instance.

## Contents


 ** stateName **   <a name="ioteventsdata-Type-DetectorState-stateName"></a>
The name of the state.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

 ** timers **   <a name="ioteventsdata-Type-DetectorState-timers"></a>
The current state of the detector's timers.  
Type: Array of [Timer](API_Timer.md) objects  
Required: Yes

 ** variables **   <a name="ioteventsdata-Type-DetectorState-variables"></a>
The current values of the detector's variables.  
Type: Array of [Variable](API_Variable.md) objects  
Required: Yes

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotevents-data-2018-10-23/DetectorState) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-data-2018-10-23/DetectorState) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-data-2018-10-23/DetectorState) 