:doc:`IoTFleetWise <../../iotfleetwise>` / Client / import_decoder_manifest

***********************
import_decoder_manifest
***********************



.. py:method:: IoTFleetWise.Client.import_decoder_manifest(**kwargs)

  

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

   

  The CAN signal name must be unique and not repeated across CAN message definitions in a .dbc file.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotfleetwise-2021-06-17/ImportDecoderManifest>`_  


  **Request Syntax**
  ::

    response = client.import_decoder_manifest(
        name='string',
        networkFileDefinitions=[
            {
                'canDbc': {
                    'networkInterface': 'string',
                    'canDbcFiles': [
                        b'bytes',
                    ],
                    'signalsMap': {
                        'string': 'string'
                    }
                }
            },
        ]
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the decoder manifest to import.

    

  
  :type networkFileDefinitions: list
  :param networkFileDefinitions: **[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) --* 

            
      
    
      
    

  
  :rtype: 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**
  
  *   :py:class:`IoTFleetWise.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.InternalServerException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.ConflictException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.DecoderManifestValidationException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.ValidationException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.InvalidSignalsException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.AccessDeniedException`

  