code: public void marshall(StreamDescription streamDescription, ProtocolMarshaller protocolMarshaller) {
  
          if (streamDescription == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(streamDescription.getStreamName(), STREAMNAME_BINDING);
              protocolMarshaller.marshall(streamDescription.getStreamARN(), STREAMARN_BINDING);
              protocolMarshaller.marshall(streamDescription.getStreamStatus(), STREAMSTATUS_BINDING);
              protocolMarshaller.marshall(streamDescription.getShards(), SHARDS_BINDING);
              protocolMarshaller.marshall(streamDescription.getHasMoreShards(), HASMORESHARDS_BINDING);
              protocolMarshaller.marshall(streamDescription.getRetentionPeriodHours(), RETENTIONPERIODHOURS_BINDING);
              protocolMarshaller.marshall(streamDescription.getStreamCreationTimestamp(), STREAMCREATIONTIMESTAMP_BINDING);
              protocolMarshaller.marshall(streamDescription.getEnhancedMonitoring(), ENHANCEDMONITORING_BINDING);
              protocolMarshaller.marshall(streamDescription.getEncryptionType(), ENCRYPTIONTYPE_BINDING);
              protocolMarshaller.marshall(streamDescription.getKeyId(), KEYID_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.