IoTSiteWise.Paginator.
ListPortals
¶paginator = client.get_paginator('list_portals')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from IoTSiteWise.Client.list_portals()
.
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.
{
'portalSummaries': [
{
'id': 'string',
'name': 'string',
'description': 'string',
'startUrl': 'string',
'creationDate': datetime(2015, 1, 1),
'lastUpdateDate': datetime(2015, 1, 1),
'roleArn': 'string',
'status': {
'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED',
'error': {
'code': 'INTERNAL_FAILURE'|'VALIDATION_ERROR'|'LIMIT_EXCEEDED',
'message': 'string'
}
}
},
],
'NextToken': 'string'
}
Response Structure
A list that summarizes each portal.
Contains a portal summary.
The ID of the portal.
The name of the portal.
The portal's description.
The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
The date the portal was created, in Unix epoch time.
The date the portal was last updated, in Unix epoch time.
The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide .
Contains information about the current status of a portal.
The current state of the portal.
Contains associated error information, if any.
The error code.
The error message.
A token to resume pagination.