aws-sdk-iotsitewise 1.68.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.
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-iotsitewise/customizations'
53
53
  # @!group service
54
54
  module Aws::IoTSiteWise
55
55
 
56
- GEM_VERSION = '1.68.0'
56
+ GEM_VERSION = '1.69.0'
57
57
 
58
58
  end
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
 
@@ -695,7 +698,10 @@ module Aws
695
698
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_asset_model-instance_method
696
699
  def delete_asset_model: (
697
700
  asset_model_id: ::String,
698
- ?client_token: ::String
701
+ ?client_token: ::String,
702
+ ?if_match: ::String,
703
+ ?if_none_match: ::String,
704
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
699
705
  ) -> _DeleteAssetModelResponseSuccess
700
706
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelResponseSuccess
701
707
 
@@ -707,7 +713,10 @@ module Aws
707
713
  def delete_asset_model_composite_model: (
708
714
  asset_model_id: ::String,
709
715
  asset_model_composite_model_id: ::String,
710
- ?client_token: ::String
716
+ ?client_token: ::String,
717
+ ?if_match: ::String,
718
+ ?if_none_match: ::String,
719
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
711
720
  ) -> _DeleteAssetModelCompositeModelResponseSuccess
712
721
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelCompositeModelResponseSuccess
713
722
 
@@ -833,23 +842,26 @@ module Aws
833
842
  interface _DescribeAssetModelResponseSuccess
834
843
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetModelResponse]
835
844
  def asset_model_id: () -> ::String
845
+ def asset_model_external_id: () -> ::String
836
846
  def asset_model_arn: () -> ::String
837
847
  def asset_model_name: () -> ::String
848
+ def asset_model_type: () -> ("ASSET_MODEL" | "COMPONENT_MODEL")
838
849
  def asset_model_description: () -> ::String
839
850
  def asset_model_properties: () -> ::Array[Types::AssetModelProperty]
840
851
  def asset_model_hierarchies: () -> ::Array[Types::AssetModelHierarchy]
841
852
  def asset_model_composite_models: () -> ::Array[Types::AssetModelCompositeModel]
853
+ def asset_model_composite_model_summaries: () -> ::Array[Types::AssetModelCompositeModelSummary]
842
854
  def asset_model_creation_date: () -> ::Time
843
855
  def asset_model_last_update_date: () -> ::Time
844
856
  def asset_model_status: () -> Types::AssetModelStatus
845
- def asset_model_type: () -> ("ASSET_MODEL" | "COMPONENT_MODEL")
846
- def asset_model_composite_model_summaries: () -> ::Array[Types::AssetModelCompositeModelSummary]
847
- def asset_model_external_id: () -> ::String
857
+ def asset_model_version: () -> ::String
858
+ def e_tag: () -> ::String
848
859
  end
849
860
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model-instance_method
850
861
  def describe_asset_model: (
851
862
  asset_model_id: ::String,
852
- ?exclude_properties: bool
863
+ ?exclude_properties: bool,
864
+ ?asset_model_version: ::String
853
865
  ) -> _DescribeAssetModelResponseSuccess
854
866
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelResponseSuccess
855
867
 
@@ -870,7 +882,8 @@ module Aws
870
882
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model_composite_model-instance_method
871
883
  def describe_asset_model_composite_model: (
872
884
  asset_model_id: ::String,
873
- asset_model_composite_model_id: ::String
885
+ asset_model_composite_model_id: ::String,
886
+ ?asset_model_version: ::String
874
887
  ) -> _DescribeAssetModelCompositeModelResponseSuccess
875
888
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelCompositeModelResponseSuccess
876
889
 
@@ -1217,7 +1230,8 @@ module Aws
1217
1230
  def list_asset_model_composite_models: (
1218
1231
  asset_model_id: ::String,
1219
1232
  ?next_token: ::String,
1220
- ?max_results: ::Integer
1233
+ ?max_results: ::Integer,
1234
+ ?asset_model_version: ::String
1221
1235
  ) -> _ListAssetModelCompositeModelsResponseSuccess
1222
1236
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelCompositeModelsResponseSuccess
1223
1237
 
@@ -1231,7 +1245,8 @@ module Aws
1231
1245
  asset_model_id: ::String,
1232
1246
  ?next_token: ::String,
1233
1247
  ?max_results: ::Integer,
1234
- ?filter: ("ALL" | "BASE")
1248
+ ?filter: ("ALL" | "BASE"),
1249
+ ?asset_model_version: ::String
1235
1250
  ) -> _ListAssetModelPropertiesResponseSuccess
