libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.TermsAggregation

Description

 
Synopsis

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.

Constructors

TermsAggregation' 

Fields

Instances

Instances details
Eq TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

Read TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

Show TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

Generic TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

Associated Types

type Rep TermsAggregation :: Type -> Type #

NFData TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

Methods

rnf :: TermsAggregation -> () #

Hashable TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

ToJSON TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

type Rep TermsAggregation Source # 
Instance details

Defined in Amazonka.IoT.Types.TermsAggregation

type Rep TermsAggregation = D1 ('MetaData "TermsAggregation" "Amazonka.IoT.Types.TermsAggregation" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "TermsAggregation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxBuckets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

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.