code: public void marshall(SubscriptionFilter subscriptionFilter, ProtocolMarshaller protocolMarshaller) {
  
          if (subscriptionFilter == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(subscriptionFilter.getFilterName(), FILTERNAME_BINDING);
              protocolMarshaller.marshall(subscriptionFilter.getLogGroupName(), LOGGROUPNAME_BINDING);
              protocolMarshaller.marshall(subscriptionFilter.getFilterPattern(), FILTERPATTERN_BINDING);
              protocolMarshaller.marshall(subscriptionFilter.getDestinationArn(), DESTINATIONARN_BINDING);
              protocolMarshaller.marshall(subscriptionFilter.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(subscriptionFilter.getDistribution(), DISTRIBUTION_BINDING);
              protocolMarshaller.marshall(subscriptionFilter.getCreationTime(), CREATIONTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.