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