You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT1ClickDevicesService::Types::UpdateDeviceStateRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateDeviceStateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  device_id: "__string", # required
  enabled: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

Returns:

  • (String)

#enabledBoolean

If true, the device is enabled. If false, the device is disabled.

Returns:

  • (Boolean)

    If true, the device is enabled.