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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot1clickdevicesservice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

Returns:

  • (String)


592
593
594
595
596
597
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 592

class UpdateDeviceStateRequest < Struct.new(
  :device_id,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

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

Returns:

  • (Boolean)


592
593
594
595
596
597
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 592

class UpdateDeviceStateRequest < Struct.new(
  :device_id,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end