aws-sdk-iotsitewise 1.90.0 → 1.91.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.
data/sig/client.rbs CHANGED
@@ -296,7 +296,7 @@ module Aws
296
296
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_asset_model-instance_method
297
297
  def create_asset_model: (
298
298
  asset_model_name: ::String,
299
- ?asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL"),
299
+ ?asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE"),
300
300
  ?asset_model_id: ::String,
301
301
  ?asset_model_external_id: ::String,
302
302
  ?asset_model_description: ::String,
@@ -344,7 +344,7 @@ module Aws
344
344
  }?
345
345
  }?,
346
346
  metric: {
347
- expression: ::String,
347
+ expression: ::String?,
348
348
  variables: Array[
349
349
  {
350
350
  name: ::String,
@@ -359,7 +359,7 @@ module Aws
359
359
  ]?
360
360
  }
361
361
  },
362
- ],
362
+ ]?,
363
363
  window: {
364
364
  tumbling: {
365
365
  interval: ::String,
@@ -432,7 +432,7 @@ module Aws
432
432
  }?
433
433
  }?,
434
434
  metric: {
435
- expression: ::String,
435
+ expression: ::String?,
436
436
  variables: Array[
437
437
  {
438
438
  name: ::String,
@@ -447,7 +447,7 @@ module Aws
447
447
  ]?
448
448
  }
449
449
  },
450
- ],
450
+ ]?,
451
451
  window: {
452
452
  tumbling: {
453
453
  interval: ::String,
@@ -529,7 +529,7 @@ module Aws
529
529
  }?
530
530
  }?,
531
531
  metric: {
532
- expression: ::String,
532
+ expression: ::String?,
533
533
  variables: Array[
534
534
  {
535
535
  name: ::String,
@@ -544,7 +544,7 @@ module Aws
544
544
  ]?
545
545
  }
546
546
  },
547
- ],
547
+ ]?,
548
548
  window: {
549
549
  tumbling: {
550
550
  interval: ::String,
@@ -798,6 +798,21 @@ module Aws
798
798
  ) -> _DeleteAssetModelCompositeModelResponseSuccess
799
799
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelCompositeModelResponseSuccess
800
800
 
801
+ interface _DeleteAssetModelInterfaceRelationshipResponseSuccess
802
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssetModelInterfaceRelationshipResponse]
803
+ def asset_model_id: () -> ::String
804
+ def interface_asset_model_id: () -> ::String
805
+ def asset_model_arn: () -> ::String
806
+ def asset_model_status: () -> Types::AssetModelStatus
807
+ end
808
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_asset_model_interface_relationship-instance_method
809
+ def delete_asset_model_interface_relationship: (
810
+ asset_model_id: ::String,
811
+ interface_asset_model_id: ::String,
812
+ ?client_token: ::String
813
+ ) -> _DeleteAssetModelInterfaceRelationshipResponseSuccess
814
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelInterfaceRelationshipResponseSuccess
815
+
801
816
  interface _DeleteComputationModelResponseSuccess
802
817
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteComputationModelResponse]
803
818
  def computation_model_status: () -> Types::ComputationModelStatus
@@ -946,7 +961,7 @@ module Aws
946
961
  def asset_model_external_id: () -> ::String
947
962
  def asset_model_arn: () -> ::String
948
963
  def asset_model_name: () -> ::String
949
- def asset_model_type: () -> ("ASSET_MODEL" | "COMPONENT_MODEL")
964
+ def asset_model_type: () -> ("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE")
950
965
  def asset_model_description: () -> ::String
951
966
  def asset_model_properties: () -> ::Array[Types::AssetModelProperty]
952
967
  def asset_model_hierarchies: () -> ::Array[Types::AssetModelHierarchy]
@@ -956,6 +971,7 @@ module Aws
956
971
  def asset_model_last_update_date: () -> ::Time
957
972
  def asset_model_status: () -> Types::AssetModelStatus
