@aws-sdk/client-iotfleetwise 3.454.0 → 3.460.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.
Files changed (45) hide show
  1. package/README.md +52 -52
  2. package/dist-cjs/models/models_0.js +86 -16
  3. package/dist-cjs/protocols/Aws_json1_0.js +142 -0
  4. package/dist-es/models/models_0.js +84 -14
  5. package/dist-es/protocols/Aws_json1_0.js +143 -1
  6. package/dist-types/IoTFleetWise.d.ts +1 -1
  7. package/dist-types/IoTFleetWiseClient.d.ts +1 -1
  8. package/dist-types/commands/AssociateVehicleFleetCommand.d.ts +3 -0
  9. package/dist-types/commands/BatchCreateVehicleCommand.d.ts +3 -3
  10. package/dist-types/commands/BatchUpdateVehicleCommand.d.ts +3 -3
  11. package/dist-types/commands/CreateCampaignCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateDecoderManifestCommand.d.ts +55 -5
  13. package/dist-types/commands/CreateFleetCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateModelManifestCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateSignalCatalogCommand.d.ts +17 -0
  16. package/dist-types/commands/CreateVehicleCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteDecoderManifestCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteFleetCommand.d.ts +2 -2
  19. package/dist-types/commands/DeleteModelManifestCommand.d.ts +2 -2
  20. package/dist-types/commands/DeleteSignalCatalogCommand.d.ts +2 -2
  21. package/dist-types/commands/DeleteVehicleCommand.d.ts +2 -2
  22. package/dist-types/commands/DisassociateVehicleFleetCommand.d.ts +2 -2
  23. package/dist-types/commands/GetDecoderManifestCommand.d.ts +1 -0
  24. package/dist-types/commands/GetRegisterAccountStatusCommand.d.ts +3 -3
  25. package/dist-types/commands/GetSignalCatalogCommand.d.ts +2 -0
  26. package/dist-types/commands/ListCampaignsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListDecoderManifestNetworkInterfacesCommand.d.ts +5 -1
  28. package/dist-types/commands/ListDecoderManifestSignalsCommand.d.ts +47 -1
  29. package/dist-types/commands/ListDecoderManifestsCommand.d.ts +2 -1
  30. package/dist-types/commands/ListFleetsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListFleetsForVehicleCommand.d.ts +1 -1
  32. package/dist-types/commands/ListModelManifestNodesCommand.d.ts +18 -1
  33. package/dist-types/commands/ListModelManifestsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListSignalCatalogNodesCommand.d.ts +18 -1
  35. package/dist-types/commands/ListSignalCatalogsCommand.d.ts +2 -2
  36. package/dist-types/commands/ListVehiclesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListVehiclesInFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/RegisterAccountCommand.d.ts +4 -5
  39. package/dist-types/commands/UpdateDecoderManifestCommand.d.ts +59 -1
  40. package/dist-types/commands/UpdateFleetCommand.d.ts +2 -2
  41. package/dist-types/commands/UpdateSignalCatalogCommand.d.ts +34 -0
  42. package/dist-types/index.d.ts +1 -1
  43. package/dist-types/models/models_0.d.ts +679 -265
  44. package/dist-types/ts3.4/models/models_0.d.ts +235 -39
  45. package/package.json +12 -12
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VehicleState = exports.RegistrationStatus = exports.FormattedVss = exports.EncryptionType = exports.EncryptionStatus = exports.NetworkFileDefinition = exports.ManifestStatus = exports.InvalidNodeException = exports.Node = exports.InvalidSignalsException = exports.DecoderManifestValidationException = exports.SignalDecoderFailureReason = exports.NetworkInterfaceFailureReason = exports.SignalDecoderType = exports.NetworkInterfaceType = exports.LogType = exports.UpdateCampaignAction = exports.CampaignStatus = exports.SpoolingMode = exports.DiagnosticsMode = exports.DataDestinationConfig = exports.StorageCompressionFormat = exports.DataFormat = exports.Compression = exports.CollectionScheme = exports.TriggerMode = exports.ConflictException = exports.UpdateMode = exports.LimitExceededException = exports.VehicleAssociationBehavior = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.NodeDataType = exports.AccessDeniedException = void 0;
3
+ exports.StructuredMessage = exports.VehicleState = exports.RegistrationStatus = exports.FormattedVss = exports.EncryptionType = exports.EncryptionStatus = exports.NetworkFileDefinition = exports.ManifestStatus = exports.InvalidNodeException = exports.Node = exports.NodeDataEncoding = exports.InvalidSignalsException = exports.DecoderManifestValidationException = exports.SignalDecoderFailureReason = exports.NetworkInterfaceFailureReason = exports.SignalDecoderType = exports.StructuredMessageListType = exports.PrimitiveMessageDefinition = exports.ROS2PrimitiveType = exports.VehicleMiddlewareProtocol = exports.NetworkInterfaceType = exports.LogType = exports.UpdateCampaignAction = exports.CampaignStatus = exports.SpoolingMode = exports.DiagnosticsMode = exports.DataDestinationConfig = exports.StorageCompressionFormat = exports.DataFormat = exports.Compression = exports.CollectionScheme = exports.TriggerMode = exports.ConflictException = exports.UpdateMode = exports.VehicleAssociationBehavior = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InternalServerException = exports.NodeDataType = exports.AccessDeniedException = void 0;
4
4
  const IoTFleetWiseServiceException_1 = require("./IoTFleetWiseServiceException");
