IoT1ClickDevicesService.Client.get_device_methods(**kwargs)¶Given a device ID, returns the invokable methods associated with the device.
See also: AWS API Documentation
Request Syntax
response = client.get_device_methods(
DeviceId='string'
)
[REQUIRED]
The unique identifier of the device.
{
'DeviceMethods': [
{
'DeviceType': 'string',
'MethodName': 'string'
},
]
}
Response Structure
200 response
List of available device APIs.
The type of the device, such as "button".
The name of the method applicable to the deviceType.
Exceptions
IoT1ClickDevicesService.Client.exceptions.ResourceNotFoundExceptionIoT1ClickDevicesService.Client.exceptions.InvalidRequestExceptionIoT1ClickDevicesService.Client.exceptions.InternalFailureException