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 |
Synopsis
- data Dataset = Dataset' {
- creationTime :: Maybe POSIX
- status :: Maybe DatasetStatus
- versioningConfiguration :: Maybe VersioningConfiguration
- arn :: Maybe Text
- actions :: Maybe (NonEmpty DatasetAction)
- triggers :: Maybe [DatasetTrigger]
- retentionPeriod :: Maybe RetentionPeriod
- lateDataRules :: Maybe (NonEmpty LateDataRule)
- name :: Maybe Text
- contentDeliveryRules :: Maybe [DatasetContentDeliveryRule]
- lastUpdateTime :: Maybe POSIX
- newDataset :: Dataset
- dataset_creationTime :: Lens' Dataset (Maybe UTCTime)
- dataset_status :: Lens' Dataset (Maybe DatasetStatus)
- dataset_versioningConfiguration :: Lens' Dataset (Maybe VersioningConfiguration)
- dataset_arn :: Lens' Dataset (Maybe Text)
- dataset_actions :: Lens' Dataset (Maybe (NonEmpty DatasetAction))
- dataset_triggers :: Lens' Dataset (Maybe [DatasetTrigger])
- dataset_retentionPeriod :: Lens' Dataset (Maybe RetentionPeriod)
- dataset_lateDataRules :: Lens' Dataset (Maybe (NonEmpty LateDataRule))
- dataset_name :: Lens' Dataset (Maybe Text)
- dataset_contentDeliveryRules :: Lens' Dataset (Maybe [DatasetContentDeliveryRule])
- dataset_lastUpdateTime :: Lens' Dataset (Maybe UTCTime)
Documentation
Information about a dataset.
See: newDataset
smart constructor.
Dataset' | |
|
Instances
newDataset :: Dataset Source #
Create a value of Dataset
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:creationTime:Dataset'
, dataset_creationTime
- When the dataset was created.
$sel:status:Dataset'
, dataset_status
- The status of the dataset.
$sel:versioningConfiguration:Dataset'
, dataset_versioningConfiguration
- Optional. How many versions of dataset contents are kept. If not
specified or set to null, only the latest version plus the latest
succeeded version (if they are different) are kept for the time period
specified by the retentionPeriod
parameter. For more information, see
Keeping Multiple Versions of IoT Analytics datasets
in the IoT Analytics User Guide.
$sel:arn:Dataset'
, dataset_arn
- The ARN of the dataset.
$sel:actions:Dataset'
, dataset_actions
- The DatasetAction
objects that automatically create the dataset
contents.
$sel:triggers:Dataset'
, dataset_triggers
- The DatasetTrigger
objects that specify when the dataset is
automatically updated.
$sel:retentionPeriod:Dataset'
, dataset_retentionPeriod
- Optional. How long, in days, message data is kept for the dataset.
$sel:lateDataRules:Dataset'
, dataset_lateDataRules
- A list of data rules that send notifications to CloudWatch, when data
arrives late. To specify lateDataRules
, the dataset must use a
DeltaTimer
filter.
$sel:name:Dataset'
, dataset_name
- The name of the dataset.
$sel:contentDeliveryRules:Dataset'
, dataset_contentDeliveryRules
- When dataset contents are created they are delivered to destinations
specified here.
$sel:lastUpdateTime:Dataset'
, dataset_lastUpdateTime
- The last time the dataset was updated.
dataset_status :: Lens' Dataset (Maybe DatasetStatus) Source #
The status of the dataset.
dataset_versioningConfiguration :: Lens' Dataset (Maybe VersioningConfiguration) Source #
Optional. How many versions of dataset contents are kept. If not
specified or set to null, only the latest version plus the latest
succeeded version (if they are different) are kept for the time period
specified by the retentionPeriod
parameter. For more information, see
Keeping Multiple Versions of IoT Analytics datasets
in the IoT Analytics User Guide.
dataset_actions :: Lens' Dataset (Maybe (NonEmpty DatasetAction)) Source #
The DatasetAction
objects that automatically create the dataset
contents.
dataset_triggers :: Lens' Dataset (Maybe [DatasetTrigger]) Source #
The DatasetTrigger
objects that specify when the dataset is
automatically updated.
dataset_retentionPeriod :: Lens' Dataset (Maybe RetentionPeriod) Source #
Optional. How long, in days, message data is kept for the dataset.
dataset_lateDataRules :: Lens' Dataset (Maybe (NonEmpty LateDataRule)) Source #
A list of data rules that send notifications to CloudWatch, when data
arrives late. To specify lateDataRules
, the dataset must use a
DeltaTimer
filter.
dataset_contentDeliveryRules :: Lens' Dataset (Maybe [DatasetContentDeliveryRule]) Source #
When dataset contents are created they are delivered to destinations specified here.