1236
1251
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelPropertiesResponseSuccess
1237
1252
 
@@ -1242,9 +1257,10 @@ module Aws
1242
1257
  end
1243
1258
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_asset_models-instance_method
1244
1259
  def list_asset_models: (
1260
+ ?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL")],
1245
1261
  ?next_token: ::String,
1246
1262
  ?max_results: ::Integer,
1247
- ?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL")]
1263
+ ?asset_model_version: ::String
1248
1264
  ) -> _ListAssetModelsResponseSuccess
1249
1265
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelsResponseSuccess
1250
1266
 
@@ -1549,11 +1565,13 @@ module Aws
1549
1565
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_asset_model-instance_method
1550
1566
  def update_asset_model: (
1551
1567
  asset_model_id: ::String,
1568
+ ?asset_model_external_id: ::String,
1552
1569
  asset_model_name: ::String,
1553
1570
  ?asset_model_description: ::String,
1554
1571
  ?asset_model_properties: Array[
1555
1572
  {
1556
1573
  id: ::String?,
1574
+ external_id: ::String?,
1557
1575
  name: ::String,
1558
1576
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
1559
1577
  data_type_spec: ::String?,
@@ -1626,16 +1644,15 @@ module Aws
1626
1644
  id: ::String?,
1627
1645
  name: ::String?
1628
1646
  },
1629
- ]?,
1630
- external_id: ::String?
1647
+ ]?
1631
1648
  },
1632
1649
  ],
1633
1650
  ?asset_model_hierarchies: Array[
1634
1651
  {
1635
1652
  id: ::String?,
1653
+ external_id: ::String?,
1636
1654
  name: ::String,
1637
- child_asset_model_id: ::String,
1638
- external_id: ::String?
1655
+ child_asset_model_id: ::String
1639
1656
  },
1640
1657
  ],
1641
1658
  ?asset_model_composite_models: Array[
@@ -1646,6 +1663,7 @@ module Aws
1646
1663
  properties: Array[
1647
1664
  {
1648
1665
  id: ::String?,
1666
+ external_id: ::String?,
1649
1667
  name: ::String,
1650
1668
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
1651
1669
  data_type_spec: ::String?,
@@ -1718,8 +1736,7 @@ module Aws
1718
1736
  id: ::String?,
1719
1737
  name: ::String?
1720
1738
  },
1721
- ]?,
1722
- external_id: ::String?
1739
+ ]?
1723
1740
  },
1724
1741
  ]?,
1725
1742
  id: ::String?,
@@ -1727,7 +1744,9 @@ module Aws
1727
1744
  },
1728
1745
  ],
1729
1746
  ?client_token: ::String,
1730
- ?asset_model_external_id: ::String
1747
+ ?if_match: ::String,
1748
+ ?if_none_match: ::String,
1749
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
1731
1750
  ) -> _UpdateAssetModelResponseSuccess
1732
1751
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetModelResponseSuccess
1733
1752
 
@@ -1747,6 +1766,7 @@ module Aws
1747
1766
  ?asset_model_composite_model_properties: Array[
1748
1767
  {
1749
1768
  id: ::String?,
1769
+ external_id: ::String?,
1750
1770
  name: ::String,
1751
1771
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
1752
1772
  data_type_spec: ::String?,
@@ -1819,10 +1839,12 @@ module Aws
1819
1839
  id: ::String?,
1820
1840
  name: ::String?
1821
1841
  },
1822
- ]?,
1823
- external_id: ::String?
1842
+ ]?
1824
1843
  },
1825
- ]
1844
+ ],
1845
+ ?if_match: ::String,
1846
+ ?if_none_match: ::String,
1847
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
1826
1848
  ) -> _UpdateAssetModelCompositeModelResponseSuccess
1827
1849
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetModelCompositeModelResponseSuccess
1828
1850
 
