Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_project_assets

list_project_assets(**kwargs)

Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.

See also: AWS API Documentation

Request Syntax

response = client.list_project_assets(
    projectId='string',
    nextToken='string',
    maxResults=123
)
Parameters
  • projectId (string) --

    [REQUIRED]

    The ID of the project.

  • nextToken (string) -- The token to be used for the next set of paginated results.
  • maxResults (integer) --

    The maximum number of results to return for each paginated request.

    Default: 50

Return type

dict

Returns

Response Syntax

{
    'assetIds': [
        'string',
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • assetIds (list) --

      A list that contains the IDs of each asset associated with the project.

      • (string) --
    • nextToken (string) --

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

Exceptions

  • IoTSiteWise.Client.exceptions.InvalidRequestException
  • IoTSiteWise.Client.exceptions.InternalFailureException
  • IoTSiteWise.Client.exceptions.ThrottlingException