

# Bucket
<a name="API_Bucket"></a>

A count of documents that meets a specific aggregation criteria.

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

 ** count **   <a name="iot-Type-Bucket-count"></a>
The number of documents that have the value counted for the particular bucket.  
Type: Integer  
Required: No

 ** keyValue **   <a name="iot-Type-Bucket-keyValue"></a>
The value counted for the particular bucket.  
Type: String  
Required: No

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