ManagedintegrationsforIoTDeviceManagement / Client / get_managed_thing_capabilities
get_managed_thing_capabilities#
- ManagedintegrationsforIoTDeviceManagement.Client.get_managed_thing_capabilities(**kwargs)#
Get the capabilities for a managed thing using the device ID.
See also: AWS API Documentation
Request Syntax
response = client.get_managed_thing_capabilities( Identifier='string' )
- Parameters:
Identifier (string) –
[REQUIRED]
The id of the device.
- Return type:
dict
- Returns:
Response Syntax
{ 'ManagedThingId': 'string', 'Capabilities': 'string', 'CapabilityReport': { 'version': 'string', 'nodeId': 'string', 'endpoints': [ { 'id': 'string', 'deviceTypes': [ 'string', ], 'capabilities': [ { 'id': 'string', 'name': 'string', 'version': 'string', 'properties': [ 'string', ], 'actions': [ 'string', ], 'events': [ 'string', ] }, ] }, ] } }
Response Structure
(dict) –
ManagedThingId (string) –
The id of the device.
Capabilities (string) –
The capabilities of the device such as light bulb.
CapabilityReport (dict) –
A report of the capabilities for the managed thing.
version (string) –
The version of the capability report.
nodeId (string) –
The numeric identifier of the node.
endpoints (list) –
The endpoints used in the capability report.
(dict) –
The endpoint used in the capability report.
id (string) –
The id of the endpoint used in the capability report.
deviceTypes (list) –
The type of device.
(string) –
capabilities (list) –
The capabilities used in the capability report.
(dict) –
The capability used in capability report.
id (string) –
The id of the schema version.
name (string) –
The name of the capability.
version (string) –
The version of the capability.
properties (list) –
The capability properties used in the capability report.
(string) –
actions (list) –
The capability actions used in the capability report.
(string) –
events (list) –
The capability events used in the capability report.
(string) –
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.UnauthorizedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceUnavailableException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException