code: public void marshall(GameSessionConnectionInfo gameSessionConnectionInfo, ProtocolMarshaller protocolMarshaller) {
  
          if (gameSessionConnectionInfo == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(gameSessionConnectionInfo.getGameSessionArn(), GAMESESSIONARN_BINDING);
              protocolMarshaller.marshall(gameSessionConnectionInfo.getIpAddress(), IPADDRESS_BINDING);
              protocolMarshaller.marshall(gameSessionConnectionInfo.getPort(), PORT_BINDING);
              protocolMarshaller.marshall(gameSessionConnectionInfo.getMatchedPlayerSessions(), MATCHEDPLAYERSESSIONS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.