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

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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#device_typeString

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

Returns:

  • (String)


204
205
206
207
208
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 204

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

#method_nameString

The name of the method applicable to the deviceType.

Returns:

  • (String)


204
205
206
207
208
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 204

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