

# UsageGroup

A usage total for a single value of the groupBy dimension.

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

 ** key **   <a name="appmonetization-Type-UsageGroup-key"></a>
The value of the groupBy dimension for this row.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** usage **   <a name="appmonetization-Type-UsageGroup-usage"></a>
The number of usage events in this group.  
Type: Long  
Required: Yes

 ** metricName **   <a name="appmonetization-Type-UsageGroup-metricName"></a>
The name of the metric, when the summary is grouped by metric.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/appmonetization-2022-07-26/UsageGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/UsageGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/UsageGroup) 