amazonka-snow-device-management-2.0: Amazon Snow Device Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SnowDeviceManagement.Types.Command

Description

 
Synopsis

Documentation

data Command Source #

The command given to the device to execute.

See: newCommand smart constructor.

Constructors

Command' 

Fields

Instances

Instances details
ToJSON Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Generic Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Associated Types

type Rep Command :: Type -> Type #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

Read Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Show Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

NFData Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Methods

rnf :: Command -> () #

Eq Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Hashable Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Methods

hashWithSalt :: Int -> Command -> Int #

hash :: Command -> Int #

type Rep Command Source # 
Instance details

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.

command_reboot :: Lens' Command (Maybe Reboot) Source #

Reboots the device.

command_unlock :: Lens' Command (Maybe Unlock) Source #

Unlocks the device.