IoTSiteWise.Paginator.
ListGateways
¶paginator = client.get_paginator('list_gateways')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from IoTSiteWise.Client.list_gateways()
.
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.
{
'gatewaySummaries': [
{
'gatewayId': 'string',
'gatewayName': 'string',
'gatewayPlatform': {
'greengrass': {
'groupArn': 'string'
},
'greengrassV2': {
'coreDeviceThingName': 'string'
}
},
'gatewayCapabilitySummaries': [
{
'capabilityNamespace': 'string',
'capabilitySyncStatus': 'IN_SYNC'|'OUT_OF_SYNC'|'SYNC_FAILED'|'UNKNOWN'
},
],
'creationDate': datetime(2015, 1, 1),
'lastUpdateDate': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
A list that summarizes each gateway.
Contains a summary of a gateway.
The ID of the gateway device.
The name of the asset.
Contains a gateway's platform information.
A gateway that runs on IoT Greengrass.
The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass API Reference .
A gateway that runs on IoT Greengrass V2.
The name of the IoT thing for your IoT Greengrass V2 core device.
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
Contains a summary of a gateway capability configuration.
The namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version
, where version
is a number such as 1
.
The synchronization status of the capability configuration. The sync status can be one of the following:
IN_SYNC
– The gateway is running the capability configuration.OUT_OF_SYNC
– The gateway hasn't received the capability configuration.SYNC_FAILED
– The gateway rejected the capability configuration.The date the gateway was created, in Unix epoch time.
The date the gateway was last updated, in Unix epoch time.
A token to resume pagination.