IoTSiteWise / Client / list_computation_model_resolve_to_resources

list_computation_model_resolve_to_resources

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

Request Syntax

response = client.list_computation_model_resolve_to_resources(
    computationModelId='string',
    nextToken='string',
    maxResults=123
)
Parameters:
  • computationModelId (string) –

    [REQUIRED]

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

  • nextToken (string) – The token used for the next set of paginated results.

  • maxResults (integer) – The maximum number of results returned for each paginated request.

Return type:

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

  • IoTSiteWise.Client.exceptions.InvalidRequestException

  • IoTSiteWise.Client.exceptions.InternalFailureException

  • IoTSiteWise.Client.exceptions.ResourceNotFoundException

  • IoTSiteWise.Client.exceptions.ThrottlingException