aws-sdk-iotfleetwise 1.37.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,7 @@ module Aws::IoTFleetWise
55
55
  autoload :EndpointProvider, 'aws-sdk-iotfleetwise/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-iotfleetwise/endpoints'
57
57
 
58
- GEM_VERSION = '1.37.0'
58
+ GEM_VERSION = '1.39.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -105,6 +107,21 @@ module Aws
105
107
  key: ::String,
106
108
  value: ::String
107
109
  },
110
+ ]?,
111
+ state_templates: Array[
112
+ {
113
+ identifier: ::String,
114
+ state_template_update_strategy: {
115
+ periodic: {
116
+ state_template_update_rate: {
117
+ unit: ("MILLISECOND" | "SECOND" | "MINUTE" | "HOUR"),
118
+ value: ::Integer
119
+ }
120
+ }?,
121
+ on_change: {
122
+ }?
123
+ }
124
+ },
108
125
  ]?
109
126
  },
110
127
  ]
@@ -124,7 +141,23 @@ module Aws
124
141
  model_manifest_arn: ::String?,
125
142
  decoder_manifest_arn: ::String?,
126
143
  attributes: Hash[::String, ::String]?,
127
- attribute_update_mode: ("Overwrite" | "Merge")?
144
+ attribute_update_mode: ("Overwrite" | "Merge")?,
145
+ state_templates_to_add: Array[
146
+ {
147
+ identifier: ::String,
148
+ state_template_update_strategy: {
149
+ periodic: {
150
+ state_template_update_rate: {
151
+ unit: ("MILLISECOND" | "SECOND" | "MINUTE" | "HOUR"),
152
+ value: ::Integer
153
+ }
154
+ }?,
155
+ on_change: {
156
+ }?
157
+ }
158
+ },
159
+ ]?,
160
+ state_templates_to_remove: Array[::String]?
128
161
  },
129
162
  ]
130
163
  ) -> _BatchUpdateVehicleResponseSuccess
@@ -152,7 +185,8 @@ module Aws
152
185
  {
153
186
  name: ::String,
154
187
  max_sample_count: ::Integer?,
155
- minimum_sampling_interval_ms: ::Integer?
188
+ minimum_sampling_interval_ms: ::Integer?,
189
+ data_partition_id: ::String?
156
190
  },
157
191
  ],
158
192
  collection_scheme: {
@@ -184,8 +218,48 @@ module Aws
184
218
  timestream_config: {
185
219
  timestream_table_arn: ::String,
186
220
  execution_role_arn: ::String
221
+ }?,
222
+ mqtt_topic_config: {
223
+ mqtt_topic_arn: ::String,
224
+ execution_role_arn: ::String
225
+ }?
226
+ },
227
+ ],
228
+ ?data_partitions: Array[
229
+ {
230
+ id: ::String,
231
+ storage_options: {
232
+ maximum_size: {
233
+ unit: ("MB" | "GB" | "TB"),
234
+ value: ::Integer
235
+ },
236
+ storage_location: ::String,
237
+ minimum_time_to_live: {
238
+ unit: ("HOURS" | "DAYS" | "WEEKS"),
239
+ value: ::Integer
240
+ }
241
+ },
242
+ upload_options: {
243
+ expression: ::String,
244
+ condition_language_version: ::Integer?
187
245
  }?
188
246
  },
247
+ ],
248
+ ?signals_to_fetch: Array[
249
+ {
250
+ fully_qualified_name: ::String,
251
+ signal_fetch_config: {
252
+ time_based: {
253
+ execution_frequency_ms: ::Integer
254
+ }?,
255
+ condition_based: {
256
+ condition_expression: ::String,
257
+ trigger_mode: ("ALWAYS" | "RISING_EDGE")
258
+ }?
259
+ },
260
+ condition_language_version: ::Integer?,
261
+ actions: Array[::String]
262
+ },
189
263
  ]
190
264
  ) -> _CreateCampaignResponseSuccess
191
265
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCampaignResponseSuccess
@@ -203,7 +277,7 @@ module Aws
203
277
  ?signal_decoders: Array[
204
278
  {
205
279
  fully_qualified_name: ::String,
206
- type: ("CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL"),
280
+ type: ("CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL" | "CUSTOM_DECODING_SIGNAL"),
207
281
  interface_id: ::String,
208
282
  can_signal: {
209
283
  message_id: ::Integer,
@@ -250,13 +324,16 @@ module Aws
250
324
  },
251
325
  ]?
252
326
  }
