CreateDatasetRequest
public struct CreateDatasetRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A list of actions that create the data set contents.
Declaration
Swift
public let actions: [DatasetAction]
-
When data set contents are created they are delivered to destinations specified here.
Declaration
Swift
public let contentDeliveryRules: [DatasetContentDeliveryRule]?
-
The name of the data set.
Declaration
Swift
public let datasetName: String
-
[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)
Declaration
Swift
public let retentionPeriod: RetentionPeriod?
-
Metadata which can be used to manage the data set.
Declaration
Swift
public let tags: [Tag]?
-
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.
Declaration
Swift
public let triggers: [DatasetTrigger]?
-
[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)
Declaration
Swift
public let versioningConfiguration: VersioningConfiguration?
-
init(actions:contentDeliveryRules:datasetName:retentionPeriod:tags:triggers:versioningConfiguration:)
Undocumented
Declaration
Swift
public init(actions: [DatasetAction], contentDeliveryRules: [DatasetContentDeliveryRule]? = nil, datasetName: String, retentionPeriod: RetentionPeriod? = nil, tags: [Tag]? = nil, triggers: [DatasetTrigger]? = nil, versioningConfiguration: VersioningConfiguration? = nil)
-
Declaration
Swift
public func validate(name: String) throws