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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-snowdevicemanagement/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:

  • (Types::Reboot)


106
107
108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/types.rb', line 106

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



106
107
108
# File 'gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/types.rb', line 106

def unknown
  @unknown
end

#unlockTypes::Unlock

Unlocks the device.

Returns:

  • (Types::Unlock)


106
107
108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/types.rb', line 106

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