@@ -1917,12 +1939,14 @@ module Aws
1917
1939
  | (:asset_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetResponseSuccess
1918
1940
  | (:asset_model_active waiter_name,
1919
1941
  asset_model_id: ::String,
1920
- ?exclude_properties: bool
1942
+ ?exclude_properties: bool,
1943
+ ?asset_model_version: ::String
1921
1944
  ) -> Client::_DescribeAssetModelResponseSuccess
1922
1945
  | (:asset_model_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetModelResponseSuccess
1923
1946
  | (:asset_model_not_exists waiter_name,
1924
1947
  asset_model_id: ::String,
1925
- ?exclude_properties: bool
1948
+ ?exclude_properties: bool,
1949
+ ?asset_model_version: ::String
1926
1950
  ) -> Client::_DescribeAssetModelResponseSuccess
1927
1951
  | (:asset_model_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetModelResponseSuccess
1928
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 asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
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 asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL")
946
- attr_accessor asset_model_composite_model_summaries: ::Array[Types::AssetModelCompositeModelSummary]
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
 
@@ -1450,6 +1464,7 @@ module Aws::IoTSiteWise
1450
1464
  attr_accessor asset_model_id: ::String
1451
1465
  attr_accessor next_token: ::String
1452
1466
  attr_accessor max_results: ::Integer
1467
+ attr_accessor asset_model_version: ::String
1453
1468
  SENSITIVE: []
1454
1469
  end
1455
1470
 
@@ -1464,6 +1479,7 @@ module Aws::IoTSiteWise
1464
1479
  attr_accessor next_token: ::String
1465
1480
  attr_accessor max_results: ::Integer
1466
1481
  attr_accessor filter: ("ALL" | "BASE")
1482
+ attr_accessor asset_model_version: ::String
1467
1483
  SENSITIVE: []
1468
1484
  end
1469
1485
 
@@ -1474,9 +1490,10 @@ module Aws::IoTSiteWise
1474
1490
  end
1475
1491
 
1476
1492
  class ListAssetModelsRequest
1493
+ attr_accessor asset_model_types: ::Array[("ASSET_MODEL" | "COMPONENT_MODEL")]
1477
1494
  attr_accessor next_token: ::String
1478
1495
  attr_accessor max_results: ::Integer
1479
- attr_accessor asset_model_types: ::Array[("ASSET_MODEL" | "COMPONENT_MODEL")]
1496
+ attr_accessor asset_model_version: ::String
1480
1497
  SENSITIVE: []
1481
1498
  end
1482
1499
 
@@ -1727,6 +1744,13 @@ module Aws::IoTSiteWise
1727
1744
  SENSITIVE: []
1728
1745
  end
1729
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
+
1730
1754
  class ProjectResource
1731
1755
  attr_accessor id: ::String
1732
1756
  SENSITIVE: []
@@ -1960,6 +1984,9 @@ module Aws::IoTSiteWise
1960
1984
  attr_accessor asset_model_composite_model_name: ::String
1961
1985
  attr_accessor client_token: ::String
1962
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")
1963
1990
  SENSITIVE: []
1964
1991
  end
1965
1992
 
@@ -1971,13 +1998,16 @@ module Aws::IoTSiteWise
1971
1998
 
1972
1999
  class UpdateAssetModelRequest
1973
2000
  attr_accessor asset_model_id: ::String
2001
+ attr_accessor asset_model_external_id: ::String
1974
2002
  attr_accessor asset_model_name: ::String
1975
2003
  attr_accessor asset_model_description: ::String
1976
2004
  attr_accessor asset_model_properties: ::Array[Types::AssetModelProperty]
1977
2005
  attr_accessor asset_model_hierarchies: ::Array[Types::AssetModelHierarchy]
1978
2006
  attr_accessor asset_model_composite_models: ::Array[Types::AssetModelCompositeModel]
1979
2007
  attr_accessor client_token: ::String
1980
- attr_accessor asset_model_external_id: ::String
2008
+ attr_accessor if_match: ::String
2009
+ attr_accessor if_none_match: ::String
2010
+ attr_accessor match_for_version_type: ("LATEST" | "ACTIVE")
1981
2011
  SENSITIVE: []
1982
2012
  end
1983
2013
 
data/sig/waiters.rbs CHANGED
@@ -26,7 +26,8 @@ module Aws
26
26
 
27
27
  def wait: (
28
28
  asset_model_id: ::String,
29
- ?exclude_properties: bool
29
+ ?exclude_properties: bool,
30
+ ?asset_model_version: ::String
30
31
  ) -> Client::_DescribeAssetModelResponseSuccess
31
32
  | (Hash[Symbol, untyped]) -> Client::_DescribeAssetModelResponseSuccess
32
33
  end
@@ -37,7 +38,8 @@ module Aws
37
38
 
38
39
  def wait: (
39
40
  asset_model_id: ::String,
40
- ?exclude_properties: bool
41
+ ?exclude_properties: bool,
42
+ ?asset_model_version: ::String
41
43
  ) -> Client::_DescribeAssetModelResponseSuccess
42
44
  | (Hash[Symbol, untyped]) -> Client::_DescribeAssetModelResponseSuccess
43
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsitewise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.68.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-24 00:00:00.000000000 Z
11
+ date: 2024-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core