5
5
  class AccessDeniedException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
6
6
  constructor(opts) {
@@ -32,6 +32,8 @@ exports.NodeDataType = {
32
32
  INT8_ARRAY: "INT8_ARRAY",
33
33
  STRING: "STRING",
34
34
  STRING_ARRAY: "STRING_ARRAY",
35
+ STRUCT: "STRUCT",
36
+ STRUCT_ARRAY: "STRUCT_ARRAY",
35
37
  UINT16: "UINT16",
36
38
  UINT16_ARRAY: "UINT16_ARRAY",
37
39
  UINT32: "UINT32",
@@ -58,6 +60,21 @@ class InternalServerException extends IoTFleetWiseServiceException_1.IoTFleetWis
58
60
  }
59
61
  }
60
62
  exports.InternalServerException = InternalServerException;
63
+ class LimitExceededException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
64
+ constructor(opts) {
65
+ super({
66
+ name: "LimitExceededException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ this.name = "LimitExceededException";
71
+ this.$fault = "client";
72
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
73
+ this.resourceId = opts.resourceId;
74
+ this.resourceType = opts.resourceType;
75
+ }
76
+ }
77
+ exports.LimitExceededException = LimitExceededException;
61
78
  class ResourceNotFoundException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
62
79
  constructor(opts) {
63
80
  super({
@@ -114,21 +131,6 @@ exports.VehicleAssociationBehavior = {
114
131
  CREATE_IOT_THING: "CreateIotThing",
115
132
  VALIDATE_IOT_THING_EXISTS: "ValidateIotThingExists",
116
133
  };
117
- class LimitExceededException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
118
- constructor(opts) {
119
- super({
120
- name: "LimitExceededException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- this.name = "LimitExceededException";
125
- this.$fault = "client";
126
- Object.setPrototypeOf(this, LimitExceededException.prototype);
127
- this.resourceId = opts.resourceId;
128
- this.resourceType = opts.resourceType;
129
- }
130
- }
131
- exports.LimitExceededException = LimitExceededException;
132
134
  exports.UpdateMode = {
133
135
  MERGE: "Merge",
134
136
  OVERWRITE: "Overwrite",
@@ -210,30 +212,76 @@ exports.LogType = {
210
212
  };
211
213
  exports.NetworkInterfaceType = {
212
214
  CAN_INTERFACE: "CAN_INTERFACE",
215
+ CUSTOMER_DECODED_INTERFACE: "CUSTOMER_DECODED_INTERFACE",
213
216
  OBD_INTERFACE: "OBD_INTERFACE",
217
+ VEHICLE_MIDDLEWARE: "VEHICLE_MIDDLEWARE",
218
+ };
219
+ exports.VehicleMiddlewareProtocol = {
220
+ ROS_2: "ROS_2",
221
+ };
222
+ exports.ROS2PrimitiveType = {
223
+ BOOL: "BOOL",
224
+ BYTE: "BYTE",
225
+ CHAR: "CHAR",
226
+ FLOAT32: "FLOAT32",
227
+ FLOAT64: "FLOAT64",
228
+ INT16: "INT16",
229
+ INT32: "INT32",
230
+ INT64: "INT64",
231
+ INT8: "INT8",
232
+ STRING: "STRING",
233
+ UINT16: "UINT16",
234
+ UINT32: "UINT32",
235
+ UINT64: "UINT64",
236
+ UINT8: "UINT8",
237
+ WSTRING: "WSTRING",
238
+ };
239
+ var PrimitiveMessageDefinition;
240
+ (function (PrimitiveMessageDefinition) {
241
+ PrimitiveMessageDefinition.visit = (value, visitor) => {
242
+ if (value.ros2PrimitiveMessageDefinition !== undefined)
243
+ return visitor.ros2PrimitiveMessageDefinition(value.ros2PrimitiveMessageDefinition);
244
+ return visitor._(value.$unknown[0], value.$unknown[1]);
245
+ };
246
+ })(PrimitiveMessageDefinition = exports.PrimitiveMessageDefinition || (exports.PrimitiveMessageDefinition = {}));
247
+ exports.StructuredMessageListType = {
248
+ DYNAMIC_BOUNDED_CAPACITY: "DYNAMIC_BOUNDED_CAPACITY",
249
+ DYNAMIC_UNBOUNDED_CAPACITY: "DYNAMIC_UNBOUNDED_CAPACITY",
250
+ FIXED_CAPACITY: "FIXED_CAPACITY",
214
251
  };
215
252
  exports.SignalDecoderType = {
216
253
  CAN_SIGNAL: "CAN_SIGNAL",
254
+ CUSTOMER_DECODED_SIGNAL: "CUSTOMER_DECODED_SIGNAL",
255
+ MESSAGE_SIGNAL: "MESSAGE_SIGNAL",
217
256
  OBD_SIGNAL: "OBD_SIGNAL",
218
257
  };
219
258
  exports.NetworkInterfaceFailureReason = {
220
259
  CAN_NETWORK_INTERFACE_INFO_IS_NULL: "CAN_NETWORK_INTERFACE_INFO_IS_NULL",
221
260
  CONFLICTING_NETWORK_INTERFACE: "CONFLICTING_NETWORK_INTERFACE",
261
+ CUSTOMER_DECODED_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL: "CUSTOMER_DECODED_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL",
222
262
  DUPLICATE_INTERFACE: "DUPLICATE_NETWORK_INTERFACE",
223
263
  NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS: "NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS",
224
264
  NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS: "NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS",
225
265
  OBD_NETWORK_INTERFACE_INFO_IS_NULL: "OBD_NETWORK_INTERFACE_INFO_IS_NULL",
266
+ VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL: "VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL",
226
267
  };
227
268
  exports.SignalDecoderFailureReason = {
228
269
  CAN_SIGNAL_INFO_IS_NULL: "CAN_SIGNAL_INFO_IS_NULL",
229
270
  CONFLICTING_SIGNAL: "CONFLICTING_SIGNAL",
271
+ CUSTOMER_DECODED_SIGNAL_INFO_IS_NULL: "CUSTOMER_DECODED_SIGNAL_INFO_IS_NULL",
230
272
  DUPLICATE_SIGNAL: "DUPLICATE_SIGNAL",
273
+ EMPTY_MESSAGE_SIGNAL: "EMPTY_MESSAGE_SIGNAL",
274
+ MESSAGE_SIGNAL_INFO_IS_NULL: "MESSAGE_SIGNAL_INFO_IS_NULL",
231
275
  NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE: "NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE",
232
276
  NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL: "NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL",
277
+ NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL: "NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL",
233
278
  OBD_SIGNAL_INFO_IS_NULL: "OBD_SIGNAL_INFO_IS_NULL",
279
+ SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG: "SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG",
280
+ SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE: "SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE",
234
281
  SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE: "SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE",
235
282
  SIGNAL_NOT_IN_MODEL: "SIGNAL_NOT_IN_MODEL",
236
283
  SIGNAL_TO_ADD_ALREADY_EXISTS: "SIGNAL_TO_ADD_ALREADY_EXISTS",
284
+ STRUCT_SIZE_MISMATCH: "STRUCT_SIZE_MISMATCH",
237
285
  };
238
286
  class DecoderManifestValidationException extends IoTFleetWiseServiceException_1.IoTFleetWiseServiceException {
239
287
  constructor(opts) {
@@ -264,6 +312,10 @@ class InvalidSignalsException extends IoTFleetWiseServiceException_1.IoTFleetWis
264
312
  }
265
313
  }
266
314
  exports.InvalidSignalsException = InvalidSignalsException;
315
+ exports.NodeDataEncoding = {
316
+ BINARY: "BINARY",
317
+ TYPED: "TYPED",
318
+ };
267
319
  var Node;
268
320
  (function (Node) {
269
321
  Node.visit = (value, visitor) => {
@@ -275,6 +327,10 @@ var Node;
275
327
  return visitor.actuator(value.actuator);
276
328
  if (value.attribute !== undefined)
277
329
  return visitor.attribute(value.attribute);
330
+ if (value.struct !== undefined)
331
+ return visitor.struct(value.struct);
332
+ if (value.property !== undefined)
333
+ return visitor.property(value.property);
278
334
  return visitor._(value.$unknown[0], value.$unknown[1]);
279
335
  };
280
336
  })(Node = exports.Node || (exports.Node = {}));
@@ -296,6 +352,8 @@ exports.InvalidNodeException = InvalidNodeException;
296
352
  exports.ManifestStatus = {
297
353
  ACTIVE: "ACTIVE",
298
354
  DRAFT: "DRAFT",
355
+ INVALID: "INVALID",
356
+ VALIDATING: "VALIDATING",
299
357
  };
300
358
  var NetworkFileDefinition;
301
359
  (function (NetworkFileDefinition) {
@@ -334,3 +392,15 @@ exports.VehicleState = {
334
392
  READY: "READY",
335
393
  SUSPENDED: "SUSPENDED",
336
394
  };
395
+ var StructuredMessage;
396
+ (function (StructuredMessage) {
397
+ StructuredMessage.visit = (value, visitor) => {
398
+ if (value.primitiveMessageDefinition !== undefined)
399
+ return visitor.primitiveMessageDefinition(value.primitiveMessageDefinition);
400
+ if (value.structuredMessageListDefinition !== undefined)
401
+ return visitor.structuredMessageListDefinition(value.structuredMessageListDefinition);
402
+ if (value.structuredMessageDefinition !== undefined)
403
+ return visitor.structuredMessageDefinition(value.structuredMessageDefinition);
404
+ return visitor._(value.$unknown[0], value.$unknown[1]);
405
+ };
406
+ })(StructuredMessage = exports.StructuredMessage || (exports.StructuredMessage = {}));
@@ -399,6 +399,9 @@ const de_AssociateVehicleFleetCommandError = async (output, context) => {
399
399
  case "InternalServerException":
400
400
  case "com.amazonaws.iotfleetwise#InternalServerException":
401
401
  throw await de_InternalServerExceptionRes(parsedOutput, context);
402
+ case "LimitExceededException":
403
+ case "com.amazonaws.iotfleetwise#LimitExceededException":
404
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
402
405
  case "ResourceNotFoundException":
403
406
  case "com.amazonaws.iotfleetwise#ResourceNotFoundException":
404
407
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -2897,6 +2900,7 @@ const se_Actuator = (input, context) => {
2897
2900
  fullyQualifiedName: [],
2898
2901
  max: smithy_client_1.serializeFloat,
2899
2902
  min: smithy_client_1.serializeFloat,
2903
+ structFullyQualifiedName: [],
2900
2904
  unit: [],
2901
2905
  });
2902
2906
  };
@@ -2978,6 +2982,12 @@ const se_ImportDecoderManifestRequest = (input, context) => {
2978
2982
  networkFileDefinitions: (_) => se_NetworkFileDefinitions(_, context),
2979
2983
  });
2980
2984
  };
2985
+ const se_MessageSignal = (input, context) => {
2986
+ return (0, smithy_client_1.take)(input, {
2987
+ structuredMessage: (_) => se_StructuredMessage(_, context),
2988
+ topicName: [],
2989
+ });
2990
+ };
2981
2991
  const se_NetworkFileDefinition = (input, context) => {
2982
2992
  return models_0_1.NetworkFileDefinition.visit(input, {
2983
2993
  canDbc: (value) => ({ canDbc: se_CanDbcDefinition(value, context) }),
@@ -3003,7 +3013,9 @@ const se_Node = (input, context) => {
3003
3013
  actuator: (value) => ({ actuator: se_Actuator(value, context) }),
3004
3014
  attribute: (value) => ({ attribute: se_Attribute(value, context) }),
3005
3015
  branch: (value) => ({ branch: (0, smithy_client_1._json)(value) }),
3016
+ property: (value) => ({ property: (0, smithy_client_1._json)(value) }),
3006
3017
  sensor: (value) => ({ sensor: se_Sensor(value, context) }),
3018
+ struct: (value) => ({ struct: (0, smithy_client_1._json)(value) }),
3007
3019
  _: (name, value) => ({ name: value }),
3008
3020
  });
3009
3021
  };
@@ -3027,6 +3039,22 @@ const se_ObdSignal = (input, context) => {
3027
3039
  startByte: [],
3028
3040
  });
3029
3041
  };
3042
+ const se_PrimitiveMessageDefinition = (input, context) => {
3043
+ return models_0_1.PrimitiveMessageDefinition.visit(input, {
3044
+ ros2PrimitiveMessageDefinition: (value) => ({
3045
+ ros2PrimitiveMessageDefinition: se_ROS2PrimitiveMessageDefinition(value, context),
3046
+ }),
3047
+ _: (name, value) => ({ name: value }),
3048
+ });
3049
+ };
3050
+ const se_ROS2PrimitiveMessageDefinition = (input, context) => {
3051
+ return (0, smithy_client_1.take)(input, {
3052
+ offset: smithy_client_1.serializeFloat,
3053
+ primitiveType: [],
3054
+ scaling: smithy_client_1.serializeFloat,
3055
+ upperBound: [],
3056
+ });
3057
+ };
3030
3058
  const se_Sensor = (input, context) => {
3031
3059
  return (0, smithy_client_1.take)(input, {
3032
3060
  allowedValues: smithy_client_1._json,
@@ -3037,6 +3065,7 @@ const se_Sensor = (input, context) => {
3037
3065
  fullyQualifiedName: [],
3038
3066
  max: smithy_client_1.serializeFloat,
3039
3067
  min: smithy_client_1.serializeFloat,
3068
+ structFullyQualifiedName: [],
3040
3069
  unit: [],
3041
3070
  });
3042
3071
  };
@@ -3045,6 +3074,7 @@ const se_SignalDecoder = (input, context) => {
3045
3074
  canSignal: (_) => se_CanSignal(_, context),
3046
3075
  fullyQualifiedName: [],
3047
3076
  interfaceId: [],
3077
+ messageSignal: (_) => se_MessageSignal(_, context),
3048
3078
  obdSignal: (_) => se_ObdSignal(_, context),
3049
3079
  type: [],
3050
3080
  });
@@ -3056,6 +3086,41 @@ const se_SignalDecoders = (input, context) => {
3056
3086
  return se_SignalDecoder(entry, context);
3057
3087
  });
3058
3088
  };
3089
+ const se_StructuredMessage = (input, context) => {
3090
+ return models_0_1.StructuredMessage.visit(input, {
3091
+ primitiveMessageDefinition: (value) => ({
3092
+ primitiveMessageDefinition: se_PrimitiveMessageDefinition(value, context),
3093
+ }),
3094
+ structuredMessageDefinition: (value) => ({
3095
+ structuredMessageDefinition: se_StructuredMessageDefinition(value, context),
3096
+ }),
3097
+ structuredMessageListDefinition: (value) => ({
3098
+ structuredMessageListDefinition: se_StructuredMessageListDefinition(value, context),
3099
+ }),
3100
+ _: (name, value) => ({ name: value }),
3101
+ });
3102
+ };
3103
+ const se_StructuredMessageDefinition = (input, context) => {
3104
+ return input
3105
+ .filter((e) => e != null)
3106
+ .map((entry) => {
3107
+ return se_StructuredMessageFieldNameAndDataTypePair(entry, context);
3108
+ });
3109
+ };
3110
+ const se_StructuredMessageFieldNameAndDataTypePair = (input, context) => {
3111
+ return (0, smithy_client_1.take)(input, {
3112
+ dataType: (_) => se_StructuredMessage(_, context),
3113
+ fieldName: [],
3114
+ });
3115
+ };
3116
+ const se_StructuredMessageListDefinition = (input, context) => {
3117
+ return (0, smithy_client_1.take)(input, {
3118
+ capacity: [],
3119
+ listType: [],
3120
+ memberType: (_) => se_StructuredMessage(_, context),
3121
+ name: [],
3122
+ });
3123
+ };
3059
3124
  const se_UpdateDecoderManifestRequest = (input, context) => {
3060
3125
  return (0, smithy_client_1.take)(input, {
3061
3126
  description: [],
@@ -3089,6 +3154,7 @@ const de_Actuator = (output, context) => {
3089
3154
  fullyQualifiedName: smithy_client_1.expectString,
3090
3155
  max: smithy_client_1.limitedParseDouble,
3091
3156
  min: smithy_client_1.limitedParseDouble,
3157
+ structFullyQualifiedName: smithy_client_1.expectString,
3092
3158
  unit: smithy_client_1.expectString,
3093
3159
  });
3094
3160
  };
@@ -3153,6 +3219,7 @@ const de_DecoderManifestSummary = (output, context) => {
3153
3219
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3154
3220
  description: smithy_client_1.expectString,
3155
3221
  lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3222
+ message: smithy_client_1.expectString,
3156
3223
  modelManifestArn: smithy_client_1.expectString,
3157
3224
  name: smithy_client_1.expectString,
3158
3225
  status: smithy_client_1.expectString,
@@ -3205,6 +3272,7 @@ const de_GetDecoderManifestResponse = (output, context) => {
3205
3272
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3206
3273
  description: smithy_client_1.expectString,
3207
3274
  lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3275
+ message: smithy_client_1.expectString,
3208
3276
  modelManifestArn: smithy_client_1.expectString,
3209
3277
  name: smithy_client_1.expectString,
3210
3278
  status: smithy_client_1.expectString,
@@ -3333,6 +3401,12 @@ const de_ListVehiclesResponse = (output, context) => {
3333
3401
  vehicleSummaries: (_) => de_vehicleSummaries(_, context),
3334
3402
  });
3335
3403
  };
3404
+ const de_MessageSignal = (output, context) => {
3405
+ return (0, smithy_client_1.take)(output, {
3406
+ structuredMessage: (_) => de_StructuredMessage((0, core_1.awsExpectUnion)(_), context),
3407
+ topicName: smithy_client_1.expectString,
3408
+ });
3409
+ };
3336
3410
  const de_modelManifestSummaries = (output, context) => {
3337
3411
  const retVal = (output || [])
3338
3412
  .filter((e) => e != null)
@@ -3368,11 +3442,21 @@ const de_Node = (output, context) => {
3368
3442
  branch: (0, smithy_client_1._json)(output.branch),
3369
3443
  };
3370
3444
  }
3445
+ if (output.property != null) {
3446
+ return {
3447
+ property: (0, smithy_client_1._json)(output.property),
3448
+ };
3449
+ }
3371
3450
  if (output.sensor != null) {
3372
3451
  return {
3373
3452
  sensor: de_Sensor(output.sensor, context),
3374
3453
  };
3375
3454
  }
3455
+ if (output.struct != null) {
3456
+ return {
3457
+ struct: (0, smithy_client_1._json)(output.struct),
3458
+ };
3459
+ }
3376
3460
  return { $unknown: Object.entries(output)[0] };
3377
3461
  };
3378
3462
  const de_Nodes = (output, context) => {
@@ -3396,6 +3480,14 @@ const de_ObdSignal = (output, context) => {
3396
3480
  startByte: smithy_client_1.expectInt32,
3397
3481
  });
3398
3482
  };
3483
+ const de_PrimitiveMessageDefinition = (output, context) => {
3484
+ if (output.ros2PrimitiveMessageDefinition != null) {
3485
+ return {
3486
+ ros2PrimitiveMessageDefinition: de_ROS2PrimitiveMessageDefinition(output.ros2PrimitiveMessageDefinition, context),
3487
+ };
3488
+ }
3489
+ return { $unknown: Object.entries(output)[0] };
3490
+ };
3399
3491
  const de_RegisterAccountResponse = (output, context) => {
3400
3492
  return (0, smithy_client_1.take)(output, {
3401
3493
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -3405,6 +3497,14 @@ const de_RegisterAccountResponse = (output, context) => {
3405
3497
  timestreamResources: smithy_client_1._json,
3406
3498
  });
3407
3499
  };
3500
+ const de_ROS2PrimitiveMessageDefinition = (output, context) => {
3501
+ return (0, smithy_client_1.take)(output, {
3502
+ offset: smithy_client_1.limitedParseDouble,
3503
+ primitiveType: smithy_client_1.expectString,
3504
+ scaling: smithy_client_1.limitedParseDouble,
3505
+ upperBound: smithy_client_1.expectLong,
3506
+ });
3507
+ };
3408
3508
  const de_Sensor = (output, context) => {
3409
3509
  return (0, smithy_client_1.take)(output, {
3410
3510
  allowedValues: smithy_client_1._json,
@@ -3415,6 +3515,7 @@ const de_Sensor = (output, context) => {
3415
3515
  fullyQualifiedName: smithy_client_1.expectString,
3416
3516
  max: smithy_client_1.limitedParseDouble,
3417
3517
  min: smithy_client_1.limitedParseDouble,
3518
+ structFullyQualifiedName: smithy_client_1.expectString,
3418
3519
  unit: smithy_client_1.expectString,
3419
3520
  });
3420
3521
  };
@@ -3439,6 +3540,7 @@ const de_SignalDecoder = (output, context) => {
3439
3540
  canSignal: (_) => de_CanSignal(_, context),
3440
3541
  fullyQualifiedName: smithy_client_1.expectString,
3441
3542
  interfaceId: smithy_client_1.expectString,
3543
+ messageSignal: (_) => de_MessageSignal(_, context),
3442
3544
  obdSignal: (_) => de_ObdSignal(_, context),
3443
3545
  type: smithy_client_1.expectString,
3444
3546
  });
@@ -3451,6 +3553,46 @@ const de_SignalDecoders = (output, context) => {
3451
3553
  });
3452
3554
  return retVal;
3453
3555
  };
