code: @Override
      public PutLoggingOptionsResult putLoggingOptions(PutLoggingOptionsRequest request) {
          request = beforeClientExecution(request);
          return executePutLoggingOptions(request);
      }
docs: <p>
  Sets or updates the AWS IoT Analytics logging options.
  </p>
  <p>
  Note that if you update the value of any <code>loggingOptions</code> field, it takes up to one minute for the
  change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field
  (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect.
  </p>
  
  @param putLoggingOptionsRequest
  @return Result of the PutLoggingOptions operation returned by the service.
  @throws InvalidRequestException
  The request was not valid.
  @throws InternalFailureException
  There was an internal failure.
  @throws ServiceUnavailableException
  The service is temporarily unavailable.
  @throws ThrottlingException
  The request was denied due to request throttling.
  @sample AWSIoTAnalytics.PutLoggingOptions
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/PutLoggingOptions" target="_top">AWS
  API Documentation</a>