getBucketsAggregation
abstract suspend fun getBucketsAggregation(input: GetBucketsAggregationRequest): GetBucketsAggregationResponse
Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.