Paws::IoT1ClickDevices::InvokeDeviceMethod - Arguments for method InvokeDeviceMethod on Paws::IoT1ClickDevices


This class represents the parameters used for calling the method InvokeDeviceMethod on the AWS IoT 1-Click Devices Service service. Use the attributes of this class as arguments to method InvokeDeviceMethod.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to InvokeDeviceMethod.


    my $devices.iot1click = Paws->service('IoT1ClickDevices');
    my $InvokeDeviceMethodResponse = $devices . iot1click->InvokeDeviceMethod(
      DeviceId     => 'My__string',
      DeviceMethod => {
        DeviceType => 'My__string',
        MethodName => 'My__string',
      },    # OPTIONAL
      DeviceMethodParameters => 'My__string',    # OPTIONAL

    # Results:
    my $DeviceMethodResponse =

    # Returns a L<Paws::IoT1ClickDevices::InvokeDeviceMethodResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED DeviceId => Str

The unique identifier of the device.

DeviceMethod => Paws::IoT1ClickDevices::DeviceMethod

The device method to invoke.

DeviceMethodParameters => Str

A JSON encoded string containing the device method request parameters.


This class forms part of Paws, documenting arguments for method InvokeDeviceMethod in Paws::IoT1ClickDevices


The source code is located here:

Please report bugs to: