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
A container for facet information.
See: newBucket
smart constructor.
Instances
Eq Bucket Source # | |
Read Bucket Source # | |
Show Bucket Source # | |
Generic Bucket Source # | |
NFData Bucket Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Bucket | |
Hashable Bucket Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Bucket | |
FromJSON Bucket Source # | |
type Rep Bucket Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Bucket type Rep Bucket = D1 ('MetaData "Bucket" "Amazonka.CloudSearchDomains.Types.Bucket" "libZSservicesZSamazonka-cloudsearch-domainsZSamazonka-cloudsearch-domains" 'False) (C1 ('MetaCons "Bucket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) |
Create a value of Bucket
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:value:Bucket'
, bucket_value
- The facet value being counted.
$sel:count:Bucket'
, bucket_count
- The number of hits that contain the facet value in the specified facet
field.