Class: Aws::IoTSiteWise::Types::AssetModelCompositeModel
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::AssetModelCompositeModel
- Defined in:
- gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb
Overview
Note:
When making an API call, you may pass AssetModelCompositeModel data as a hash:
{
name: "Name", # required
description: "Description",
type: "Name", # required
properties: [
{
id: "ID",
name: "Name", # required
data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT
data_type_spec: "Name",
unit: "PropertyUnit",
type: { # required
attribute: {
default_value: "DefaultValue",
},
measurement: {
},
transform: {
expression: "Expression", # required
variables: [ # required
{
name: "VariableName", # required
value: { # required
property_id: "Macro", # required
hierarchy_id: "Macro",
},
},
],
},
metric: {
expression: "Expression", # required
variables: [ # required
{
name: "VariableName", # required
value: { # required
property_id: "Macro", # required
hierarchy_id: "Macro",
},
},
],
window: { # required
tumbling: {
interval: "Interval", # required
},
},
},
},
},
],
}
Contains information about a composite model in an asset model. This object contains the asset property definitions that you define in the composite model.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the composite model.
-
#name ⇒ String
The name of the composite model.
-
#properties ⇒ Array<Types::AssetModelProperty>
The asset property definitions for this composite model.
-
#type ⇒ String
The type of the composite model.
Instance Attribute Details
#description ⇒ String
The description of the composite model.
284 285 286 287 288 289 290 291 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 284 class AssetModelCompositeModel < Struct.new( :name, :description, :type, :properties) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the composite model.
284 285 286 287 288 289 290 291 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 284 class AssetModelCompositeModel < Struct.new( :name, :description, :type, :properties) SENSITIVE = [] include Aws::Structure end |
#properties ⇒ Array<Types::AssetModelProperty>
The asset property definitions for this composite model.
284 285 286 287 288 289 290 291 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 284 class AssetModelCompositeModel < Struct.new( :name, :description, :type, :properties) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the composite model. For alarm composite models, this
type is AWS/ALARM
.
284 285 286 287 288 289 290 291 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 284 class AssetModelCompositeModel < Struct.new( :name, :description, :type, :properties) SENSITIVE = [] include Aws::Structure end |