958
973
  def asset_model_version: () -> ::String
974
+ def interface_details: () -> ::Array[Types::InterfaceRelationship]
959
975
  def e_tag: () -> ::String
960
976
  end
961
977
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model-instance_method
@@ -988,6 +1004,20 @@ module Aws
988
1004
  ) -> _DescribeAssetModelCompositeModelResponseSuccess
989
1005
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelCompositeModelResponseSuccess
990
1006
 
1007
+ interface _DescribeAssetModelInterfaceRelationshipResponseSuccess
1008
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetModelInterfaceRelationshipResponse]
1009
+ def asset_model_id: () -> ::String
1010
+ def interface_asset_model_id: () -> ::String
1011
+ def property_mappings: () -> ::Array[Types::PropertyMapping]
1012
+ def hierarchy_mappings: () -> ::Array[Types::HierarchyMapping]
1013
+ end
1014
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model_interface_relationship-instance_method
1015
+ def describe_asset_model_interface_relationship: (
1016
+ asset_model_id: ::String,
1017
+ interface_asset_model_id: ::String
1018
+ ) -> _DescribeAssetModelInterfaceRelationshipResponseSuccess
1019
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelInterfaceRelationshipResponseSuccess
1020
+
991
1021
  interface _DescribeAssetPropertyResponseSuccess
992
1022
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetPropertyResponse]
993
1023
  def asset_id: () -> ::String
@@ -1454,7 +1484,7 @@ module Aws
1454
1484
  end
1455
1485
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_asset_models-instance_method
1456
1486
  def list_asset_models: (
1457
- ?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL")],
1487
+ ?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE")],
1458
1488
  ?next_token: ::String,
1459
1489
  ?max_results: ::Integer,
1460
1490
  ?asset_model_version: ::String
@@ -1653,6 +1683,19 @@ module Aws
1653
1683
  ) -> _ListGatewaysResponseSuccess
1654
1684
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGatewaysResponseSuccess
1655
1685
 
1686
+ interface _ListInterfaceRelationshipsResponseSuccess
1687
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInterfaceRelationshipsResponse]
1688
+ def interface_relationship_summaries: () -> ::Array[Types::InterfaceRelationshipSummary]
1689
+ def next_token: () -> ::String
1690
+ end
1691
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_interface_relationships-instance_method
1692
+ def list_interface_relationships: (
1693
+ interface_asset_model_id: ::String,
1694
+ ?next_token: ::String,
1695
+ ?max_results: ::Integer
1696
+ ) -> _ListInterfaceRelationshipsResponseSuccess
1697
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInterfaceRelationshipsResponseSuccess
1698
+
1656
1699
  interface _ListPortalsResponseSuccess
1657
1700
  include ::Seahorse::Client::_ResponseSuccess[Types::ListPortalsResponse]
1658
1701
  def portal_summaries: () -> ::Array[Types::PortalSummary]
@@ -1716,6 +1759,31 @@ module Aws
1716
1759
  ) -> _ListTimeSeriesResponseSuccess
1717
1760
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTimeSeriesResponseSuccess
1718
1761
 
1762
+ interface _PutAssetModelInterfaceRelationshipResponseSuccess
1763
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAssetModelInterfaceRelationshipResponse]
1764
+ def asset_model_id: () -> ::String
1765
+ def interface_asset_model_id: () -> ::String
1766
+ def asset_model_arn: () -> ::String
1767
+ def asset_model_status: () -> Types::AssetModelStatus
1768
+ end
1769
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#put_asset_model_interface_relationship-instance_method
1770
+ def put_asset_model_interface_relationship: (
1771
+ asset_model_id: ::String,
1772
+ interface_asset_model_id: ::String,
1773
+ property_mapping_configuration: {
1774
+ match_by_property_name: bool?,
1775
+ create_missing_property: bool?,
1776
+ overrides: Array[
1777
+ {
1778
+ asset_model_property_id: ::String,
1779
+ interface_asset_model_property_id: ::String
1780
+ },
1781
+ ]?
1782
+ },
1783
+ ?client_token: ::String
1784
+ ) -> _PutAssetModelInterfaceRelationshipResponseSuccess
1785
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAssetModelInterfaceRelationshipResponseSuccess
1786
+
1719
1787
  interface _PutDefaultEncryptionConfigurationResponseSuccess
