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: {
processing_config: {
forwarding_config: { # required
state: "DISABLED", # required, accepts DISABLED, ENABLED
},
},
},
transform: {
expression: "Expression", # required
variables: [ # required
{
name: "VariableName", # required
value: { # required
property_id: "Macro", # required
hierarchy_id: "Macro",
},
},
],
processing_config: {
compute_location: "EDGE", # required, accepts EDGE, CLOUD
forwarding_config: {
state: "DISABLED", # required, accepts DISABLED, ENABLED
},
},
},
metric: {
expression: "Expression", # required
variables: [ # required
{
name: "VariableName", # required
value: { # required
property_id: "Macro", # required
hierarchy_id: "Macro",
},
},
],
window: { # required
tumbling: {
interval: "Interval", # required
offset: "Offset",
},
},
processing_config: {
compute_location: "EDGE", # required, accepts EDGE, CLOUD
},
},
},
},
],
}
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.
346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 346 class AssetModelCompositeModel < Struct.new( :name, :description, :type, :properties) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the composite model.
346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 346 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.
346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 346 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
.
346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 346 class AssetModelCompositeModel < Struct.new( :name, :description, :type, :properties) SENSITIVE = [] include Aws::Structure end |