IoTFleetWise / Client / import_decoder_manifest

import_decoder_manifest#

IoTFleetWise.Client.import_decoder_manifest(**kwargs)#

Creates a decoder manifest using your existing CAN DBC file from your local device.

See also: AWS API Documentation

Request Syntax

response = client.import_decoder_manifest(
    name='string',
    networkFileDefinitions=[
        {
            'canDbc': {
                'networkInterface': 'string',
                'canDbcFiles': [
                    b'bytes',
                ],
                'signalsMap': {
                    'string': 'string'
                }
            }
        },
    ]
)
Parameters:
  • name (string) –

    [REQUIRED]

    The name of the decoder manifest to import.

  • networkFileDefinitions (list) –

    [REQUIRED]

    The file to load into an Amazon Web Services account.

    • (dict) –

      Specifications for defining a vehicle network.

      Note

      This is a Tagged Union structure. Only one of the following top level keys can be set: canDbc.

      • canDbc (dict) –

        Information, including CAN DBC files, about the configurations used to create a decoder manifest.

        • networkInterface (string) – [REQUIRED]

          Contains information about a network interface.

        • canDbcFiles (list) – [REQUIRED]

          A list of DBC files. You can upload only one DBC file for each network interface and specify up to five (inclusive) files in the list. The DBC file can be a maximum size of 200 MB.

          • (bytes) –

        • signalsMap (dict) –

          Pairs every signal specified in your vehicle model with a signal decoder.

          • (string) –

            • (string) –

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • name (string) –

      The name of the imported decoder manifest.

    • arn (string) –

      The Amazon Resource Name (ARN) of the decoder manifest that was imported.

Exceptions

  • IoTFleetWise.Client.exceptions.ResourceNotFoundException

  • IoTFleetWise.Client.exceptions.InternalServerException

  • IoTFleetWise.Client.exceptions.ConflictException

  • IoTFleetWise.Client.exceptions.DecoderManifestValidationException

  • IoTFleetWise.Client.exceptions.ThrottlingException

  • IoTFleetWise.Client.exceptions.ValidationException

  • IoTFleetWise.Client.exceptions.InvalidSignalsException

  • IoTFleetWise.Client.exceptions.AccessDeniedException