| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.Bucket
Description
Documentation
A count of documents that meets a specific aggregation criteria.
See: newBucket smart constructor.
Constructors
| Bucket' | |
Instances
| FromJSON Bucket Source # | |
| Generic Bucket Source # | |
| Read Bucket Source # | |
| Show Bucket Source # | |
| NFData Bucket Source # | |
Defined in Amazonka.IoT.Types.Bucket | |
| Eq Bucket Source # | |
| Hashable Bucket Source # | |
Defined in Amazonka.IoT.Types.Bucket | |
| type Rep Bucket Source # | |
Defined in Amazonka.IoT.Types.Bucket type Rep Bucket = D1 ('MetaData "Bucket" "Amazonka.IoT.Types.Bucket" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "Bucket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
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:count:Bucket', bucket_count - The number of documents that have the value counted for the particular
bucket.
$sel:keyValue:Bucket', bucket_keyValue - The value counted for the particular bucket.