docs: public void marshall(Input input, ProtocolMarshaller protocolMarshaller) {
  
          if (input == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(input.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(input.getAttachedChannels(), ATTACHEDCHANNELS_BINDING);
              protocolMarshaller.marshall(input.getDestinations(), DESTINATIONS_BINDING);
              protocolMarshaller.marshall(input.getId(), ID_BINDING);
              protocolMarshaller.marshall(input.getInputClass(), INPUTCLASS_BINDING);
              protocolMarshaller.marshall(input.getMediaConnectFlows(), MEDIACONNECTFLOWS_BINDING);
              protocolMarshaller.marshall(input.getName(), NAME_BINDING);
              protocolMarshaller.marshall(input.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(input.getSecurityGroups(), SECURITYGROUPS_BINDING);
              protocolMarshaller.marshall(input.getSources(), SOURCES_BINDING);
              protocolMarshaller.marshall(input.getState(), STATE_BINDING);
              protocolMarshaller.marshall(input.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(input.getType(), TYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }