IoTSiteWise / Client / describe_gateway
describe_gateway#
- IoTSiteWise.Client.describe_gateway(**kwargs)#
Retrieves information about a gateway.
See also: AWS API Documentation
Request Syntax
response = client.describe_gateway( gatewayId='string' )
- Parameters:
gatewayId (string) –
[REQUIRED]
The ID of the gateway device.
- Return type:
dict
- Returns:
Response Syntax
{ 'gatewayId': 'string', 'gatewayName': 'string', 'gatewayArn': 'string', 'gatewayPlatform': { 'greengrass': { 'groupArn': 'string' }, 'greengrassV2': { 'coreDeviceThingName': 'string' }, 'siemensIE': { 'iotCoreThingName': 'string' } }, 'gatewayCapabilitySummaries': [ { 'capabilityNamespace': 'string', 'capabilitySyncStatus': 'IN_SYNC'|'OUT_OF_SYNC'|'SYNC_FAILED'|'UNKNOWN'|'NOT_APPLICABLE' }, ], 'creationDate': datetime(2015, 1, 1), 'lastUpdateDate': datetime(2015, 1, 1) }
Response Structure
(dict) –
gatewayId (string) –
The ID of the gateway device.
gatewayName (string) –
The name of the gateway.
gatewayArn (string) –
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
gatewayPlatform (dict) –
The gateway’s platform.
greengrass (dict) –
A gateway that runs on IoT Greengrass.
groupArn (string) –
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 V1 API Reference.
greengrassV2 (dict) –
A gateway that runs on IoT Greengrass V2.
coreDeviceThingName (string) –
The name of the IoT thing for your IoT Greengrass V2 core device.
siemensIE (dict) –
A SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
iotCoreThingName (string) –
The name of the IoT Thing for your SiteWise Edge gateway.
gatewayCapabilitySummaries (list) –
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.
(dict) –
Contains a summary of a gateway capability configuration.
capabilityNamespace (string) –
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
, whereversion
is a number such as1
.capabilitySyncStatus (string) –
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.NOT_APPLICABLE
– Synchronization is not required for this capability configuration. This is most common when integrating partner data sources, because the data integration is handled externally by the partner.OUT_OF_SYNC
– The gateway hasn’t received the capability configuration.SYNC_FAILED
– The gateway rejected the capability configuration.UNKNOWN
– The synchronization status is currently unknown due to an undetermined or temporary error.
creationDate (datetime) –
The date the gateway was created, in Unix epoch time.
lastUpdateDate (datetime) –
The date the gateway was last updated, in Unix epoch time.
Exceptions