Update a signal catalog (AWS CLI) - AWS IoT FleetWise

Update a signal catalog (AWS CLI)

AWS IoT FleetWise is in preview release and is subject to change. We recommend that you use the service only with test data, and not in production environments.

While AWS IoT FleetWise is in preview, you must download the preview AWS SDK and AWS CLI to use the API operations for this service. These API operations aren't available in the public AWS SDK or AWS CLI. For more information, see Preview AWS CLI and AWS SDKs.

You can use the UpdateSignalCatalog API operation to update an existing signal catalog. The following example uses AWS CLI.

To update an existing signal catalog, run the following command.

Replace signal-catalog-configuration with the name of the JSON file that contains the configuration.

aws iotfleetwise update-signal-catalog --cli-input-json file://signal-catalog-configuration.json
  • Replace signal-catalog-name with the name of the signal catalog that you're updating.

For more information about how to configure branches, attributes, sensors, and actuators, see Configure signals.

{ "name": "signal-catalog-name", "nodesToAdd": [ { "branch": { "description": "Front left of vehicle specific data.", "fullyQualifiedName": "Vehicle.Front.Left", "name": "Left" }, "type": "Branch" }, { "branch": { "description": "Door-specific data for the front left of vehicle.", "fullyQualifiedName": "Vehicle.Front.Left.Door", "name": "Door" }, "type": "Branch" }, { "actuator": { "fullyQualifiedName": "Vehicle.Front.Left.Door.Lock", "name": "Lock", "description": "Whether the front left door is locked.", "dataType": "BOOLEAN" }, "type": "Actuator" } ], "nodesToRemove": ["Vehicle.Chassis.SteeringWheel.HandsOffSteeringState"], "nodesToUpdate": [ { "attribute": { "dataType": "FLOAT", "fullyQualifiedName": "Vehicle.Chassis.SteeringWheel.Diameter", "name": "Diameter", "max": 55 }, "type": "Attribute" } ] }