Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
The command given to the device to execute.
See: newCommand
smart constructor.
Instances
ToJSON Command Source # | |
Defined in Amazonka.SnowDeviceManagement.Types.Command | |
Generic Command Source # | |
Read Command Source # | |
Show Command Source # | |
NFData Command Source # | |
Defined in Amazonka.SnowDeviceManagement.Types.Command | |
Eq Command Source # | |
Hashable 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" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "Command'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reboot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Reboot)) :*: S1 ('MetaSel ('Just "unlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unlock)))) |
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:reboot:Command'
, command_reboot
- Reboots the device.
$sel:unlock:Command'
, command_unlock
- Unlocks the device.