pub struct CreateDatasetRequest {
pub actions: Vec<DatasetAction>,
pub content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>,
pub dataset_name: String,
pub retention_period: Option<RetentionPeriod>,
pub tags: Option<Vec<Tag>>,
pub triggers: Option<Vec<DatasetTrigger>>,
pub versioning_configuration: Option<VersioningConfiguration>,
}Fields§
§actions: Vec<DatasetAction>A list of actions that create the data set contents.
content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>When data set contents are created they are delivered to destinations specified here.
dataset_name: StringThe name of the data set.
retention_period: Option<RetentionPeriod>[Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or set to null, versions of data set contents are retained for at most 90 days. The number of versions of data set contents retained is determined by the versioningConfiguration parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
Metadata which can be used to manage the data set.
triggers: Option<Vec<DatasetTrigger>>A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
versioning_configuration: Option<VersioningConfiguration>[Optional] How many versions of data set 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 https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
Trait Implementations§
Source§impl Clone for CreateDatasetRequest
impl Clone for CreateDatasetRequest
Source§fn clone(&self) -> CreateDatasetRequest
fn clone(&self) -> CreateDatasetRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more