Amazon IoT Device Management commands - Amazon IoT Core
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon IoT Device Management commands

Important

This documentation describes how you can use the commands feature in Amazon IoT Device Management. For information about using this feature for Amazon IoT FleetWise, see Remote commands.

You are solely responsible for deploying commands in a manner that is safe and compliant with applicable laws. For more information on your responsibilities, please see the Amazon Service Terms for Amazon IoT Services.

Use Amazon IoT Device Management commands to send an instruction from the cloud to a device that's connected to Amazon IoT. Commands target one device at a time, and can be used for low-latency, high-throughput applications, such as to retrieve the device-side logs, or to initiate a device state change.

The command is a reusable resource that's managed by Amazon IoT Device Management. It contains configurations that are applied before they are published onto the device. You can pre-define a set of commands for specific use cases, such as turning on a light bulb or unlocking a vehicle door.

By using the Amazon IoT commands feature, you can:

  • Create a command resource and reuse its configuration to send a command multiple times to your target device.

  • Target a device that has been registered as an Amazon IoT thing, or an MQTT client that has not been registered in Amazon IoT.

  • Run multiple commands concurrently on the target device without overloading the device.

  • Enable notifications for commands events, and retrieve and track the status from the device as it runs the command to completion.

The following topics show you how to create commands, send them to your device, and retrieve the status reported by the device.