aws-sdk-iotsitewise 1.67.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +321 -129
- data/lib/aws-sdk-iotsitewise/client_api.rb +71 -24
- data/lib/aws-sdk-iotsitewise/errors.rb +26 -0
- data/lib/aws-sdk-iotsitewise/types.rb +523 -258
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/sig/client.rbs +72 -45
- data/sig/errors.rbs +5 -0
- data/sig/types.rbs +59 -23
- data/sig/waiters.rbs +4 -2
- metadata +2 -2
data/lib/aws-sdk-iotsitewise.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -284,9 +284,14 @@ module Aws
|
|
284
284
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_asset_model-instance_method
|
285
285
|
def create_asset_model: (
|
286
286
|
asset_model_name: ::String,
|
287
|
+
?asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL"),
|
288
|
+
?asset_model_id: ::String,
|
289
|
+
?asset_model_external_id: ::String,
|
287
290
|
?asset_model_description: ::String,
|
288
291
|
?asset_model_properties: Array[
|
289
292
|
{
|
293
|
+
id: ::String?,
|
294
|
+
external_id: ::String?,
|
290
295
|
name: ::String,
|
291
296
|
data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
|
292
297
|
data_type_spec: ::String?,
|
@@ -353,26 +358,28 @@ module Aws
|
|
353
358
|
compute_location: ("EDGE" | "CLOUD")
|
354
359
|
}?
|
355
360
|
}?
|
356
|
-
}
|
357
|
-
id: ::String?,
|
358
|
-
external_id: ::String?
|
361
|
+
}
|
359
362
|
},
|
360
363
|
],
|
361
364
|
?asset_model_hierarchies: Array[
|
362
365
|
{
|
363
|
-
name: ::String,
|
364
|
-
child_asset_model_id: ::String,
|
365
366
|
id: ::String?,
|
366
|
-
external_id: ::String
|
367
|
+
external_id: ::String?,
|
368
|
+
name: ::String,
|
369
|
+
child_asset_model_id: ::String
|
367
370
|
},
|
368
371
|
],
|
369
372
|
?asset_model_composite_models: Array[
|
370
373
|
{
|
374
|
+
id: ::String?,
|
375
|
+
external_id: ::String?,
|
371
376
|
name: ::String,
|
372
377
|
description: ::String?,
|
373
378
|
type: ::String,
|
374
379
|
properties: Array[
|
375
380
|
{
|
381
|
+
id: ::String?,
|
382
|
+
external_id: ::String?,
|
376
383
|
name: ::String,
|
377
384
|
data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
|
378
385
|
data_type_spec: ::String?,
|
@@ -439,20 +446,13 @@ module Aws
|
|
439
446
|
compute_location: ("EDGE" | "CLOUD")
|
440
447
|
}?
|
441
448
|
}?
|
442
|
-
}
|
443
|
-
id: ::String?,
|
444
|
-
external_id: ::String?
|
449
|
+
}
|
445
450
|
},
|
446
|
-
]
|
447
|
-
id: ::String?,
|
448
|
-
external_id: ::String?
|
451
|
+
]?
|
449
452
|
},
|
450
453
|
],
|
451
454
|
?client_token: ::String,
|
452
|
-
?tags: Hash[::String, ::String]
|
453
|
-
?asset_model_id: ::String,
|
454
|
-
?asset_model_external_id: ::String,
|
455
|
-
?asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
|
455
|
+
?tags: Hash[::String, ::String]
|
456
456
|
) -> _CreateAssetModelResponseSuccess
|
457
457
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetModelResponseSuccess
|
458
458
|
|
@@ -465,8 +465,8 @@ module Aws
|
|
465
465
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_asset_model_composite_model-instance_method
|
466
466
|
def create_asset_model_composite_model: (
|
467
467
|
asset_model_id: ::String,
|
468
|
-
?parent_asset_model_composite_model_id: ::String,
|
469
468
|
?asset_model_composite_model_external_id: ::String,
|
469
|
+
?parent_asset_model_composite_model_id: ::String,
|
470
470
|
?asset_model_composite_model_id: ::String,
|
471
471
|
?asset_model_composite_model_description: ::String,
|
472
472
|
asset_model_composite_model_name: ::String,
|
@@ -475,6 +475,8 @@ module Aws
|
|
475
475
|
?composed_asset_model_id: ::String,
|
476
476
|
?asset_model_composite_model_properties: Array[
|
477
477
|
{
|
478
|
+
id: ::String?,
|
479
|
+
external_id: ::String?,
|
478
480
|
name: ::String,
|
479
481
|
data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
|
480
482
|
data_type_spec: ::String?,
|
@@ -541,11 +543,12 @@ module Aws
|
|
541
543
|
compute_location: ("EDGE" | "CLOUD")
|
542
544
|
}?
|
543
545
|
}?
|
544
|
-
}
|
545
|
-
id: ::String?,
|
546
|
-
external_id: ::String?
|
546
|
+
}
|
547
547
|
},
|
548
|
-
]
|
548
|
+
],
|
549
|
+
?if_match: ::String,
|
550
|
+
?if_none_match: ::String,
|
551
|
+
?match_for_version_type: ("LATEST" | "ACTIVE")
|
549
552
|
) -> _CreateAssetModelCompositeModelResponseSuccess
|
550
553
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetModelCompositeModelResponseSuccess
|
551
554
|
|
@@ -614,6 +617,9 @@ module Aws
|
|
614
617
|
}?,
|
615
618
|
greengrass_v2: {
|
616
619
|
core_device_thing_name: ::String
|
620
|
+
}?,
|
621
|
+
siemens_ie: {
|
622
|
+
iot_core_thing_name: ::String
|
617
623
|
}?
|
618
624
|
},
|
619
625
|
?tags: Hash[::String, ::String]
|
@@ -692,7 +698,10 @@ module Aws
|
|
692
698
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_asset_model-instance_method
|
693
699
|
def delete_asset_model: (
|
694
700
|
asset_model_id: ::String,
|
695
|
-
?client_token: ::String
|
701
|
+
?client_token: ::String,
|
702
|
+
?if_match: ::String,
|
703
|
+
?if_none_match: ::String,
|
704
|
+
?match_for_version_type: ("LATEST" | "ACTIVE")
|
696
705
|
) -> _DeleteAssetModelResponseSuccess
|
697
706
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelResponseSuccess
|
698
707
|
|
@@ -704,7 +713,10 @@ module Aws
|
|
704
713
|
def delete_asset_model_composite_model: (
|
705
714
|
asset_model_id: ::String,
|
706
715
|
asset_model_composite_model_id: ::String,
|
707
|
-
?client_token: ::String
|
716
|
+
?client_token: ::String,
|
717
|
+
?if_match: ::String,
|
718
|
+
?if_none_match: ::String,
|
719
|
+
?match_for_version_type: ("LATEST" | "ACTIVE")
|
708
720
|
) -> _DeleteAssetModelCompositeModelResponseSuccess
|
709
721
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelCompositeModelResponseSuccess
|
710
722
|
|
@@ -830,23 +842,26 @@ module Aws
|
|
830
842
|
interface _DescribeAssetModelResponseSuccess
|
831
843
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetModelResponse]
|
832
844
|
def asset_model_id: () -> ::String
|
845
|
+
def asset_model_external_id: () -> ::String
|
833
846
|
def asset_model_arn: () -> ::String
|
834
847
|
def asset_model_name: () -> ::String
|
848
|
+
def asset_model_type: () -> ("ASSET_MODEL" | "COMPONENT_MODEL")
|
835
849
|
def asset_model_description: () -> ::String
|
836
850
|
def asset_model_properties: () -> ::Array[Types::AssetModelProperty]
|
837
851
|
def asset_model_hierarchies: () -> ::Array[Types::AssetModelHierarchy]
|
838
852
|
def asset_model_composite_models: () -> ::Array[Types::AssetModelCompositeModel]
|
853
|
+
def asset_model_composite_model_summaries: () -> ::Array[Types::AssetModelCompositeModelSummary]
|
839
854
|
def asset_model_creation_date: () -> ::Time
|
840
855
|
def asset_model_last_update_date: () -> ::Time
|
841
856
|
def asset_model_status: () -> Types::AssetModelStatus
|
842
|
-
def
|
843
|
-
def
|
844
|
-
def asset_model_external_id: () -> ::String
|
857
|
+
def asset_model_version: () -> ::String
|
858
|
+
def e_tag: () -> ::String
|
845
859
|
end
|
846
860
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model-instance_method
|
847
861
|
def describe_asset_model: (
|
848
862
|
asset_model_id: ::String,
|
849
|
-
?exclude_properties: bool
|
863
|
+
?exclude_properties: bool,
|
864
|
+
?asset_model_version: ::String
|
850
865
|
) -> _DescribeAssetModelResponseSuccess
|
851
866
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelResponseSuccess
|
852
867
|
|
@@ -867,7 +882,8 @@ module Aws
|
|
867
882
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model_composite_model-instance_method
|
868
883
|
def describe_asset_model_composite_model: (
|
869
884
|
asset_model_id: ::String,
|
870
|
-
asset_model_composite_model_id: ::String
|
885
|
+
asset_model_composite_model_id: ::String,
|
886
|
+
?asset_model_version: ::String
|
871
887
|
) -> _DescribeAssetModelCompositeModelResponseSuccess
|
872
888
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelCompositeModelResponseSuccess
|
873
889
|
|
@@ -956,7 +972,7 @@ module Aws
|
|
956
972
|
def gateway_id: () -> ::String
|
957
973
|
def capability_namespace: () -> ::String
|
958
974
|
def capability_configuration: () -> ::String
|
959
|
-
def capability_sync_status: () -> ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN")
|
975
|
+
def capability_sync_status: () -> ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN" | "NOT_APPLICABLE")
|
960
976
|
end
|
961
977
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_gateway_capability_configuration-instance_method
|
962
978
|
def describe_gateway_capability_configuration: (
|
@@ -1214,7 +1230,8 @@ module Aws
|
|
1214
1230
|
def list_asset_model_composite_models: (
|
1215
1231
|
asset_model_id: ::String,
|
1216
1232
|
?next_token: ::String,
|
1217
|
-
?max_results: ::Integer
|
1233
|
+
?max_results: ::Integer,
|
1234
|
+
?asset_model_version: ::String
|
1218
1235
|
) -> _ListAssetModelCompositeModelsResponseSuccess
|
1219
1236
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelCompositeModelsResponseSuccess
|
1220
1237
|
|
@@ -1228,7 +1245,8 @@ module Aws
|
|
1228
1245
|
asset_model_id: ::String,
|
1229
1246
|
?next_token: ::String,
|
1230
1247
|
?max_results: ::Integer,
|
1231
|
-
?filter: ("ALL" | "BASE")
|
1248
|
+
?filter: ("ALL" | "BASE"),
|
1249
|
+
?asset_model_version: ::String
|
1232
1250
|
) -> _ListAssetModelPropertiesResponseSuccess
|
1233
1251
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelPropertiesResponseSuccess
|
1234
1252
|
|
@@ -1239,9 +1257,10 @@ module Aws
|
|
1239
1257
|
end
|
1240
1258
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_asset_models-instance_method
|
1241
1259
|
def list_asset_models: (
|
1260
|
+
?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL")],
|
1242
1261
|
?next_token: ::String,
|
1243
1262
|
?max_results: ::Integer,
|
1244
|
-
?
|
1263
|
+
?asset_model_version: ::String
|
1245
1264
|
) -> _ListAssetModelsResponseSuccess
|
1246
1265
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelsResponseSuccess
|
1247
1266
|
|
@@ -1546,11 +1565,13 @@ module Aws
|
|
1546
1565
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_asset_model-instance_method
|
1547
1566
|
def update_asset_model: (
|
1548
1567
|
asset_model_id: ::String,
|
1568
|
+
?asset_model_external_id: ::String,
|
1549
1569
|
asset_model_name: ::String,
|
1550
1570
|
?asset_model_description: ::String,
|
1551
1571
|
?asset_model_properties: Array[
|
1552
1572
|
{
|
1553
1573
|
id: ::String?,
|
1574
|
+
external_id: ::String?,
|
1554
1575
|
name: ::String,
|
1555
1576
|
data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
|
1556
1577
|
data_type_spec: ::String?,
|
@@ -1623,16 +1644,15 @@ module Aws
|
|
1623
1644
|
id: ::String?,
|
1624
1645
|
name: ::String?
|
1625
1646
|
},
|
1626
|
-
]
|
1627
|
-
external_id: ::String?
|
1647
|
+
]?
|
1628
1648
|
},
|
1629
1649
|
],
|
1630
1650
|
?asset_model_hierarchies: Array[
|
1631
1651
|
{
|
1632
1652
|
id: ::String?,
|
1653
|
+
external_id: ::String?,
|
1633
1654
|
name: ::String,
|
1634
|
-
child_asset_model_id: ::String
|
1635
|
-
external_id: ::String?
|
1655
|
+
child_asset_model_id: ::String
|
1636
1656
|
},
|
1637
1657
|
],
|
1638
1658
|
?asset_model_composite_models: Array[
|
@@ -1643,6 +1663,7 @@ module Aws
|
|
1643
1663
|
properties: Array[
|
1644
1664
|
{
|
1645
1665
|
id: ::String?,
|
1666
|
+
external_id: ::String?,
|
1646
1667
|
name: ::String,
|
1647
1668
|
data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
|
1648
1669
|
data_type_spec: ::String?,
|
@@ -1715,8 +1736,7 @@ module Aws
|
|
1715
1736
|
id: ::String?,
|
1716
1737
|
name: ::String?
|
1717
1738
|
},
|
1718
|
-
]
|
1719
|
-
external_id: ::String?
|
1739
|
+
]?
|
1720
1740
|
},
|
1721
1741
|
]?,
|
1722
1742
|
id: ::String?,
|
@@ -1724,7 +1744,9 @@ module Aws
|
|
1724
1744
|
},
|
1725
1745
|
],
|
1726
1746
|
?client_token: ::String,
|
1727
|
-
?
|
1747
|
+
?if_match: ::String,
|
1748
|
+
?if_none_match: ::String,
|
1749
|
+
?match_for_version_type: ("LATEST" | "ACTIVE")
|
1728
1750
|
) -> _UpdateAssetModelResponseSuccess
|
1729
1751
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetModelResponseSuccess
|
1730
1752
|
|
@@ -1744,6 +1766,7 @@ module Aws
|
|
1744
1766
|
?asset_model_composite_model_properties: Array[
|
1745
1767
|
{
|
1746
1768
|
id: ::String?,
|
1769
|
+
external_id: ::String?,
|
1747
1770
|
name: ::String,
|
1748
1771
|
data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
|
1749
1772
|
data_type_spec: ::String?,
|
@@ -1816,10 +1839,12 @@ module Aws
|
|
1816
1839
|
id: ::String?,
|
1817
1840
|
name: ::String?
|
1818
1841
|
},
|
1819
|
-
]
|
1820
|
-
external_id: ::String?
|
1842
|
+
]?
|
1821
1843
|
},
|
1822
|
-
]
|
1844
|
+
],
|
1845
|
+
?if_match: ::String,
|
1846
|
+
?if_none_match: ::String,
|
1847
|
+
?match_for_version_type: ("LATEST" | "ACTIVE")
|
1823
1848
|
) -> _UpdateAssetModelCompositeModelResponseSuccess
|
1824
1849
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetModelCompositeModelResponseSuccess
|
1825
1850
|
|
@@ -1857,7 +1882,7 @@ module Aws
|
|
1857
1882
|
interface _UpdateGatewayCapabilityConfigurationResponseSuccess
|
1858
1883
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGatewayCapabilityConfigurationResponse]
|
1859
1884
|
def capability_namespace: () -> ::String
|
1860
|
-
def capability_sync_status: () -> ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN")
|
1885
|
+
def capability_sync_status: () -> ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN" | "NOT_APPLICABLE")
|
1861
1886
|
end
|
1862
1887
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_gateway_capability_configuration-instance_method
|
1863
1888
|
def update_gateway_capability_configuration: (
|
@@ -1914,12 +1939,14 @@ module Aws
|
|
1914
1939
|
| (:asset_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetResponseSuccess
|
1915
1940
|
| (:asset_model_active waiter_name,
|
1916
1941
|
asset_model_id: ::String,
|
1917
|
-
?exclude_properties: bool
|
1942
|
+
?exclude_properties: bool,
|
1943
|
+
?asset_model_version: ::String
|
1918
1944
|
) -> Client::_DescribeAssetModelResponseSuccess
|
1919
1945
|
| (:asset_model_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetModelResponseSuccess
|
1920
1946
|
| (:asset_model_not_exists waiter_name,
|
1921
1947
|
asset_model_id: ::String,
|
1922
|
-
?exclude_properties: bool
|
1948
|
+
?exclude_properties: bool,
|
1949
|
+
?asset_model_version: ::String
|
1923
1950
|
) -> Client::_DescribeAssetModelResponseSuccess
|
1924
1951
|
| (:asset_model_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetModelResponseSuccess
|
1925
1952
|
| (:asset_not_exists waiter_name,
|
data/sig/errors.rbs
CHANGED
@@ -28,6 +28,11 @@ module Aws
|
|
28
28
|
class LimitExceededException < ::Aws::Errors::ServiceError
|
29
29
|
def message: () -> ::String
|
30
30
|
end
|
31
|
+
class PreconditionFailedException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def resource_id: () -> ::String
|
34
|
+
def resource_arn: () -> ::String
|
35
|
+
end
|
31
36
|
class QueryTimeoutException < ::Aws::Errors::ServiceError
|
32
37
|
def message: () -> ::String
|
33
38
|
end
|
data/sig/types.rbs
CHANGED
@@ -122,12 +122,12 @@ module Aws::IoTSiteWise
|
|
122
122
|
end
|
123
123
|
|
124
124
|
class AssetModelCompositeModelDefinition
|
125
|
+
attr_accessor id: ::String
|
126
|
+
attr_accessor external_id: ::String
|
125
127
|
attr_accessor name: ::String
|
126
128
|
attr_accessor description: ::String
|
127
129
|
attr_accessor type: ::String
|
128
130
|
attr_accessor properties: ::Array[Types::AssetModelPropertyDefinition]
|
129
|
-
attr_accessor id: ::String
|
130
|
-
attr_accessor external_id: ::String
|
131
131
|
SENSITIVE: []
|
132
132
|
end
|
133
133
|
|
@@ -149,40 +149,40 @@ module Aws::IoTSiteWise
|
|
149
149
|
|
150
150
|
class AssetModelHierarchy
|
151
151
|
attr_accessor id: ::String
|
152
|
+
attr_accessor external_id: ::String
|
152
153
|
attr_accessor name: ::String
|
153
154
|
attr_accessor child_asset_model_id: ::String
|
154
|
-
attr_accessor external_id: ::String
|
155
155
|
SENSITIVE: []
|
156
156
|
end
|
157
157
|
|
158
158
|
class AssetModelHierarchyDefinition
|
159
|
-
attr_accessor name: ::String
|
160
|
-
attr_accessor child_asset_model_id: ::String
|
161
159
|
attr_accessor id: ::String
|
162
160
|
attr_accessor external_id: ::String
|
161
|
+
attr_accessor name: ::String
|
162
|
+
attr_accessor child_asset_model_id: ::String
|
163
163
|
SENSITIVE: []
|
164
164
|
end
|
165
165
|
|
166
166
|
class AssetModelProperty
|
167
167
|
attr_accessor id: ::String
|
168
|
+
attr_accessor external_id: ::String
|
168
169
|
attr_accessor name: ::String
|
169
170
|
attr_accessor data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT")
|
170
171
|
attr_accessor data_type_spec: ::String
|
171
172
|
attr_accessor unit: ::String
|
172
173
|
attr_accessor type: Types::PropertyType
|
173
174
|
attr_accessor path: ::Array[Types::AssetModelPropertyPathSegment]
|
174
|
-
attr_accessor external_id: ::String
|
175
175
|
SENSITIVE: []
|
176
176
|
end
|
177
177
|
|
178
178
|
class AssetModelPropertyDefinition
|
179
|
+
attr_accessor id: ::String
|
180
|
+
attr_accessor external_id: ::String
|
179
181
|
attr_accessor name: ::String
|
180
182
|
attr_accessor data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT")
|
181
183
|
attr_accessor data_type_spec: ::String
|
182
184
|
attr_accessor unit: ::String
|
183
185
|
attr_accessor type: Types::PropertyType
|
184
|
-
attr_accessor id: ::String
|
185
|
-
attr_accessor external_id: ::String
|
186
186
|
SENSITIVE: []
|
187
187
|
end
|
188
188
|
|
@@ -194,6 +194,7 @@ module Aws::IoTSiteWise
|
|
194
194
|
|
195
195
|
class AssetModelPropertySummary
|
196
196
|
attr_accessor id: ::String
|
197
|
+
attr_accessor external_id: ::String
|
197
198
|
attr_accessor name: ::String
|
198
199
|
attr_accessor data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT")
|
199
200
|
attr_accessor data_type_spec: ::String
|
@@ -201,7 +202,6 @@ module Aws::IoTSiteWise
|
|
201
202
|
attr_accessor type: Types::PropertyType
|
202
203
|
attr_accessor asset_model_composite_model_id: ::String
|
203
204
|
attr_accessor path: ::Array[Types::AssetModelPropertyPathSegment]
|
204
|
-
attr_accessor external_id: ::String
|
205
205
|
SENSITIVE: []
|
206
206
|
end
|
207
207
|
|
@@ -213,14 +213,15 @@ module Aws::IoTSiteWise
|
|
213
213
|
|
214
214
|
class AssetModelSummary
|
215
215
|
attr_accessor id: ::String
|
216
|
+
attr_accessor external_id: ::String
|
216
217
|
attr_accessor arn: ::String
|
217
218
|
attr_accessor name: ::String
|
219
|
+
attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
|
218
220
|
attr_accessor description: ::String
|
219
221
|
attr_accessor creation_date: ::Time
|
220
222
|
attr_accessor last_update_date: ::Time
|
221
223
|
attr_accessor status: Types::AssetModelStatus
|
222
|
-
attr_accessor
|
223
|
-
attr_accessor external_id: ::String
|
224
|
+
attr_accessor version: ::String
|
224
225
|
SENSITIVE: []
|
225
226
|
end
|
226
227
|
|
@@ -598,8 +599,8 @@ module Aws::IoTSiteWise
|
|
598
599
|
|
599
600
|
class CreateAssetModelCompositeModelRequest
|
600
601
|
attr_accessor asset_model_id: ::String
|
601
|
-
attr_accessor parent_asset_model_composite_model_id: ::String
|
602
602
|
attr_accessor asset_model_composite_model_external_id: ::String
|
603
|
+
attr_accessor parent_asset_model_composite_model_id: ::String
|
603
604
|
attr_accessor asset_model_composite_model_id: ::String
|
604
605
|
attr_accessor asset_model_composite_model_description: ::String
|
605
606
|
attr_accessor asset_model_composite_model_name: ::String
|
@@ -607,6 +608,9 @@ module Aws::IoTSiteWise
|
|
607
608
|
attr_accessor client_token: ::String
|
608
609
|
attr_accessor composed_asset_model_id: ::String
|
609
610
|
attr_accessor asset_model_composite_model_properties: ::Array[Types::AssetModelPropertyDefinition]
|
611
|
+
attr_accessor if_match: ::String
|
612
|
+
attr_accessor if_none_match: ::String
|
613
|
+
attr_accessor match_for_version_type: ("LATEST" | "ACTIVE")
|
610
614
|
SENSITIVE: []
|
611
615
|
end
|
612
616
|
|
@@ -619,15 +623,15 @@ module Aws::IoTSiteWise
|
|
619
623
|
|
620
624
|
class CreateAssetModelRequest
|
621
625
|
attr_accessor asset_model_name: ::String
|
626
|
+
attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
|
627
|
+
attr_accessor asset_model_id: ::String
|
628
|
+
attr_accessor asset_model_external_id: ::String
|
622
629
|
attr_accessor asset_model_description: ::String
|
623
630
|
attr_accessor asset_model_properties: ::Array[Types::AssetModelPropertyDefinition]
|
624
631
|
attr_accessor asset_model_hierarchies: ::Array[Types::AssetModelHierarchyDefinition]
|
625
632
|
attr_accessor asset_model_composite_models: ::Array[Types::AssetModelCompositeModelDefinition]
|
626
633
|
attr_accessor client_token: ::String
|
627
634
|
attr_accessor tags: ::Hash[::String, ::String]
|
628
|
-
attr_accessor asset_model_id: ::String
|
629
|
-
attr_accessor asset_model_external_id: ::String
|
630
|
-
attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
|
631
635
|
SENSITIVE: []
|
632
636
|
end
|
633
637
|
|
@@ -782,6 +786,9 @@ module Aws::IoTSiteWise
|
|
782
786
|
attr_accessor asset_model_id: ::String
|
783
787
|
attr_accessor asset_model_composite_model_id: ::String
|
784
788
|
attr_accessor client_token: ::String
|
789
|
+
attr_accessor if_match: ::String
|
790
|
+
attr_accessor if_none_match: ::String
|
791
|
+
attr_accessor match_for_version_type: ("LATEST" | "ACTIVE")
|
785
792
|
SENSITIVE: []
|
786
793
|
end
|
787
794
|
|
@@ -793,6 +800,9 @@ module Aws::IoTSiteWise
|
|
793
800
|
class DeleteAssetModelRequest
|
794
801
|
attr_accessor asset_model_id: ::String
|
795
802
|
attr_accessor client_token: ::String
|
803
|
+
attr_accessor if_match: ::String
|
804
|
+
attr_accessor if_none_match: ::String
|
805
|
+
attr_accessor match_for_version_type: ("LATEST" | "ACTIVE")
|
796
806
|
SENSITIVE: []
|
797
807
|
end
|
798
808
|
|
@@ -907,6 +917,7 @@ module Aws::IoTSiteWise
|
|
907
917
|
class DescribeAssetModelCompositeModelRequest
|
908
918
|
attr_accessor asset_model_id: ::String
|
909
919
|
attr_accessor asset_model_composite_model_id: ::String
|
920
|
+
attr_accessor asset_model_version: ::String
|
910
921
|
SENSITIVE: []
|
911
922
|
end
|
912
923
|
|
@@ -928,23 +939,26 @@ module Aws::IoTSiteWise
|
|
928
939
|
class DescribeAssetModelRequest
|
929
940
|
attr_accessor asset_model_id: ::String
|
930
941
|
attr_accessor exclude_properties: bool
|
942
|
+
attr_accessor asset_model_version: ::String
|
931
943
|
SENSITIVE: []
|
932
944
|
end
|
933
945
|
|
934
946
|
class DescribeAssetModelResponse
|
935
947
|
attr_accessor asset_model_id: ::String
|
948
|
+
attr_accessor asset_model_external_id: ::String
|
936
949
|
attr_accessor asset_model_arn: ::String
|
937
950
|
attr_accessor asset_model_name: ::String
|
951
|
+
attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
|
938
952
|
attr_accessor asset_model_description: ::String
|
939
953
|
attr_accessor asset_model_properties: ::Array[Types::AssetModelProperty]
|
940
954
|
attr_accessor asset_model_hierarchies: ::Array[Types::AssetModelHierarchy]
|
941
955
|
attr_accessor asset_model_composite_models: ::Array[Types::AssetModelCompositeModel]
|
956
|
+
attr_accessor asset_model_composite_model_summaries: ::Array[Types::AssetModelCompositeModelSummary]
|
942
957
|
attr_accessor asset_model_creation_date: ::Time
|
943
958
|
attr_accessor asset_model_last_update_date: ::Time
|
944
959
|
attr_accessor asset_model_status: Types::AssetModelStatus
|
945
|
-
attr_accessor
|
946
|
-
attr_accessor
|
947
|
-
attr_accessor asset_model_external_id: ::String
|
960
|
+
attr_accessor asset_model_version: ::String
|
961
|
+
attr_accessor e_tag: ::String
|
948
962
|
SENSITIVE: []
|
949
963
|
end
|
950
964
|
|
@@ -1044,7 +1058,7 @@ module Aws::IoTSiteWise
|
|
1044
1058
|
attr_accessor gateway_id: ::String
|
1045
1059
|
attr_accessor capability_namespace: ::String
|
1046
1060
|
attr_accessor capability_configuration: ::String
|
1047
|
-
attr_accessor capability_sync_status: ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN")
|
1061
|
+
attr_accessor capability_sync_status: ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN" | "NOT_APPLICABLE")
|
1048
1062
|
SENSITIVE: []
|
1049
1063
|
end
|
1050
1064
|
|
@@ -1235,13 +1249,14 @@ module Aws::IoTSiteWise
|
|
1235
1249
|
|
1236
1250
|
class GatewayCapabilitySummary
|
1237
1251
|
attr_accessor capability_namespace: ::String
|
1238
|
-
attr_accessor capability_sync_status: ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN")
|
1252
|
+
attr_accessor capability_sync_status: ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN" | "NOT_APPLICABLE")
|
1239
1253
|
SENSITIVE: []
|
1240
1254
|
end
|
1241
1255
|
|
1242
1256
|
class GatewayPlatform
|
1243
1257
|
attr_accessor greengrass: Types::Greengrass
|
1244
1258
|
attr_accessor greengrass_v2: Types::GreengrassV2
|
1259
|
+
attr_accessor siemens_ie: Types::SiemensIE
|
1245
1260
|
SENSITIVE: []
|
1246
1261
|
end
|
1247
1262
|
|
@@ -1449,6 +1464,7 @@ module Aws::IoTSiteWise
|
|
1449
1464
|
attr_accessor asset_model_id: ::String
|
1450
1465
|
attr_accessor next_token: ::String
|
1451
1466
|
attr_accessor max_results: ::Integer
|
1467
|
+
attr_accessor asset_model_version: ::String
|
1452
1468
|
SENSITIVE: []
|
1453
1469
|
end
|
1454
1470
|
|
@@ -1463,6 +1479,7 @@ module Aws::IoTSiteWise
|
|
1463
1479
|
attr_accessor next_token: ::String
|
1464
1480
|
attr_accessor max_results: ::Integer
|
1465
1481
|
attr_accessor filter: ("ALL" | "BASE")
|
1482
|
+
attr_accessor asset_model_version: ::String
|
1466
1483
|
SENSITIVE: []
|
1467
1484
|
end
|
1468
1485
|
|
@@ -1473,9 +1490,10 @@ module Aws::IoTSiteWise
|
|
1473
1490
|
end
|
1474
1491
|
|
1475
1492
|
class ListAssetModelsRequest
|
1493
|
+
attr_accessor asset_model_types: ::Array[("ASSET_MODEL" | "COMPONENT_MODEL")]
|
1476
1494
|
attr_accessor next_token: ::String
|
1477
1495
|
attr_accessor max_results: ::Integer
|
1478
|
-
attr_accessor
|
1496
|
+
attr_accessor asset_model_version: ::String
|
1479
1497
|
SENSITIVE: []
|
1480
1498
|
end
|
1481
1499
|
|
@@ -1726,6 +1744,13 @@ module Aws::IoTSiteWise
|
|
1726
1744
|
SENSITIVE: []
|
1727
1745
|
end
|
1728
1746
|
|
1747
|
+
class PreconditionFailedException
|
1748
|
+
attr_accessor message: ::String
|
1749
|
+
attr_accessor resource_id: ::String
|
1750
|
+
attr_accessor resource_arn: ::String
|
1751
|
+
SENSITIVE: []
|
1752
|
+
end
|
1753
|
+
|
1729
1754
|
class ProjectResource
|
1730
1755
|
attr_accessor id: ::String
|
1731
1756
|
SENSITIVE: []
|
@@ -1857,6 +1882,11 @@ module Aws::IoTSiteWise
|
|
1857
1882
|
SENSITIVE: []
|
1858
1883
|
end
|
1859
1884
|
|
1885
|
+
class SiemensIE
|
1886
|
+
attr_accessor iot_core_thing_name: ::String
|
1887
|
+
SENSITIVE: []
|
1888
|
+
end
|
1889
|
+
|
1860
1890
|
class TagResourceRequest
|
1861
1891
|
attr_accessor resource_arn: ::String
|
1862
1892
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -1954,6 +1984,9 @@ module Aws::IoTSiteWise
|
|
1954
1984
|
attr_accessor asset_model_composite_model_name: ::String
|
1955
1985
|
attr_accessor client_token: ::String
|
1956
1986
|
attr_accessor asset_model_composite_model_properties: ::Array[Types::AssetModelProperty]
|
1987
|
+
attr_accessor if_match: ::String
|
1988
|
+
attr_accessor if_none_match: ::String
|
1989
|
+
attr_accessor match_for_version_type: ("LATEST" | "ACTIVE")
|
1957
1990
|
SENSITIVE: []
|
1958
1991
|
end
|
1959
1992
|
|
@@ -1965,13 +1998,16 @@ module Aws::IoTSiteWise
|
|
1965
1998
|
|
1966
1999
|
class UpdateAssetModelRequest
|
1967
2000
|
attr_accessor asset_model_id: ::String
|
2001
|
+
attr_accessor asset_model_external_id: ::String
|
1968
2002
|
attr_accessor asset_model_name: ::String
|
1969
2003
|
attr_accessor asset_model_description: ::String
|
1970
2004
|
attr_accessor asset_model_properties: ::Array[Types::AssetModelProperty]
|
1971
2005
|
attr_accessor asset_model_hierarchies: ::Array[Types::AssetModelHierarchy]
|
1972
2006
|
attr_accessor asset_model_composite_models: ::Array[Types::AssetModelCompositeModel]
|
1973
2007
|
attr_accessor client_token: ::String
|
1974
|
-
attr_accessor
|
2008
|
+
attr_accessor if_match: ::String
|
2009
|
+
attr_accessor if_none_match: ::String
|
2010
|
+
attr_accessor match_for_version_type: ("LATEST" | "ACTIVE")
|
1975
2011
|
SENSITIVE: []
|
1976
2012
|
end
|
1977
2013
|
|
@@ -2025,7 +2061,7 @@ module Aws::IoTSiteWise
|
|
2025
2061
|
|
2026
2062
|
class UpdateGatewayCapabilityConfigurationResponse
|
2027
2063
|
attr_accessor capability_namespace: ::String
|
2028
|
-
attr_accessor capability_sync_status: ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN")
|
2064
|
+
attr_accessor capability_sync_status: ("IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN" | "NOT_APPLICABLE")
|
2029
2065
|
SENSITIVE: []
|
2030
2066
|
end
|
2031
2067
|
|