class Aws::IoT::Types::GetBucketsAggregationRequest
@return [Types::BucketsAggregationType]
type to perform.
The basic control of the response shape and the bucket aggregation
@!attribute [rw] buckets_aggregation_type
@return [String]
The version of the query.
@!attribute [rw] query_version
@return [String]
The aggregation field.
@!attribute [rw] aggregation_field
@return [String]
The search query string.
@!attribute [rw] query_string
@return [String]
The name of the index to search.
@!attribute [rw] index_name
}
},
},
max_buckets: 1,
terms_aggregation: {
buckets_aggregation_type: { # required
query_version: “QueryVersion”,
aggregation_field: “AggregationField”, # required
query_string: “QueryString”, # required
index_name: “IndexName”,
{
data as a hash:
@note When making an API call, you may pass GetBucketsAggregationRequest