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

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

Overview

Note:

When making an API call, you may pass UpdateDeviceStateRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

Returns:

  • (String)


710
711
712
713
714
715
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 710

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)


710
711
712
713
714
715
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 710

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