| 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 |
Amazonka.IoTAnalytics.UpdateDataset
Description
Updates the settings of a dataset.
Synopsis
- data UpdateDataset = UpdateDataset' {}
- newUpdateDataset :: Text -> NonEmpty DatasetAction -> UpdateDataset
- updateDataset_versioningConfiguration :: Lens' UpdateDataset (Maybe VersioningConfiguration)
- updateDataset_triggers :: Lens' UpdateDataset (Maybe [DatasetTrigger])
- updateDataset_retentionPeriod :: Lens' UpdateDataset (Maybe RetentionPeriod)
- updateDataset_lateDataRules :: Lens' UpdateDataset (Maybe (NonEmpty LateDataRule))
- updateDataset_contentDeliveryRules :: Lens' UpdateDataset (Maybe [DatasetContentDeliveryRule])
- 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:
$sel:versioningConfiguration: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.
$sel:triggers:UpdateDataset', updateDataset_triggers - A list of DatasetTrigger objects. The list can be empty or can contain
up to five DatasetTrigger objects.
$sel:retentionPeriod:UpdateDataset', updateDataset_retentionPeriod - How long, in days, dataset contents are kept for the dataset.
$sel:lateDataRules: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.
$sel:contentDeliveryRules:UpdateDataset', updateDataset_contentDeliveryRules - When dataset contents are created, they are delivered to destinations
specified here.
$sel:datasetName:UpdateDataset', updateDataset_datasetName - The name of the dataset to update.
$sel:actions:UpdateDataset', updateDataset_actions - A list of DatasetAction objects.
Request Lenses
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_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_retentionPeriod :: Lens' UpdateDataset (Maybe RetentionPeriod) Source #
How long, in days, dataset contents are kept for the dataset.
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_contentDeliveryRules :: Lens' UpdateDataset (Maybe [DatasetContentDeliveryRule]) Source #
When dataset contents are created, they are delivered to destinations specified here.
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.