| 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.IoTAnalytics.UpdateDataset
Description
Updates the settings of a dataset.
Synopsis
- data UpdateDataset = UpdateDataset' {}
- newUpdateDataset :: Text -> NonEmpty DatasetAction -> UpdateDataset
- updateDataset_contentDeliveryRules :: Lens' UpdateDataset (Maybe [DatasetContentDeliveryRule])
- updateDataset_lateDataRules :: Lens' UpdateDataset (Maybe (NonEmpty LateDataRule))
- updateDataset_retentionPeriod :: Lens' UpdateDataset (Maybe RetentionPeriod)
- updateDataset_triggers :: Lens' UpdateDataset (Maybe [DatasetTrigger])
- updateDataset_versioningConfiguration :: Lens' UpdateDataset (Maybe VersioningConfiguration)
- updateDataset_datasetName :: Lens' UpdateDataset Text
- updateDataset_actions :: Lens' UpdateDataset (NonEmpty DatasetAction)
- data UpdateDatasetResponse = UpdateDatasetResponse' {
- newUpdateDatasetResponse :: UpdateDatasetResponse
Creating a Request
data UpdateDataset Source #
See: newUpdateDataset smart constructor.
Constructors
| UpdateDataset' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty DatasetAction | |
| -> UpdateDataset |
Create a value of UpdateDataset 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:
UpdateDataset, updateDataset_contentDeliveryRules - When dataset contents are created, they are delivered to destinations
specified here.
UpdateDataset, updateDataset_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.
UpdateDataset, updateDataset_retentionPeriod - How long, in days, dataset contents are kept for the dataset.
UpdateDataset, updateDataset_triggers - A list of DatasetTrigger objects. The list can be empty or can contain
up to five DatasetTrigger objects.
UpdateDataset, updateDataset_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.
UpdateDataset, updateDataset_datasetName - The name of the dataset to update.
UpdateDataset, updateDataset_actions - A list of DatasetAction objects.
Request Lenses
updateDataset_contentDeliveryRules :: Lens' UpdateDataset (Maybe [DatasetContentDeliveryRule]) Source #
When dataset contents are created, they are delivered to destinations specified here.
updateDataset_lateDataRules :: Lens' UpdateDataset (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.
updateDataset_retentionPeriod :: Lens' UpdateDataset (Maybe RetentionPeriod) Source #
How long, in days, dataset contents are kept for the dataset.
updateDataset_triggers :: Lens' UpdateDataset (Maybe [DatasetTrigger]) Source #
A list of DatasetTrigger objects. The list can be empty or can contain
up to five DatasetTrigger objects.
updateDataset_versioningConfiguration :: Lens' UpdateDataset (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.
updateDataset_datasetName :: Lens' UpdateDataset Text Source #
The name of the dataset to update.
updateDataset_actions :: Lens' UpdateDataset (NonEmpty DatasetAction) Source #
A list of DatasetAction objects.
Destructuring the Response
data UpdateDatasetResponse Source #
See: newUpdateDatasetResponse smart constructor.
Constructors
| UpdateDatasetResponse' | |
Instances
newUpdateDatasetResponse :: UpdateDatasetResponse Source #
Create a value of UpdateDatasetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.