IoTSiteWise.Paginator.
ListAssetModels
¶paginator = client.get_paginator('list_asset_models')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from IoTSiteWise.Client.list_asset_models()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
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.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'assetModelSummaries': [
{
'id': 'string',
'arn': 'string',
'name': 'string',
'description': 'string',
'creationDate': datetime(2015, 1, 1),
'lastUpdateDate': datetime(2015, 1, 1),
'status': {
'state': 'CREATING'|'ACTIVE'|'UPDATING'|'PROPAGATING'|'DELETING'|'FAILED',
'error': {
'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE',
'message': 'string',
'details': [
{
'code': 'INCOMPATIBLE_COMPUTE_LOCATION'|'INCOMPATIBLE_FORWARDING_CONFIGURATION',
'message': 'string'
},
]
}
}
},
],
'NextToken': 'string'
}
Response Structure
A list that summarizes each asset model.
Contains a summary of an asset model.
The ID of the asset model (used with IoT SiteWise APIs).
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
The name of the asset model.
The asset model description.
The date the asset model was created, in Unix epoch time.
The date the asset model was last updated, in Unix epoch time.
The current status of the asset model.
The current state of the asset model.
Contains associated error information, if any.
The error code.
The error message.
A list of detailed errors.
Contains detailed error information.
The error code.
The error message.
A token to resume pagination.