logo
pub struct CreateDatasetRequest {
    pub actions: Vec<DatasetAction>,
    pub content_delivery_rules: Option<Vec<DatasetContentDeliveryRule>>,
    pub dataset_name: String,
    pub late_data_rules: Option<Vec<LateDataRule>>,
    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 dataset contents are created, they are delivered to destinations specified here.

dataset_name: String

The name of the data set.

late_data_rules: Option<Vec<LateDataRule>>

A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To specify lateDataRules, the dataset must use a DeltaTimer filter.

retention_period: Option<RetentionPeriod>

Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified or set to null, versions of dataset contents are retained for at most 90 days. The number of versions of dataset contents retained is determined by the versioningConfiguration parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT Analytics User Guide.

tags: Option<Vec<Tag>>

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 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 AWS IoT Analytics Data Sets in the AWS IoT Analytics User Guide.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more