Class: Aws::IoT1ClickDevicesService::Types::InvokeDeviceMethodRequest

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

{
  device_id: "__string", # required
  device_method: {
    device_type: "__string",
    method_name: "__string",
  },
  device_method_parameters: "__string",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

Returns:

  • (String)


400
401
402
403
404
405
406
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 400

class InvokeDeviceMethodRequest < Struct.new(
  :device_id,
  :device_method,
  :device_method_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#device_methodTypes::DeviceMethod

The device method to invoke.

Returns:



400
401
402
403
404
405
406
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 400

class InvokeDeviceMethodRequest < Struct.new(
  :device_id,
  :device_method,
  :device_method_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#device_method_parametersString

A JSON encoded string containing the device method request parameters.

Returns:

  • (String)


400
401
402
403
404
405
406
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 400

class InvokeDeviceMethodRequest < Struct.new(
  :device_id,
  :device_method,
  :device_method_parameters)
  SENSITIVE = []
  include Aws::Structure
end