IoTSiteWise / Paginator / ListComputationModelResolveToResources

ListComputationModelResolveToResources

class IoTSiteWise.Paginator.ListComputationModelResolveToResources
paginator = client.get_paginator('list_computation_model_resolve_to_resources')
paginate(**kwargs)

Creates an iterator that will paginate through responses from IoTSiteWise.Client.list_computation_model_resolve_to_resources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    computationModelId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • computationModelId (string) –

    [REQUIRED]

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

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.