libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Methods

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

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

Read Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Show 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 #

NFData Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Methods

rnf :: Command -> () #

Hashable Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

Methods

hashWithSalt :: Int -> Command -> Int #

hash :: Command -> Int #

ToJSON Command Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Command

type Rep Command Source # 
Instance details

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.

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

Unlocks the device.

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

Reboots the device.