code: @Override
      public InvokeDeviceMethodResult invokeDeviceMethod(InvokeDeviceMethodRequest request) {
          request = beforeClientExecution(request);
          return executeInvokeDeviceMethod(request);
      }
docs: <p>
  Given a device ID, issues a request to invoke a named device method (with possible parameters). See the
  "Example POST" code snippet below.
  </p>
  
  @param invokeDeviceMethodRequest
  @return Result of the InvokeDeviceMethod operation returned by the service.
  @throws InvalidRequestException
  400 response
  @throws PreconditionFailedException
  412 response
  @throws InternalFailureException
  500 response
  @throws ResourceNotFoundException
  404 response
  @throws RangeNotSatisfiableException
  416 response
  @throws ResourceConflictException
  409 response
  @sample AWSIoT1ClickDevices.InvokeDeviceMethod
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InvokeDeviceMethod" target="_top">AWS API
  Documentation</a>