code: public void marshall(RemoteAccessSession remoteAccessSession, ProtocolMarshaller protocolMarshaller) {
  
          if (remoteAccessSession == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(remoteAccessSession.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getName(), NAME_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getCreated(), CREATED_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getResult(), RESULT_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getMessage(), MESSAGE_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getStarted(), STARTED_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getStopped(), STOPPED_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getDevice(), DEVICE_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getInstanceArn(), INSTANCEARN_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getRemoteDebugEnabled(), REMOTEDEBUGENABLED_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getRemoteRecordEnabled(), REMOTERECORDENABLED_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getRemoteRecordAppArn(), REMOTERECORDAPPARN_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getHostAddress(), HOSTADDRESS_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getClientId(), CLIENTID_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getBillingMethod(), BILLINGMETHOD_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getDeviceMinutes(), DEVICEMINUTES_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getEndpoint(), ENDPOINT_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getDeviceUdid(), DEVICEUDID_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getInteractionMode(), INTERACTIONMODE_BINDING);
              protocolMarshaller.marshall(remoteAccessSession.getSkipAppResign(), SKIPAPPRESIGN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.