@Override
    public UpdateTableResult updateTable(UpdateTableRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateTable(request);
    }
<p>
Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the
change in retention duration takes effect immediately. For example, if the retention period of the memory store
was initially set to 2 hours and then changed to 24 hours, the memory store will be capable of holding 24 hours
of data, but will be populated with 24 hours of data 22 hours after this change was made. Timestream does not
retrieve data from the magnetic store to populate the memory store.
</p>
<p>
See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-table.html">code
sample</a> for details.
</p>

@param updateTableRequest
@return Result of the UpdateTable operation returned by the service.
@throws InternalServerException
        Timestream was unable to fully process this request because of an internal server error.
@throws ThrottlingException
        Too many requests were made by a user and they exceeded the service quotas. The request was throttled.
@throws ValidationException
        An invalid or malformed request.
@throws ResourceNotFoundException
        The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
        its status might not be ACTIVE.
@throws AccessDeniedException
        You are not authorized to perform this action.
@throws InvalidEndpointException
        The requested endpoint was not valid.
@sample AmazonTimestreamWrite.UpdateTable
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UpdateTable" target="_top">AWS
     API Documentation</a>
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/AmazonTimestreamWriteClient.java