Struct aws_sdk_iotanalytics::types::Dataset
source · #[non_exhaustive]pub struct Dataset {
pub name: Option<String>,
pub arn: Option<String>,
pub actions: Option<Vec<DatasetAction>>,
pub triggers: Option<Vec<DatasetTrigger>>,
pub content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>,
pub status: Option<DatasetStatus>,
pub creation_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub retention_period: Option<RetentionPeriod>,
pub versioning_configuration: Option<VersioningConfiguration>,
pub late_data_rules: Option<Vec<LateDataRule>>,
}
Expand description
Information about a dataset.
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.name: Option<String>
The name of the dataset.
arn: Option<String>
The ARN of the dataset.
actions: Option<Vec<DatasetAction>>
The DatasetAction
objects that automatically create the dataset contents.
triggers: Option<Vec<DatasetTrigger>>
The DatasetTrigger
objects that specify when the dataset is automatically updated.
content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>
When dataset contents are created they are delivered to destinations specified here.
status: Option<DatasetStatus>
The status of the dataset.
creation_time: Option<DateTime>
When the dataset was created.
last_update_time: Option<DateTime>
The last time the dataset was updated.
retention_period: Option<RetentionPeriod>
Optional. How long, in days, message data is 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 Dataset
impl Dataset
sourcepub fn actions(&self) -> &[DatasetAction]
pub fn actions(&self) -> &[DatasetAction]
The DatasetAction
objects that automatically create the dataset contents.
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]
The DatasetTrigger
objects that specify when the dataset is automatically updated.
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 status(&self) -> Option<&DatasetStatus>
pub fn status(&self) -> Option<&DatasetStatus>
The status of the dataset.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the dataset was created.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The last time the dataset was updated.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
Optional. How long, in days, message data is 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()
.