code: public void marshall(PutItemRequest putItemRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (putItemRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(putItemRequest.getTableName(), TABLENAME_BINDING);
              protocolMarshaller.marshall(putItemRequest.getItem(), ITEM_BINDING);
              protocolMarshaller.marshall(putItemRequest.getExpected(), EXPECTED_BINDING);
              protocolMarshaller.marshall(putItemRequest.getReturnValues(), RETURNVALUES_BINDING);
              protocolMarshaller.marshall(putItemRequest.getReturnConsumedCapacity(), RETURNCONSUMEDCAPACITY_BINDING);
              protocolMarshaller.marshall(putItemRequest.getReturnItemCollectionMetrics(), RETURNITEMCOLLECTIONMETRICS_BINDING);
              protocolMarshaller.marshall(putItemRequest.getConditionalOperator(), CONDITIONALOPERATOR_BINDING);
              protocolMarshaller.marshall(putItemRequest.getConditionExpression(), CONDITIONEXPRESSION_BINDING);
              protocolMarshaller.marshall(putItemRequest.getExpressionAttributeNames(), EXPRESSIONATTRIBUTENAMES_BINDING);
              protocolMarshaller.marshall(putItemRequest.getExpressionAttributeValues(), EXPRESSIONATTRIBUTEVALUES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.