CmdID / aws / aws iotsitewise
aws iotsitewise list-gateways
Retrieves a paginated list of gateways. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To list all gateways
The following list-gateways example lists all gateways that are defined in your AWS account in the current Region.
aws iotsitewise list-gatewaysIdentifyIts output
{
"gatewaySummaries": [
{
"gatewayId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"gatewayName": "ExampleCorpGateway",
"gatewayCapabilitySummaries": [
{
"capabilityNamespace": "iotsitewise:opcuacollector:1",
"capabilitySyncStatus": "IN_SYNC"
}
],
"creationDate": 1588369971.457,
"lastUpdateDate": 1588369971.457
}
]
}For more information, see Ingesting data using a gateway in the AWS IoT SiteWise User Guide.
Options
--max-resultsThe maximum number of results to return for each paginated request.--next-tokenThe token to be used for the next set of paginated results.