#[non_exhaustive]pub struct UpdateDatasetInput {
pub dataset_name: Option<String>,
pub actions: Option<Vec<DatasetAction>>,
pub triggers: Option<Vec<DatasetTrigger>>,
pub content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>,
pub retention_period: Option<RetentionPeriod>,
pub versioning_configuration: Option<VersioningConfiguration>,
pub late_data_rules: Option<Vec<LateDataRule>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dataset_name: Option<String>
The name of the dataset to update.
actions: Option<Vec<DatasetAction>>
A list of DatasetAction
objects.
triggers: Option<Vec<DatasetTrigger>>
A list of DatasetTrigger
objects. The list can be empty or can contain up to five DatasetTrigger
objects.
content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>
When dataset contents are created, they are delivered to destinations specified here.
retention_period: Option<RetentionPeriod>
How long, in days, dataset contents are kept for the dataset.
versioning_configuration: Option<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.
late_data_rules: Option<Vec<LateDataRule>>
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules
, the dataset must use a DeltaTimer filter.
Implementations§
source§impl UpdateDatasetInput
impl UpdateDatasetInput
sourcepub fn dataset_name(&self) -> Option<&str>
pub fn dataset_name(&self) -> Option<&str>
The name of the dataset to update.
sourcepub fn actions(&self) -> &[DatasetAction]
pub fn actions(&self) -> &[DatasetAction]
A list of DatasetAction
objects.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .actions.is_none()
.
sourcepub fn triggers(&self) -> &[DatasetTrigger]
pub fn triggers(&self) -> &[DatasetTrigger]
A list of DatasetTrigger
objects. The list can be empty or can contain up to five DatasetTrigger
objects.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .triggers.is_none()
.
sourcepub fn content_delivery_rules(&self) -> &[DatasetContentDeliveryRule]
pub fn content_delivery_rules(&self) -> &[DatasetContentDeliveryRule]
When dataset contents are created, they are delivered to destinations specified here.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .content_delivery_rules.is_none()
.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
How long, in days, dataset contents are kept for the dataset.
sourcepub fn versioning_configuration(&self) -> Option<&VersioningConfiguration>
pub fn versioning_configuration(&self) -> Option<&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.
sourcepub fn late_data_rules(&self) -> &[LateDataRule]
pub fn late_data_rules(&self) -> &[LateDataRule]
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules
, the dataset must use a DeltaTimer filter.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .late_data_rules.is_none()
.
source§impl UpdateDatasetInput
impl UpdateDatasetInput
sourcepub fn builder() -> UpdateDatasetInputBuilder
pub fn builder() -> UpdateDatasetInputBuilder
Creates a new builder-style object to manufacture UpdateDatasetInput
.
Trait Implementations§
source§impl Clone for UpdateDatasetInput
impl Clone for UpdateDatasetInput
source§fn clone(&self) -> UpdateDatasetInput
fn clone(&self) -> UpdateDatasetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDatasetInput
impl Debug for UpdateDatasetInput
source§impl PartialEq for UpdateDatasetInput
impl PartialEq for UpdateDatasetInput
source§fn eq(&self, other: &UpdateDatasetInput) -> bool
fn eq(&self, other: &UpdateDatasetInput) -> bool
self
and other
values to be equal, and is used
by ==
.