

# Duration
<a name="API_Duration"></a>

Duration for InfluxDB parameters in Timestream for InfluxDB.

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

 ** durationType **   <a name="tsinfluxdb-Type-Duration-durationType"></a>
The type of duration for InfluxDB parameters.  
Type: String  
Valid Values: `hours | minutes | seconds | milliseconds | days`   
Required: Yes

 ** value **   <a name="tsinfluxdb-Type-Duration-value"></a>
The value of duration for InfluxDB parameters.  
Type: Long  
Valid Range: Minimum value of 0.  
Required: Yes

## See Also
<a name="API_Duration_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/timestream-influxdb-2023-01-27/Duration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-influxdb-2023-01-27/Duration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-influxdb-2023-01-27/Duration) 