1720
1788
  include ::Seahorse::Client::_ResponseSuccess[Types::PutDefaultEncryptionConfigurationResponse]
1721
1789
  def encryption_type: () -> ("SITEWISE_DEFAULT_ENCRYPTION" | "KMS_BASED_ENCRYPTION")
@@ -1895,7 +1963,7 @@ module Aws
1895
1963
  }?
1896
1964
  }?,
1897
1965
  metric: {
1898
- expression: ::String,
1966
+ expression: ::String?,
1899
1967
  variables: Array[
1900
1968
  {
1901
1969
  name: ::String,
@@ -1910,7 +1978,7 @@ module Aws
1910
1978
  ]?
1911
1979
  }
1912
1980
  },
1913
- ],
1981
+ ]?,
1914
1982
  window: {
1915
1983
  tumbling: {
1916
1984
  interval: ::String,
@@ -1987,7 +2055,7 @@ module Aws
1987
2055
  }?
1988
2056
  }?,
1989
2057
  metric: {
1990
- expression: ::String,
2058
+ expression: ::String?,
1991
2059
  variables: Array[
1992
2060
  {
1993
2061
  name: ::String,
@@ -2002,7 +2070,7 @@ module Aws
2002
2070
  ]?
2003
2071
  }
2004
2072
  },
2005
- ],
2073
+ ]?,
2006
2074
  window: {
2007
2075
  tumbling: {
2008
2076
  interval: ::String,
@@ -2090,7 +2158,7 @@ module Aws
2090
2158
  }?
2091
2159
  }?,
2092
2160
  metric: {
2093
- expression: ::String,
2161
+ expression: ::String?,
2094
2162
  variables: Array[
2095
2163
  {
2096
2164
  name: ::String,
@@ -2105,7 +2173,7 @@ module Aws
2105
2173
  ]?
2106
2174
  }
2107
2175
  },
