docs: public void marshall(ScanRequest scanRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (scanRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(scanRequest.getTableName(), TABLENAME_BINDING);
              protocolMarshaller.marshall(scanRequest.getIndexName(), INDEXNAME_BINDING);
              protocolMarshaller.marshall(scanRequest.getAttributesToGet(), ATTRIBUTESTOGET_BINDING);
              protocolMarshaller.marshall(scanRequest.getLimit(), LIMIT_BINDING);
              protocolMarshaller.marshall(scanRequest.getSelect(), SELECT_BINDING);
              protocolMarshaller.marshall(scanRequest.getScanFilter(), SCANFILTER_BINDING);
              protocolMarshaller.marshall(scanRequest.getConditionalOperator(), CONDITIONALOPERATOR_BINDING);
              protocolMarshaller.marshall(scanRequest.getExclusiveStartKey(), EXCLUSIVESTARTKEY_BINDING);
              protocolMarshaller.marshall(scanRequest.getReturnConsumedCapacity(), RETURNCONSUMEDCAPACITY_BINDING);
              protocolMarshaller.marshall(scanRequest.getTotalSegments(), TOTALSEGMENTS_BINDING);
              protocolMarshaller.marshall(scanRequest.getSegment(), SEGMENT_BINDING);
              protocolMarshaller.marshall(scanRequest.getProjectionExpression(), PROJECTIONEXPRESSION_BINDING);
              protocolMarshaller.marshall(scanRequest.getFilterExpression(), FILTEREXPRESSION_BINDING);
              protocolMarshaller.marshall(scanRequest.getExpressionAttributeNames(), EXPRESSIONATTRIBUTENAMES_BINDING);
              protocolMarshaller.marshall(scanRequest.getExpressionAttributeValues(), EXPRESSIONATTRIBUTEVALUES_BINDING);
              protocolMarshaller.marshall(scanRequest.getConsistentRead(), CONSISTENTREAD_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }