

# Command
<a name="API_devicemanagement_Command"></a>

The command given to the device to execute.

## Contents
<a name="API_devicemanagement_Command_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** reboot **   <a name="Snowball-Type-devicemanagement_Command-reboot"></a>
Reboots the device.  
Type: [Reboot](API_devicemanagement_Reboot.md) object  
Required: No

 ** unlock **   <a name="Snowball-Type-devicemanagement_Command-unlock"></a>
Unlocks the device.  
Type: [Unlock](API_devicemanagement_Unlock.md) object  
Required: No

## See Also
<a name="API_devicemanagement_Command_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/snow-device-management-2021-08-04/Command) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/snow-device-management-2021-08-04/Command) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/snow-device-management-2021-08-04/Command) 