Class: Aws::SnowDeviceManagement::Types::Command
- Inherits:
-
Struct
- Object
- Struct
- Aws::SnowDeviceManagement::Types::Command
- Includes:
- Aws::Structure, Aws::Structure::Union
- Defined in:
- lib/aws-sdk-snowdevicemanagement/types.rb
Overview
Note:
Command is a union - when making an API calls you must set exactly one of the members.
The command given to the device to execute.
Defined Under Namespace
Classes: Reboot, Unknown, Unlock
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#reboot ⇒ Types::Reboot
Reboots the device.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#unlock ⇒ Types::Unlock
Unlocks the device.
Instance Attribute Details
#reboot ⇒ Types::Reboot
Reboots the device.
99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/aws-sdk-snowdevicemanagement/types.rb', line 99 class Command < Struct.new( :reboot, :unlock, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Reboot < Command; end class Unlock < Command; end class Unknown < Command; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
99 100 101 |
# File 'lib/aws-sdk-snowdevicemanagement/types.rb', line 99 def unknown @unknown end |
#unlock ⇒ Types::Unlock
Unlocks the device.
99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/aws-sdk-snowdevicemanagement/types.rb', line 99 class Command < Struct.new( :reboot, :unlock, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Reboot < Command; end class Unlock < Command; end class Unknown < Command; end end |