aws-sdk-iotsitewise 1.68.0 → 1.70.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.70.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -284,9 +285,14 @@ module Aws
284
285
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_asset_model-instance_method
285
286
  def create_asset_model: (
286
287
  asset_model_name: ::String,
288
+ ?asset_model_type: ("ASSET_MODEL" | "COMPONENT_MODEL"),
289
+ ?asset_model_id: ::String,
290
+ ?asset_model_external_id: ::String,
287
291
  ?asset_model_description: ::String,
288
292
  ?asset_model_properties: Array[
289
293
  {
294
+ id: ::String?,
295
+ external_id: ::String?,
290
296
  name: ::String,
291
297
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
292
298
  data_type_spec: ::String?,
@@ -353,26 +359,28 @@ module Aws
353
359
  compute_location: ("EDGE" | "CLOUD")
354
360
  }?
355
361
  }?
356
- },
357
- id: ::String?,
358
- external_id: ::String?
362
+ }
359
363
  },
360
364
  ],
361
365
  ?asset_model_hierarchies: Array[
362
366
  {
363
- name: ::String,
364
- child_asset_model_id: ::String,
365
367
  id: ::String?,
366
- external_id: ::String?
368
+ external_id: ::String?,
369
+ name: ::String,
370
+ child_asset_model_id: ::String
367
371
  },
368
372
  ],
369
373
  ?asset_model_composite_models: Array[
370
374
  {
375
+ id: ::String?,
376
+ external_id: ::String?,
371
377
  name: ::String,
372
378
  description: ::String?,
373
379
  type: ::String,
374
380
  properties: Array[
375
381
  {
382
+ id: ::String?,
383
+ external_id: ::String?,
376
384
  name: ::String,
377
385
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
378
386
  data_type_spec: ::String?,
@@ -439,20 +447,13 @@ module Aws
439
447
  compute_location: ("EDGE" | "CLOUD")
440
448
  }?
441
449
  }?
442
- },
443
- id: ::String?,
444
- external_id: ::String?
450
+ }
445
451
  },
446
- ]?,
447
- id: ::String?,
448
- external_id: ::String?
452
+ ]?
449
453
  },
450
454
  ],
451
455
  ?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")
456
+ ?tags: Hash[::String, ::String]
456
457
  ) -> _CreateAssetModelResponseSuccess
457
458
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetModelResponseSuccess
458
459
 
@@ -465,8 +466,8 @@ module Aws
465
466
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_asset_model_composite_model-instance_method
466
467
  def create_asset_model_composite_model: (
467
468
  asset_model_id: ::String,
468
- ?parent_asset_model_composite_model_id: ::String,
469
469
  ?asset_model_composite_model_external_id: ::String,
470
+ ?parent_asset_model_composite_model_id: ::String,
470
471
  ?asset_model_composite_model_id: ::String,
471
472
  ?asset_model_composite_model_description: ::String,
472
473
  asset_model_composite_model_name: ::String,
@@ -475,6 +476,8 @@ module Aws
475
476
  ?composed_asset_model_id: ::String,
476
477
  ?asset_model_composite_model_properties: Array[
477
478
  {
479
+ id: ::String?,
480
+ external_id: ::String?,
478
481
  name: ::String,
479
482
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
480
483
  data_type_spec: ::String?,
@@ -541,11 +544,12 @@ module Aws
541
544
  compute_location: ("EDGE" | "CLOUD")
542
545
  }?
543
546
  }?
544
- },
545
- id: ::String?,
546
- external_id: ::String?
547
+ }
547
548
  },
548
- ]
549
+ ],
550
+ ?if_match: ::String,
551
+ ?if_none_match: ::String,
552
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
549
553
  ) -> _CreateAssetModelCompositeModelResponseSuccess
550
554
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetModelCompositeModelResponseSuccess
551
555
 
@@ -695,7 +699,10 @@ module Aws
695
699
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_asset_model-instance_method
696
700
  def delete_asset_model: (
697
701
  asset_model_id: ::String,
698
- ?client_token: ::String
702
+ ?client_token: ::String,
703
+ ?if_match: ::String,
704
+ ?if_none_match: ::String,
705
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
699
706
  ) -> _DeleteAssetModelResponseSuccess
