Amazon IoT Core · Schema

GetBucketsAggregationResponse

GetBucketsAggregationResponse schema

Device ManagementIoTMQTTMessage Routing

Properties

Name Type Description
totalCount object
buckets object
View JSON Schema on GitHub

JSON Schema

iot-core-get-buckets-aggregation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-core/refs/heads/main/json-schema/iot-core-get-buckets-aggregation-response-schema.json",
  "title": "GetBucketsAggregationResponse",
  "description": "GetBucketsAggregationResponse schema",
  "type": "object",
  "properties": {
    "totalCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Count"
        },
        {
          "description": "The total number of things that fit the query string criteria."
        }
      ]
    },
    "buckets": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Buckets"
        },
        {
          "description": "<p>The main part of the response with a list of buckets. Each bucket contains a <code>keyValue</code> and a <code>count</code>.</p> <p> <code>keyValue</code>: The aggregation field value counted for the particular bucket.</p> <p> <code>count</code>: The number of documents that have that value.</p>"
        }
      ]
    }
  }
}