

# TimeBasedCollectionScheme
<a name="API_TimeBasedCollectionScheme"></a>

Information about a collection scheme that uses a time period to decide how often to collect data.

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

 ** periodMs **   <a name="iotfleetwise-Type-TimeBasedCollectionScheme-periodMs"></a>
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is `60000`, the Edge Agent software collects data once every minute.  
Type: Long  
Valid Range: Minimum value of 10000. Maximum value of 86400000.  
Required: Yes

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

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/iotfleetwise-2021-06-17/TimeBasedCollectionScheme) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotfleetwise-2021-06-17/TimeBasedCollectionScheme) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotfleetwise-2021-06-17/TimeBasedCollectionScheme) 