:doc:`IoTSiteWise <../../iotsitewise>` / Client / list_computation_model_resolve_to_resources

*******************************************
list_computation_model_resolve_to_resources
*******************************************



.. py:method:: IoTSiteWise.Client.list_computation_model_resolve_to_resources(**kwargs)

  

  Lists all distinct resources that are resolved from the executed actions of the computation model.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListComputationModelResolveToResources>`_  


  **Request Syntax**
  ::

    response = client.list_computation_model_resolve_to_resources(
        computationModelId='string',
        nextToken='string',
        maxResults=123
    )
    
  :type computationModelId: string
  :param computationModelId: **[REQUIRED]** 

    The ID of the computation model for which to list resolved resources.

    

  
  :type nextToken: string
  :param nextToken: 

    The token used for the next set of paginated results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results returned for each paginated request.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'computationModelResolveToResourceSummaries': [
              {
                  'resolveTo': {
                      'assetId': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **computationModelResolveToResourceSummaries** *(list) --* 

        A list of summaries describing the distinct resources that this computation model resolves to when actions were executed.

        
        

        - *(dict) --* 

          A summary of the resource that a computation model resolves to.

          
          

          - **resolveTo** *(dict) --* 

            The detailed resource this execution summary resolves to.

            
            

            - **assetId** *(string) --* 

              The ID of the asset that the resource resolves to.

              
        
      
    
      

      - **nextToken** *(string) --* 

        The token for the next set of paginated results, or null if there are no additional results.

        
  
  **Exceptions**
  
  *   :py:class:`IoTSiteWise.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.ResourceNotFoundException`

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

  