700
707
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelResponseSuccess
701
708
 
@@ -707,7 +714,10 @@ module Aws
707
714
  def delete_asset_model_composite_model: (
708
715
  asset_model_id: ::String,
709
716
  asset_model_composite_model_id: ::String,
710
- ?client_token: ::String
717
+ ?client_token: ::String,
718
+ ?if_match: ::String,
719
+ ?if_none_match: ::String,
720
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
711
721
  ) -> _DeleteAssetModelCompositeModelResponseSuccess
712
722
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelCompositeModelResponseSuccess
713
723
 
@@ -833,23 +843,26 @@ module Aws
833
843
  interface _DescribeAssetModelResponseSuccess
834
844
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetModelResponse]
835
845
  def asset_model_id: () -> ::String
846
+ def asset_model_external_id: () -> ::String
836
847
  def asset_model_arn: () -> ::String
837
848
  def asset_model_name: () -> ::String
849
+ def asset_model_type: () -> ("ASSET_MODEL" | "COMPONENT_MODEL")
838
850
  def asset_model_description: () -> ::String
839
851
  def asset_model_properties: () -> ::Array[Types::AssetModelProperty]
840
852
  def asset_model_hierarchies: () -> ::Array[Types::AssetModelHierarchy]
841
853
  def asset_model_composite_models: () -> ::Array[Types::AssetModelCompositeModel]
854
+ def asset_model_composite_model_summaries: () -> ::Array[Types::AssetModelCompositeModelSummary]
842
855
  def asset_model_creation_date: () -> ::Time
843
856
  def asset_model_last_update_date: () -> ::Time
844
857
  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
858
+ def asset_model_version: () -> ::String
859
+ def e_tag: () -> ::String
848
860
  end
849
861
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model-instance_method
850
862
  def describe_asset_model: (
851
863
  asset_model_id: ::String,
852
- ?exclude_properties: bool
864
+ ?exclude_properties: bool,
865
+ ?asset_model_version: ::String
853
866
  ) -> _DescribeAssetModelResponseSuccess
854
867
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelResponseSuccess
855
868
 
@@ -870,7 +883,8 @@ module Aws
870
883
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_model_composite_model-instance_method
871
884
  def describe_asset_model_composite_model: (
872
885
  asset_model_id: ::String,
873
- asset_model_composite_model_id: ::String
886
+ asset_model_composite_model_id: ::String,
887
+ ?asset_model_version: ::String
874
888
  ) -> _DescribeAssetModelCompositeModelResponseSuccess
875
889
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssetModelCompositeModelResponseSuccess
876
890
 
@@ -1217,7 +1231,8 @@ module Aws
1217
1231
  def list_asset_model_composite_models: (
1218
1232
  asset_model_id: ::String,
1219
1233
  ?next_token: ::String,
1220
- ?max_results: ::Integer
1234
+ ?max_results: ::Integer,
1235
+ ?asset_model_version: ::String
1221
1236
  ) -> _ListAssetModelCompositeModelsResponseSuccess
1222
1237
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelCompositeModelsResponseSuccess
1223
1238
 
@@ -1231,7 +1246,8 @@ module Aws
1231
1246
  asset_model_id: ::String,
1232
1247
  ?next_token: ::String,
1233
1248
  ?max_results: ::Integer,
1234
- ?filter: ("ALL" | "BASE")
1249
+ ?filter: ("ALL" | "BASE"),
1250
+ ?asset_model_version: ::String
1235
1251
  ) -> _ListAssetModelPropertiesResponseSuccess
1236
1252
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelPropertiesResponseSuccess
1237
1253
 
@@ -1242,9 +1258,10 @@ module Aws
1242
1258
  end
1243
1259
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_asset_models-instance_method
1244
1260
  def list_asset_models: (
1261
+ ?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL")],
1245
1262
  ?next_token: ::String,
1246
1263
  ?max_results: ::Integer,
1247
- ?asset_model_types: Array[("ASSET_MODEL" | "COMPONENT_MODEL")]
1264
+ ?asset_model_version: ::String
1248
1265
  ) -> _ListAssetModelsResponseSuccess
1249
1266
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetModelsResponseSuccess
1250
1267
 
