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 |
Synopsis
Documentation
data CollectionScheme Source #
Specifies what data to collect and how often or when to collect it.
See: newCollectionScheme
smart constructor.
CollectionScheme' | |
|
Instances
newCollectionScheme :: CollectionScheme Source #
Create a value of CollectionScheme
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:conditionBasedCollectionScheme:CollectionScheme'
, collectionScheme_conditionBasedCollectionScheme
- Information about a collection scheme that uses a simple logical
expression to recognize what data to collect.
$sel:timeBasedCollectionScheme:CollectionScheme'
, collectionScheme_timeBasedCollectionScheme
- Information about a collection scheme that uses a time period to decide
how often to collect data.
collectionScheme_conditionBasedCollectionScheme :: Lens' CollectionScheme (Maybe ConditionBasedCollectionScheme) Source #
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
collectionScheme_timeBasedCollectionScheme :: Lens' CollectionScheme (Maybe TimeBasedCollectionScheme) Source #
Information about a collection scheme that uses a time period to decide how often to collect data.