Class: Aws::IoT1ClickDevicesService::Types::DeviceMethod

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 DeviceMethod data as a hash:

{
  device_type: "__string",
  method_name: "__string",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_typeString

The type of the device, such as "button".

Returns:

  • (String)


215
216
217
218
219
220
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 215

class DeviceMethod < Struct.new(
  :device_type,
  :method_name)
  SENSITIVE = []
  include Aws::Structure
end

#method_nameString

The name of the method applicable to the deviceType.

Returns:

  • (String)


215
216
217
218
219
220
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 215

class DeviceMethod < Struct.new(
  :device_type,
  :method_name)
  SENSITIVE = []
  include Aws::Structure
end