@@ -1549,11 +1566,13 @@ module Aws
1549
1566
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_asset_model-instance_method
1550
1567
  def update_asset_model: (
1551
1568
  asset_model_id: ::String,
1569
+ ?asset_model_external_id: ::String,
1552
1570
  asset_model_name: ::String,
1553
1571
  ?asset_model_description: ::String,
1554
1572
  ?asset_model_properties: Array[
1555
1573
  {
1556
1574
  id: ::String?,
1575
+ external_id: ::String?,
1557
1576
  name: ::String,
1558
1577
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
1559
1578
  data_type_spec: ::String?,
@@ -1626,16 +1645,15 @@ module Aws
1626
1645
  id: ::String?,
1627
1646
  name: ::String?
1628
1647
  },
1629
- ]?,
1630
- external_id: ::String?
1648
+ ]?
1631
1649
  },
1632
1650
  ],
1633
1651
  ?asset_model_hierarchies: Array[
1634
1652
  {
1635
1653
  id: ::String?,
1654
+ external_id: ::String?,
1636
1655
  name: ::String,
1637
- child_asset_model_id: ::String,
1638
- external_id: ::String?
1656
+ child_asset_model_id: ::String
1639
1657
  },
1640
1658
  ],
1641
1659
  ?asset_model_composite_models: Array[
@@ -1646,6 +1664,7 @@ module Aws
1646
1664
  properties: Array[
1647
1665
  {
1648
1666
  id: ::String?,
1667
+ external_id: ::String?,
1649
1668
  name: ::String,
1650
1669
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
1651
1670
  data_type_spec: ::String?,
@@ -1718,8 +1737,7 @@ module Aws
1718
1737
  id: ::String?,
1719
1738
  name: ::String?
1720
1739
  },
1721
- ]?,
1722
- external_id: ::String?
1740
+ ]?
1723
1741
  },
1724
1742
  ]?,
1725
1743
  id: ::String?,
@@ -1727,7 +1745,9 @@ module Aws
1727
1745
  },
1728
1746
  ],
1729
1747
  ?client_token: ::String,
1730
- ?asset_model_external_id: ::String
1748
+ ?if_match: ::String,
1749
+ ?if_none_match: ::String,
1750
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
1731
1751
  ) -> _UpdateAssetModelResponseSuccess
1732
1752
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetModelResponseSuccess
1733
1753
 
@@ -1747,6 +1767,7 @@ module Aws
1747
1767
  ?asset_model_composite_model_properties: Array[
1748
1768
  {
1749
1769
  id: ::String?,
1770
+ external_id: ::String?,
1750
1771
  name: ::String,
1751
1772
  data_type: ("STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"),
1752
1773
  data_type_spec: ::String?,
@@ -1819,10 +1840,12 @@ module Aws
1819
1840
  id: ::String?,
1820
1841
  name: ::String?
1821
1842
  },
1822
- ]?,
1823
- external_id: ::String?
1843
+ ]?
1824
1844
  },
1825
- ]
1845
+ ],
1846
+ ?if_match: ::String,
1847
+ ?if_none_match: ::String,
1848
+ ?match_for_version_type: ("LATEST" | "ACTIVE")
1826
1849
  ) -> _UpdateAssetModelCompositeModelResponseSuccess
1827
1850
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetModelCompositeModelResponseSuccess
1828
1851
 
@@ -1917,12 +1940,14 @@ module Aws
1917
1940
  | (:asset_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetResponseSuccess
1918
1941
  | (:asset_model_active waiter_name,
1919
1942
  asset_model_id: ::String,
1920
- ?exclude_properties: bool
1943
+ ?exclude_properties: bool,
1944
+ ?asset_model_version: ::String
1921
1945
  ) -> Client::_DescribeAssetModelResponseSuccess
1922
1946
  | (:asset_model_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetModelResponseSuccess
1923
1947
  | (:asset_model_not_exists waiter_name,
1924
1948
  asset_model_id: ::String,
1925
- ?exclude_properties: bool
1949
+ ?exclude_properties: bool,
1950
+ ?asset_model_version: ::String
1926
1951
  ) -> Client::_DescribeAssetModelResponseSuccess
1927
1952
  | (:asset_model_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAssetModelResponseSuccess
1928
1953
  | (: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/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
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.70.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-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement