

# QueryTimeWindow
<a name="API_QueryTimeWindow"></a>

Contains the start and end of a time window.

## Contents
<a name="API_QueryTimeWindow_Contents"></a>

 ** endTime **   <a name="guardduty-Type-QueryTimeWindow-endTime"></a>
The timestamp at which the time window ends.  
Type: Timestamp  
Required: No

 ** startTime **   <a name="guardduty-Type-QueryTimeWindow-startTime"></a>
The timestamp at which the time window starts.  
Type: Timestamp  
Required: No

## See Also
<a name="API_QueryTimeWindow_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/guardduty-2017-11-28/QueryTimeWindow) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/QueryTimeWindow) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/QueryTimeWindow) 