327
+ }?,
328
+ custom_decoding_signal: {
329
+ id: ::String
253
330
  }?
254
331
  },
255
332
  ],
256
333
  ?network_interfaces: Array[
257
334
  {
258
335
  interface_id: ::String,
259
- type: ("CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE"),
336
+ type: ("CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE" | "CUSTOM_DECODING_INTERFACE"),
260
337
  can_interface: {
261
338
  name: ::String,
262
339
  protocol_name: ::String?,
@@ -274,9 +351,13 @@ module Aws
274
351
  vehicle_middleware: {
275
352
  name: ::String,
276
353
  protocol_name: ("ROS_2")
354
+ }?,
355
+ custom_decoding_interface: {
356
+ name: ::String
277
357
  }?
278
358
  },
279
359
  ],
360
+ ?default_for_unmapped_signals: ("CUSTOM_DECODING"),
280
361
  ?tags: Array[
281
362
  {
282
363
  key: ::String,
@@ -406,6 +487,29 @@ module Aws
406
487
  ) -> _CreateSignalCatalogResponseSuccess
407
488
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSignalCatalogResponseSuccess
408
489
 
490
+ interface _CreateStateTemplateResponseSuccess
491
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStateTemplateResponse]
492
+ def name: () -> ::String
493
+ def arn: () -> ::String
494
+ def id: () -> ::String
495
+ end
496
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTFleetWise/Client.html#create_state_template-instance_method
497
+ def create_state_template: (
498
+ name: ::String,
499
+ ?description: ::String,
500
+ signal_catalog_arn: ::String,
501
+ state_template_properties: Array[::String],
502
+ ?data_extra_dimensions: Array[::String],
503
+ ?metadata_extra_dimensions: Array[::String],
504
+ ?tags: Array[
505
+ {
506
+ key: ::String,
507
+ value: ::String
508
+ },
509
+ ]
510
+ ) -> _CreateStateTemplateResponseSuccess
511
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStateTemplateResponseSuccess
512
+
409
513
  interface _CreateVehicleResponseSuccess
410
514
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateVehicleResponse]
411
515
  def vehicle_name: () -> ::String
@@ -424,6 +528,21 @@ module Aws
424
528
  key: ::String,
425
529
  value: ::String
426
530
  },
531
+ ],
532
+ ?state_templates: Array[
533
+ {
534
+ identifier: ::String,
535
+ state_template_update_strategy: {
536
+ periodic: {
537
+ state_template_update_rate: {
538
+ unit: ("MILLISECOND" | "SECOND" | "MINUTE" | "HOUR"),
539
+ value: ::Integer
540
+ }
541
+ }?,
542
+ on_change: {
543
+ }?
544
+ }
545
+ },
427
546
  ]
428
547
  ) -> _CreateVehicleResponseSuccess
429
548
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVehicleResponseSuccess
@@ -483,6 +602,18 @@ module Aws
483
602
  ) -> _DeleteSignalCatalogResponseSuccess
484
603
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSignalCatalogResponseSuccess
485
604
 
605
+ interface _DeleteStateTemplateResponseSuccess
606
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStateTemplateResponse]
607
+ def name: () -> ::String
608
+ def arn: () -> ::String
609
+ def id: () -> ::String
610
+ end
611
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTFleetWise/Client.html#delete_state_template-instance_method
612
+ def delete_state_template: (
613
+ identifier: ::String
614
+ ) -> _DeleteStateTemplateResponseSuccess
615
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStateTemplateResponseSuccess
616
+
486
617
  interface _DeleteVehicleResponseSuccess
487
618
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVehicleResponse]
488
619
  def vehicle_name: () -> ::String
@@ -525,6 +656,8 @@ module Aws
525
656
  def creation_time: () -> ::Time
526
657
  def last_modification_time: () -> ::Time
527
658
  def data_destination_configs: () -> ::Array[Types::DataDestinationConfig]
