Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data TermsAggregation Source #
Performs an aggregation that will return a list of buckets. The list of buckets is a ranked list of the number of occurrences of an aggregation field value.
See: newTermsAggregation
smart constructor.
TermsAggregation' | |
|
Instances
newTermsAggregation :: TermsAggregation Source #
Create a value of TermsAggregation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxBuckets:TermsAggregation'
, termsAggregation_maxBuckets
- The number of buckets to return in the response. Default to 10.
termsAggregation_maxBuckets :: Lens' TermsAggregation (Maybe Natural) Source #
The number of buckets to return in the response. Default to 10.