@Override
    public UpdateGameSessionResult updateGameSession(UpdateGameSessionRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateGameSession(request);
    }
<p>
Updates the mutable properties of a game session.
</p>
<p>
To update a game session, specify the game session ID and the values you want to change.
</p>
<p>
If successful, the updated <code>GameSession</code> object is returned.
</p>
<p>
<a href=
"https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets"
>All APIs by task</a>
</p>

@param updateGameSessionRequest
@return Result of the UpdateGameSession operation returned by the service.
@throws NotFoundException
        THe requested resources was not found. The resource was either not created yet or deleted.
@throws ConflictException
        The requested operation would cause a conflict with the current state of a service resource associated
        with the request. Resolve the conflict before retrying this request.</p>
@throws InternalServiceException
        The service encountered an unrecoverable internal failure while processing the request. Clients can retry
        such requests immediately or after a waiting period.
@throws UnauthorizedException
        The client failed authentication. Clients should not retry such requests.
@throws InvalidGameSessionStatusException
        The requested operation would cause a conflict with the current state of a resource associated with the
        request and/or the game instance. Resolve the conflict before retrying.
@throws InvalidRequestException
        One or more parameter values in the request are invalid. Correct the invalid parameter values before
        retrying.
@sample AmazonGameLift.UpdateGameSession
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSession" target="_top">AWS API
     Documentation</a>
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/AmazonGameLiftClient.java