libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTAnalytics.UpdateDataset

Description

Updates the settings of a dataset.

Synopsis

Creating a Request

data UpdateDataset Source #

See: newUpdateDataset smart constructor.

Constructors

UpdateDataset' 

Fields

Instances

Instances details
Eq UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Read UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Show UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Generic UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Associated Types

type Rep UpdateDataset :: Type -> Type #

NFData UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Methods

rnf :: UpdateDataset -> () #

Hashable UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

ToJSON UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

AWSRequest UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Associated Types

type AWSResponse UpdateDataset #

ToHeaders UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

ToPath UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

ToQuery UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

type Rep UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

type AWSResponse UpdateDataset Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

newUpdateDataset Source #

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.

Destructuring the Response

data UpdateDatasetResponse Source #

See: newUpdateDatasetResponse smart constructor.

Instances

Instances details
Eq UpdateDatasetResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Read UpdateDatasetResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Show UpdateDatasetResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Generic UpdateDatasetResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Associated Types

type Rep UpdateDatasetResponse :: Type -> Type #

NFData UpdateDatasetResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

Methods

rnf :: UpdateDatasetResponse -> () #

type Rep UpdateDatasetResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDataset

type Rep UpdateDatasetResponse = D1 ('MetaData "UpdateDatasetResponse" "Amazonka.IoTAnalytics.UpdateDataset" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "UpdateDatasetResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateDatasetResponse :: UpdateDatasetResponse Source #

Create a value of UpdateDatasetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.