3556
+ const de_StructuredMessage = (output, context) => {
3557
+ if (output.primitiveMessageDefinition != null) {
3558
+ return {
3559
+ primitiveMessageDefinition: de_PrimitiveMessageDefinition((0, core_1.awsExpectUnion)(output.primitiveMessageDefinition), context),
3560
+ };
3561
+ }
3562
+ if (output.structuredMessageDefinition != null) {
3563
+ return {
3564
+ structuredMessageDefinition: de_StructuredMessageDefinition(output.structuredMessageDefinition, context),
3565
+ };
3566
+ }
3567
+ if (output.structuredMessageListDefinition != null) {
3568
+ return {
3569
+ structuredMessageListDefinition: de_StructuredMessageListDefinition(output.structuredMessageListDefinition, context),
3570
+ };
3571
+ }
3572
+ return { $unknown: Object.entries(output)[0] };
3573
+ };
3574
+ const de_StructuredMessageDefinition = (output, context) => {
3575
+ const retVal = (output || [])
3576
+ .filter((e) => e != null)
3577
+ .map((entry) => {
3578
+ return de_StructuredMessageFieldNameAndDataTypePair(entry, context);
3579
+ });
3580
+ return retVal;
3581
+ };
3582
+ const de_StructuredMessageFieldNameAndDataTypePair = (output, context) => {
3583
+ return (0, smithy_client_1.take)(output, {
3584
+ dataType: (_) => de_StructuredMessage((0, core_1.awsExpectUnion)(_), context),
3585
+ fieldName: smithy_client_1.expectString,
3586
+ });
3587
+ };
3588
+ const de_StructuredMessageListDefinition = (output, context) => {
3589
+ return (0, smithy_client_1.take)(output, {
3590
+ capacity: smithy_client_1.expectInt32,
3591
+ listType: smithy_client_1.expectString,
3592
+ memberType: (_) => de_StructuredMessage((0, core_1.awsExpectUnion)(_), context),
3593
+ name: smithy_client_1.expectString,
3594
+ });
3595
+ };
3454
3596
  const de_vehicleSummaries = (output, context) => {
3455
3597
  const retVal = (output || [])
3456
3598
  .filter((e) => e != null)
@@ -28,6 +28,8 @@ export const NodeDataType = {
28
28
  INT8_ARRAY: "INT8_ARRAY",
29
29
  STRING: "STRING",
30
30
  STRING_ARRAY: "STRING_ARRAY",
31
+ STRUCT: "STRUCT",
32
+ STRUCT_ARRAY: "STRUCT_ARRAY",
31
33
  UINT16: "UINT16",
32
34
  UINT16_ARRAY: "UINT16_ARRAY",
33
35
  UINT32: "UINT32",
@@ -53,6 +55,20 @@ export class InternalServerException extends __BaseException {
53
55
  this.retryAfterSeconds = opts.retryAfterSeconds;
54
56
  }
55
57
  }
58
+ export class LimitExceededException extends __BaseException {
59
+ constructor(opts) {
60
+ super({
61
+ name: "LimitExceededException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ this.name = "LimitExceededException";
66
+ this.$fault = "client";
67
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
68
+ this.resourceId = opts.resourceId;
69
+ this.resourceType = opts.resourceType;
70
+ }
71
+ }
56
72
  export class ResourceNotFoundException extends __BaseException {
57
73
  constructor(opts) {
58
74
  super({
@@ -106,20 +122,6 @@ export const VehicleAssociationBehavior = {
106
122
  CREATE_IOT_THING: "CreateIotThing",
107
123
  VALIDATE_IOT_THING_EXISTS: "ValidateIotThingExists",
108
124
  };
109
- export class LimitExceededException extends __BaseException {
110
- constructor(opts) {
111
- super({
112
- name: "LimitExceededException",
113
- $fault: "client",
114
- ...opts,
115
- });
116
- this.name = "LimitExceededException";
117
- this.$fault = "client";
118
- Object.setPrototypeOf(this, LimitExceededException.prototype);
119
- this.resourceId = opts.resourceId;
120
- this.resourceType = opts.resourceType;
121
- }
122
- }
123
125
  export const UpdateMode = {
124
126
  MERGE: "Merge",
125
127
  OVERWRITE: "Overwrite",
@@ -200,30 +202,76 @@ export const LogType = {
200
202
  };
201
203
  export const NetworkInterfaceType = {
202
204
  CAN_INTERFACE: "CAN_INTERFACE",
205
+ CUSTOMER_DECODED_INTERFACE: "CUSTOMER_DECODED_INTERFACE",
203
206
  OBD_INTERFACE: "OBD_INTERFACE",
207
+ VEHICLE_MIDDLEWARE: "VEHICLE_MIDDLEWARE",
208
+ };
209
+ export const VehicleMiddlewareProtocol = {
210
+ ROS_2: "ROS_2",
211
+ };
212
+ export const ROS2PrimitiveType = {
213
+ BOOL: "BOOL",
214
+ BYTE: "BYTE",
215
+ CHAR: "CHAR",
216
+ FLOAT32: "FLOAT32",
217
+ FLOAT64: "FLOAT64",
218
+ INT16: "INT16",
219
+ INT32: "INT32",
220
+ INT64: "INT64",
221
+ INT8: "INT8",
222
+ STRING: "STRING",
223
+ UINT16: "UINT16",
224
+ UINT32: "UINT32",
225
+ UINT64: "UINT64",
226
+ UINT8: "UINT8",
227
+ WSTRING: "WSTRING",
228
+ };
229
+ export var PrimitiveMessageDefinition;
230
+ (function (PrimitiveMessageDefinition) {
231
+ PrimitiveMessageDefinition.visit = (value, visitor) => {
232
+ if (value.ros2PrimitiveMessageDefinition !== undefined)
233
+ return visitor.ros2PrimitiveMessageDefinition(value.ros2PrimitiveMessageDefinition);
234
+ return visitor._(value.$unknown[0], value.$unknown[1]);
235
+ };
236
+ })(PrimitiveMessageDefinition || (PrimitiveMessageDefinition = {}));
237
+ export const StructuredMessageListType = {
238
+ DYNAMIC_BOUNDED_CAPACITY: "DYNAMIC_BOUNDED_CAPACITY",
239
+ DYNAMIC_UNBOUNDED_CAPACITY: "DYNAMIC_UNBOUNDED_CAPACITY",
240
+ FIXED_CAPACITY: "FIXED_CAPACITY",
204
241
  };
205
242
  export const SignalDecoderType = {
206
243
  CAN_SIGNAL: "CAN_SIGNAL",
244
+ CUSTOMER_DECODED_SIGNAL: "CUSTOMER_DECODED_SIGNAL",
245
+ MESSAGE_SIGNAL: "MESSAGE_SIGNAL",
207
246
  OBD_SIGNAL: "OBD_SIGNAL",
208
247
  };
209
248
  export const NetworkInterfaceFailureReason = {
210
249
  CAN_NETWORK_INTERFACE_INFO_IS_NULL: "CAN_NETWORK_INTERFACE_INFO_IS_NULL",
211
250
  CONFLICTING_NETWORK_INTERFACE: "CONFLICTING_NETWORK_INTERFACE",
251
+ CUSTOMER_DECODED_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL: "CUSTOMER_DECODED_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL",
212
252
  DUPLICATE_INTERFACE: "DUPLICATE_NETWORK_INTERFACE",
213
253
  NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS: "NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS",
214
254
  NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS: "NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS",
215
255
  OBD_NETWORK_INTERFACE_INFO_IS_NULL: "OBD_NETWORK_INTERFACE_INFO_IS_NULL",
256
+ VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL: "VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL",
216
257
  };
217
258
  export const SignalDecoderFailureReason = {
218
259
  CAN_SIGNAL_INFO_IS_NULL: "CAN_SIGNAL_INFO_IS_NULL",
219
260
  CONFLICTING_SIGNAL: "CONFLICTING_SIGNAL",
261
+ CUSTOMER_DECODED_SIGNAL_INFO_IS_NULL: "CUSTOMER_DECODED_SIGNAL_INFO_IS_NULL",
220
262
  DUPLICATE_SIGNAL: "DUPLICATE_SIGNAL",
263
+ EMPTY_MESSAGE_SIGNAL: "EMPTY_MESSAGE_SIGNAL",
264
+ MESSAGE_SIGNAL_INFO_IS_NULL: "MESSAGE_SIGNAL_INFO_IS_NULL",
221
265
  NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE: "NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE",
222
266
  NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL: "NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL",
267
+ NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL: "NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL",
223
268
  OBD_SIGNAL_INFO_IS_NULL: "OBD_SIGNAL_INFO_IS_NULL",
269
+ SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG: "SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG",
270
+ SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE: "SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE",
224
271
  SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE: "SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE",
225
272
  SIGNAL_NOT_IN_MODEL: "SIGNAL_NOT_IN_MODEL",
226
273
  SIGNAL_TO_ADD_ALREADY_EXISTS: "SIGNAL_TO_ADD_ALREADY_EXISTS",
274
+ STRUCT_SIZE_MISMATCH: "STRUCT_SIZE_MISMATCH",
227
275
  };
228
276
  export class DecoderManifestValidationException extends __BaseException {
229
277
  constructor(opts) {
@@ -252,6 +300,10 @@ export class InvalidSignalsException extends __BaseException {
252
300
  this.invalidSignals = opts.invalidSignals;
253
301
  }
254
302
  }
303
+ export const NodeDataEncoding = {
304
+ BINARY: "BINARY",
305
+ TYPED: "TYPED",
306
+ };
255
307
  export var Node;
256
308
  (function (Node) {
257
309
  Node.visit = (value, visitor) => {
@@ -263,6 +315,10 @@ export var Node;
263
315
  return visitor.actuator(value.actuator);
264
316
  if (value.attribute !== undefined)
265
317
  return visitor.attribute(value.attribute);
318
+ if (value.struct !== undefined)
319
+ return visitor.struct(value.struct);
320
+ if (value.property !== undefined)
321
+ return visitor.property(value.property);
266
322
  return visitor._(value.$unknown[0], value.$unknown[1]);
267
323
  };
268
324
  })(Node || (Node = {}));
@@ -283,6 +339,8 @@ export class InvalidNodeException extends __BaseException {
283
339
  export const ManifestStatus = {
284
340
  ACTIVE: "ACTIVE",
285
341
  DRAFT: "DRAFT",
342
+ INVALID: "INVALID",
343
+ VALIDATING: "VALIDATING",
286
344
  };
287
345
  export var NetworkFileDefinition;
288
346
  (function (NetworkFileDefinition) {
@@ -321,3 +379,15 @@ export const VehicleState = {
321
379
  READY: "READY",
322
380
  SUSPENDED: "SUSPENDED",
323
381
  };
382
+ export var StructuredMessage;
383
+ (function (StructuredMessage) {
384
+ StructuredMessage.visit = (value, visitor) => {
385
+ if (value.primitiveMessageDefinition !== undefined)
386
+ return visitor.primitiveMessageDefinition(value.primitiveMessageDefinition);
387
+ if (value.structuredMessageListDefinition !== undefined)
388
+ return visitor.structuredMessageListDefinition(value.structuredMessageListDefinition);
389
+ if (value.structuredMessageDefinition !== undefined)
390
+ return visitor.structuredMessageDefinition(value.structuredMessageDefinition);
391
+ return visitor._(value.$unknown[0], value.$unknown[1]);
392
+ };
393
+ })(StructuredMessage || (StructuredMessage = {}));