docs: public void marshall(ListRecordsRequest listRecordsRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (listRecordsRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(listRecordsRequest.getIdentityPoolId(), IDENTITYPOOLID_BINDING);
              protocolMarshaller.marshall(listRecordsRequest.getIdentityId(), IDENTITYID_BINDING);
              protocolMarshaller.marshall(listRecordsRequest.getDatasetName(), DATASETNAME_BINDING);
              protocolMarshaller.marshall(listRecordsRequest.getLastSyncCount(), LASTSYNCCOUNT_BINDING);
              protocolMarshaller.marshall(listRecordsRequest.getNextToken(), NEXTTOKEN_BINDING);
              protocolMarshaller.marshall(listRecordsRequest.getMaxResults(), MAXRESULTS_BINDING);
              protocolMarshaller.marshall(listRecordsRequest.getSyncSessionToken(), SYNCSESSIONTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }