docs: public void marshall(EventDestination eventDestination, ProtocolMarshaller protocolMarshaller) {
  
          if (eventDestination == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(eventDestination.getName(), NAME_BINDING);
              protocolMarshaller.marshall(eventDestination.getEnabled(), ENABLED_BINDING);
              protocolMarshaller.marshall(eventDestination.getMatchingEventTypes(), MATCHINGEVENTTYPES_BINDING);
              protocolMarshaller.marshall(eventDestination.getKinesisFirehoseDestination(), KINESISFIREHOSEDESTINATION_BINDING);
              protocolMarshaller.marshall(eventDestination.getCloudWatchDestination(), CLOUDWATCHDESTINATION_BINDING);
              protocolMarshaller.marshall(eventDestination.getSnsDestination(), SNSDESTINATION_BINDING);
              protocolMarshaller.marshall(eventDestination.getPinpointDestination(), PINPOINTDESTINATION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }