code: @Override
      public GetDeviceMethodsResult getDeviceMethods(GetDeviceMethodsRequest request) {
          request = beforeClientExecution(request);
          return executeGetDeviceMethods(request);
      }
docs: <p>
  Given a device ID, returns the invokable methods associated with the device.
  </p>
  
  @param getDeviceMethodsRequest
  @return Result of the GetDeviceMethods operation returned by the service.
  @throws ResourceNotFoundException
  404 response
  @throws InvalidRequestException
  400 response
  @throws InternalFailureException
  500 response
  @sample AWSIoT1ClickDevices.GetDeviceMethods
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/GetDeviceMethods" target="_top">AWS API
  Documentation</a>