libZSservicesZSamazonka-cloudsearch-domainsZSamazonka-cloudsearch-domains
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.CloudSearchDomains.Types.Bucket

Description

 
Synopsis

Documentation

data Bucket Source #

A container for facet information.

See: newBucket smart constructor.

Constructors

Bucket' 

Fields

Instances

Instances details
Eq Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

Methods

(==) :: Bucket -> Bucket -> Bool #

(/=) :: Bucket -> Bucket -> Bool #

Read Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

Show Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

Generic Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

Associated Types

type Rep Bucket :: Type -> Type #

Methods

from :: Bucket -> Rep Bucket x #

to :: Rep Bucket x -> Bucket #

NFData Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

Methods

rnf :: Bucket -> () #

Hashable Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

Methods

hashWithSalt :: Int -> Bucket -> Int #

hash :: Bucket -> Int #

FromJSON Bucket Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.Bucket

type Rep Bucket Source # 
Instance details

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))))

newBucket :: Bucket Source #

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.

bucket_value :: Lens' Bucket (Maybe Text) Source #

The facet value being counted.

bucket_count :: Lens' Bucket (Maybe Integer) Source #

The number of hits that contain the facet value in the specified facet field.