659
+ def data_partitions: () -> ::Array[Types::DataPartition]
660
+ def signals_to_fetch: () -> ::Array[Types::SignalFetchInformation]
528
661
  end
529
662
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTFleetWise/Client.html#get_campaign-instance_method
530
663
  def get_campaign: (
@@ -632,6 +765,25 @@ module Aws
632
765
  ) -> _GetSignalCatalogResponseSuccess
633
766
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSignalCatalogResponseSuccess
634
767
 
768
+ interface _GetStateTemplateResponseSuccess
769
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStateTemplateResponse]
770
+ def name: () -> ::String
771
+ def arn: () -> ::String
772
+ def description: () -> ::String
773
+ def signal_catalog_arn: () -> ::String
774
+ def state_template_properties: () -> ::Array[::String]
775
+ def data_extra_dimensions: () -> ::Array[::String]
776
+ def metadata_extra_dimensions: () -> ::Array[::String]
777
+ def creation_time: () -> ::Time
778
+ def last_modification_time: () -> ::Time
779
+ def id: () -> ::String
780
+ end
781
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTFleetWise/Client.html#get_state_template-instance_method
782
+ def get_state_template: (
783
+ identifier: ::String
784
+ ) -> _GetStateTemplateResponseSuccess
785
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStateTemplateResponseSuccess
786
+
635
787
  interface _GetVehicleResponseSuccess
636
788
  include ::Seahorse::Client::_ResponseSuccess[Types::GetVehicleResponse]
637
789
  def vehicle_name: () -> ::String
@@ -639,6 +791,7 @@ module Aws
639
791
  def model_manifest_arn: () -> ::String
640
792
  def decoder_manifest_arn: () -> ::String
641
793
  def attributes: () -> ::Hash[::String, ::String]
794
+ def state_templates: () -> ::Array[Types::StateTemplateAssociation]
642
795
  def creation_time: () -> ::Time
643
796
  def last_modification_time: () -> ::Time
644
797
  end
@@ -831,6 +984,18 @@ module Aws
831
984
  ) -> _ListSignalCatalogsResponseSuccess
832
985
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSignalCatalogsResponseSuccess
833
986
 
987
+ interface _ListStateTemplatesResponseSuccess
988
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStateTemplatesResponse]
989
+ def summaries: () -> ::Array[Types::StateTemplateSummary]
990
+ def next_token: () -> ::String
991
+ end
992
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTFleetWise/Client.html#list_state_templates-instance_method
993
+ def list_state_templates: (
994
+ ?next_token: ::String,
995
+ ?max_results: ::Integer
996
+ ) -> _ListStateTemplatesResponseSuccess
997
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStateTemplatesResponseSuccess
998
+
834
999
  interface _ListTagsForResourceResponseSuccess
835
1000
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
836
1001
  def tags: () -> ::Array[Types::Tag]
@@ -966,7 +1131,7 @@ module Aws
966
1131
  ?signal_decoders_to_add: Array[
967
1132
  {
968
1133
  fully_qualified_name: ::String,
969
- type: ("CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL"),
1134
+ type: ("CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL" | "CUSTOM_DECODING_SIGNAL"),
970
1135
  interface_id: ::String,
971
1136
  can_signal: {
972
1137
  message_id: ::Integer,
@@ -1013,13 +1178,16 @@ module Aws
1013
1178
  },
1014
1179
  ]?
1015
1180
  }
1181
+ }?,
1182
+ custom_decoding_signal: {
1183
+ id: ::String
1016
1184
  }?
1017
1185
  },
1018
1186
  ],
1019
1187
  ?signal_decoders_to_update: Array[
1020
1188
  {
1021
1189
  fully_qualified_name: ::String,
1022
- type: ("CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL"),
1190
+ type: ("CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL" | "CUSTOM_DECODING_SIGNAL"),
1023
1191
  interface_id: ::String,
1024
1192
  can_signal: {
1025
1193
  message_id: ::Integer,
@@ -1066,6 +1234,9 @@ module Aws
1066
1234
  },
1067
1235
  ]?
1068
1236
  }
1237
+ }?,
1238
+ custom_decoding_signal: {
1239
+ id: ::String
1069
1240
  }?
1070
1241
  },
1071
1242
  ],
