aws.iot.get_buckets_aggregation
Example SQL Queries
SELECT * FROMaws.iot.get_buckets_aggregationWHERE"query_string" = 'VALUE'AND "aggregation_field" = 'VALUE'AND "buckets_aggregation_type" = 'VALUE';Description
Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| aggregation_field Required Input Column The aggregation field. | VARCHAR |
| buckets_aggregation_type Required Input Column The basic control of the response shape and the bucket aggregation type to perform. | STRUCT( |
Show child fields
| |
| query_string Required Input Column The search query string. | VARCHAR |
| index_name Input Column The name of the index to search. | VARCHAR |
| query_version Input Column The version of the query. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| buckets The main part of the response with a list of buckets. Each bucket contains a keyValue and a count. keyValue: The aggregation field value counted for the particular bucket. count: The number of documents that have that value. | STRUCT( |
Show child fields
| |
| total_count The total number of things that fit the query string criteria. | BIGINT |