@Override
    public PutLoggingOptionsResult putLoggingOptions(PutLoggingOptionsRequest request) {
        request = beforeClientExecution(request);
        return executePutLoggingOptions(request);
    }
<p>
Sets or updates the AWS IoT Events logging options.
</p>
<p>
If you update the value of any <code>loggingOptions</code> field, it takes up to one minute for the change to
take effect. If you change the policy attached to the role you specified in the <code>roleArn</code> field (for
example, to correct an invalid policy), it takes up to five 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 invalid.
@throws ThrottlingException
        The request could not be completed due to throttling.
@throws InternalFailureException
        An internal failure occurred.
@throws ServiceUnavailableException
        The service is currently unavailable.
@throws UnsupportedOperationException
        The requested operation is not supported.
@throws ResourceInUseException
        The resource is in use.
@sample AWSIoTEvents.PutLoggingOptions
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions" target="_top">AWS
     API Documentation</a>
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/AWSIoTEventsClient.java