Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
The command given to the device to execute.
See: newCommand
smart constructor.
Instances
Eq Command Source # | |
Read Command Source # | |
Show Command Source # | |
Generic Command Source # | |
NFData Command Source # | |
Defined in Amazonka.SnowDeviceManagement.Types.Command | |
Hashable Command Source # | |
Defined in Amazonka.SnowDeviceManagement.Types.Command | |
ToJSON Command Source # | |
Defined in Amazonka.SnowDeviceManagement.Types.Command | |
type Rep Command Source # | |
Defined in Amazonka.SnowDeviceManagement.Types.Command type Rep Command = D1 ('MetaData "Command" "Amazonka.SnowDeviceManagement.Types.Command" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "Command'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unlock)) :*: S1 ('MetaSel ('Just "reboot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Reboot)))) |
newCommand :: Command Source #
Create a value of Command
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:unlock:Command'
, command_unlock
- Unlocks the device.
$sel:reboot:Command'
, command_reboot
- Reboots the device.