Class: Aws::SnowDeviceManagement::Types::Command

Inherits:
Struct
  • Object
show all
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.

Direct Known Subclasses

Reboot, Unknown, Unlock

Defined Under Namespace

Classes: Reboot, Unknown, Unlock

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rebootTypes::Reboot

Reboots the device.

Returns:



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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



99
100
101
# File 'lib/aws-sdk-snowdevicemanagement/types.rb', line 99

def unknown
  @unknown
end

#unlockTypes::Unlock

Unlocks the device.

Returns:



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