

# TermsAggregation
<a name="API_TermsAggregation"></a>

Performs an aggregation that will return a list of buckets. The list of buckets is a ranked list of the number of occurrences of an aggregation field value.

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

 ** maxBuckets **   <a name="iot-Type-TermsAggregation-maxBuckets"></a>
The number of buckets to return in the response. Default to 10.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 10000.  
Required: No

## See Also
<a name="API_TermsAggregation_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/iot-2015-05-28/TermsAggregation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iot-2015-05-28/TermsAggregation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iot-2015-05-28/TermsAggregation) 