@@ -1073,7 +1244,7 @@ module Aws
1073
1244
  ?network_interfaces_to_add: Array[
1074
1245
  {
1075
1246
  interface_id: ::String,
1076
- type: ("CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE"),
1247
+ type: ("CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE" | "CUSTOM_DECODING_INTERFACE"),
1077
1248
  can_interface: {
1078
1249
  name: ::String,
1079
1250
  protocol_name: ::String?,
@@ -1091,13 +1262,16 @@ module Aws
1091
1262
  vehicle_middleware: {
1092
1263
  name: ::String,
1093
1264
  protocol_name: ("ROS_2")
1265
+ }?,
1266
+ custom_decoding_interface: {
1267
+ name: ::String
1094
1268
  }?
1095
1269
  },
1096
1270
  ],
1097
1271
  ?network_interfaces_to_update: Array[
1098
1272
  {
1099
1273
  interface_id: ::String,
1100
- type: ("CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE"),
1274
+ type: ("CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE" | "CUSTOM_DECODING_INTERFACE"),
1101
1275
  can_interface: {
1102
1276
  name: ::String,
1103
1277
  protocol_name: ::String?,
@@ -1115,11 +1289,15 @@ module Aws
1115
1289
  vehicle_middleware: {
1116
1290
  name: ::String,
1117
1291
  protocol_name: ("ROS_2")
1292
+ }?,
1293
+ custom_decoding_interface: {
1294
+ name: ::String
1118
1295
  }?
1119
1296
  },
1120
1297
  ],
1121
1298
  ?network_interfaces_to_remove: Array[::String],
1122
- ?status: ("ACTIVE" | "DRAFT" | "INVALID" | "VALIDATING")
1299
+ ?status: ("ACTIVE" | "DRAFT" | "INVALID" | "VALIDATING"),
1300
+ ?default_for_unmapped_signals: ("CUSTOM_DECODING")
1123
1301
  ) -> _UpdateDecoderManifestResponseSuccess
1124
1302
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDecoderManifestResponseSuccess
1125
1303
 
@@ -1289,6 +1467,23 @@ module Aws
1289
1467
  ) -> _UpdateSignalCatalogResponseSuccess
1290
1468
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSignalCatalogResponseSuccess
1291
1469
 
1470
+ interface _UpdateStateTemplateResponseSuccess
1471
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStateTemplateResponse]
1472
+ def name: () -> ::String
1473
+ def arn: () -> ::String
1474
+ def id: () -> ::String
1475
+ end
1476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTFleetWise/Client.html#update_state_template-instance_method
1477
+ def update_state_template: (
1478
+ identifier: ::String,
1479
+ ?description: ::String,
1480
+ ?state_template_properties_to_add: Array[::String],
1481
+ ?state_template_properties_to_remove: Array[::String],
1482
+ ?data_extra_dimensions: Array[::String],
1483
+ ?metadata_extra_dimensions: Array[::String]
1484
+ ) -> _UpdateStateTemplateResponseSuccess
1485
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStateTemplateResponseSuccess
1486
+
1292
1487
  interface _UpdateVehicleResponseSuccess
1293
1488
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVehicleResponse]
1294
1489
  def vehicle_name: () -> ::String
@@ -1300,7 +1495,23 @@ module Aws
1300
1495
  ?model_manifest_arn: ::String,
1301
1496
  ?decoder_manifest_arn: ::String,
1302
1497
  ?attributes: Hash[::String, ::String],
1303
- ?attribute_update_mode: ("Overwrite" | "Merge")
1498
+ ?attribute_update_mode: ("Overwrite" | "Merge"),
1499
+ ?state_templates_to_add: Array[
1500
+ {
1501
+ identifier: ::String,
1502
+ state_template_update_strategy: {
1503
+ periodic: {
1504
+ state_template_update_rate: {
1505
+ unit: ("MILLISECOND" | "SECOND" | "MINUTE" | "HOUR"),
1506
+ value: ::Integer
1507
+ }
1508
+ }?,
1509
+ on_change: {
1510
+ }?
1511
+ }
1512
+ },
1513
+ ],
1514
+ ?state_templates_to_remove: Array[::String]
1304
1515
  ) -> _UpdateVehicleResponseSuccess
1305
1516
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVehicleResponseSuccess
1306
1517
  end
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),