2108
- ],
2176
+ ]?,
2109
2177
  window: {
2110
2178
  tumbling: {
2111
2179
  interval: ::String,
data/sig/types.rbs CHANGED
@@ -226,6 +226,7 @@ module Aws::IoTSiteWise
226
226
  attr_accessor type: Types::PropertyType
227
227
  attr_accessor asset_model_composite_model_id: ::String
228
228
  attr_accessor path: ::Array[Types::AssetModelPropertyPathSegment]
229
+ attr_accessor interface_summaries: ::Array[Types::InterfaceSummary]
229
230
  SENSITIVE: []
230
231
  end
231
232
 
@@ -240,7 +241,7 @@ module Aws::IoTSiteWise
240
241
  attr_accessor external_id: ::String
241
242
  attr_accessor arn: ::String
242
243
  attr_accessor name: ::String
243
- attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
244
+ attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE")
244
245
  attr_accessor description: ::String
245
246
  attr_accessor creation_date: ::Time
246
247
  attr_accessor last_update_date: ::Time
@@ -720,7 +721,7 @@ module Aws::IoTSiteWise
720
721
 
721
722
  class CreateAssetModelRequest
722
723
  attr_accessor asset_model_name: ::String
723
- attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
724
+ attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE")
724
725
  attr_accessor asset_model_id: ::String
725
726
  attr_accessor asset_model_external_id: ::String
726
727
  attr_accessor asset_model_description: ::String
@@ -975,6 +976,21 @@ module Aws::IoTSiteWise
975
976
  SENSITIVE: []
976
977
  end
977
978
 
979
+ class DeleteAssetModelInterfaceRelationshipRequest
980
+ attr_accessor asset_model_id: ::String
981
+ attr_accessor interface_asset_model_id: ::String
982
+ attr_accessor client_token: ::String
983
+ SENSITIVE: []
984
+ end
985
+
986
+ class DeleteAssetModelInterfaceRelationshipResponse
987
+ attr_accessor asset_model_id: ::String
988
+ attr_accessor interface_asset_model_id: ::String
989
+ attr_accessor asset_model_arn: ::String
990
+ attr_accessor asset_model_status: Types::AssetModelStatus
991
+ SENSITIVE: []
992
+ end
993
+
978
994
  class DeleteAssetModelRequest
979
995
  attr_accessor asset_model_id: ::String
980
996
  attr_accessor client_token: ::String
@@ -1137,6 +1153,20 @@ module Aws::IoTSiteWise
1137
1153
  SENSITIVE: []
1138
1154
  end
1139
1155
 
1156
+ class DescribeAssetModelInterfaceRelationshipRequest
1157
+ attr_accessor asset_model_id: ::String
1158
+ attr_accessor interface_asset_model_id: ::String
1159
+ SENSITIVE: []
1160
+ end
1161
+
1162
+ class DescribeAssetModelInterfaceRelationshipResponse
1163
+ attr_accessor asset_model_id: ::String
1164
+ attr_accessor interface_asset_model_id: ::String
1165
+ attr_accessor property_mappings: ::Array[Types::PropertyMapping]
1166
+ attr_accessor hierarchy_mappings: ::Array[Types::HierarchyMapping]
1167
+ SENSITIVE: []
1168
+ end
1169
+
1140
1170
  class DescribeAssetModelRequest
1141
1171
  attr_accessor asset_model_id: ::String
1142
1172
  attr_accessor exclude_properties: bool
@@ -1149,7 +1179,7 @@ module Aws::IoTSiteWise
1149
1179
  attr_accessor asset_model_external_id: ::String
1150
1180
  attr_accessor asset_model_arn: ::String
1151
1181
  attr_accessor asset_model_name: ::String
1152
- attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
1182
+ attr_accessor asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE")
1153
1183
  attr_accessor asset_model_description: ::String
1154
1184
  attr_accessor asset_model_properties: ::Array[Types::AssetModelProperty]
1155
1185
  attr_accessor asset_model_hierarchies: ::Array[Types::AssetModelHierarchy]
@@ -1159,6 +1189,7 @@ module Aws::IoTSiteWise
1159
1189
  attr_accessor asset_model_last_update_date: ::Time
1160
1190
  attr_accessor asset_model_status: Types::AssetModelStatus
1161
1191
  attr_accessor asset_model_version: ::String
1192
+ attr_accessor interface_details: ::Array[Types::InterfaceRelationship]
1162
1193
  attr_accessor e_tag: ::String
1163
1194
  SENSITIVE: []
1164
1195
  end
@@ -1659,6 +1690,12 @@ module Aws::IoTSiteWise
1659
1690
  SENSITIVE: []
1660
1691
  end
1661
1692
 
1693
+ class HierarchyMapping
1694
+ attr_accessor asset_model_hierarchy_id: ::String
1695
+ attr_accessor interface_asset_model_hierarchy_id: ::String
1696
+ SENSITIVE: []
1697
+ end
1698
+
1662
1699
  class IAMRoleIdentity
1663
1700
  attr_accessor arn: ::String
1664
1701
  SENSITIVE: []
@@ -1695,6 +1732,22 @@ module Aws::IoTSiteWise
1695
1732
  SENSITIVE: []
1696
1733
  end
1697
1734
 
1735
+ class InterfaceRelationship
1736
+ attr_accessor id: ::String
1737
+ SENSITIVE: []
1738
+ end
1739
+
1740
+ class InterfaceRelationshipSummary
1741
+ attr_accessor id: ::String
1742
+ SENSITIVE: []
1743
+ end
1744
+
1745
+ class InterfaceSummary
1746
+ attr_accessor interface_asset_model_id: ::String
1747
+ attr_accessor interface_asset_model_property_id: ::String
1748
+ SENSITIVE: []
1749
+ end
1750
+
1698
1751
  class InternalFailureException
1699
1752
  attr_accessor message: ::String
1700
1753
  attr_accessor event_type: untyped
@@ -1820,7 +1873,7 @@ module Aws::IoTSiteWise
1820
1873
  end
1821
1874
 
1822
1875
  class ListAssetModelsRequest
1823
- attr_accessor asset_model_types: ::Array[("ASSET_MODEL" | "COMPONENT_MODEL")]
1876
+ attr_accessor asset_model_types: ::Array[("ASSET_MODEL" | "COMPONENT_MODEL" | "INTERFACE")]
1824
1877
  attr_accessor next_token: ::String
1825
1878
  attr_accessor max_results: ::Integer
1826
1879
  attr_accessor asset_model_version: ::String
@@ -2010,6 +2063,19 @@ module Aws::IoTSiteWise
2010
2063
  SENSITIVE: []
2011
2064
  end
2012
2065
 
2066
+ class ListInterfaceRelationshipsRequest
2067
+ attr_accessor interface_asset_model_id: ::String
2068
+ attr_accessor next_token: ::String
2069
+ attr_accessor max_results: ::Integer
2070
+ SENSITIVE: []
2071
+ end
2072
+
2073
+ class ListInterfaceRelationshipsResponse
2074
+ attr_accessor interface_relationship_summaries: ::Array[Types::InterfaceRelationshipSummary]
2075
+ attr_accessor next_token: ::String
2076
+ SENSITIVE: []
2077
+ end
2078
+
2013
2079
  class ListPortalsRequest
2014
2080
  attr_accessor next_token: ::String
2015
2081
  attr_accessor max_results: ::Integer
@@ -2193,6 +2259,19 @@ module Aws::IoTSiteWise
2193
2259
  SENSITIVE: []
2194
2260
  end
2195
2261
 
2262
+ class PropertyMapping
2263
+ attr_accessor asset_model_property_id: ::String
2264
+ attr_accessor interface_asset_model_property_id: ::String
2265
+ SENSITIVE: []
2266
+ end
2267
+
2268
+ class PropertyMappingConfiguration
2269
+ attr_accessor match_by_property_name: bool
2270
+ attr_accessor create_missing_property: bool
2271
+ attr_accessor overrides: ::Array[Types::PropertyMapping]
2272
+ SENSITIVE: []
2273
+ end
2274
+
2196
2275
  class PropertyNotification
2197
2276
  attr_accessor topic: ::String
2198
2277
  attr_accessor state: ("ENABLED" | "DISABLED")
@@ -2212,6 +2291,22 @@ module Aws::IoTSiteWise
2212
2291
  SENSITIVE: []
2213
2292
  end
2214
2293
 
2294
+ class PutAssetModelInterfaceRelationshipRequest
2295
+ attr_accessor asset_model_id: ::String
2296
+ attr_accessor interface_asset_model_id: ::String
2297
+ attr_accessor property_mapping_configuration: Types::PropertyMappingConfiguration
2298
+ attr_accessor client_token: ::String
2299
+ SENSITIVE: []
2300
+ end
2301
+
2302
+ class PutAssetModelInterfaceRelationshipResponse
2303
+ attr_accessor asset_model_id: ::String
2304
+ attr_accessor interface_asset_model_id: ::String
2305
+ attr_accessor asset_model_arn: ::String
2306
+ attr_accessor asset_model_status: Types::AssetModelStatus
2307
+ SENSITIVE: []
2308
+ end
2309
+
2215
2310
  class PutAssetPropertyValueEntry
2216
2311
  attr_accessor entry_id: ::String
2217
2312
  attr_accessor asset_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsitewise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.90.0
4
+ version: 1.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services