IoTFleetWise / Client / update_signal_catalog

update_signal_catalog#

IoTFleetWise.Client.update_signal_catalog(**kwargs)#

Updates a signal catalog.

See also: AWS API Documentation

Request Syntax

response = client.update_signal_catalog(
    name='string',
    description='string',
    nodesToAdd=[
        {
            'branch': {
                'fullyQualifiedName': 'string',
                'description': 'string'
            },
            'sensor': {
                'fullyQualifiedName': 'string',
                'dataType': 'INT8'|'UINT8'|'INT16'|'UINT16'|'INT32'|'UINT32'|'INT64'|'UINT64'|'BOOLEAN'|'FLOAT'|'DOUBLE'|'STRING'|'UNIX_TIMESTAMP'|'INT8_ARRAY'|'UINT8_ARRAY'|'INT16_ARRAY'|'UINT16_ARRAY'|'INT32_ARRAY'|'UINT32_ARRAY'|'INT64_ARRAY'|'UINT64_ARRAY'|'BOOLEAN_ARRAY'|'FLOAT_ARRAY'|'DOUBLE_ARRAY'|'STRING_ARRAY'|'UNIX_TIMESTAMP_ARRAY'|'UNKNOWN',
                'description': 'string',
                'unit': 'string',
                'allowedValues': [
                    'string',
                ],
                'min': 123.0,
                'max': 123.0
            },
            'actuator': {
                'fullyQualifiedName': 'string',
                'dataType': 'INT8'|'UINT8'|'INT16'|'UINT16'|'INT32'|'UINT32'|'INT64'|'UINT64'|'BOOLEAN'|'FLOAT'|'DOUBLE'|'STRING'|'UNIX_TIMESTAMP'|'INT8_ARRAY'|'UINT8_ARRAY'|'INT16_ARRAY'|'UINT16_ARRAY'|'INT32_ARRAY'|'UINT32_ARRAY'|'INT64_ARRAY'|'UINT64_ARRAY'|'BOOLEAN_ARRAY'|'FLOAT_ARRAY'|'DOUBLE_ARRAY'|'STRING_ARRAY'|'UNIX_TIMESTAMP_ARRAY'|'UNKNOWN',
                'description': 'string',
                'unit': 'string',
                'allowedValues': [
                    'string',
                ],
                'min': 123.0,
                'max': 123.0,
                'assignedValue': 'string'
            },
            'attribute': {
                'fullyQualifiedName': 'string',
                'dataType': 'INT8'|'UINT8'|'INT16'|'UINT16'|'INT32'|'UINT32'|'INT64'|'UINT64'|'BOOLEAN'|'FLOAT'|'DOUBLE'|'STRING'|'UNIX_TIMESTAMP'|'INT8_ARRAY'|'UINT8_ARRAY'|'INT16_ARRAY'|'UINT16_ARRAY'|'INT32_ARRAY'|'UINT32_ARRAY'|'INT64_ARRAY'|'UINT64_ARRAY'|'BOOLEAN_ARRAY'|'FLOAT_ARRAY'|'DOUBLE_ARRAY'|'STRING_ARRAY'|'UNIX_TIMESTAMP_ARRAY'|'UNKNOWN',
                'description': 'string',
                'unit': 'string',
                'allowedValues': [
                    'string',
                ],
                'min': 123.0,
                'max': 123.0,
                'assignedValue': 'string',
                'defaultValue': 'string'
            }
        },
    ],
    nodesToUpdate=[
        {
            'branch': {
                'fullyQualifiedName': 'string',
                'description': 'string'
            },
            'sensor': {
                'fullyQualifiedName': 'string',
                'dataType': 'INT8'|'UINT8'|'INT16'|'UINT16'|'INT32'|'UINT32'|'INT64'|'UINT64'|'BOOLEAN'|'FLOAT'|'DOUBLE'|'STRING'|'UNIX_TIMESTAMP'|'INT8_ARRAY'|'UINT8_ARRAY'|'INT16_ARRAY'|'UINT16_ARRAY'|'INT32_ARRAY'|'UINT32_ARRAY'|'INT64_ARRAY'|'UINT64_ARRAY'|'BOOLEAN_ARRAY'|'FLOAT_ARRAY'|'DOUBLE_ARRAY'|'STRING_ARRAY'|'UNIX_TIMESTAMP_ARRAY'|'UNKNOWN',
                'description': 'string',
                'unit': 'string',
                'allowedValues': [
                    'string',
                ],
                'min': 123.0,
                'max': 123.0
            },
            'actuator': {
                'fullyQualifiedName': 'string',
                'dataType': 'INT8'|'UINT8'|'INT16'|'UINT16'|'INT32'|'UINT32'|'INT64'|'UINT64'|'BOOLEAN'|'FLOAT'|'DOUBLE'|'STRING'|'UNIX_TIMESTAMP'|'INT8_ARRAY'|'UINT8_ARRAY'|'INT16_ARRAY'|'UINT16_ARRAY'|'INT32_ARRAY'|'UINT32_ARRAY'|'INT64_ARRAY'|'UINT64_ARRAY'|'BOOLEAN_ARRAY'|'FLOAT_ARRAY'|'DOUBLE_ARRAY'|'STRING_ARRAY'|'UNIX_TIMESTAMP_ARRAY'|'UNKNOWN',
                'description': 'string',
                'unit': 'string',
                'allowedValues': [
                    'string',
                ],
                'min': 123.0,
                'max': 123.0,
                'assignedValue': 'string'
            },
            'attribute': {
                'fullyQualifiedName': 'string',
                'dataType': 'INT8'|'UINT8'|'INT16'|'UINT16'|'INT32'|'UINT32'|'INT64'|'UINT64'|'BOOLEAN'|'FLOAT'|'DOUBLE'|'STRING'|'UNIX_TIMESTAMP'|'INT8_ARRAY'|'UINT8_ARRAY'|'INT16_ARRAY'|'UINT16_ARRAY'|'INT32_ARRAY'|'UINT32_ARRAY'|'INT64_ARRAY'|'UINT64_ARRAY'|'BOOLEAN_ARRAY'|'FLOAT_ARRAY'|'DOUBLE_ARRAY'|'STRING_ARRAY'|'UNIX_TIMESTAMP_ARRAY'|'UNKNOWN',
                'description': 'string',
                'unit': 'string',
                'allowedValues': [
                    'string',
                ],
                'min': 123.0,
                'max': 123.0,
                'assignedValue': 'string',
                'defaultValue': 'string'
            }
        },
    ],
    nodesToRemove=[
        'string',
    ]
)
Parameters:
  • name (string) –

    [REQUIRED]

    The name of the signal catalog to update.

  • description (string) – A brief description of the signal catalog to update.

  • nodesToAdd (list) –

    A list of information about nodes to add to the signal catalog.

    • (dict) –

      A general abstraction of a signal. A node can be specified as an actuator, attribute, branch, or sensor.

      Note

      This is a Tagged Union structure. Only one of the following top level keys can be set: branch, sensor, actuator, attribute.

      • branch (dict) –

        Information about a node specified as a branch.

        Note

        A group of signals that are defined in a hierarchical structure.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the branch. For example, the fully qualified name of a branch might be Vehicle.Body.Engine.

        • description (string) –

          A brief description of the branch.

      • sensor (dict) –

        An input component that reports the environmental condition of a vehicle.

        Note

        You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

        • dataType (string) – [REQUIRED]

          The specified data type of the sensor.

        • description (string) –

          A brief description of a sensor.

        • unit (string) –

          The scientific unit of measurement for data collected by the sensor.

        • allowedValues (list) –

          A list of possible values a sensor can take.

          • (string) –

        • min (float) –

          The specified possible minimum value of the sensor.

        • max (float) –

          The specified possible maximum value of the sensor.

      • actuator (dict) –

        Information about a node specified as an actuator.

        Note

        An actuator is a digital representation of a vehicle device.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be Vehicle.Front.Left.Door.Lock.

        • dataType (string) – [REQUIRED]

          The specified data type of the actuator.

        • description (string) –

          A brief description of the actuator.

        • unit (string) –

          The scientific unit for the actuator.

        • allowedValues (list) –

          A list of possible values an actuator can take.

          • (string) –

        • min (float) –

          The specified possible minimum value of an actuator.

        • max (float) –

          The specified possible maximum value of an actuator.

        • assignedValue (string) –

          A specified value for the actuator.

      • attribute (dict) –

        Information about a node specified as an attribute.

        Note

        An attribute represents static information about a vehicle.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.

        • dataType (string) – [REQUIRED]

          The specified data type of the attribute.

        • description (string) –

          A brief description of the attribute.

        • unit (string) –

          The scientific unit for the attribute.

        • allowedValues (list) –

          A list of possible values an attribute can be assigned.

          • (string) –

        • min (float) –

          The specified possible minimum value of the attribute.

        • max (float) –

          The specified possible maximum value of the attribute.

        • assignedValue (string) –

          A specified value for the attribute.

        • defaultValue (string) –

          The default value of the attribute.

  • nodesToUpdate (list) –

    A list of information about nodes to update in the signal catalog.

    • (dict) –

      A general abstraction of a signal. A node can be specified as an actuator, attribute, branch, or sensor.

      Note

      This is a Tagged Union structure. Only one of the following top level keys can be set: branch, sensor, actuator, attribute.

      • branch (dict) –

        Information about a node specified as a branch.

        Note

        A group of signals that are defined in a hierarchical structure.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the branch. For example, the fully qualified name of a branch might be Vehicle.Body.Engine.

        • description (string) –

          A brief description of the branch.

      • sensor (dict) –

        An input component that reports the environmental condition of a vehicle.

        Note

        You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

        • dataType (string) – [REQUIRED]

          The specified data type of the sensor.

        • description (string) –

          A brief description of a sensor.

        • unit (string) –

          The scientific unit of measurement for data collected by the sensor.

        • allowedValues (list) –

          A list of possible values a sensor can take.

          • (string) –

        • min (float) –

          The specified possible minimum value of the sensor.

        • max (float) –

          The specified possible maximum value of the sensor.

      • actuator (dict) –

        Information about a node specified as an actuator.

        Note

        An actuator is a digital representation of a vehicle device.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be Vehicle.Front.Left.Door.Lock.

        • dataType (string) – [REQUIRED]

          The specified data type of the actuator.

        • description (string) –

          A brief description of the actuator.

        • unit (string) –

          The scientific unit for the actuator.

        • allowedValues (list) –

          A list of possible values an actuator can take.

          • (string) –

        • min (float) –

          The specified possible minimum value of an actuator.

        • max (float) –

          The specified possible maximum value of an actuator.

        • assignedValue (string) –

          A specified value for the actuator.

      • attribute (dict) –

        Information about a node specified as an attribute.

        Note

        An attribute represents static information about a vehicle.

        • fullyQualifiedName (string) – [REQUIRED]

          The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.

        • dataType (string) – [REQUIRED]

          The specified data type of the attribute.

        • description (string) –

          A brief description of the attribute.

        • unit (string) –

          The scientific unit for the attribute.

        • allowedValues (list) –

          A list of possible values an attribute can be assigned.

          • (string) –

        • min (float) –

          The specified possible minimum value of the attribute.

        • max (float) –

          The specified possible maximum value of the attribute.

        • assignedValue (string) –

          A specified value for the attribute.

        • defaultValue (string) –

          The default value of the attribute.

  • nodesToRemove (list) –

    A list of fullyQualifiedName of nodes to remove from the signal catalog.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'name': 'string',
    'arn': 'string'
}

Response Structure

  • (dict) –

    • name (string) –

      The name of the updated signal catalog.

    • arn (string) –

      The ARN of the updated signal catalog.

Exceptions

  • IoTFleetWise.Client.exceptions.ResourceNotFoundException

  • IoTFleetWise.Client.exceptions.InternalServerException

  • IoTFleetWise.Client.exceptions.ConflictException

  • IoTFleetWise.Client.exceptions.LimitExceededException

  • IoTFleetWise.Client.exceptions.InvalidNodeException

  • IoTFleetWise.Client.exceptions.ThrottlingException

  • IoTFleetWise.Client.exceptions.ValidationException

  • IoTFleetWise.Client.exceptions.InvalidSignalsException

  • IoTFleetWise.Client.exceptions.AccessDeniedException