

# UsageDataSourceResult
<a name="API_UsageDataSourceResult"></a>

Contains information on the result of usage based on data source type.

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

 ** dataSource **   <a name="guardduty-Type-UsageDataSourceResult-dataSource"></a>
The data source type that generated usage.  
Type: String  
Valid Values: `FLOW_LOGS | CLOUD_TRAIL | DNS_LOGS | S3_LOGS | KUBERNETES_AUDIT_LOGS | EC2_MALWARE_SCAN`   
Required: No

 ** total **   <a name="guardduty-Type-UsageDataSourceResult-total"></a>
Represents the total of usage for the specified data source.  
Type: [Total](API_Total.md) object  
Required: No

## See Also
<a name="API_UsageDataSourceResult_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/guardduty-2017-11-28/UsageDataSourceResult) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/UsageDataSourceResult) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/UsageDataSourceResult) 